Select to view content in your preferred language

Calculate Geometry / Calculate Coordinates from Point Layer

456
1
02-16-2022 11:29 AM
Labels (3)
Lexicon1950
New Contributor II

I would like to calculate the latitude and longitude of a point layer and populate them into x and y fields. Does any one know the best way to do this using Arcade ? 

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Arcgis online has help documents which include

Calculate field values—ArcGIS Online Help | Documentation

is your access point to field calculations

for example

Arcade example
This example calculates a field to the x-coordinate for each point in a point layer using the Geometry function.

Geometry($feature).x


... sort of retired...