Giter Club home page Giter Club logo

Comments (12)

homme avatar homme commented on July 18, 2024

Hi, I'm assuming your bathymetry data is in meters. Do the depths go below -1000 meters? If so you
are probably running into a limitation of the cesium heightmap terrain format used in the tiles, as they are only designed to display data up to -1000 meters deep. The newer quantized mesh format overcomes this limitation but is not yet supported by the tool.

from cesium-terrain-builder.

aberenyi avatar aberenyi commented on July 18, 2024

Hi - thanks for the response.

Yes, the data is in meters and goes way below -1000 m. It is good to know that the newer format does support this. I assume the tool will support the newer format at some point too - any idea in terms of timescale?

from cesium-terrain-builder.

homme avatar homme commented on July 18, 2024

I'd certainly like the tool to support the newer format: it's on the TODO list. However, unfortunately there are no immediate plans to do it; it will either require some funding to work on the implementation or a code contribution.

from cesium-terrain-builder.

alienatorZ avatar alienatorZ commented on July 18, 2024

homme,

Until someone can help to integrate the quantized mesh, would it be possible to edit the CesiumTerrainProvider.js and your code to support elevations below -1000 feet? I believe Cesium can work with it, but there is just the limitation of the provider. If I change the CesiumTerrainProvider to offset to say... -3000m would I need to edit your code also?

Thanks!

from cesium-terrain-builder.

homme avatar homme commented on July 18, 2024

@alienatorZ Yes, you'd need to edit the code here and substitute 1000 for your limit e.g. 3000. Note, however, that this will limit the maximum altitude that can be displayed in the tiles to, I think, 10107m (-3000 + (65535 / 5.0)).

from cesium-terrain-builder.

alienatorZ avatar alienatorZ commented on July 18, 2024

Great! Thank you. I am only looking at oceans so any depth over about 100m doesnt concern me. Ill try it out.

Thank you again!

from cesium-terrain-builder.

homme avatar homme commented on July 18, 2024

No problem, it will be interesting to hear how you got on.

from cesium-terrain-builder.

Vinni0803 avatar Vinni0803 commented on July 18, 2024

@alienatorZ , @aberenyi
@homme

Hi. Are you able to load your data correctly ??
I'm also trying to load bathy data (terrains created using tiff file), at ground cesium terrain provider is showing data correctly but at sea level its showing positive height ( i mean height of sea is higher than ground ). Any suggestions.

from cesium-terrain-builder.

sushrut141 avatar sushrut141 commented on July 18, 2024

Hi @homme ,
We have been using cesium-terrain-builder to serve height map data but now we also need to visualize
Bathymetry data i.e. sea level terrain.
As stated above this requires us to support the Quantized Mesh Terrain Data for use with Cesium.
Apart from https://cesiumjs.org/data-and-assets/terrain/formats/quantized-mesh-1.0.html we haven't found found any other information on how to implement it.
Could you please share any information on Quantized Mesh Terrain format you have so that we can try making it a part of cesium-terrain-builder.

from cesium-terrain-builder.

markerikson avatar markerikson commented on July 18, 2024

Issue #29 discusses some other libs and tools that have some measure of support for Quantized-Mesh . And yeah, I'd still love to see it added to CTB, but have no time to tackle it myself.

from cesium-terrain-builder.

sushrut141 avatar sushrut141 commented on July 18, 2024

Is there any reason why each height value represents one fifth the height. Is it so that the scale of values ranges from -1000 to 65535 so that we have increased precision when interpolating between points in the terrain mesh?

from cesium-terrain-builder.

bibuzz avatar bibuzz commented on July 18, 2024

@alienatorZ , @aberenyi
@homme

Hi. Are you able to load your data correctly ??
I'm also trying to load bathy data (terrains created using tiff file), at ground cesium terrain provider is showing data correctly but at sea level its showing positive height ( i mean height of sea is higher than ground ). Any suggestions.

Even I am getting the same issue, my zoom level for the tiles generated is 9, for land it works fine. But the ocean level is above the land level. Did you figure out what was the issue?

from cesium-terrain-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.