Skip to main content
Returns a line at a given offset distance from each linear geometry. Positive distance offsets to the left, negative to the right.

Signature

Parameters

float
required
The offset distance. Positive offsets to the left, negative to the right.
int
default:"8"
Number of segments to approximate a quarter circle.
str
default:"'round'"
Accepted values are “round”, “mitre”, and “bevel”.
join_style and mitre_limit are accepted for API compatibility but are currently ignored by Sedona’s ST_OffsetCurve.
float
default:"5.0"
Limit on the mitre ratio.

Returns

GeoSeries

Examples