Why do some WKIDs not work

11-28-2014 10:38 AM
Occasional Contributor

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
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