Select to view content in your preferred language

How to display Lat long points on arcgis services map

868
1
Jump to solution
12-06-2012 01:38 AM
MuhammadWaqar_ul_islam
Occasional Contributor
i have lat long values 6803.0708,2622.6819
i want to display on arcgis sample
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project
which map spatialReference no  is required to convert these values to display on map
MapPoint inputMapPoint = new MapPoint(x, y, new SpatialReference(----));
regards
Waqar
0 Kudos
1 Solution

Accepted Solutions
MelitaKennedy
Esri Notable Contributor
i have lat long values 6803.0708,2622.6819
i want to display on arcgis sample
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project
which map spatialReference no  is required to convert these values to display on map
MapPoint inputMapPoint = new MapPoint(x, y, new SpatialReference(----));
regards
Waqar


Hello,

It looks like the values are degrees decimal minutes:

68 03.0708
26 22.6819

if the positions are in Pakistan. They'll first need to be converted to decimal degrees. One simple method is to divide the minutes part by 60 and add to the degree part:

68.05118
26.378031666667

The next question is which geographic coordinate system (datum) are these points based upon? WGS84 or a Pakistan GCS? If the latter, try Kalianpur 1962, well-known ID = 4145.

Melita

View solution in original post

0 Kudos
1 Reply
MelitaKennedy
Esri Notable Contributor
i have lat long values 6803.0708,2622.6819
i want to display on arcgis sample
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project
which map spatialReference no  is required to convert these values to display on map
MapPoint inputMapPoint = new MapPoint(x, y, new SpatialReference(----));
regards
Waqar


Hello,

It looks like the values are degrees decimal minutes:

68 03.0708
26 22.6819

if the positions are in Pakistan. They'll first need to be converted to decimal degrees. One simple method is to divide the minutes part by 60 and add to the degree part:

68.05118
26.378031666667

The next question is which geographic coordinate system (datum) are these points based upon? WGS84 or a Pakistan GCS? If the latter, try Kalianpur 1962, well-known ID = 4145.

Melita
0 Kudos