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.
Amazing… I hope to test it soon. Thanks to Alexis Jacomy, and all the developers!
Clement.
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.
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?
It seems that the plugin needs to be updated to meet the most recent netbeans specs. I get a fail message.
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”.
Hello, Thanks, this is very useful. Could you indicate how to set a map of america as a background image in Gephi?
Hi,
Don’t you face any trouble with your own lat/lng coordinates ?
I have a csv with coordinates in degrees and also in decimals, decimals one load but are not acknoledge by geolayout algorithm, degrees one doesn’t load (I use this format type : 46° 18′ 53″).
It’s kind of weird cause it indicates “double collumn in degree”, whereas arlines gmfx project test got coordinates in decimal.
Any idea ?
By the way thanks for the tuto.
Cheers, Jérémi.
Thanks for this gexf file.
@Amparo : As per my findings we cannot set background image of the world map in Gephi, but we can export the plotted graph from Gephi as .KMZ file format using “Export to Earth plugin” ; Then we can open it in Google Earth application with the latitude and longitude values. I tried and it worked.
Best,
Arunraja
@Arunraja hi, can you explain it plis? xd
Hello,
Is there a way to plot the latitudes and longitudes that are required in this layout ?
Hello, how to use geo layout and map of countries in same time and same dataset ?
Does this plugin work at smaller levels of geography? I’m having trouble displaying the netowrk at a city level, all of the nodes cluster together in one space.
I am having this problem too! Have you solved it?
Me too! Anyone??
[…] Wer Netzwerkstrukturen zum Beispiel mit Gephi visualisiert bekommt ein weiteres Tutorial an die Hand. Darin geht es um farbliche Anpassungen und allgemeine Node/Edge-Auszeichnungen. Ausserdem gibt es ein neues Plugin, was für alle interessant sein dürfte, die geocodierte Datensätze vorliegen haben: Map geocoded data with gephi […]
Thanks for this! The file was no longer linked from this site, but found the GIT here:
https://github.com/gephi/gephi.github.io/blob/master/datasets/airlines-sample.gexf