Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Creating new shapefile based on its attributes with python

$
0
0
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.

Thank You.

Viewing all articles
Browse latest Browse all 2485

Trending Articles