Project GeometryServer SR 4326 to SR 26912 not working?

904
2
Jump to solution
04-15-2021 07:39 AM
AlexGilvarry1
New Contributor III

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.

0 Kudos
1 Solution

Accepted Solutions
RandyBurton
MVP Alum

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.

View solution in original post

2 Replies
RandyBurton
MVP Alum

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.

AlexGilvarry1
New Contributor III

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.

0 Kudos