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

Response format for center and bounding box is different depending on CapakeyGateway and CapakeyRestGateway #73

Closed
cahytinne opened this issue Apr 20, 2017 · 0 comments · Fixed by #75
Assignees
Milestone

Comments

@cahytinne
Copy link
Contributor

see OnroerendErfgoed/crabpy_pyramid#47

Response format for center and bounding box using CapakeyRestGateway is currently

res.bounding_box = "{\"coordinates\":[[[77331.472999997437,189987.52924999967],[90937.296999998391,189987.52924999967],[90937.296999998391,201811.78274999931],[77331.472999997437,201811.78274999931],[77331.472999997437,189987.52924999967]]],\"type\":\"Polygon\",\"crs\":{\"type\":\"link\",\"properties\":{\"href\":\"http://www.opengis.net/def/crs/EPSG/0/31370\"}}}",
res.centroid = "{\"coordinates\":[84134.384999997914,195899.65599999949],\"type\":\"Point\",\"crs\":{\"type\":\"link\",\"properties\":{\"href\":\"http://www.opengis.net/def/crs/EPSG/0/31370\"}}}"

and should be in accordance with the CapakeyGateway:

res.bounding_box = (77331.472999997437, 189987.52924999967, 90937.296999998391, 201811.78274999931)
res.centroid = (84134.384999997914, 195899.65599999949)
@cahytinne cahytinne self-assigned this Apr 20, 2017
@cahytinne cahytinne added this to the Sprint 53 milestone Apr 20, 2017
cahytinne added a commit that referenced this issue Apr 20, 2017
This was referenced Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant