Calculate X,Y with Attribute Rules

320
1
11-23-2020 01:34 PM
EddieTangadunrat
New Contributor

Has anyone tried using Attribute Rules to calculate X,Y value for point feature? I have Fire Hydrant featureclass in state plane coordinate system. There are pt_x and pt_y field in the table which contain Lat/Lon value. I can use calculate geometry to populate those field easily, but having a hard time figuring out how to make this work using Arcade expression. the closest I got was using expression below;

Round(geometry($feature).x, 6)

I get the x value in state plane, but I want the value in WGS 84. Any idea?

1 Reply
AnneSantaMaria
New Contributor III

Not possible yet. I have the same problem. Arccade doesn't have the capacity to get other types of projections just the inherent projections of the feature service/class itself.

0 Kudos