Select to view content in your preferred language

Why do some WKIDs not work

3156
1
11-28-2014 10:38 AM
MattMiley
Deactivated User

I'm using the following code..

int WKID = 6549

var srUnirts = new SpatialReference(WKID);

Horizontal_Units = srUnirts.Unit.Name;

And This page

Projected coordinate systems—ArcGIS Runtime SDK for .NET | ArcGIS for Developers

has 6549 listed

But the code fails and says: Invalid SpatialReference. The Wkid value is invalid.

Whats up with that?????

Tags (2)
0 Kudos
1 Reply
XanderBakker
Esri Esteemed Contributor

If you have a look at: Spatial Reference List -- Spatial Reference you will see that the Well Know ID does not exist. I think the list is not correct. When I search for the description in ArcGIS Desktop I get WKID = 103129. Give it a try.

0 Kudos