https://github.com/chringel21/simple-isochrone-analysis
Simple reachability analysis (isochrones)
https://github.com/chringel21/simple-isochrone-analysis
docker-compose graphhopper isochrones maplibre-gl-js nodejs open-data planetiler pug routing tailwindcss tileserver-gl vector-tiles
Last synced: 2 months ago
JSON representation
Simple reachability analysis (isochrones)
- Host: GitHub
- URL: https://github.com/chringel21/simple-isochrone-analysis
- Owner: chringel21
- License: mit
- Created: 2022-09-16T12:40:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T13:42:41.000Z (about 2 years ago)
- Last Synced: 2025-01-16T12:54:02.929Z (4 months ago)
- Topics: docker-compose, graphhopper, isochrones, maplibre-gl-js, nodejs, open-data, planetiler, pug, routing, tailwindcss, tileserver-gl, vector-tiles
- Language: JavaScript
- Homepage:
- Size: 1.14 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Isochrone Analysis
Calculate the reachability of [glass containers](https://opendata.potsdam.de/explore/dataset/standplatze-glassammlung/information/) in Potsdam/Germany using [Graphhopper](https://github.com/graphhopper/graphhopper).
**Disclaimer:** This is a prototype, was hacked together over the course of two days and doesn't represent a fully fledged application. Bugs may occur! 🪲
## [🔗Running app](https://chringel.dev/wie-weit-zum-altglas/)

## How to run
### Download and install
```shell
docker-compose -f docker-compose_download.yml up planetiler styles yarn_install
```This will do a couple of things:
- Download an OpenStreetMap extract of Brandenburg using [Planetiler](https://github.com/onthegomap/planetiler)
- Use Planetiler to create vector tiles from said OSM extract
- Download vector tile styles and their required fonts
- Install node modules### Run the app
```shell
docker-compose up
```This will start the necessary services for the app:
- The routing engine to calculate isochrones (**Note**: Running this service for the first time will also create the routing graph from the OSM extract)
- Spin up a [tileserver](https://github.com/maptiler/tileserver-gl) for rendering vector tiles
- Start a web server with endpoints to the services above
- Start the node applicationOnce every service is running, open [http://localhost:9000](http://localhost:9000) to view the app.