hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Multipolygon support for geometry type : Rawdata endpoint #294

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

This PR enables user to pass both multipolygon format geometry and polygon geometry too , most of the geometry type in multipolygon format in export tool geometry section . This doesn't mean API can support n number of polygons , API will support only one geometry but in format of polygon geom and multipolygon geom for eg : API now supports following type of geometry too : "geometry": { "type": "MultiPolygon", "coordinates": [ [