Closed boldtrn closed 6 years ago
yes, Gisgraphy doesn't return this.
There is a problem that the response somehow is 'recursive'
"extent":{"extent":[13.2288599,52.3570365,13.5488599,52.6770365]}
Related issue: https://github.com/graphhopper/graphhopper/issues/1325
The result should be just like this?
"extent":[13.2288599,52.3570365,13.5488599,52.6770365]
Thanks for finding this. This indeed looks wrong. I think in this case the class Extent helps a lot. Jackson offers the annotation @JsonUnwrapped
, which avoids creating "extent":{}
but only creates all properties of the Extend class. I created a PR #47.
Nominatim returns a
boundingbox
which seems similar to the extent.OpenCageData returns bounds, which could be converted to the extent.
I think there is no option for Gisgraphy.