reVeal.fileio.get_geom_type_pyogrio#
- get_geom_type_pyogrio(dset_src)[source]#
Determine the generic geometry type of of an input vector dataset that can be read by pyogrio.
- Parameters:
dset_src (str) – Path to input vector dataset.
- Returns:
str – Geometry type. One of: “point”, “line”, or “polygon”.”
- Raises:
ValueError – A ValueError will be raised if the input dataset is not one of the known formats.