Skip to content

spatialgraphdatabases/spatialgraphdatabases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial Graph Databases — a graph network drawn over a coordinate grid with a colored routing path and pin marker

Python for Spatial Graph Databases & Network Routing

Production engineering patterns for building, querying, routing, and scaling spatial graph networks with Python and Neo4j.

🌐 Read it at spatialgraphdatabases.org →


What this is

spatialgraphdatabases.org is a focused, deeply technical reference for engineers who put spatial data on a graph and route across it. Every guide is grounded in working, runnable Python and Cypher — the official async neo4j driver, native point geometry, spatial indexes, and the Graph Data Science library — with the goal of treating spatial predicates and shortest‑path search as first‑class database operators rather than post‑processing filters.

It is written for backend and data engineers, logistics and mobility developers, and spatial analytics teams building routing systems that have to stay sub‑second as the graph grows to tens of millions of nodes.

What's inside

The site is organised into four in‑depth tracks, each with hands‑on guides and complete code:

Why read it

  • Runnable, not hand‑wavy. Every page carries a complete, self‑contained async Python + Cypher example you can copy and run — no pseudo‑code.
  • Production‑first. Guides lead with what breaks under real load — index push‑down, connection‑pool exhaustion, write amplification, topology corruption — and how to harden against it.
  • Grounded in real cost models. Haversine distance, A* admissibility bounds, bounding‑box math, and plan‑cache behaviour are explained with the formulas and PROFILE output that back them.
  • Hand‑drawn diagrams. Each concept is illustrated with an original, theme‑aware SVG built specifically for the page.

How the site is built

This repository contains the full source of the site, an Eleventy (11ty) static build deployed to Cloudflare:

npm install
npm run build     # generate the static site into _site/
npm run serve     # local dev server at http://localhost:8080

Content lives as Markdown under src/, with Nunjucks layouts in src/_includes/ and site data in src/_data/.

Explore

www.spatialgraphdatabases.org

Start with the Fundamentals, then follow the inline links — every guide cross‑references the deeper and adjacent topics it builds on.

About

Production Python patterns for spatial graph databases and network routing with Neo4j and Cypher — spatial indexing, pathfinding, OSM ingestion, and routing algorithms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors