I have a series of polygon data. From each shapefile, I want to select the polygons with some condition (bb = 3).
To new shapefiles, I added a new field: "year". I want to fulfill the "year" field with:
shp1 -> 2006 shp2 -> 2007 shp3 -> 2008 ... shp11-> 2014
I used ModelBuilder to iterate through shapefiles, make selection and add a new "year" field.
However, how can I calculate the year field by 2006,2007,...2014 values in iteration mode?
Or, how to at least insert in year Field unique values? I tried to insert there my %name% variable (as mlc_2006, thus not the number but a text),
but even the "field" is as TEXT, I have an error:
I have no experiences with Python, thus I prefer ModelBuilder.