InMemoryDriver.CreateLayer

CreateLayer(AbstractPath, DriverOptions, SpatialReferenceSystem)

Creates a layer and opens it for adding new features.

public override VectorLayer CreateLayer(AbstractPath path, DriverOptions options, 
    SpatialReferenceSystem spatialReferenceSystem)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.
spatialReferenceSystemSpatialReferenceSystemSpatial reference system.

Return Value

An instance of VectorLayer.

Exceptions

exceptioncondition
InvalidOperationExceptionThe layer already exists.

See Also


CreateLayer(SpatialReferenceSystem)

Creates a layer and opens it for adding new features.

public VectorLayer CreateLayer(SpatialReferenceSystem spatialReferenceSystem)
ParameterTypeDescription
spatialReferenceSystemSpatialReferenceSystemSpatial reference system.

Return Value

An instance of VectorLayer.

See Also


CreateLayer()

Creates a layer and opens it for adding new features.

public VectorLayer CreateLayer()

Return Value

An instance of VectorLayer.

See Also