I want to draw cross section profile for terrain…
Is it possible to draw profile in cesium…
This is how i need to plot… I have gone through many api’s but i didn’t find any possiblities…
Need some suggestion for implementation of it.
Take a look at sampleTerrainMostDetailed, providing the positions for the path you are interested in profiling.
Hope that helps.
Scott
Here’s the docs: https://cesiumjs.org/Cesium/Build/Documentation/sampleTerrainMostDetailed.html
You’ll get a Cartographic object, which contains lat and long properties, in radians, as well as the height in meters.
Thanks,
Gabby
You will get a Cartographic for each position you specify. You can specify as many positions as needed (not just two).
Scott