SDFIdk / skraafoto_stac_public

Other
6 stars 1 forks source link

Wrong `crs` displayed in response JSON for POST `/search` #35

Open seskildsen opened 2 years ago

seskildsen commented 2 years ago

Response JSON attribut crs under links for POST /search display a wrong value 25832, if the request body filter-crs and crs is assigned with "http://www.opengis.net/def/crs/EPSG/0/25832".

POST https://api.dataforsyningen.dk/skraafotoapi_test/search { "filter-lang": "cql-json", "filter": { "intersects": [ { "property": "geometry" }, { "type": "Polygon", "coordinates": [[ [580036.7433516774, 6130923.626380744], [581761.5402266774, 6131109.971107306], [581757.8859298024, 6129953.48795301], [580032.5578048025, 6130159.7291639475], [580036.7433516774, 6130923.626380744] ]] } ] }, "filter-crs": "http://www.opengis.net/def/crs/EPSG/0/25832", "crs": "http://www.opengis.net/def/crs/EPSG/0/25832"
}

Response: image