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

1150
3
Jump to solution
12-28-2020 10:09 AM
ToddTurner
New Contributor III

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

3 Replies
DanPatterson
MVP Esteemed 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.

Jake_S
by
Occasional Contributor II

May be late to the party here but this functionality exists. Here is some documentation for you.

0 Kudos