We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This came up on the forum. If you try calling sampleTerrainMostDetailed on an ArcGISTiledElevationTerrainProvider it complains that:
sampleTerrainMostDetailed
ArcGISTiledElevationTerrainProvider
sampleTerrainMostDetailed requires a terrain provider that has tile availability.
Sandcastle link.
But you can see that it does compute an availability here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/ArcGISTiledElevationTerrainProvider.js#L158 It just doesn't seem to expose it as a property.
If I just throw a .availability property, the call works but the returned height is undefined. I traced this to terrainData.interpolateHeight returning undefined here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/sampleTerrain.js#L107 Everything that's passed in looks fine, so I'm not sure why it's undefined (and it correctly figured out that the max level at this point is 16).
.availability
@tfili
The text was updated successfully, but these errors were encountered:
Came up again on the forum.
Sorry, something went wrong.
It's worth mentioning that you can't call sampleTerrain at all. It's not just 'sampleTerrainMostDetailed' that doesn't work.
Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/grjkeKWG9Ig/fGsnzkEMAgAJ https://groups.google.com/forum/#!topic/cesium-dev/6e2E4lTXvgw
If this issue affects any of these threads, please post a comment like the following:
The issue at #8007 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.
Successfully merging a pull request may close this issue.
This came up on the forum. If you try calling
sampleTerrainMostDetailed
on anArcGISTiledElevationTerrainProvider
it complains that:Sandcastle link.
But you can see that it does compute an availability here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/ArcGISTiledElevationTerrainProvider.js#L158 It just doesn't seem to expose it as a property.
If I just throw a
.availability
property, the call works but the returned height is undefined. I traced this to terrainData.interpolateHeight returning undefined here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/sampleTerrain.js#L107 Everything that's passed in looks fine, so I'm not sure why it's undefined (and it correctly figured out that the max level at this point is 16).@tfili
The text was updated successfully, but these errors were encountered: