Select to view content in your preferred language

WKID (Well Known ID) for national projection for ArcGIS REST API

731
1
11-26-2010 08:12 AM
Muhammad_MunirAfsar
Emerging Contributor
I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any pointers which can help me out to use my data in its native projection format? Thanks
0 Kudos
1 Reply
HemingZhu
Frequent Contributor
I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any pointers which can help me out to use my data in its native projection format? Thanks



use the wkt (The well-known text of a spatial reference) instead.
Example: var spatialReference = new esri.SpatialReference({"wkt": "PROJCS[\"NAD_1983_HARN_StatePlane_Oregon_North_FIPS_3601\",
        GEOGCS[\"GCS_North_American_1983_HARN\",DATUM[\"D_North_American_1983_HARN\",
        SPHEROID[\"GRS_1980\",6378137.0,298.257222101]],
        PRIMEM[\"Greenwich\",0.0],
        UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_Conic\"],
        PARAMETER[\"False_Easting\",8202099.737532808],PARAMETER[\"False_Northing\",0.0],
        PARAMETER[\"Central_Meridian\",-120.5],
        PARAMETER[\"Standard_Parallel_1\",44.33333333333334],
        PARAMETER[\"Standard_Parallel_2\",46.0],
        PARAMETER[\"Latitude_Of_Origin\",43.66666666666666],UNIT[\"Foot\",0.3048]]"
});
0 Kudos