Select to view content in your preferred language

Wrong Spatial Reference when using worldToGeographic

411
0
11-10-2023 03:09 AM
Edern761
New Contributor

Hello,

 

I am working on a global map with spatial reference of WKID 3950. However, when I use mapComponent.View.WorldToGeographic(), the returned ArcGisPoint has the spatial reference of WKID 4329, which makes my calculations wrong. Looking deeper with the help of the debugger, I remarked that my mapComponent has the correct spatial reference but the view has the one with WKID 4329. How can I get it to return a coordinate in my chosen spatial reference, or if it's not possible how can I convert the returned coordinate to the correct spatial reference ?

Thanks in advance for your responses.

Edern.

0 Kudos
0 Replies