Make polygon's attribute name into polygon's name in shape file
wagnerpk
Global Mapper User
Hi! I have thousands of polygons in a shape file. Each polygon does not have a name, but a few attribute names.
attribute.jpg
1) I like to join this attribute names and turn them into a unique name, for example, "T0591-B0239-F111".
2) Or take just one attribute and turn it into polygon's name, for example, "0591".
How can I do it? I'm in GM v13.00. If possible, I like to know how to do it in both ways.
attribute.jpg
1) I like to join this attribute names and turn them into a unique name, for example, "T0591-B0239-F111".
2) Or take just one attribute and turn it into polygon's name, for example, "0591".
How can I do it? I'm in GM v13.00. If possible, I like to know how to do it in both ways.
Comments
-
Just open the Control Center, select the layer, press Options, then setup the Attribute-based naming to use whatever combination of attributes that you want for the display label.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Thanks a lot!
Now, there is a way to include prefix for each attribute? For example, I created this (based in jpg file):
T0591-0239-111
But I like to create in this way:
T0591-B0239-F111
Thanks. -
There isn't currently a way to add a prefix for each attribute. You would need to edit your features and add an attribute for each prefix to add, then you can just include those attributes in the list of attributes to form the label.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Well, I did this way:
- add prefix to last attribute and give that name
- export into shp
- open new shp
- add another prefix of penultimate attribute, and create a name with penultimate attribute + actual name
- export into shp
- repeat this untill the name is complete (always doing from the last to first attribute)
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website