Skip to main content

Python tools for geographic graphs

Project description


Python tools for geographic graphs


GeoNetworkX is a project to add support for geographic graphs to NetworkX (in the same way that GeoPandas support geographic data to Pandas). It currently implements four data structures that extends the networkx graph classes (Graph, MultiGraph, DiGraph, MultiDiGraph).



  • pyproj>=1.9.6
  • geopy>=1.12.0
  • geopandas>=0.4.0
  • networkx>=2.2
  • numpy>=1.15.4
  • shapely>=1.2.18
  • scipy>=1.0.1

Optional packages:

  • srtm (for elevation data)
  • pyvoronoi (for voronoi utils)
  • osmnx (for OSM data)


pip install geonetworkx


Tests can be launched with unittest with the following command:

python -m unittest discover -v geonetworkx

Or with nose like this:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for geonetworkx, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size geonetworkx-0.4-py3-none-any.whl (341.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size geonetworkx-0.4.tar.gz (310.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page