Create layer for each unique value of attribute

123
3
03-12-2020 11:28 AM
AGOL1SMG
New Contributor

Hello

Does anyone have a python script that:

- given a layer with multiple attributes (e.g. store, city,zip-code...)

will

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

i tried to do it with the model builder by using iterators but couldn't get any result

Thanks for the advice,
0 Kudos
3 Replies
DanPatterson_Retired
MVP Esteemed Contributor
0 Kudos
AGOL1SMG
New Contributor

i will try it.thank you 

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

Did it work?  If so, can you close.  If not, provide more info

0 Kudos