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

Fix for large geometry query : Shapefile Output #296

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

Previously query was being passed to argument itself while calling ogr2ogr , now galaxy api stores the query in .sql file and supplies that sql file to ogr2ogr as a argument so that length of command remains always the same