OsmXmlDriverCreateLayer Method (String, OsmXmlOptions) |
Creates a layer and opens it for adding new features.
Namespace:
Aspose.Gis.Formats.OsmXml
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax public VectorLayer CreateLayer(
string path,
OsmXmlOptions options
)
Public Function CreateLayer (
path As String,
options As OsmXmlOptions
) As VectorLayer
public:
VectorLayer^ CreateLayer(
String^ path,
OsmXmlOptions^ options
)
member CreateLayer :
path : string *
options : OsmXmlOptions -> VectorLayer
Parameters
- path
- Type: SystemString
Path to the file. - options
- Type: Aspose.Gis.Formats.OsmXmlOsmXmlOptions
Driver-specific options.
Return Value
Type:
VectorLayerAn instance of
VectorLayer.
Exceptions See Also