Comments (12)
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.
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.
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.
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.
@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, 10107
m (-3000 + (65535 / 5.0)
).
from cesium-terrain-builder.
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.
No problem, it will be interesting to hear how you got on.
from cesium-terrain-builder.
@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.
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.
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.
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.
@alienatorZ , @aberenyi
@hommeHi. 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)
- Error tiling with output format set to Leveller
- Can't change terrain tile size from 65x65 to 256x256
- GDALOpenEx - not found Windows build HOT 1
- ctb.dll not found Windows HOT 2
- Trouble building with CMAKE: GDAL not found
- ERROR 1: PROJ: webmerc: Invalid latitude HOT 1
- Resume is not a valid parameter anymore
- quantized-mesh tiles has no “metadata” extension HOT 5
- empty tiles
- undefined reference to `GDALCreateOverviewDataset(GDALDataset*, int, int)' HOT 10
- why cesium can not display the terrain? HOT 5
- ctb-tile gets killed after "90..." HOT 4
- The command line ran successfully, but was not generated file "layer.json"? HOT 1
- Error while running make install HOT 4
- Cesium Terrain generated using DSM is way higher than the base map
- Cesium is not rendered after reaching level 4 terrain HOT 1
- Can not add the terrain data in cesium HOT 17
- Possibility to merge several regions with different resolutions? HOT 1
- Tile coordinates are not consistent with Google or TMS standard
- @alienatorZ , @aberenyi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cesium-terrain-builder.