-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pycbg usage #1
Comments
Hey, this code assumes you have measurement data from RIPE Atlas (as in data/4514096.json) in this example. It will then perform the constraint-based geolocation and then return a city if geolocation using given measurements was successful. |
If I don't have the measurement data from RIPE Atlas how am I able to do that? As far as I know RIPE Atlas is "not free" to do the ping measurement and I was thinking to do it focusing only in Germany. Do you know any free alternative for me to get the measurement? Also I am having the same problem how to run your code as I think you only gave partial example code for it, could you show me the example code of running your code? |
So somehow I was able to get it running, but when I run the gelocateIPUsingSimpleCBG.py with 3 json files put in the data folder, two got no result while another one somehow suggested that I am in Malaysia, which is wrong as I am in Germany. The result is like below
How do I make it to be able to locate me "accurately"? Do I need the data from RIPE dataset, which is not free as far as I know? |
Hey. So this code only works for real traceroute from RIPE Atlas. Did you pass-in recent traceroute data to it? Also, in some cases, it's possible that the code cannot confidently predict location in which case it will not return you results. |
Hi. I stummbled upon your library after Googling CBG implementation library and I want to try to use it. Unfortunately I'm not proficient with python so I have difficulties of using and understanding it.
You gave an example code like this
but I don't know what is the next step to actually geolocate the IP. Could you give a complete example of how to use it? Also is there any restriction for using it? Will it work if I give my IP address but my current location is in Germany?
Thanks
The text was updated successfully, but these errors were encountered: