Back to Glossary

LineString

A line geometry made of an ordered list of coordinates.

Category: Geometry

Definition (expanded)

A LineString represents a path or boundary line. It is not an area. In WKT it is LINESTRING(x1 y1, x2 y2, ...). In GeoJSON it is {type:'LineString', coordinates:[[x,y], ...]}.