AnsweredAssumed Answered

How can I get x,y in dec degrees from a poly feat serv using arcade?

Question asked by montevg@co.multnomah.or.us_multco on Dec 18, 2017
Latest reply on May 6, 2018 by xander_bakker

Greetings Dev Community-

I need help with an arcade expression. I am trying to generate x,y pairs from a tax lot polygon feature service. In my "custom" field I have used the following expression:

 

var pnt= Centroid(Geometry($feature));
return Text(pnt);

 

RESULT...

{"x":-13649119.198784793,"y":5696311.278630899,"spatialReference":{"latestWkid":3857,"wkid":102100}}

but, I need the x and y to be returned in dec degrees, and my results appear to be on UTM northing/easting

 

I also tried to call a member method X and Y but I am getting the following error...

 

Thanks!

Outcomes