We are wanting to track Santa for our annual Parade Routes. We want to delete our practice routes we created in Tracker and have tried the script in the AGO Notebook:
Which results in a invalid syntax error.
Any suggestions or ideas?
Can you post more information? Which notebook did you try? What errors are you seeing?
ArcGIS Notebook Python 3 Standard 4.0
File "<ipython-input-5-0ec303b38de1>", line 1
SyntaxError: invalid syntax
Thank you for replying.
We ended up using the code below:
layers=item.layerslayer = layerslayer.delete_features (where = "Activity = 5")
Where Activity 5 is Automotive.
Alternatively to delete all values the where clause can be changed to where ObjectID > 0