Skip to content
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

elevation is too high by roughly 30m #22

Closed
erahhal opened this issue Jul 1, 2015 · 4 comments
Closed

elevation is too high by roughly 30m #22

erahhal opened this issue Jul 1, 2015 · 4 comments

Comments

@erahhal
Copy link

erahhal commented Jul 1, 2015

I'm using the NED 1/3 arc second data set to generate tiles to zoom level 15 for Cape Canaveral in Florida, and finding that the terrain looks accurate in shape, but the elevation is too high by about 30m. The Cesium AGI STK World Terrain set uses NED data as well, and I can see the exact same artifacts and characteristics in the terrain I'm generating as that in the AGI data, except for the elevation difference. Is there a parameter I'm missing when generating terrain tiles?

edit: actually it seems to be exactly 30m.

@erahhal
Copy link
Author

erahhal commented Jul 6, 2015

Was able to figure this out. It turns out that the NED data is using a different vertical datum than that expected by Cesium. I used the following tool to convert the vertical datum:

http://vdatum.noaa.gov/

@homme
Copy link
Member

homme commented Jul 6, 2015

@erahhal I'm glad you figured it out. I haven't had to use tiles for any application sensitive to absolute height - relative has been fine so far! What is the vertical datum used by Cesium out of interest? I'll note it in the documentation...

@homme
Copy link
Member

homme commented Jul 6, 2015

According to the CesiumTerrainProvider source code, it's just WGS84. If your source data was specified as being in NED, it's interesting that GDAL (used by cesium terrain builder under the hood) didn't correctly translate the vertical datum.

1 similar comment
@homme
Copy link
Member

homme commented Jul 8, 2015

According to the CesiumTerrainProvider source code, it's just WGS84. If your source data was specified as being in NED, it's interesting that GDAL (used by cesium terrain builder under the hood) didn't correctly translate the vertical datum.

@homme homme closed this as completed Jul 8, 2015
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

No branches or pull requests

2 participants