Shapefiles
siapy.entities.shapefiles
¶
Coordinates
¶
Bases: NamedTuple
Shapefile
dataclass
¶
Shapefile(_data: GeoDataFrame)
geometry_type
property
¶
geometry_type: str
Return the geometry type of the first feature in the shapefile.
geometry_types
property
¶
Return a list of all geometry types in the shapefile.
from_path
classmethod
¶
Source code in siapy/entities/shapefiles.py
29 30 31 32 33 34 |
|
has_consistent_geometry_type
¶
has_consistent_geometry_type() -> bool
Check if all features have the same geometry type.
Source code in siapy/entities/shapefiles.py
55 56 57 58 |
|
to_numpy
¶
to_numpy() -> ndarray
Source code in siapy/entities/shapefiles.py
60 61 |
|