Name features using attribute value.
Hello All,
I am using a GM_LoadGenericAsciiTextLayer to read an ASCII file and load the points from it on the layer. I also want to add the label name for each point from the file to the layer.
For reference I have attached the image what I exactly want.vectorOptions.png
I am using a GM_LoadGenericAsciiTextLayer to read an ASCII file and load the points from it on the layer. I also want to add the label name for each point from the file to the layer.
For reference I have attached the image what I exactly want.vectorOptions.png
Comments
-
Use GM_SetLayerLabelAttribute to set the label attribute for the layer to "ATTR_1" after loading it to get that setting.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.5K All Categories
- 5.5K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 611 GM Script Language
- 50 User Scripts
- 112 GPS Features
- 397 Projection Questions
- 805 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 893 Bug Report
- 557 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 546 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 230 How I use Global Mapper
- 104 Global Mapper Forum Website