You are here: Home > Publications > RIPE Labs > Denis Walker > Example Usage of RIPE Database Geolocation Prototype

Example Usage of RIPE Database Geolocation Prototype

Denis Walker — 05 Oct 2011
This article provides you with a number of step by step examples on how to use the recently released prototype geolocation service in the RIPE Database.

Introduction

After feedback received from many sources, including RIPE 62 and Regional Meetings, mailing lists, RIPE NCC trainings, Customer Support and Member Survey, the RIPE NCC  built a Geolocation Prototype for the RIPE Database , as per the action point from the RIPE Database Working Group.

The basic idea is to allow two new optional attributes in both INETNUM and INET6NUM objects. The "geoloc:" attribute takes the values -90 to 90 for latitude, -180 to 180 for longitude and indicates the location of the resource. The "language:" attribute takes as the value a valid two-letter ISO 639-1 language code.

Updating these optional attributes

The Geolocation prototype version of Webupdates allows both these new optional attributes to be updated. Either the field or text area mode of Webupdates can be used. The field mode provides additional features to help select the values of these attributes. If the required fields are not shown in the template, add them by clicking the 'Add any attribute' icon at the desired position in the object template. These attributes can be used together or either can be used independently.

The new Geolocation prototype version of Webupdates is available now at: http://lab.db.ripe.net/geoloc/webupdates/search.html

Start by searching for the object in Webupdates to modify (you can enlarge the images by clicking on them).

Search Function in RIPE Database Webupdates

 

The "geoloc:" value can be entered as two floating point numbers if you know the longitude and latitude. As an alternative we provide a Google map. This can be opened by clicking the location icon next to the attribute.

Map Pointer in RIPE Database Webupdates

 

This opens the Google map in a pop-up window with a pin showing the current (or default) location. To change this, simply drag the pin to the required location. When you release the pin the new location is copied to the Webupdates "geoloc:" field.

  Map in RIPE Database Webupdates

 

For the "language:" you can enter any valid two-letter code from the ISO 639-1 language code list. If you want to specify more than one language, add more "language:" fields by clicking the 'Add another attribute of this type' icon.

Finish the update by adding your password in the Session password box and click the Update button.

 

Updated Object in RIPE Database Webupdates

 

Searching for these optional attributes

The Geolocation Finder is a prototype service for searching IP addresses for this optional data. Simply enter the IP address into the form and click Search. If this address is covered by either location or language data the results are shown in two ways. The first part shows any data found as textual values. If location data is found, this is also shown on a Google map.

The new Geolocation Finder tool is available now at: http://lab.db.ripe.net/geoloc/search/geolocation-finder.html

Geolocation Results in RIPE Database Webupdates

 

Convenient objects

To make it easier for users to create their own IP address data we have created a MNTNER object in this TEST Database. This MNTNER: TEST-GEOLOC-MNT requires the password: geoloc for authentication. For parent authentication with address space you may also need to use password: emptypassword and both these passwords can be added to the Session password box in Webupdates. For PERSON references in INET6NUM objects you can use AA1-TEST which also exists in this TEST Database.

7 Comments

Konstantin Bekreyev says:
26 Oct, 2011 11:53 AM
When I trying to create object inetnum and added 'geoloc', then nothing happens when I press to the 'Set location' button. Windows Vista Business, Google Chrome 14.0.835.202 m.
Denis Walker says:
26 Oct, 2011 12:26 PM
Hi Konstantin

The Geolocation service is currently only a prototype developed to assist with the community discussion. We have not tested it on many combinations of operating systems and browsers. If it does not work with this combination we apologise. Maybe you can try using another browser, for example firefox.

If the community agrees with this development then we will create a production quality service that will be tested on many different combinations.

Regards
Denis Walker
Business Analyst
RIPE NCC Database Group
David says:
19 Feb, 2012 11:57 AM
Your link in here doesn't work.

The new Geolocation Finder tool is available now at: http://lab.db.ripe.net/[…]/geolocation-finder.html
Kaveh Ranjbar says:
20 Feb, 2012 10:20 AM
Hello,

Thank you for your comment, it was a prototype hosted to demonstrated the possibilities of this new service. It is now decommissioned and as it was discussed during RIPE 63 we will proceed further with announcements in the Database Working Group Mailing list. We will update this post as soon as that is done.

Kind Regards,
Kaveh Ranjbar

RIPE Database Group Manager
jalal kamel says:
26 Jul, 2012 07:02 PM
hello i add the Geo location to my ip rang but one question when i search for my ip address on web side like ip2loaction or any web can provided ip address lookup still give unknown location to all my ip address ...
what should i do in this case ???
Michael says:
14 Jun, 2013 02:14 PM
to have this in the inetnum, does not makes sense.
It may be possible, that subranges will be routed to different geoloc
John says:
29 Sep, 2014 08:08 PM
http://geoipinfo.org web tool shows data about your ip geo location. The data they provide is country, city, address, postal code, etc. identified based on your ip or an ip/domain address that you search for. Comes in handy when you're trying to figure out where visitors come from when all you've got is their IP address. Still, the accuracy is limited, as are pretty much all service alike.
Add comment

You can add a comment by filling out the form below. Comments are moderated so they won't appear immediately. If you have a RIPE NCC Access account, we would like you to log in.