Creating new shapefile based on its attributes with python?

المشرف العام

Administrator
طاقم الإدارة
I have a shapefile which has an attribute year. I used to generally copy and paste these features in the dataframe and then using the definition query just show polygons which were established before that year.

I want to know how can I do it using python. Like if I can give the input feature class, add all the years I want the different shapefiles for and the workspace where it can create shapefile for the mentioned years with the right naming convention.



أكثر...
 
أعلى