Python tools for geographic graphs
Project description
GeoNetworkX
Python tools for geographic graphs
Introduction
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).
Install
Requirements
- pyproj>=2.2
- geopy>=1.12.0
- geopandas>=0.7
- networkx>=2.3
- numpy>=1.12.0
- pandas>=0.25.0
- shapely>=1.2.18
- scipy>=0.19.0rc2
- nose>=1.3.7
Optional packages:
- srtm (for elevation data)
- pyvoronoi (for voronoi utils)
- osmnx (for OSM data)
Installation
pip install geonetworkx
Trouble when installing GeoNetworkX on Windows
If you are using conda
on Windows, the binaries downloaded automatically
are broken, and rtree
is
unable to work properly.
A workaround is to download manually the binary from this webpage. Please download the binary corresponding to your system and your Python version (3.6 or 3.7). You have notably to download:
- Binary for
Rtree
- Binary for
GDAL
- Binary for
Fiona
Documentation
Online documentation is available here: https://geonetworkx.readthedocs.io
Tests
Tests can be launched with unittest
with the following command:
python -m unittest discover -v geonetworkx
Or with nose
like this:
nosetests geonetworkx -v --with-doctest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geonetworkx-0.5.3.tar.gz
.
File metadata
- Download URL: geonetworkx-0.5.3.tar.gz
- Upload date:
- Size: 315.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 484852e9e33d7e8bc6552ae6c32409ff7a19a028766989096aaa158d90f4d612 |
|
MD5 | 04c85d632b117810da96cad26e5ddf9e |
|
BLAKE2b-256 | 10cd0ee1eb64338c5b7c8e2e23c2ccdc255696a5226bf3cffd54f1fdbf0103a4 |
File details
Details for the file geonetworkx-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: geonetworkx-0.5.3-py3-none-any.whl
- Upload date:
- Size: 340.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8aad59224dd5df9a919a5ee2dbad2ff4f4304e6baece85e050cbc27cc33a8d |
|
MD5 | 2729204e50b6d99af61b6fd89d923aeb |
|
BLAKE2b-256 | 25bf2747d027d6155fcf89d41938f9ef5104f14e11dc0a29537572e5e464c533 |