
Setting workspace
Featured in:
Articles
-
Jul 31, 2024 |
gis.stackexchange.com | S. L. Price |Setting workspace
I'm trying to list the fields of a feature class and then remove certain fields from that list, using a for loop, so that it can be used in a delete field tool. I have a list of fields I want to keep, one of them being "SHAPE", but the for loop removes every other field name except "SHAPE". I've tried different variations of the word; like SHAPE, Shape, @SHAPE, and SHAPE@. None of them work unfortunately. The SHAPE field has a Geometry field type.
Try JournoFinder For Free
Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.
Start Your 7-Day Free Trial →