Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
seskildsen opened this issue May 23, 2022 · 0 comments
Open

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

seskildsen opened this issue May 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@seskildsen
Copy link
Contributor

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

@seskildsen seskildsen added the bug Something isn't working label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant