I am using a geometry service to project a point location from UTM to Lat Long. Our users would like the output to be in DMS rather than DD. Any suggestions?
The users will enter the UTM location in a table and when they press a button the request is sent out to the geometry service and will return the coordinates in Lat/Lon. The problem is that the returned coordinate is in DD and we would like it returned in DMS.
For example, entering the UTM location for Vancouver, BC, Canada (UTM Zone 10N) (wkid 26910) 489725, 5454761
returns the following when projecting to WGS_1984 (wkid 4326)
Point: X: -123.141174428737 Y: 49.245535769267
We would like the output in degrees, minutes and seconds instead of decimal degrees. Here is the url using the Esri sampleserver geometry service: