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