Select to view content in your preferred language

Create layer for each unique value of attribute

461
3
03-12-2020 11:28 AM
AGOL1SMG
Emerging 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 Emeritus
0 Kudos
AGOL1SMG
Emerging Contributor

i will try it.thank you 

0 Kudos
DanPatterson_Retired
MVP Emeritus

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

0 Kudos