mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Use list of german nouns before geocoding
This commit is contained in:
parent
9cbff4aa30
commit
c09a1d78a2
4 changed files with 24735 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue