Select to view content in your preferred language

"bad wkid: 9990" error

142
1
12-26-2024 03:19 PM
pwned555
New Contributor

Hi, we have an app that's trying to create different spatial references with the Android Esri SDK.  I'm using the newest version com.esri.arcgisruntime:arcgis-android:100.15.6.  Upgrading the version helped me using most of the required WKID's when calling SpatialReference.create(wkid), however it's still failing for ITRF2020 WKID 9990 (and 9988, 9989).  Why is this, I can see it listed in this document 

https://developers.arcgis.com/rest/services-reference/enterprise/8defcc2fdb2c99232e8ac6ae649ae57d/gc...

Is there a specific document that outlies which WKID values are actually valid for the ESRI Android Runtime SDK?

Also what can I be using instead for the closest match, I'm guessing ITRF2014 (WKID 7912) which does work after updating?

Thanks,

0 Kudos
1 Reply
MikeWilburn
Esri Contributor

To see which WKIDs are valid for 100.15.0 and beyond, check out the PDF documents available for download here: https://developers.arcgis.com/android/downloads/#coordinate-systems-and-transformations-tables

It appears these WKIDs might actually be unsupported in versions 100.15.0+ (not listed in the docs above), so that error code you're receiving may very well be accurate.

ArcGIS Enterprise 11.4 and ArcGIS Runtime API for Android 100.15.6 have subtle differences in which spatial references they can support. New ones are added over time and 11.4 was made available more recently, which may be why it includes 9988-9990.

As for a closest recommended match to use instead, I would consult the values in the PDF to see what may be most appropriate. One possibility may be WKID 9000, which is ITRF2014.

0 Kudos