shapely.set_srid#
- set_srid(geometry, srid, **kwargs)#
Returns a geometry with its SRID set.
- Parameters:
- geometryGeometry or array_like
- sridint
- **kwargs
See NumPy ufunc docs for other keyword arguments.
See also
Examples
>>> from shapely import Point >>> point = Point(0, 0) >>> get_srid(point) 0 >>> with_srid = set_srid(point, 4326) >>> get_srid(with_srid) 4326