Skip to main content
Return a GeoSeries with translated geometries. Each geometry is shifted by constant offsets along its coordinate dimensions.

Signature

Parameters

float
default:"0.0"
Offset along the x dimension.
float
default:"0.0"
Offset along the y dimension.
float
default:"0.0"
Offset along the z dimension for geometries that have z coordinates.

Returns

GeoSeries
The translated geometries.
Two-dimensional geometries remain two-dimensional. Results for mixed 2D/3D GeometryCollection objects, M or ZM ordinates, NaN z coordinates, and non-finite offsets may differ from GeoPandas because Sedona uses JTS while GeoPandas uses Shapely. This method applies Sedona’s distributed semantics and does not materialize geometries locally to emulate Shapely.

Examples