-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Negative fill extrusions #3401
Comments
That's interesting – perhaps this is more related to terrain elevation (#1489) than building extrusion? |
@mike-marcacci Ah, yes. Related thread indeed. Probably the bathymetry stuff I mentioned is more of a 3D terrain use case (where you have DEMs spanning over entire regions) while shafts etc. is probably more suited for something like negative extrusions (where you have heights assigned to individual features). |
@averas Mapbox GL is fundamentally designed as a 2D map renderer, and renders layers additively, so rendering negative extrusions (cutting into other layers features, rendered to the z0 plane) would be a huge refactor and is not currently on our roadmap. But it does sound like for your use case #1489 may be good ticket to follow :) |
With the addition of 3D features, would it be possible to now do these negative extrusions (For example, to make a pit)? |
Reopening this one and we'll take another look. |
In light of the growth of indoor GIS apps, is there a roadmap for enabling negative extrusions below the z0 plane? |
would be essential ! |
First things first: Amazing work on the extrusion fills and 3D buildings support!
One thing that immediately struck me given my own use cases: Has negative (below surface level) extrusions been considered? I naïvely tried setting negative values, but that did not render expected results (it seems the extrusions wrapped and the height became very high instead).
Cases where this might be interesting is showing sub-surface shafts or parking areas, or, as in my case, bathymetric levels for lakes.
A potential challenge is how to handle the background layer which will cover anything below what is "surface level" today. Perhaps the background layer could to be rendered at a z-level similar to any locally present negative extrusions.
The text was updated successfully, but these errors were encountered: