KmlDriver Class

Summary: A driver for the KML format

Module: aspose.gis.formats.kml

Full Name: aspose.gis.formats.kml.KmlDriver

Inheritance: FileDriver

Aspose.PSD Version: 25.9.0

Properties

NameTypeAccessDescription
can_create_datasetsboolrGets a value indicating whether this driver can create datasets.
can_create_layersboolrGets a value indicating whether this driver can create vector layers.
can_open_datasetsboolrGets a value indicating whether this driver can open datasets.
can_open_layersboolrGets a value indicating whether this driver can open vector layers.

Methods

NameDescription
create_dataset(path)Creates a dataset.
create_dataset(path)Creates a dataset.
create_dataset(path, options)Creates a dataset.
create_dataset(path, options)Creates a dataset.
create_layer(path)Creates the layer and opens it for appending.
create_layer(path)Creates the layer and opens it for appending.
create_layer(path, options)Creates a layer and opens it for adding new features.
create_layer(path, options)Creates a layer and opens it for adding new features.
create_layer(path, options)Creates a layer and opens it for adding new features.
create_layer(path, options)Creates a layer and opens it for adding new features.
create_layer(path, options, spatial_reference_system)Creates a layer and opens it for adding new features.
create_layer(path, options, spatial_reference_system)Creates a layer and opens it for adding new features.
create_layer(path, options, spatial_reference_system)Creates a layer and opens it for adding new features.
create_layer(path, spatial_reference_system)Creates the layer and opens it for appending.
create_layer(path, spatial_reference_system)Creates the layer and opens it for appending.
edit_layer(path, options)Opens a layer for editing.
edit_layer(path, options)Opens a layer for editing.
open_as_kml_layer(path, options)Opens a Kml layer for reading.
open_dataset(path)Opens the dataset.
open_dataset(path)Opens the dataset.
open_dataset(path, options)Opens the dataset.
open_dataset(path, options)Opens the dataset.
open_layer(path)Opens the layer for reading.
open_layer(path)Opens the layer for reading.
open_layer(path, options)Opens a layer for reading.
open_layer(path, options)Opens a layer for reading.
open_layer(path, options)Opens a layer for reading.
open_layer(path, options)Opens a layer for reading.
supports_spatial_reference_system(spatial_reference_system)Determines, whether specified spatial reference system is supported by the driver.

Method: create_dataset(path)

 create_dataset(path) 

Creates a dataset.

Parameters:

ParameterTypeDescription
pathstringPath to the dataset.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: create_dataset(path)

 create_dataset(path) 

Creates a dataset.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the dataset.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: create_dataset(path, options)

 create_dataset(path, options) 

Creates a dataset.

Parameters:

ParameterTypeDescription
pathstringPath to the dataset.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: create_dataset(path, options)

 create_dataset(path, options) 

Creates a dataset.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: create_layer(path)

 create_layer(path) 

Creates the layer and opens it for appending.

Parameters:

ParameterTypeDescription
pathstringPath to the file.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path)

 create_layer(path) 

Creates the layer and opens it for appending.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options)

 create_layer(path, options) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsKmlOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options)

 create_layer(path, options) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsKmlOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options)

 create_layer(path, options) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options)

 create_layer(path, options) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options, spatial_reference_system)

 create_layer(path, options, spatial_reference_system) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options, spatial_reference_system)

 create_layer(path, options, spatial_reference_system) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsKmlOptionsDriver-specific options.
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, options, spatial_reference_system)

 create_layer(path, options, spatial_reference_system) 

Creates a layer and opens it for adding new features.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsDriverOptionsDriver-specific options.
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, spatial_reference_system)

 create_layer(path, spatial_reference_system) 

Creates the layer and opens it for appending.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: create_layer(path, spatial_reference_system)

 create_layer(path, spatial_reference_system) 

Creates the layer and opens it for appending.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: edit_layer(path, options)

 edit_layer(path, options) 

Opens a layer for editing.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: edit_layer(path, options)

 edit_layer(path, options) 

Opens a layer for editing.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_as_kml_layer(path, options)

 open_as_kml_layer(path, options) 

Opens a Kml layer for reading.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsKmlOptionsDriver-specific options.

Returns

TypeDescription
KmlLayerKmlLayer with specific fields

Method: open_dataset(path)

 open_dataset(path) 

Opens the dataset.

Parameters:

ParameterTypeDescription
pathstringPath to the dataset.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: open_dataset(path)

 open_dataset(path) 

Opens the dataset.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the dataset.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: open_dataset(path, options)

 open_dataset(path, options) 

Opens the dataset.

Parameters:

ParameterTypeDescription
pathstringPath to the dataset.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: open_dataset(path, options)

 open_dataset(path, options) 

Opens the dataset.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the dataset.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
DatasetAn instance of Dataset.

Method: open_layer(path)

 open_layer(path) 

Opens the layer for reading.

Parameters:

ParameterTypeDescription
pathstringPath to the file.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_layer(path)

 open_layer(path) 

Opens the layer for reading.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_layer(path, options)

 open_layer(path, options) 

Opens a layer for reading.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsKmlOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_layer(path, options)

 open_layer(path, options) 

Opens a layer for reading.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_layer(path, options)

 open_layer(path, options) 

Opens a layer for reading.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the file.
optionsKmlOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: open_layer(path, options)

 open_layer(path, options) 

Opens a layer for reading.

Parameters:

ParameterTypeDescription
pathstringPath to the file.
optionsDriverOptionsDriver-specific options.

Returns

TypeDescription
VectorLayerAn instance of VectorLayer.

Method: supports_spatial_reference_system(spatial_reference_system)

 supports_spatial_reference_system(spatial_reference_system) 

Determines, whether specified spatial reference system is supported by the driver.

Parameters:

ParameterTypeDescription
spatial_reference_systemSpatialReferenceSystemSpatial reference system.

Returns

TypeDescription
boolBoolean value, indicating whether specified spatial reference system is supported by the driver.