13.11.2012 Views

Map GPS Coordinates - GPS Map Coordinates ... - Global Mapper

Map GPS Coordinates - GPS Map Coordinates ... - Global Mapper

Map GPS Coordinates - GPS Map Coordinates ... - 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.

• SAVE_DIST_Z_FILE - specifies that the output file should contain distance and elevation values<br />

rather than XYZ coordinate values. Use SAVE_DIST_Z_FILE=YES to enable this option.<br />

GLOBAL_MAPPER_SCRIPT<br />

The GLOBAL_MAPPER_SCRIPT must be the first command in the file. The only parameter supported is the<br />

VERSION parameter. Typically, the entire command line will look like:<br />

GLOBAL_MAPPER_SCRIPT VERSION=1.00<br />

You can use the following parameters with this command:<br />

• VERSION - specifies the version of the scripting language used. This parameter is required. You<br />

should always use VERSION=1.00.<br />

• ENABLE_PROGRESS - specifies whether or not any progress dialogs should be displayed while this<br />

script is processing. This is enabled by default. Use ENABLE_PROGRESS=NO to disable the<br />

display of any progress dialogs during the processing of this script.<br />

• REQUIRE_WORKSPACE - name of workspace file that is required to be loaded for this script to<br />

run. If a name is provided for this parameter and that workspace is not currently loaded into <strong>Global</strong><br />

<strong>Map</strong>per, the script will immediately abort. This can be used if you have different scripts that you only<br />

want to use if other workspaces are active and want to prevent accidentally selecting the wrong script.<br />

GENERATE_REPORT<br />

<strong>Global</strong> <strong>Map</strong>per User's Manual<br />

The GENERATE_REPORT command allows you to generate a CSV text report file on the data in one or<br />

more loaded layers broken down by a particular attribute value, feature name, or type, or just a single line<br />

report about all features. The report will include the count of area, line, and point features matching the<br />

specified criteria as well as the total combined length of the line features and combined covered area of the<br />

area features.<br />

The following parameters are supported by the command:<br />

• OUTPUT_FILENAME - specifies the name of the text .csv file to write the report results to.<br />

• FILENAME - filename of the layer to generate the report for. If an empty value is passed in, all layers<br />

that were created by the script, such as those from a GENERATE_CONTOURS command, will be<br />

used to generate the report. You can also pass in the value 'USER CREATED FEATURES' when<br />

running a script in the context of the main map view or loading a workspace to have the 'User Created<br />

Features' layer be used. If no FILENAME parameter is provided, the report will cover all available<br />

vector layers.<br />

• REPORT_ATTR - specifies what to use to divide up the report into categories. This can be an<br />

attribute name, or if you would like to compare against a feature label rather than an attribute, use<br />

. To compare against a feature type name rather than an attribute, use for your attribute name. To compare against the feature description, use for<br />

your attribute name. If no REPORT_ATTR parameter is provided or the value is empty, only a single<br />

line concerning all matching features will be generated in the report.<br />

• COMPARE_STR - specifies a comparison operation to perform to see if a feature is one that needs to<br />

be included in the report. The format is attr_name=attr_value. For example if you have an attribute<br />

named CFCC and you want to match when the value of that attribute starts with an 'A', you can use<br />

<strong>Map</strong> <strong>GPS</strong> <strong>Coordinates</strong> - <strong>GPS</strong> <strong>Map</strong> <strong>Coordinates</strong> - <strong>GPS</strong><strong>Coordinates</strong> <strong>Map</strong> 241

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

Saved successfully!

Ooh no, something went wrong!