Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oakville Addresses Layer

Turns the Town of Oakville municipal Address Points dataset into map-tile layers (interactive vector + labelled raster) that OpenStreetMap mappers can add to the iD and JOSM editors as a reference overlay.

This is a thin repo: the whole pipeline is the address-layerist engine. All that lives here is layer.toml (the data source + field map + site settings) and a run.py shim.

Setup

pip install -e ../address-layerist      # the engine + its deps

The vector-tile step needs WSL2 + tippecanoe once -- see ../address-layerist/wsl-setup.md.

Usage

addressvault pull oakville   # acquire data into the vault (separate tool)
python run.py slim       # slim the latest oakville dump into a GeoJSONL + meta
python run.py vector     # vector (MVT) tiles via WSL tippecanoe
python run.py raster     # labelled raster (PNG) tiles
python run.py site       # render the landing page

python run.py build      # slim + vector + raster + site
python run.py update     # build + publish (the daily entry point)

The engine reads the newest oakville-*.geojson from $ADDRESSVAULT_DIR (or --input PATH); it does not download. The daily task is addressvault pull oakville --wait && python run.py update (--wait coalesces onto an in-flight pull instead of racing or erroring).

Build output lands in build/site/; that directory is what gets published.

Scheduling (Windows)

Run as Administrator:

.\schedule-add.ps1       # registers a daily task "OakvilleAddressLayer"
.\schedule-remove.ps1    # unregisters it

Licence / attribution

Address data (c) Town of Oakville, published under the Open Government Licence. Tiles and the landing page carry that attribution.

About

Town of Oakville address points as iD/JOSM reference tile layers (built with the address-layer engine)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages