All Questions
Tagged with arcgis-pro arcade
73
questions
1
vote
1
answer
682
views
Using Arcade to label polylines with X coordinates of last vertices in ArcGIS Pro
I am using ArcGIS Pro 3.0.0 and a File Geodatabase.
I have a requirement to use Arcade for configuring some Attribute Rules related to the geometry of the features involved which has led me to realize ...
0
votes
1
answer
470
views
Auto-calculating Geodetic Length using Geographic Coordinate System other than WGS 1984
At How to show geodatabase calculated area and length in meters from WGS84 FC? (from 2018) it was said that "a little further ahead it will be possible to use Arcade expression (in Pro, not ...
1
vote
1
answer
1k
views
Using Attribute Rules to Pull in Attribution from Another Feature Class
I could use some assistance creating a calculation that just simply pulls attribution from a field in one feature class, and populates the edited result into another feature class's table. For ...
0
votes
1
answer
102
views
Vary symbol rotation to point towards the next point in a sequence using Arcade and ArcGIS Pro
I have created a 3D map in ArcGIS Pro that shows the flight path of a drone. I want to use arrows for the symbology that point in the direction of the flight path. Each observation includes elapsed ...
1
vote
1
answer
1k
views
Round and truncate numeric label in ArcGIS Pro
I have a numeric field that I'd like to use as a label in ArcGIS Pro, but would only like to show the first two digits of that field. For example, The value in the table is "7,903,043" but I ...
1
vote
1
answer
1k
views
ArcGIS Pro Attribute Rule to pass a value from child to parent
I have an ArcGIS geodatabase with a parent feature class related to a child stand alone table containing the various inspections made on each parent feature. Primary key is GlobalID and foreign key is ...
2
votes
1
answer
121
views
Attribute rule works in Pro 2.9.2, but not in Pro 2.6.8 [closed]
I have a calculation attribute rule that works in Pro 2.9.2 (in a 2.9.2 FGDB). It updates the M-values of the polyline’s geometry:
function pythagoras(x1, y1, x2, y2) {
return sqrt(pow(x2 - x1, 2) ...
3
votes
1
answer
2k
views
What is the arcade equivalent to "If value in list" in the Visualizations profile
What is the arcade equivalent to Python evaluating the conditional statement "If value in list":
fueltype = 'JP5'
fueltype_list = ['F24', 'JP10', 'JP4', 'JP5']
if fueltype in fueltype_list:
...
2
votes
2
answers
639
views
How to test if a field exists in a feature?
Is possible to test if a field exists for a feature in the visualisation profile ArcGIS Pro? In the Arcade Playground (https://developers.arcgis.com/arcade/playground/) I've been testing various ...
1
vote
1
answer
842
views
Return values to multiple fields — using an Arcade calculation attribute rule in ArcGIS Pro
ArcGIS Pro 2.9:
Is there a way to return values to multiple fields using an Arcade calculation attribute rule?
For example, return values to the following fields, all within a single expression/rule:
...
2
votes
1
answer
468
views
Converting array to polyline using Arcade with ArcGIS Pro
Arcade/ArcGIS Pro 2.9:
I have an array of polyline vertices:
[[[670634.3148,4862051.3579,null],[670719.3321,4862051.0072,null],[670721.44381227,4862055.2956567,null],
[670724.26721751,4862059.1529319,...
0
votes
1
answer
227
views
Automate adding symbol size expression for all layers ArcGIS Pro
I have many layers on a map. I need to write an Arcade expression in the symbol size expression box, but I need to do it in all the layers. I do not want to do that one by one.
I wanted to create a ...
0
votes
1
answer
710
views
Generating UUIDs using attribute rules
Trying to automatically generate a uuid (preferably not a GlobalID) when a record is added to a dataset. It seems like the only Esri suggested workflow is to generate unique IDs is to use Arcade's ...
1
vote
0
answers
763
views
ArcGIS Pro attribute rule fails when collecting from an online map in Field Maps
I am using ArcGIS Field Maps to collect building inspection records to a standalone table by tapping on a feature in a related building layer. (See Inspect—Add a related report.) The inspection table ...
0
votes
1
answer
553
views
Calculate length and width of polygons using Arcade in Expression Builder in the attribute table in ArcGIS Pro [closed]
I am using attribute rules to automatically update cells in an attribute table. I need to auto-calculate the length and width of polygons as the user creates them.
Is there a way to do this using math/...