Skip to content

Add water centerlines layer for elongated lake labels - #890

Merged
Rub21 merged 7 commits into
stagingfrom
build-center-lines
Oct 21, 2026
Merged

Rub21 merged 7 commits into
stagingfrom
build-center-lines

Conversation

@Rub21

@Rub21 Rub21 commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

This PR adds centerlines for long, narrow lakes so their labels can follow the lake's shape instead of sitting in the middle.

  • water_centerlines.py draws a line through each big, elongated named lake. After the first run, it only redoes the lakes that changed and clears their cached tiles.
  • derive_centerline_mview builds the zoom mviews, and Martin serves them as water_areas_centerlines.
  • start.sh runs the script every 7 days when WATER_CENTERLINES=true.
  • The Dockerfile adds shapely, scipy and networkx.

Ref OpenHistoricalMap/issues#1374

@Rub21
Rub21 merged commit daa02ff into staging Oct 21, 2026
1 check failed
@Rub21
Rub21 deleted the build-center-lines branch November 14, 2026 12:42
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