Create layer for each unique value of attribute(s) using layer definition

Discussion created by tim.haverland_noaa on Mar 15, 2012
Latest reply on Mar 21, 2012 by tim.haverland_noaa

Does anyone have a python script that:

- given a layer with multiple attributes (e.g. species, age)


- split the layer into multiple layers; one layer for each unique value of the given attributes (e.g. canine_10, feline_04)

and ideally

- does not do this by creating a new physical feature class or shapefile, but rather does it virtually via the layer definition
- groups the resulting layers into nested group layers (one level for each attribute)

Thanks for the advice,