I've spent quite a few hours this week trying to figure out how to convert a point from WGS 84 to NAD 83 Zone 12 so I can use the coordinates in our Roads and High ways API.
Here's an example of a rest call I'm trying to make. I'm not sure if my syntax is incorrect or if there is something wrong with what I'm trying to convert but I'm stumped as to why I can make this work.
Solved! Go to Solution.
It doesn't look like the x/y coordinates are in longitude/latitude (WGS 84) in the URL request:
inSR=4326
&outSR=26912
&geometries={"geometryType":+"esriGeometryPoint",+"geometries":+[{"x":+-12456757.481260095,+"y":+4974725.271437088}]} %0D%0A
&transformation=108190
&transformForward=true
&vertical=false
&f=html
Project documentation.
It doesn't look like the x/y coordinates are in longitude/latitude (WGS 84) in the URL request:
inSR=4326
&outSR=26912
&geometries={"geometryType":+"esriGeometryPoint",+"geometries":+[{"x":+-12456757.481260095,+"y":+4974725.271437088}]} %0D%0A
&transformation=108190
&transformForward=true
&vertical=false
&f=html
Project documentation.
You're right. It was a silly mistake, the i assumed i could use for the WGS84 part of the conversion but it needed to be lat/lon.