Hey, Guys!
I’m getting hard time struggling with understanding how to position Global anchored element, the one with CesiumGlobeAnchor component.
At the moment I did not manage to figure out the reference systems used for tilesets and CesiumGlobeAnchor, although, it is stated that both use WGS84, the same GPS uses.
I’ve searched and studied few similar topics, but still no clear understanding of the issue. All those topics usually related to msl vs WGS84 conversion problems, but this is not.
Here I prepared 2 examples, where WGS84 elevation was measured by real GPS while standing on the ground at the location
lat, lon = 51.098489, 10.858875; WGS84 elevation 184.5 m;
Tilesets give me following elevations:
SampleHeightMostDetailed(Cesium World Terrain) → -12.66
SampleHeightMostDetailed(Google Photorealistic 3D Tiles) → -6.23
To position anchored component at the terrain surface an addition of 50m is required:
UCesiumGlobeAnchorComponent.MoveToLongitudeLatitudeHeight([51.098489, 10.858875, 184.5 + 50])
at the same time
gives 46m
lat, lon = 52.365448, 20.871277; WGS84 elevation 73.5 m;
Tilesets give me following elevations:
SampleHeightMostDetailed(Cesium World Terrain) → 80.45
SampleHeightMostDetailed(Google Photorealistic 3D Tiles) → 86.49
To position anchored component at the terrain surface an addition of 34m is required:
UCesiumGlobeAnchorComponent.MoveToLongitudeLatitudeHeight([52.365448, 20.871277, 73.5 + 34])
at the same time
gives 31m
Please, tell me what I’m missing here?
Thanks in advance!