What is a GeoJSON LineString?
A LineString connects two or more positions in order. Each position is [longitude, latitude].
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[-73.999, 40.709],
[-73.9957, 40.706],
[-73.9923, 40.7031]
]
},
"properties": { "name": "Sample route" }
}
A MultiLineString holds several separate lines in one feature (for example a route with a gap). The editor can show, edit and export both, and can split a MultiLineString into individual lines.
Measuring length
Lengths are measured along the curved surface of the Earth (geodesic distance), not on the flat map, so they stay accurate over long distances. Switch between metric and imperial units at the bottom of the panel.