Mapestries UK road database reconstruction

Map data: © OpenStreetMap contributors.
https://www.openstreetmap.org/copyright
The derived road database is available under ODbL 1.0:
https://opendatacommons.org/licenses/odbl/1-0/

These reconstruction files may be used, copied, modified and distributed
to reproduce or adapt this database. The database remains subject to ODbL.

Install PostgreSQL with PostGIS, GDAL (ogr2ogr), Python 3, and the Python
packages requests, psycopg2-binary and python-dotenv. Create a local
database with CREATE EXTENSION postgis; then run from this directory:
python scripts/import_uk_map_streets.py --all --dsn "dbname=maps host=localhost"

The importer downloads and verifies the original pinned Geofabrik PBF.
manifest.json records the source URL, publisher checksum and road class
mapping. The config selects highway ways and excludes areas and routes.
No manual geometry edits or added road data are used. The imported
database is custom_maps.osm_streets; rendering clips and simplifies these
stored geometries for each map without changing the source database.
