Use list of german nouns before geocoding

This commit is contained in:
Arne Schlüter 2015-02-07 14:53:27 +01:00
commit c09a1d78a2
4 changed files with 24735 additions and 11 deletions

View file

@ -119,7 +119,8 @@ def get_geoloc(query):
locations.append({
"lat": location["geometry"]["location"]["lat"],
"lng": location["geometry"]["location"]["lng"],
"confidence": confidence_map[location["geometry"]["location_type"]]
"confidence": confidence_map[location["geometry"]["location_type"]],
"returned_place": location["formatted_address"]
})
return locations