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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

♦ SET_VERT_DISP_OPTS - Sets the Vertical Display Options<br />

♦ SHOW_3D_VIEW - Displays the 3D View Window<br />

♦ UNLOAD_ALL - Unloads All Currently Loaded Data<br />

♦ UNLOAD_LAYER - Unloads a Single Layer<br />

• Samples<br />

♦ Crop, Merge, and Reproject 4 USGS DRGs into new GeoTIFF and JPEG files<br />

♦ Generate Contours from all USGS DEMs in a Folder and Export them to DXF and Shape<br />

files<br />

♦ Reclassify Features Based on an Attribute and Display Label<br />

General Overview<br />

<strong>Global</strong> <strong>Map</strong>per script files allow the user to create custom batch processes that make use of the functionality<br />

built in to <strong>Global</strong> <strong>Map</strong>per. From a script, one can import data in any of the numerous formats supported by<br />

the software, reproject that data if desired, and export it to a new file.<br />

<strong>Global</strong> <strong>Map</strong>per script files consist of a series of command lines. Each command line begins with a command.<br />

A series of parameter/value pairs should follow the command. These pairs should be written as<br />

parameter=value. No spaces should exist before or after the equal sign. Individual parameter/value pairs<br />

should be separated by spaces. If a pair requires spaces internal to the value, quotes may be used around the<br />

entire value. For example, for a filename with spaces, the pair could look like FILENAME="c:\\my<br />

documents\\test.tif".<br />

Command lines typically consist of one line each. To extend a command to another line, use the backslash<br />

character (\) at the end of the line. There are a few exceptions to this, including the DEFINE_PROJ and<br />

DEFINE_SHAPE commands and the looping functionality provided by the DIR_LOOP_START and<br />

DIR_LOOP_END commands.<br />

Batch Mode Operation<br />

You can run a <strong>Global</strong> <strong>Map</strong>per script file automatically be passing it on the command line to the <strong>Global</strong><br />

<strong>Map</strong>per .exe file. The script file will be run with no user interface displayed and <strong>Global</strong> <strong>Map</strong>per will<br />

immediately exit when the script file completes processing. This allows you to easily run <strong>Global</strong> <strong>Map</strong>per<br />

scripts from another application or from a DOS batch file. Note that your script files need to have an extension<br />

of .gms for this to work.<br />

Comments<br />

Any lines that begin with the forward slash character (/) are considered comments and are ignored by the<br />

script processing engine. This means that you can use C or C++ style comments like // or /* at the start of your<br />

line.<br />

ADD_MEASURE_ATTRS<br />

<strong>Global</strong> <strong>Map</strong>per User's Manual<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> 207

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

Saved successfully!

Ooh no, something went wrong!