utils.standardize_format
utils.standardize_format(vectorfile_format)Format of the stored files matching a user-facing format name.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| vectorfile_format | str | “geojson”, “parquet” or “geoparquet” (case insensitive). | required |
Returns
| Name | Type | Description |
|---|---|---|
| str | “geojson” or “parquet”. |
Raises
| Name | Type | Description |
|---|---|---|
| ValueError | If the format is not available. |
Examples
>>> standardize_format("GeoParquet")
'parquet'