OsmXmlDriver.CreateLayer
Contents
[
Hide
]CreateLayer(string, OsmXmlOptions)
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer(string path, OsmXmlOptions options)
| Parameter | Type | Description |
|---|---|---|
| path | String | Path to the file. |
| options | OsmXmlOptions | Driver-specific options. |
Return Value
An instance of VectorLayer.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | The layer already exists. |
See Also
- class VectorLayer
- class OsmXmlOptions
- class OsmXmlDriver
- namespace Aspose.Gis.Formats.OsmXml
- assembly Aspose.GIS
CreateLayer(AbstractPath, DriverOptions, SpatialReferenceSystem)
Creates a layer and opens it for adding new features.
public override VectorLayer CreateLayer(AbstractPath path, DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem)
| Parameter | Type | Description |
|---|---|---|
| path | AbstractPath | Path to the file. |
| options | DriverOptions | Driver-specific options. |
| spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | The layer already exists. |
See Also
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class SpatialReferenceSystem
- class OsmXmlDriver
- namespace Aspose.Gis.Formats.OsmXml
- assembly Aspose.GIS
CreateLayer(string, OsmXmlOptions, SpatialReferenceSystem)
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer(string path, OsmXmlOptions options,
SpatialReferenceSystem spatialReferenceSystem)
| Parameter | Type | Description |
|---|---|---|
| path | String | Path to the file. |
| options | OsmXmlOptions | Driver-specific options. |
| spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | The layer already exists. |
| NotSupportedException | Spatial reference system is not supported by the driver. |
See Also
- class VectorLayer
- class OsmXmlOptions
- class SpatialReferenceSystem
- class OsmXmlDriver
- namespace Aspose.Gis.Formats.OsmXml
- assembly Aspose.GIS
CreateLayer(AbstractPath, OsmXmlOptions, SpatialReferenceSystem)
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer(AbstractPath path, OsmXmlOptions options,
SpatialReferenceSystem spatialReferenceSystem)
| Parameter | Type | Description |
|---|---|---|
| path | AbstractPath | Path to the file. |
| options | OsmXmlOptions | Driver-specific options. |
| spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | The layer already exists. |
| NotSupportedException | Spatial reference system is not supported by the driver. |
See Also
- class VectorLayer
- class AbstractPath
- class OsmXmlOptions
- class SpatialReferenceSystem
- class OsmXmlDriver
- namespace Aspose.Gis.Formats.OsmXml
- assembly Aspose.GIS