# ibis.expr.api.GeoSpatialValue.line_substring¶

GeoSpatialValue.line_substring(start, end)

Clip a substring from a LineString.

Returns a linestring that is a substring of the input one, starting and ending at the given fractions of the total 2d length. The second and third arguments are floating point values between zero and one. This only works with linestrings.

Parameters
• arg (linestring) –

• start (float) –

• end (float) –

Returns

substring

Return type

linestring scalar