Closed jyucsiro closed 4 years ago
/search/find_dggs_by_geojson endpoint returns cell_ids, but all the cells have the same ID. A bug perhaps?
/search/find_dggs_by_geojson
To reproduce the error:
curl -X POST "https://dggs.loci.cat/api/search/find_dggs_by_geojson?resolution=7&dggs_as_polygon=True&keep_properties=True" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"type\": \"FeatureCollection\", \"features\": [ { \"type\": \"Feature\", \"properties\": {}, \"geometry\": { \"type\": \"Polygon\", \"coordinates\": [ [ [ 149.02233123779297, -35.294111494793285 ], [ 149.14112091064453, -35.294111494793285 ], [ 149.14112091064453, -35.21252670530204 ], [ 149.02233123779297, -35.21252670530204 ], [ 149.02233123779297, -35.294111494793285 ] ] ] } } ] }"
Fixed in #37
/search/find_dggs_by_geojson
endpoint returns cell_ids, but all the cells have the same ID. A bug perhaps?To reproduce the error: