Common Shapely Operations
These shapely operations can be used in conditionals.
These methods create a new shapely geometry based on the relationship between the passed geometries.
These methods return a modified version of
object after a transformation.
These properties are defined on all shapely geometries.
area use units of meters and square meters when appropriate.
Calculate a result based on two geometries.
Mundipy gracefully resolves invalid geometries during spatial operations
shapely.make_valid method. This means datasets require no
pre-processing for spatial operations.
Many real-world datasets encode geometries with invalid sets of points. This triggers errors like the following in LibGEOS:
GEOSException: TopologyException: Input geom 1 is invalid: Ring Self-intersection
Validating an entire dataset pre-emptively with
is an expensive preprocessing step. Mundipy avoids this by catching
in spatial operations and automatically re-trying the operation with a valid geometry.