Finding Out A Spacial Reference wkid

302
1
08-27-2012 10:53 AM
TravisD
New Contributor
How do I use a spacial reference wkid for an area that is not listed on either Projected Coordinate Systems Listing or Geographic Coordinate Systems Listing?
0 Kudos
1 Reply
JohnGravois
Frequent Contributor
to work with a coordinate system whose WKID is not recognized, you will have to create the Spatial Reference object using WKT (well-known text) instead

var sr = new esri.SpatialReference('GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",
  SPHEROID["WGS_1984",6378137.0,298.257223563]],
  PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'
);


http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/spatialreference.htm
0 Kudos