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