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

Missing Adressdetails Entries #23

Closed boldtrn closed 7 years ago

boldtrn commented 7 years ago

It occurs that when querying from nominatim or opencage some addressdetails are missing compared to the graphhopper geocoding api.

A sample request for: münchen%20prinzregentenstraße%20122 returns: GraphHopper:

{
osm_id: 1217311546,
osm_type: "N",
country: "Deutschland",
osm_key: "amenity",
housenumber: "122",
city: "München",
street: "Prinzregentenstraße",
osm_value: "restaurant",
postcode: "81677",
name: "Sushi Oji",
state: "Bayern",
point: {
lng: 11.6154759,
lat: 48.1379734
}
}

Nominatim:

{
point: {
lat: 48.1379734,
lng: 11.6154759
},
name: "Sushi Oji, Prinzregentenstraße 122, 81677 München, Deutschland",
country: "Deutschland",
city: "München",
state: "Bayern",
osm_id: 1217311546,
osm_type: "N",
house_number: "122"
}

Opencagedata:

{
point: {
lat: 48.1379734,
lng: 11.6154759
},
name: "Sushi Oji, Prinzregentenstraße 122, 81677 München, Deutschland",
country: "Deutschland",
city: "München",
state: "Bayern",
osm_id: 1217311546,
osm_type: "N",
house_number: "122"
}

Missing right now is: