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:
parent
8ed7b8d112
commit
29afb4f115
12 changed files with 503 additions and 55 deletions
|
|
@ -14,7 +14,7 @@ from uk_bus_stops.app import ATCO_PATTERN, create_app, parse_coordinates
|
|||
@pytest.fixture()
|
||||
def client() -> Any:
|
||||
"""Return a Flask test client."""
|
||||
return create_app({"TESTING": True}).test_client()
|
||||
return create_app({"TESTING": True, "STOP_SOURCE": "osm"}).test_client()
|
||||
|
||||
|
||||
@responses.activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue