Coverage for gws-app/gws/plugin/exporter/shapefile/__init__.py: 100%
14 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-24 12:46 +0200
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-24 12:46 +0200
1"""Exporter for the ESRI Shapefile format."""
3import gws
4import gws.base.exporter
5import gws.lib.gdalx
8gws.ext.new.exporter('shapefile')
11class Config(gws.base.exporter.Config):
12 """Shapefile Exporter configuration."""
14 pass
17class Props(gws.base.exporter.Props):
18 """Shapefile Exporter properties."""
20 pass
23class Object(gws.base.exporter.Object):
24 supportsVector = True
25 supportsRaster = False
26 supportsMultiLayer = False
28 def run(self, ea, er):
29 gws.base.exporter.util.run_gdal_vector_export('ESRI Shapefile', '', ea, er)