POST
|
Hi Xander, I tried out the code and it still popped out the same error as before. Hi Ken, How would one edit the data to create all possible combinations? Also, thank you both for the help!
... View more
10-22-2019
01:09 PM
|
0
|
1
|
1331
|
POST
|
Hi Xander, There's a decent amount of information in the layer. I'm not sure if all situations occur, especially since some of them are "true" given any of (a, b, c) matching with (x, y, z). Is the lack of some situations actually occurring the cause of the error? Is there anything I can do to keep this logic in place; as people will be editing the attribute data and I want the updated information to display properly. Thanks in advance!
... View more
10-22-2019
07:56 AM
|
0
|
4
|
1331
|
POST
|
Hi Ken, The syntax appears to be working - but I'm receiving this error. "The layer is not providing enough information to change the drawing style." I'll open up a support ticket and hopefully that clears it up. Thank you for the help on the syntax!
... View more
10-21-2019
12:03 PM
|
0
|
6
|
1331
|
POST
|
So, would this syntax be correct? When( $feature.Status== ‘To Be Inspected’, ‘To Be Inspected’,
($feature.tmpCondition == ‘Poor’ || $feature.tmpCondition == ‘Below minimum tolerable' || $feature.tmpCondition == 'Unknown') && ($feature.Status == ‘Inspected – 2017’ || $feature.Status == ‘Inspected – 2018 (Complete)’ || $feature.Status == ‘Inspected – 2018 (Incomplete)’), ‘Reinspect’
($feature.Status == ‘Inspected – 2019 (Complete)’) && ($feature.tempCondition== ‘Poor’ || $feature.tempCondition == ‘Below minimum tolerable’), ‘Inspected – 2019 (Fail)’,
$feature.Status == ‘Inspected – 2019 (Incomplete)’, ‘Incomplete – 2019’,
($feature.Status == ‘Inspected – 2019 (Complete)’ || $feature.Status == ‘Inspected – 2018 (Complete)’ || $feature.Status == ‘Inspected – 2018 (Incomplete)’ || $feature.Status == ‘Inspected – 2017’), ‘Inspected (Pass, 2019)’,
'to be reviewed')
... View more
10-17-2019
07:27 AM
|
0
|
8
|
1331
|
POST
|
Hi all! So, I'm very new to the world of Arcade, and I'm trying to display data based off of two main attributes. $feature.Status denotes if and when a point has been inspected. (i.e. Inspected - 2019 (Incomplete) ) $feature.tmpCondition denotes the quality of the point, ranging from poor to excellent. I'm trying to develop a custom arcade expression to display this logic. If status is "to be inspected", label as "to be inspected". If tmpCondition is any of {poor, below minimum tolerable, unknown} AND status is any of {2017, 2018 complete, 2018 incomplete), label as "reinspect". If tmpCondition if any of {poor, below minimum tolerable, unknown}, AND status is {2019 complete}, label as "inspected - 2019 (fail)". If status is {2019 incomplete}, label as "Inspected - 2019 (Incomplete)". If status is any of {2019 complete, 2018 complete, 2018 incomplete, 2017}, label as "Inspected - 2019 (Pass)". If it doesn't fit in any of these, label as "to be reviewed". Here's what I've got for code so far - I know well in advance it is not correct. When( $feature.Status== ‘To Be Inspected’, ‘To Be Inspected’,
$feature.tmpCondition== ‘Poor’ || ‘Below minimum tolerable' || 'Unknown' && $feature.Status== ‘Inspected – 2017’ || ‘Inspected – 2018 (Complete)’ || ‘Inspected – 2018 (Incomplete)’, ‘Reinspect’
$feature.Status== ‘Inspected – 2019 (Complete)’ && $feature.tempCondition== ‘Poor’ || ‘Below minimum tolerable’, ‘Inspected – 2019 (Fail)’,
$feature.Status== ‘Inspected – 2019 (Incomplete)’, ‘Incomplete – 2019’,
$feature.Status== ‘Inspected – 2019 (Complete)’ || ‘Inspected – 2018 (Complete)’ || ‘Inspected – 2018 (Incomplete)’ || ‘Inspected – 2017’, ‘Inspected (Pass, 2019)’,
'to be reviewed' ) Thanks in advance, I'm really stuck here.
... View more
10-16-2019
01:17 PM
|
1
|
10
|
1772
|
Title | Kudos | Posted |
---|---|---|
1 | 10-16-2019 01:17 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|