Files
nairobi/app/models/concerns
Javi Martín 9ef68f863a Make sure a LineString has at least two points
According to the GeoJSON specification [1]:

> For type "LineString", the "coordinates" member is an array of two or
> more positions.

Note that the same doesn't seem to apply to a MultiPoint [2]:

> For type "MultiPoint", the "coordinates" member is an array of
> positions.

[1] https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.4
[2] https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.3
2024-12-23 17:35:33 +01:00
..
2015-07-15 13:32:13 +02:00
2021-01-14 17:37:58 +01:00
2019-10-25 19:29:12 +02:00
2019-10-22 17:37:51 +02:00
2024-04-15 15:39:23 +02:00
2021-08-16 16:31:04 +02:00