GeoDataFrame from a file.
Signature
Parameters
str
required
File path or file handle to read from. If the path is a directory,
Sedona will read all files in that directory.
Union[str, None]
default:"None"
The format of the file to read, by default None. If None, Sedona
infers the format from the file extension. Note that format
inference is not supported for directories. Available formats are
“shapefile”, “geojson”, “geopackage”, and “geoparquet”.
str
The name of the table to read from a GeoPackage file, by default
None. This is required if
format is “geopackage”.GeoDataFrame.to_file: Write aGeoDataFrameto a file.

