mst / whatsupcoming

2 stars 0 forks source link

Get geolocation for venues #10

Closed mst closed 12 years ago

koeulr commented 12 years ago

What do you think about this ?

from geopy import geocoders g = geocoders.Google(domain='maps.google.de') place, (lat, lng) = g.geocode("Pfinztalstraße 16 Karlsruhe") place u'Pfinztalstra\xdfe 16, 76227 Karlsruhe, Deutschland' lat 48.9992476 lng 8.4742723

mst commented 12 years ago

Works if you have the address of a venue.

2012/4/16 koeulr reply@reply.github.com:

What do you think about this ?

from geopy import geocoders g = geocoders.Google(domain='maps.google.de') place, (lat, lng) = g.geocode("Pfinztalstraße 16 Karlsruhe") place u'Pfinztalstra\xdfe 16, 76227 Karlsruhe, Deutschland' lat 48.9992476 lng 8.4742723


Reply to this email directly or view it on GitHub: https://github.com/marcelst/whatsupcoming/issues/10#issuecomment-5160025

koeulr commented 12 years ago

We are using Places API to determine geocode. We have to make sure not do send more than 1000 requests a day ...

mst commented 12 years ago

Do we need to have a check for the daily quota or can we close the issue?

koeulr commented 12 years ago

no need ...