Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm trying to understand how using each part of an IP address influences the accuracy of geocoding. For example, if

15.201.xxx.xxx

is used instead of

15.201.123.xxx

what is the approximate distance in KM? I'm using the IP2Location Lite database to examine who has visited a website. The README states the following:

1. IP2Location Lite Edition is free package with accuracy up to Class C (192.168.1.X) only. It is restricted for non-commercial use.

However, I'm having difficulty finding documentation on what the accuracy of this actually means. Does this accuracy vary over time also?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

"Class C" is a historical reference meaning that your location data is summarized to the /24 level. For example, even if 203.0.113.1 and 203.0.113.254 happen to be in very different physical locations, the database will have only one lat/long for the entire 203.0.113.0/24 network.

Potentially useful generalizations about accuracy:

  • If you summarize to the /24 level (203.0.113.x), you can be reasonably confident that more than 80% of your data points will fall within the correct general metropolitan area.

  • If you summarize to the /16 level (203.0.x.x), you can expect that more than 80% of your location data points will be on the correct continent and probably even in the correct country.

  • If you summarize to the /8 level (203.x.x.x), your location data will be almost completely meaningless.

IP addresses that are likely to geocode reasonably well (within 25 miles or less) at the /24 summary level include:

  • College/university campuses
  • Corporate headquarters
  • Cable modem connections serviced by major carriers like Comcast
  • Fiber-to-the-premise connections serviced by major carriers like Verizon and Frontier

IP addresses that are reasonably likely to geocode quite poorly (off by 200 miles or more) at the /24 summary level include:

  • 3G and 4G wireless phones/hotspots
  • Corporate branch offices
  • DSL connections serviced by CLECs
share|improve this answer
    
Oh? You can't geocode to the coffee shop on the corner like in the cop shows. Disappointed ;) –  Nathan W Apr 21 '12 at 12:21
    
@NathanW I strongly suspect that law enforcement, writ large, has access to better and more granular databases than "IP2Location Lite Free Edition," and with a warrant anything is possible, but you are correct that it is usually not quite that easy. –  Miles Erickson Apr 21 '12 at 13:43
2  
I'm sure they have a GUI interface written in Visual Basic to track those IP addresses youtube.com/watch?v=hkDD03yeLnU :) –  Nathan W Apr 21 '12 at 14:18
    
Thanks Miles, that lines up closely with how my data is behaving actually. What does the convention /24 and /16 mean? I understand what you are referring to and suspect is something base 2 related like (2*2*2) + (2*2*2) but am not sure! –  djq Apr 21 '12 at 22:09
    
Here's the answer: serverfault.com/questions/49765/how-does-subnetting-work –  Miles Erickson Apr 21 '12 at 22:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.