Select to view content in your preferred language

ArcGIS Map SDK for Unreal – Distance mismatch in Local mode vs Global mode

305
1
Sunday
xjh6171
Emerging Contributor

My environment:

  • Unreal Engine 5.4.4

  • ArcGIS Map SDK for Unreal 2.0.0

When the MapType is set to Local, the measured distance in Unreal Engine does not match the real-world distance.
For example: the actual distance between point A and point B is 5 meters, but in UE with Local mode, the measurement tool gives me more than 6 meters.

However, if I switch the MapType to Global, the measurement becomes correct again and shows 5 meters.

In my understanding, Local mode should be more convenient for measuring straight-line distances, so this behavior confuses me.

Is this expected behavior due to coordinate projection/scaling differences in Local mode, or did I miss some configuration setting?
Any explanation or solution would be greatly appreciated. Thanks!

Additional information:
In my case, I generated an 8x8 km model in CityEngine using the EPSG:3857 projected coordinate system.
When I import the model into UE and set MapType = Local, the model and imagery become misaligned (because the imagery is stretched in Local mode).
If I switch to Global mode, the model and imagery are mostly aligned, but the ground does not match properly, since the CityEngine model is based on a projected coordinate system, while Global mode uses a spherical terrain.

0 Kudos
1 Reply
xjh6171
Emerging Contributor

🤔

0 Kudos