graphhopper / geocoder-converter

Converts arbitrary geocoding responses to a GraphHopper response
https://graphhopper.com/api/1/docs/geocoding/#external-providers
Apache License 2.0
9 stars 11 forks source link

OCD Test is failing #54

Closed boldtrn closed 5 years ago

boldtrn commented 5 years ago

The results for the test url of OCD seems to have changed over the time.

Related to #50.

Some time ago, OCD returned for:

https://api.opencagedata.com/geocode/v1/json?key=[KEY]&q=48.4882,2.6996&pretty=1

the county "Seine-et-Marne". Now the value "Seine-et-Marne" is returned in the field state_district. This would be fixable by falling back to state_district if county is not defined.