Skip to content

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

License

Notifications You must be signed in to change notification settings

tuucan/openstreetmap-routing-web-app-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Slides: dev.neo4j.com/routing-workshop

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"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 93.5%
  • HTML 6.5%