Linestring operations

Linestring operations#

line_interpolate_point(line, distance[, ...])

Returns a point interpolated at given distance on a line.

line_locate_point(line, other[, normalized])

Returns the distance to the line origin of given point.

line_merge(line[, directed])

Returns (Multi)LineStrings formed by combining the lines in a MultiLineString.

shared_paths(a, b, **kwargs)

Returns the shared paths between geom1 and geom2.

shortest_line(a, b, **kwargs)

Returns the shortest line between two geometries.