Skip to content

johnymontana/openstreetmap-routing-web-app-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build A Routing Web Application With OpenStreetMap, Neo4j, & Leaflet.js

Build a routing web application with openstreetmap, neo4j, and leaflet.js

Using GitHub Codespaces is the recommended way to create a Python development environment for this workshop.

Step 1: OpenStreetMap Data Import With OSMNx

First, create a Neo4j AuraDB instance.

Then use this notebook to import OpenStreetMap and address data into your Neo4j instance.

Step 2: Leaflet.js Web Map

This file contains HTML and JavaScript for a simple address search and routing web app. Edit the file to connect to your Neo4j AuraDB instance.

We're using Dijkstra's algorithm for routing - can you improve the routing query using the A* algorithm?

Setup

This project uses Poetry to manage dependencies and python virtual environments. After cloning this repository, be sure Poetry is installed then run:

poetry install

To add dependecies:

poetry add foobar

Update .env with any relevant environment variables, then to start Jupyter:

poetry shell
jupyter notebook

About

Materials for workshop "Build A Routing Web Application With OpenStreetMap, Neo4j, and Leaflet.js"

Topics

Resources

License

Stars

Watchers

Forks