Use NaPTAN data for the UK stop finder

Import active NaPTAN stops into a local SQLite spatial index, including conversion of British National Grid coordinates. Add local searches, shareable stop links, source details and transport mode colours while retaining OSM route lookup by ATCO code.

Closes #1
This commit is contained in:
Edward Betts 2026-09-18 18:04:55 +01:00
parent 8ed7b8d112
commit 29afb4f115
12 changed files with 503 additions and 55 deletions

View file

@ -17,6 +17,7 @@ dependencies = [
[project.optional-dependencies]
web = [
"flask>=3.0",
"pyproj>=3.4",
]
dev = [
"mypy",
@ -25,10 +26,12 @@ dev = [
"responses",
"types-requests",
"flask>=3.0",
"pyproj>=3.4",
]
[project.scripts]
osm-pt-geojson = "osm_geojson.pt.cli:cli"
uk-bus-stops-import-naptan = "uk_bus_stops.naptan:main"
uk-bus-stops = "uk_bus_stops.app:main"
[tool.setuptools.packages.find]