Skip to content

[WIP] Add stream tile export pipeline (export_tiles.sh)#3

Draft
maning wants to merge 1 commit intomainfrom
export-stream-tiles
Draft

[WIP] Add stream tile export pipeline (export_tiles.sh)#3
maning wants to merge 1 commit intomainfrom
export-stream-tiles

Conversation

@maning
Copy link
Member

@maning maning commented Mar 21, 2026

  • New export_tiles.sh: merges per-area streams → combined GeoJSON → MBTiles (Z8–14) + line-delimited GeoJSON; optional Mapbox upload via Uploads API (--upload flag)
  • New areas_registry.json: maps area slug → output dir + WGS84 bbox for clip-before-merge; supports --auto discovery via metadata.json
  • run_pipeline.sh: write output//metadata.json after each run; re-extract lakes on every run when --osm-file provided (was cached)
  • 01_grass_hydro.sh: export streams_wgs84.gpkg (WGS84) after GRASS step
  • 00_setup.sh: add tippecanoe + boto3; skip brew packages already installed
  • README.md: document tile export workflow, options, and folder structure

- New export_tiles.sh: merges per-area streams → combined GeoJSON →
  MBTiles (Z8–14) + line-delimited GeoJSON; optional Mapbox upload via
  Uploads API (--upload flag)
- New areas_registry.json: maps area slug → output dir + WGS84 bbox
  for clip-before-merge; supports --auto discovery via metadata.json
- run_pipeline.sh: write output/<name>/metadata.json after each run;
  re-extract lakes on every run when --osm-file provided (was cached)
- 01_grass_hydro.sh: export streams_wgs84.gpkg (WGS84) after GRASS step
- 00_setup.sh: add tippecanoe + boto3; skip brew packages already installed
- README.md: document tile export workflow, options, and folder structure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant