The documentation at https://shapely.readthedocs.io/en/latest/reference/shapely.get_type_id.html lists possible return values of get_type_id()
function, e.g. MULTIPOINT is 4. Is MULTIPOINT
identifier or something similar available, so I don't have to write cryptic code like:
if get_type_id(geometry) == 4:
in order to test if geometry
is a MultiPoint
?