-
Notifications
You must be signed in to change notification settings - Fork 303
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
Bathymetry not displayed #1871
Comments
Hi, Thanks for your feedback ! I don't have elevation data with negative altitude values at my disposal. Would you by any chance be able to grant me access to your WMTS stream so I can test displaying a negative altitudes elevation layer and see what seams to be the issue with iTowns ? |
@gchoqueux found out something : he applied an offset a DEM we have so that it contains negative values, and succeeded in displaying those value in an Could you try implementing const elevationLayer = new itowns.ElevationLayer('elevation-layer', {
source: wmtsSource,
noDataValue : -99999,
zmin: -10000 // Or any large negative value
}); The |
@mgermerie, thanks for your reply! |
@mgermerie, there is some progress in the issue? |
Hi ! I could not yet figure out what's causing the glitches on your example. I'm working on it at the moment and will let you know as soon as I find something out. |
You guys still soldiering on. |
PS unrelated - but kinda related - .bil is heavyy - does ITowns support RGBA PNG tiles for elevation ? Thats so much lighter. |
@etienleigh |
Nearly but not yet, it is planned, see #1463 |
@etienleigh did you manage to put a server on with your data? We will continue looking at it |
It is not related to 3d tiles rendering but we will take a look at your issue (#1859 ) |
When is this feature planned or should I look for a workaround? |
We don't have a date to provide yet sorry but we will try to prioritize it and to let you know. Instead of a workaround we can help you implement it in itowns if you are keen to do it, some of the code needed to it is already in itowns, it is just not used and therefore it shouldn't be much work to do it. If you're interested, let me know how we can help you to jump into it (more doc on the current architecture? a short meeting to explain you the general ideas and where to look? etc.) |
Our team is interested in implementing this functionality and improving itowns. We are willing to discuss receiving instructions on this matter. To contact directly, you can use my email in the github profile. |
Has there been any progress on the culling issues for negative elevations? Are there any workarounds? |
I contacted you by email, let's continue this discussion on this matter on the dedicated issue: #1463
Not yet but @mgermerie which is on leave this week will let you know when he gets back and takes a look at it |
Hi ! There seams to be an issue with the server providing elevation data in your example. I get |
Hello! I have corrected the address to get the height data in my example. An example can be found here. |
Thanks for the data. I set up an example here. When clicking while holding down Using this to check the values on the "cracking" tiles (those which do not display negative elevation), I found out that the value is Therefore I would suggest that the cracking tiles are caused by the lack of elevation data in the WMTS server for the tiles' zoom level and coordinates. In the example of the screenshot, it seams that there is no data for the orange tile, whose TMS coordinates are I also encountered problems with tiles outside the area with negative elevation values : they all had an elevation value of That being said, even if there was no issue with elevation data, iTowns still need some fixing to support negative elevation data. It has to do with tiles' bounding boxes that are not well positioned in altitude. I will open a separate issue on bounding boxes positioning, to keep this one clear. EDIT : I created the issue #1945 |
Hi, Madec! |
Hello!
I'm trying to display bathymetry and need a negative altitude value for that.
What am I trying to do?
What do I get?
Terrain is applied but there are no negative values and my bathymetry is not displayed.
The text was updated successfully, but these errors were encountered: