Module geo::algorithm::linestring_segment
source · Expand description
Split a LineString into n segments
Traits§
- Segments a LineString into
n
equal length LineStrings as a MultiLineString.None
will be returned whenn
is equal to 0 or when a point cannot be interpolated on aLine
segment. - Segments a LineString into
n
equal length LineStrings as a MultiLineString using Haversine distance calculations. Use this overLineStringSegmentize
when using data from a geographic coordinate system.None
will be returned whenn
is equal to 0 or when a point cannot be interpolated on aLine
segment.