copy attributes based on parameter?
JSL
Global Mapper UserTrusted User
Hi, I know you can do this by connecting to an external table, but it would be great if I could copy attributes based upon comparison with a particular parameter. For example, I have minimum elevation points on borders of watershed polygons, and I'd like to copy an attribute from the border lines to their associated basin polygon. However, if I do an ordinary "copy attributes," it's going to be difficult, because the border points sit on multiple basin borders. So what I'd like to see is something similar to the "combine attributes" command, where it asks if you want to copy if there is a match between a particular attribute, such as BASIN_ID.
Thanks for the great support.
Thanks for the great support.
Comments
-
I've added support for this to scripting to you can add one or more EQUAL_ATTR parameters to the COPY_ATTRS command (see Global Mapper Scripting Reference) to specify that some need to be equal to copy the attributes. For example, add EQUAL_ATTR="BASIN_ID" to require that the BASIN_ID attribute match.
I have placed new builds with the latest changes at the links below:
32-bit: http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15.zip
64-bit: http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15_64bit.zip
Simply download the .zip file for the build that you are using and extract over your existing installation files. The likely locations to extract to are as follows:
32-bit: C:\Program Files (x86)\GlobalMapper15
64-bit: C:\Program Files\GlobalMapper15_64bit
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thank you!
-
Sorry--just noticed that since downloading the new build, I'm getting that error message again when creating areas from lines:
Unhandled exception processing command message 33095 with code 0.
Write access violation at data address 0x00000000054BA750,
program address 0x00000000054BA750.
Version: v15.2.3
Build Time: Jun 3 2014 14:42:51 -
Can you get it to reproduce with a particular data set? I still can't get it to happen. I may need to stick some extra debugging to narrow down where it is failing if we can't reproduce it. Unfortunately the program address isn't helpful as it doesn't point in GM code.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
I just uninstalled and reinstalled GM, and it's OK now. Maybe it's something with my machine.
Thanks for your help, as usual. -
I have added more verbose errors when a crash occurs. In particular you get the 'Stack Trace', which will show us the list of functions leading to where the error occurred which will hopefully make it much easier to track down if it happens again.
I have placed new builds with the latest changes at the links below:
32-bit: http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15.zip
64-bit: http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15_64bit.zip
Simply download the .zip file for the build that you are using and extract over your existing installation files. The likely locations to extract to are as follows:
32-bit: C:\Program Files (x86)\GlobalMapper15
64-bit: C:\Program Files\GlobalMapper15_64bit
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
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