Calculating the X and Y coordinate automatically for the point layer,
I’m not sure why the ArcGIS does calculate:
1. The area and parimeter in the polygon layer;
2. The length as a polyline layer
3. BUT doesn’t create the X and Y coordinate in the Point layer
I do know that there is a tool to calculate the XY coordinate, but I’m wondering why they are not calculated by default!!! In this case, for example, if we move one of the points, then we need to manually update its XY coordinates!!!
Is there any logic behind this?
Regards
Jamal
Has this been developed in arcpro 2.4.1?
This is partially implemented through the use of attribute rules and Arcade in ArcGIS Pro.
Set up your X and Y columns as a Double data type and create calculation rules to populate those with the point's geometry.
The Arcade expression would look like Geometry($feature).X or Geometry($feature).Y.
Before I move the point we see that the dynamic PointX and PointY values are the same as the static lon and lat fields:
Move the point to the east and see that the PointX and PointY automatically update:
In the attribute table of a point feature class in ArcGIS Pro:
Give users the option to turn on dynamic, read-only columns that represent each feature's X and Y coordinates.
This would be helpful for day-to-day GIS analysis activities. And would eliminate the need for users to calculate or generate the X and Y columns themselves.
We've shared guidance in this in the comment above: https://community.esri.com/t5/arcgis-pro-ideas/calculating-the-x-and-y-coordinate-automatically-for-...
Sure Kory. We can add the x and y fields and calculate their values with the available tools.
What I wanted here is to have them added and calculated by default the same way the length and area fields are added for polygon layers and dynamically calculated
This idea is Open, but I wanted to share a blog that I wrote recently showing how to do this with Attribute Rules: Get to the Point: Automatically maintain x,y,z attribute values with ArcGIS Pro and attribute rules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.