View Single Post
Old 01-22-2015, 08:12 PM  
NALEM
Confirmed User
 
NALEM's Avatar
 
Industry Role:
Join Date: Nov 2010
Location: Where ever Delta flies
Posts: 3,134
Quote:
Originally Posted by rowan View Post
I believe the Maxmind paid DB goes down to city level. GeoIP is never going to be 100% accurate, especially once you're narrowing it down to a relatively small region. It's probably paid because there are staff manually deciphering that the hostname ip1.2.3.4-nyc.provider.com is probably in New York City... but according to WHOIS the administrative contact details for that block are on the other side of the USA.
Quote:
Originally Posted by hadden View Post
Latitudes and longitudes Alex
Quote:
Originally Posted by Barry-xlovecam View Post
https://github.com/maxmind/GeoIP2-perl

The information is in the free GeoIP2 database but you would need to extract it not IP specific (in reverse) -- the intended use.

Use a zip code database to get the Ohio latitude and longitude coordinates for each Ohio city then query the GeoIP2 data.
Quote:
Originally Posted by Barry-xlovecam View Post
10:19 AM-barry@:barry/SATA4/sites/geoIP/GeoLite2-City-CSV_20150106$ grep --color=always -rni "postal\|zip\|code" *|more
GeoLite2-City-Blocks-IPv4.csv:1:network,geoname_id,registered_country_g eoname_id,represented_country_geoname_id,is_an
onymous_proxy,is_satellite_provider,postal_code,la titude,longitude
GeoLite2-City-Blocks-IPv6.csv:1:network,geoname_id,registered_country_g eoname_id,represented_country_geoname_id,is_an
onymous_proxy,is_satellite_provider,postal_code,la titude,longitude

The location data is in the Free GeoLite2-City-CSV_20150106 at Maxmind -- some assembly required ;)

I think you can do some free lookups if you are just backtracking at Maxmind.

Wasn't all in vain -- nice to know that current US zip code and other countries postal codes data is available on an updated basis for another project of mine ...
Thank you all for the additional resources. Sent the details you shared over. The zip code data is something of a bonus also, which I asked my guy to look into for another project. So an extra thank you!!!
__________________
"The time men spend in trying to impress others they could spend in doing the things by which others would be impressed."
NALEM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote