Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lake center lines #7

Open
cldellow opened this issue Jan 13, 2024 · 0 comments
Open

lake center lines #7

cldellow opened this issue Jan 13, 2024 · 0 comments

Comments

@cldellow
Copy link
Contributor

I don't currently label lakes. We could label them as point features, or as center lines.

Center lines are visually appealing, and IMO, reduce clutter by using space that is guaranteed not to conflict with other labels.

Sources of center lines:

  • Daylight Maps's 1,905 lines: https://daylightmap.org/2023/03/20/water-labels.html

    • I experimented with these. They're quite nice, but the coverage is very limited. I think their goal was more "have beautiful labels at low zooms", and mine is "have beautiful labels at z12"
  • https://github.com/openmaptiles/osm-lakelines

    • Needs postgis? :(
    • They have a released .geojson file, it's 11 MB and has 14K features. The features don't have names, and the OSM IDs are a bit weird, eg: some are negative (encoding ways vs relations maybe?), some are fractional
    • newer fork here: https://github.com/acalcutt/osm-lakelines, its geojson file is 344MB, 59K features, I see Maligne Lake -- this might be good enough!
    • I think we'll need to process the geojson file to add lake names, or build an sqlite file lake names that we can query dynamically
  • https://github.com/ungarj/label_centerlines

    • a Python script, it does the heavy lifting in osm-lakelines -- we could have Tilemaker do an export, then use this and import the resulting thing as a geojson file
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

No branches or pull requests

1 participant