GmlDriverCreateLayer Method (String, GmlOptions, SpatialReferenceSystem) |
Creates a layer and opens it for adding new features.
Namespace:
Aspose.Gis.Formats.Gml
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntaxpublic VectorLayer CreateLayer(
string path,
GmlOptions options,
SpatialReferenceSystem spatialReferenceSystem
)
Public Function CreateLayer (
path As String,
options As GmlOptions,
spatialReferenceSystem As SpatialReferenceSystem
) As VectorLayer
public:
VectorLayer^ CreateLayer(
String^ path,
GmlOptions^ options,
SpatialReferenceSystem^ spatialReferenceSystem
)
member CreateLayer :
path : string *
options : GmlOptions *
spatialReferenceSystem : SpatialReferenceSystem -> VectorLayer
Parameters
- path
- Type: SystemString
Path to the file. - options
- Type: Aspose.Gis.Formats.GmlGmlOptions
Driver-specific options. - spatialReferenceSystem
- Type: Aspose.Gis.SpatialReferencingSpatialReferenceSystem
Spatial reference system.
Return Value
Type:
VectorLayerAn instance of
VectorLayer.
Exceptions
See Also