Geometry File IO

Options for reading geometries from supported vector feature file formats.

--geometry-layer NAME

The name of a data layer in the GIS file from which to extract the geometry. Cannot be used when the --geometry-index option is used.

Example:

pwfdf |command| --geometry my-file.geojson --geometry-layer "My Data Layer"
--geometry-index INDEX

The index of a data layer in the GIS file from which to extract the geometry. Cannot be used when the --geometry-layer option is used.

Example:

pwfdf |command| --geometry my-file.geojson --geometry-index 2
--geometry-driver DRIVER

Specifies the file format driver to use to open the geometry file. Note that the format driver is usually auto-detected from the file extension. Use this option if the geometry file uses a non-standard file extension. Refer to the first column of the geometry file formats table for a list of supported driver names.

Example:

pwfdf |command| --geometry my-file.unusual --geometry-driver Shapefile
--geometry-encoding ENCODING

Specifies the file encoding to use to read the geometry file. Note that the encoding is auto-detected for most formats.

Example:

pwfdf |command| --geometry my-file.shp --geometry-encoding Windows-1252