pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

Allow gmaps api key

Open trippyhat opened this issue 9 years ago • 3 comments

The current limit is 2500 requests per day without specifying a google maps api key for geopy's GoogleV3 geocoder.

Can we put a gmaps api key in the config file, then update the utilities.py:

config_gmaps_key = # load gmaps key from config
geolocator = GoogleV3(api_key=config_gmaps_key)

trippyhat avatar Aug 03 '16 18:08 trippyhat

the config file is only an example and doesnt belong to the pgoapi lib anymore. But I will add it to the utilities. Thanks for the hint.

tejado avatar Aug 03 '16 19:08 tejado

can someone tell whats wrong with nominatim or sonething like that

i only find the reverse lookup a bit hardh as it cant decode all characters :(

dnsBlah avatar Aug 11 '16 20:08 dnsBlah

I'm hitting the gmaps limit pretty often as well, so :+1:

DeastinY avatar Aug 12 '16 08:08 DeastinY