|
IDEA
|
Could an Arcade function be added to do the following: Snap a point to a polyline — but snap it mid-segment, not just to the closest vertex. The function would return the snapped point — as well as return the ID of the polyline the point was snapped to. Thanks.
... View more
03-19-2022
08:28 AM
|
3
|
4
|
2516
|
|
POST
|
I want to find all ArcGIS communities that have the ‘Arcade’ label — so that I can subscribe to those labels. Examples: - ArcGIS Pro Community - [Arcade] - ArcGIS Online Community - [Arcade] - Others How can I search all communities for a certain label?
... View more
03-19-2022
08:07 AM
|
0
|
1
|
1700
|
|
IDEA
|
It would be helpful if there were an Arcade function for setting M-values of polyline vertices. For example, set the M-values of a line to the cumulative distance of the line.
... View more
03-19-2022
07:48 AM
|
2
|
1
|
693
|
|
POST
|
Arcade: What’s the most succinct way to get the endpoint coordinates of multi-part polyline? Related: Idea: Arcade Endpoint() function
... View more
03-18-2022
07:55 PM
|
0
|
2
|
2433
|
|
IDEA
|
@JohannesLindner Good call. I didn’t think it was possible. This idea can be closed.
... View more
03-18-2022
04:04 AM
|
0
|
0
|
1562
|
|
IDEA
|
It would be great if we could use related DB views as FeatureSets in Arcade scrips (just like we do with related FCs).
... View more
03-17-2022
08:36 PM
|
0
|
3
|
1605
|
|
IDEA
|
The Arcade docs have examples for the GroupBy() function: Returns the count and the average height of each tree type var treeStats = GroupBy($layer,
[ // fields/expressions to group statistics by
{ name: 'Type', expression: 'TreeType'},
{ name: 'Status', expression: 'TreeStatus'}
],
[ // statistics to return for each unique category
{ name: 'Total', expression: '1', statistic: 'COUNT' },
{ name: 'AvgHeight', expression: 'Height', statistic: 'AVG' },
{ name: 'MaxPercentCoverage', expression: 'CoverageRatio * 100', statistic: 'MAX' }
]
);
// treeStats contains features with columns Type, Status, Total, AvgHeight, MaxPercentCoverage
// Each unique tree type (combination of type and status) will have a count, average height, and maximum value of percent coverage That GroupBy() stuff can get messy in a hurry. It would help if we could see what the SQL would look like, right in the docs. (possibly as a comment in the Arcade code example)
... View more
03-17-2022
08:30 PM
|
2
|
1
|
1656
|
|
IDEA
|
When writing Arcade scrips that make queries to the DB: It would help to see what SQL is being used, by outputting the SQL to the console(). For example, I’m an SQL guy, yet I find the GroupBy() function easy to mess up. It would help if I could easily see the SQL that’s being sent to the DB — to make sure the query is right. Could Esri consider making the SQL text available as a variable, so that we can output it to the console for debugging purposes?
... View more
03-17-2022
08:03 PM
|
0
|
0
|
559
|
|
POST
|
I wonder why the new Arcade label was only added to the ArcGIS Pro ideas page, but not the questions page? ArcGIS Pro Ideas: ArcGIS Pro Questions:
... View more
03-16-2022
05:21 PM
|
0
|
0
|
2443
|
|
IDEA
|
Could Esri consider adding a new function: EqualsMZ() - Similar to the Equals() function, but it not only tests the XY geometry, but also any M or Z values that may exist. Related: Arcade docs: Equals() function doesn’t consider M-values Credit for this idea goes to @DuncanHornby
... View more
03-16-2022
07:05 AM
|
3
|
0
|
542
|
|
POST
|
Too bad the ArcGIS Pro community only has one post labelled as ‘Arcade’. https://community.esri.com/t5/forums/filteredbylabelpage/board-id/arcgis-pro-questions/label-name/arcade
... View more
03-16-2022
06:56 AM
|
0
|
2
|
2462
|
|
POST
|
Is there a way to subscribe to a specific tag in a community? For example, I want to get weekly or daily email notifications regarding posts about Arcade. Similar to what we can do with GIS.StackExchange. How can I do that? Thanks.
... View more
03-15-2022
07:54 PM
|
0
|
5
|
2517
|
|
IDEA
|
As far as I can tell, the Equals() function doesn’t consider M-values when comparing geometries. See: Arcade: Editing M-values not treated as change to geometry If that’s the case, then could a blurb be added to the Arcade docs that explains this? I know the docs hint at it with the “geographically equivalent” wording, but I think it could be clearer. It might also help to explain whether Z-values get considered or not, too.
... View more
03-15-2022
06:44 PM
|
1
|
1
|
1268
|
|
POST
|
I wonder if the Equals() function is the culprit. After some testing, I found the following works (I removed the Equals() function and added the Text() function): if ( Text(Geometry($feature)) == Text(Geometry($originalfeature)) ) { I also tried doing it without the Text() function: if ( Geometry($feature) == Geometry($originalfeature) ) { But that failed in a different way. It flagged all edits, even if the edit was just a change to an attribute (not a change to the geometry). That's not what we want. Follow-up question: If the Equals() function is the problem, I wonder what the root cause is? Is it only comparing the X/Y of the geometries, not the M-values? Is that a bug?
... View more
03-15-2022
01:45 AM
|
1
|
0
|
2661
|
|
POST
|
ArcGIS Pro 2.9: I have a Arcade calculation attribute rule that checks if the geometry of a feature was changed during an edit: if (Equals(Geometry($feature), Geometry($originalfeature))) {
console("geometry changed = no");
return {"result": {"attributes": {"geometry_changed": 'no' }}}
} else {
console("geometry changed = yes")
return {"result": {"attributes": {"geometry_changed": 'yes' }}}
} The intent is: If the geometry was changed, then it sets a geometry_changed field to "yes". If not, it sets the field to "no". The attribute rule works as expected in most cases. For example, in the Edit Vertices window, if I manually change an X or Y coordinate using the keyboard, the field will be flagged as "yes", as expected. However, if I manually change the M-value in the Edit Vertices window using the keyboard, the field will be flagged as "no", which is not expected. The same thing happens when I use the Drop Measures tool: Question: Why don't M-value edits get flagged as a change to the geometry? Thanks.
... View more
03-15-2022
12:48 AM
|
1
|
4
|
2710
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-20-2026 02:12 PM | |
| 1 | 03-19-2026 11:42 AM | |
| 1 | 06-03-2026 04:02 AM | |
| 1 | 03-18-2026 07:08 PM | |
| 2 | 3 weeks ago |