Skip to content

Ensure buildings are visible at all zoom levels#209

Open
charliemcgrady wants to merge 3 commits intomainfrom
missing_sfo_buildings
Open

Ensure buildings are visible at all zoom levels#209
charliemcgrady wants to merge 3 commits intomainfrom
missing_sfo_buildings

Conversation

@charliemcgrady
Copy link
Contributor

@charliemcgrady charliemcgrady commented May 22, 2025

Before Fix

Screenshot 2025-05-28 at 10 17 11 PM

After Fix

Screenshot 2025-05-28 at 10 16 51 PM

@charliemcgrady charliemcgrady force-pushed the missing_sfo_buildings branch from fa31bef to cf50240 Compare May 22, 2025 04:27
@charliemcgrady charliemcgrady force-pushed the missing_sfo_buildings branch from cf50240 to 3756d90 Compare May 29, 2025 05:16
@charliemcgrady
Copy link
Contributor Author

Screenshot at high zoom levels:
Screenshot 2025-05-28 at 10 18 27 PM

@charliemcgrady charliemcgrady marked this pull request as ready for review May 29, 2025 05:23
@charliemcgrady
Copy link
Contributor Author

Confirmed the above change causes rendering defects for rendering overlapping extrusion layers for buildings and building parts:
Screenshot 2025-05-28 at 10 28 48 PM

@charliemcgrady charliemcgrady marked this pull request as draft May 29, 2025 05:29
@charliemcgrady
Copy link
Contributor Author

Added 0974ec8 to handle the above rendering defects. Now, building outlines are rendered as outline layers when the has_parts property is true.

Did my best to keep the style consistent:
Screenshot 2025-05-28 at 10 35 39 PM

One caveat to this approach is the buildings switch back to being extrusion layers at low zooms because the has_parts property is stripped less than zoom level 14 to save space in the tiles.
Screenshot 2025-05-28 at 10 38 39 PM

@charliemcgrady charliemcgrady marked this pull request as ready for review May 29, 2025 05:40
@charliemcgrady charliemcgrady requested review from jonahadkins and removed request for jonahadkins May 29, 2025 05:40
@charliemcgrady charliemcgrady changed the title Ensure buildings without properties are visible at high zooms Ensure buildings are visible at all zoom levels May 29, 2025
@danabauer danabauer self-requested a review May 29, 2025 16:08
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