Actions
Question #1161
closedAPI: add more geometry objects
Start date:
2020-02-21
Estimated time:
Description
In order to be really confirm with the geojson standard, the API has to differentiate more geometry objects than Point, Polygon, LineString and Geometry Collection. So we shoult add MultiPoint, MultiLineString and MultiPolygon.
"To maximize interoperability, implementations SHOULD avoid nested GeometryCollections. Furthermore, GeometryCollections composed of a single part or a number of parts of a single type SHOULD be avoided when that single part or a single object of multipart type(MultiPoint, MultiLineString, or MultiPolygon) could be used instead."
(https://tools.ietf.org/html/rfc7946#section-3.1.8)
I think for now we can leave it be, since it is not wrong, but for the next version it should be included.
Actions