Closed karussell closed 7 years ago
Thanks for creating the issue guys, has anyone been looking into it?
Not yet, sorry.
@karussell: Is it possible to suggest an interim solution? If name
doesn't exist, could we perhaps concatenate street
, city
, state
and country
(if they aren't empty)?
@davenewza Probably it would be more consistent to use a fallback in the following way:
street
if available, if not then:city
if available (plus postcode?), if not then:state
if available if not then:country
This way it behaves similar for similar queries, e.g. if you query for an address you just get street
as name
at the moment.
Or what would be the best for your use case?
This is now implemented as described.
Bad example where name is missing -> https://graphhopper.com/api/1/geocode?point=52.5487429714954,-1.81602098644987&reverse=true&key=xyz