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

Outline building parts #915

Open
1ec5 opened this issue Aug 13, 2023 · 0 comments
Open

Outline building parts #915

1ec5 opened this issue Aug 13, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@1ec5
Copy link
Member

1ec5 commented Aug 13, 2023

This is a 2D style, not a 3D style, but nonetheless 3D building parts can help make sense of a building whose footprint is otherwise an unrecognizable blob. City guide maps often reserve this treatment for the most iconic buildings in the city and otherwise color-code building footprints by building use. However, OpenMapTiles doesn’t expose anything that would allow us to distinguish iconic buildings or building uses, so we might as well give buildings some texture instead.

OpenMapTiles includes building parts in the building layer with hide_3d set to true. The buildings are already being rendered using a fixed-height fill extrusion layer, to simulate a drop shadow. Building parts can simply be slightly taller than building outlines but remain fixed-height. To avoid the information overload described in gravitystorm/openstreetmap-carto#1857 (comment), we can limit building parts to the highest zoom levels and stick them in the same layer as the building footprints, which will prevent overlapping parts and outlines from getting an additive fill.

@1ec5 1ec5 added the enhancement New feature or request label Aug 13, 2023
@1ec5 1ec5 added the good first issue Good for newcomers label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant