gws.plugin.exporter.kml

KML exporter.

Exports vector features with the GDAL KML driver. With withMultiLayer, all models are written to one file. GDAL creation options can be passed with options, see https://gdal.org/en/stable/drivers/vector/kml.html.

Example:

exporters+ {
    type "kml"
    title "KML"
    target "download"
}

Source code: gws.plugin.exporter.kml

Package Contents

class gws.plugin.exporter.kml.Config

Bases: gws.base.exporter.Config

Export of features to KML.

class gws.plugin.exporter.kml.Object

Bases: gws.base.exporter.Object

KML exporter.

supportsMultiLayer = True
supportsRaster = False
supportsVector = True
run(ea, er)
class gws.plugin.exporter.kml.Props

Bases: gws.base.exporter.Props

KML Exporter properties.