https://github.com/amauryval/osmgt
Python library to extract roads network on Open Street Map (and POIs) in order to create a graph with graph-tools and/or computing shortest paths and isochrones
https://github.com/amauryval/osmgt
geopandas graph graph-tools isochrones map network network-analysis nominatim openstreetmap overpass-turbo point-of-interest pois shortest-paths topology topology-graph
Last synced: about 1 month ago
JSON representation
Python library to extract roads network on Open Street Map (and POIs) in order to create a graph with graph-tools and/or computing shortest paths and isochrones
- Host: GitHub
- URL: https://github.com/amauryval/osmgt
- Owner: amauryval
- License: gpl-3.0
- Created: 2020-04-15T16:43:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T20:32:47.000Z (about 2 years ago)
- Last Synced: 2025-03-25T04:51:20.879Z (about 2 months ago)
- Topics: geopandas, graph, graph-tools, isochrones, map, network, network-analysis, nominatim, openstreetmap, overpass-turbo, point-of-interest, pois, shortest-paths, topology, topology-graph
- Language: Python
- Homepage: https://github.com/amauryval/osmgt/wiki/OsmGT-Wiki
- Size: 144 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OsmGT
====## This package will not be maintain: a new package [OsmRx](https://github.com/amauryval/OsmRx) based on rustworkx has been built and is currently developed!

[](https://codecov.io/gh/amauryval/osmgt)
[](https://github.com/ambv/black)[](https://anaconda.org/amauryval/osmgt)
[](https://anaconda.org/amauryval/osmgt)[](https://anaconda.org/amauryval/osmgt)
[](https://conda.anaconda.org/amauryval)
OpenStreetMap (OSM) network analysis based on [graph-tools](https://graph-tool.skewed.de/) (GT):
* load data from a location name or a bounding box (roads and pois)
* graph creation (and topology processing)
* isochrone builder
* shortest path## Demo
To play with the notebook on binder: [](https://mybinder.org/v2/gh/amauryval/osmgt/master?filepath=example.ipynb)
If you do not want to wait (OsmGt docker building takes time here on myBinder), you can find the html version of the jupyter notebook : click [here](https://amauryval.github.io/osmgt/) to get the result
# Documentation
[Open the wiki](https://github.com/amauryval/osmgt/wiki/OsmGT-Wiki)
# Releases
- 0.8.12:
Code cleaning...
- 0.8.4:
First usable version
# How to install it
Only on Linux
```
conda install -c amauryval osmgt
```# How to run the dockerfile
```
docker build -t osmgt . && docker run -p 8888:8888 osmgt:latest
```