Syntax for GENERATE_EQUAL_VAL_AREAS -> EQUAL_COLORS
Seldom
Global Mapper UserTrusted User
I'd like to run GENERATE_EQUAL_VAL_AREAS on three colors in a TIFF. My script reads:
GENERATE_EQUAL_VAL_AREAS FILENAME="%FNAME%" COLOR_DIST=0.0 ATTR_NAME="COLOR" EQUAL_COLORS=RGB(105,171,099) EQUAL_COLORS=RGB(028,099,048) EQUAL_COLORS=RGB(181,201,143)
and it's not working. I only get one color selected.
A syntax pointer would be much appreciated.
Thanks in advance,
Hilton
GENERATE_EQUAL_VAL_AREAS FILENAME="%FNAME%" COLOR_DIST=0.0 ATTR_NAME="COLOR" EQUAL_COLORS=RGB(105,171,099) EQUAL_COLORS=RGB(028,099,048) EQUAL_COLORS=RGB(181,201,143)
and it's not working. I only get one color selected.
A syntax pointer would be much appreciated.
Thanks in advance,
Hilton
Comments
-
Hilton,
To provide multiple colors you should put them in a single parameter with a semi-colon between each color, as follows:
EQUAL_COLORS="RGB(105,171,099);RGB(028,099,048);RGB(181,201,143)"
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thanks, Mike.
-
FWIW, EQUAL_COLORS cut my processing time from 3 hours to 30 minutes.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 627 GM Script Language
- 52 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