Map Geocoded data with Gephi
17 May 2010
The mixture between network and geographic data has a fantastic potential and didn’t completely reveals its power yet. Alexis Jacomy, a student member of the Gephi community just released a new Plugin named GeoLayout, which aims to bridge this gap. Congratulations!
The Plugin use latitude/longitude coordinates to set correct nodes position on the network. Several projections are available, including Mercator which is used by Google Maps and other online services.
The Plugin is available from Gephi Plugin Center. The author is looking for feedbacks, please visit the plugin page.
I wanted to try with the classical USA Airline Routes network dataset, and detail the experience.
Install Plugin
In Gephi, go to the Tools menu and then Plugins. In the Available Plugins tab check the GeoLayout and click on Install. The plugin is installed and you are asked to reboot Gephi. Click OK.
Open Dataset
Download the airlines-sample.gexf (Save As…) dataset and open it with Gephi.
The network is an undirected graph with 235 nodes and 1297 edges. For each node there are two additional data latitude and longitude, expressed in degrees.
You should see the graph opened like this.

Use GeoLayout
Go to the Layout module and choose Geo Layout in the list. And then just click the Run button.
![]() |
![]() |
Result
You can see the result immediately. Analysis and aesthetics refinement can be done now. Please visit the Quick Start Tutorial for a step by step introduction to Gephi.













17 May 2010 at 3:27 pm | Permalink
Amazing… I hope to test it soon. Thanks to Alexis Jacomy, and all the developers!
Clement.
6 July 2011 at 6:21 pm | Permalink
Does gephi or this plugin allows importation from google earth? for example a KMZ or KML file, with places we’ve selected.
The idea was to have world map and all the places connected to each other.
thank you
hugo.
13 January 2013 at 1:38 am | Permalink
Has anyone built a code that can interact with Geolayout to calculate
1. the average distance between nodes?
2. the sum of the magnitude/directional (SW, NW… can be expressed in degrees) of the edges?
8 February 2013 at 12:49 am | Permalink
It seems that the plugin needs to be updated to meet the most recent netbeans specs. I get a fail message.
8 February 2013 at 2:46 am | Permalink
I figured out, why… it was because on Data import from spread sheet, I did not load the data into a column with the data type “Double”.
14 April 2013 at 1:45 pm | Permalink
Hello, Thanks, this is very useful. Could you indicate how to set a map of america as a background image in Gephi?