All Questions
6
questions
0
votes
1
answer
144
views
Calculate date difference between current date and previous date using Arcade with ArcGIS Pro
I can't find the error in my code. I am trying to calculate the difference between the current date and a previous inspection date. I want the difference to be calculated in days. I am using ArcGIS ...
1
vote
1
answer
522
views
Arcade expression to calculate field in point dataset based on whether its features lie within specified polygon dataset using ArcGIS Pro ModelBuilder
Can anyone help with an Arcade expression to calculate a new field in a point dataset based on whether or not each point feature is within a polygon dataset in ArcGIS Pro ModelBuilder?
I have a point ...
0
votes
1
answer
1k
views
ArcGIS Pro - Rename attachments in attachment table based on relationship field
I'm looking for a Python 3/Aracade script to field calculate ATT_NAME in an attachment table based off of the REL_GLOBALID.
So where REL_GLOBALID is {67CECF26-9BE8-4E37-9408-3BC156DA51C0}, I'd like to ...
-2
votes
2
answers
1k
views
Calculate Field gives ERROR 002717: Invalid Arcade expression, Arcade Error: Index out of bounds
I've tried this expression in the Arcade playground and it works as I expect.
Number(Split($feature.PVI,"+")[1])
$feature.PVI is a text field that contains something that looks like "R+...
2
votes
2
answers
574
views
Arcade expression to find minimum value that is not zero
I am trying to create an Arcade expression to calculate a field in ArcGIS Pro.
In my streets feature there are 4 number fields to evaluate. I can easily use the Min() function to do this. The problem ...
2
votes
1
answer
535
views
ArcGIS Pro calculate field using arcade not working? [closed]
Im trying to calculate a field called "bark t/ha" using the following expression:
if ($feature.Barkfuelhaz =="Low"){
return"0"}
else if($feature.Barkfuelhaz =="Moderate"){
return"1"}
else if($...