Select to view content in your preferred language

How do I use Geometry Service ToGeoCoordinateString

1167
1
Jump to solution
05-05-2017 05:39 AM
DavidWendelken
Frequent Contributor

I can't find any comprehensible explanations of how to use this service:

 https://tasks.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer/toGeoCoordinateString

or it's corresponding one, fromGeoCoordinateString.

The input I have will be an X and Y coordinate pair and an Spatial Reference ID.

I want to get back a lat long pair in decimal degrees.

I can't figure out how to enter in the data in the format it wants.

Help!

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DavidWendelken
Frequent Contributor

A friend figured it out.

The coordinates field is entered like this:   [[ xValue, yValue]]
(Or [[ xValue1,yValue1],[xValue2, yValue2]])

View solution in original post

0 Kudos
1 Reply
DavidWendelken
Frequent Contributor

A friend figured it out.

The coordinates field is entered like this:   [[ xValue, yValue]]
(Or [[ xValue1,yValue1],[xValue2, yValue2]])

0 Kudos