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

Create individual logic for point, line and polygon data extraction Query : Rawdata Endpoint #198

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

To support multiple data formats, query needs to be separated for point, line and polygon since binding for those features will be different. Making it in single request will work for geojson format well, but for eg: Shapefile will not be supported with existing logic. Logic should generate three different queries which will extract point, line and polygon separately so that all post-processing related to different geometry type can be done