13.11.2012 Views

Open Printable/Searchable Copy - Global Mapper

Open Printable/Searchable Copy - Global Mapper

Open Printable/Searchable Copy - Global Mapper

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GENERATE_EQUAL_VAL_AREAS<br />

The GENERATE_EQUAL_VAL_AREAS command allows for the generation of areas for regions of the<br />

same (or similar) color, elevation, or slope values from a loaded raster or elevation layer.<br />

SAMPLE:<br />

<strong>Global</strong> <strong>Mapper</strong> User's Manual<br />

• FILENAME - specifies the filename of the already loaded layer from which to generate the<br />

equal-value areas.<br />

• LAYER_DESC - specifies the description to use for the layer<br />

• ATTR_NAME - specifies the name to use for the attribute holding the color, elevation, or slope that a<br />

particular area represents. If you leave this attribute off then no value attribute will be saved with each<br />

area.<br />

• AREA_TYPE - specifies the name of the area type to assign to the area features. See the Area Styles<br />

tab of the Configuration dialog for a list of available type names.<br />

• COLOR_DIST - specifies how far from an exact match each color channel of a color value must be to<br />

be considered the same. By default a value of 0 is used which means exact matches only. If you want<br />

to break the entire color range into say 4 ranges for each color channel, use something like<br />

COLOR_DIST=32 as that would allow colors up to 32 away from each color channel value to match<br />

to a color.<br />

• ELEV_DIST - specifies how far from an exact match (in meters) each value must be to be considered<br />

the same. By default a value of 0 is used which means exact matches only. If you want to say split<br />

into area groups 10 meters in size, use ELEV_DIST=5. This would give you areas with values<br />

between -5 and 5 meters, 5 and 15 meters, etc.<br />

• SLOPE_DIST - specifies how far from an exact match (in degrees) each value must be to be<br />

considered the same. By default a value of 0 is used which means exact matches only. If you want to<br />

say split into area groups 10 degrees in size, use SLOPE_DIST=5. This would give you areas with<br />

values between 0 and 10 degrees, 10 and 20 degrees, etc.<br />

• FORCE_RGB - specifies that the attribute value for a color-based area will always be the full RGB<br />

color and not a palette index/name if available. Use FORCE_RGB=YES to enable.<br />

• GLOBAL_BOUNDS - specifies the bounds in units of the current global projection. There should be<br />

4 values in a comma-delimited list following the parameter name. The values should be in order of<br />

minimum x, minimum y, maximum x, maximum y.<br />

• GLOBAL_BOUNDS_SIZE - specifies the bounds in units of the current global projection. There<br />

should be 4 values in a comma-delimited list following the parameter name. The values should be in<br />

order of minimum x, minimum y, width in x, width in y.<br />

• LAT_LON_BOUNDS - specifies the bounds in latitude/longitude degrees. There should be 4 values<br />

in a comma-delimited list following the parameter name. The values should be in order of westmost<br />

longitude, southernmost latitude, easternmost longitude, northernmost latitude.<br />

• LAYER_BOUNDS - specifies that the area generation should use the bounds of the loaded layer(s)<br />

with the given filename. For example, to generate contours to the bounds of the file "c:\test.tif", you<br />

would use LAYER_BOUNDS="c:\test.tif". Keep in mind that the file must be currently loaded.<br />

• LAYER_BOUNDS_EXPAND - specifies that the operation should expand the used<br />

LAYER_BOUNDS bounding box by some amount. The amount to expand the bounding rectangle by<br />

should be specified in the current global projection. For example, if you have a UTM/meters<br />

projection active and want to expand the bounds retrieved from the LAYER_BOUNDS parameter by<br />

100 meters on the left and right, and 50 meters on the top and bottom, you could use<br />

LAYER_BOUNDS_EXPAND="100.0,50.0". You can also specify a single value to apply to all 4<br />

sides, or supply 4 separate values in the order left,top,right,bottom.<br />

Table of Contents 280

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!