Grouping layers based to attribute value

Hi all,
I have uploaded many layers, and every single area features in these layers has an attribute called "Phone Number" which contains the value of mobile phone.
My goal is to create a script that groups the areas features into new layers named based to values of attribute "Phone Number".
At the end I would to have the new layers called:
"Mobile Number 4353434343" (with all areas features matching in "Phone Number" Attribute with value 4353434343)
"Mobile Number 222333444" (with all areas features matching in "Phone Number" Attribute with value 222333444)
and so on for any others numbers and layers.
Is possible help me with a scripting line to write to do this?
Thanks in advanced
Andrea
Comments
-
Thanks tikhpetr for reply
I upload one file with only six level for test, where in the attribute "Numero Cellulare" ther is the cellular number that i want to use for create a new level group.
The first gmp named ORIGINAL_FILE is the project when i import all data (keep in mind that in reality there are hundreds of levels)
The second file named RESULT_THAT_I_WANT, is exactly how i'm aspect the result after pass a script file. I would to have each levels group named: Cell Num + number of phone that i get from attribute named "Numero Cellulare" with inside the correct areas.
Thanks
Andrea
-
Hello Andrea!
Sorry for the long silence - the system collapsed. Restoring software and data took a lot of effort and time. I think you understand why.)) I will answer the essence of your question in the next 2 days.
Again sorry for the delay!
Categories
- 12.6K All Categories
- 5.6K Features Discussion
- 337 Downloading Imagery
- 1.3K Elevation Data
- 379 Georeferencing Imagery Discussion
- 626 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 407 Projection Questions
- 816 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 175 Announcement and News
- 904 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 559 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 231 How I use Global Mapper
- 106 Global Mapper Forum Website