Monday, 14 August 2017

software recommendations - Advice on geocoding IP addresses


What is the best way of geocoding IP addresses?


I have ~ 10,000 - 30,000 addresses to geocode once. The IP addresses are from all over the world and I only want the Long/Lat. Accuracy to the city level is not essential, but ideally it would be within 10-20 km.


Searching around I saw MaxMind which seems like a good option, but before I download and frequent myself with their API, are there any other recommended alternatives out there?



Answer



IPInfoDB can be used. They don't have a query limit, but they will throttle you to 1 response/sec if you request too frequently.



Alternately, if you feel like writing a little bit more code, you can download their database and run the batch queries yourself. I can't imagine it'd take long to set up, and it will process your 30k IP addresses quite quickly.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...