GeoScript

Previous topic

Cursor

Next topic

layer.io

This Page

Shapefile

The layer.shapefile module provides support for Shapefile access.

class geoscript.layer.shapefile.Shapefile

A subclass of Layer for the Shapefile format.

file is the path to the Shapefile as a str.

schema is optional and only relevent when creating a new Shapefile. It specifies the schema for the new file.

file

Returns the file path to the Shapefile