[GIS] MMQGIS Google Geocoder limiting me to less than 10 addresses

geocodinggoogle-maps-apimmqgisqgis

I've been using MMQGIS geocoding with Google Maps as the geocoder for a little while now, never any issue. As of yesterday, have gotten a few strange issues. I was unable to geocode at all yesterday, as it was giving me an HTTP 503 error when trying to connect to the google api. I figured this was just a result of maintenance or whatnot, so I used the openstreetmap geocoder, which is unfortunately far less accurate.

I tried using the google geocoder today, and it's even stranger, it successfully geocodes some of my addresses, but usually quits before I get to 10 of them, saying that I've reached my limit for the day. Not only is this impossible, it's also said this on different amounts of addresses geolocated (I've had 0, 2, 6, 7, and 10 so far). Has anyone else been having this issue, or does anyone have any possible solutions?

Best Answer

you should get an API key of your own, as @user30184 suggested.

  • you'll still be restricted to certain volumes and rate limits, but they'll be YOUR limits, if you're careful :-)
  • you should be able to use the control panel to see how much of your quota is left.
  • you can pay to upgrade those quotas if you have lots to geocode

without an API key, the plugin uses this key-less endpoint

http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=XXX

This is only really intended for demonstration purposes.

As @mapperz points out, this is limited by IP address. See this answer for more details. You might be sharing this quota with others, which would explain the outages.

You should be able to paste your API key into the dialog. If you don't see it, upgrade MMQGIS to the latest version in the plugin manager.

From a quick look at the code, it looks as if one call is made per row , but these are spaced out to a maximum of 2 calls/sec to avoid problems with rate limiting.