Can Arcade be used to UPDATE a feature's geometry?

253
2
Jump to solution
12-28-2020 10:09 AM
ToddTurner
New Contributor II

I observe that Arcade can be used to READ a feature geometry.  It can be used to CREATE a feature geometry.  But, is there a way to UPDATE a feature geometry?  Can I alter a point's X and Y values through Arcade?

1 Solution

Accepted Solutions
DavidBlanchard
Esri Contributor

No, Arcade cannot be used to modify geometry in a dataset.

The only Arcade profile which allows edits is Field Calculate. However, modifying the SHAPE field will only result in data corruption.

You should instead look into Python and specifically ArcPy as this scripting language has powerful geometry editing capabilities.

View solution in original post

2 Replies
DanPatterson
MVP Notable Contributor

Updates to geometry in any environment are done in an edit session


... sort of retired...
0 Kudos
DavidBlanchard
Esri Contributor

No, Arcade cannot be used to modify geometry in a dataset.

The only Arcade profile which allows edits is Field Calculate. However, modifying the SHAPE field will only result in data corruption.

You should instead look into Python and specifically ArcPy as this scripting language has powerful geometry editing capabilities.

View solution in original post