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

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

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

Scripting Language Reference<br />

Contents<br />

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

• General Overview<br />

• Batch Mode Operation<br />

• Comments<br />

• Commands<br />

♦ ADD_MEASURE_ATTRS - Adds/Updates Measure Attributes to Features in a Layer<br />

♦ ASSIGN_TYPE - Deprecated, Use EDIT_VECTOR Instead<br />

♦ CALC_ATTR - Calculate a New Attribute Value Based on Existing Attribute(s) and a<br />

Second Value<br />

♦ COMBINE_LINES - Combines Connected Line Features Into New Lines or Areas Based on<br />

Attribute Values<br />

♦ COMBINE_TERRAIN - Combines Two Loaded Terrain Layers to Generate a New Terrain<br />

Layer<br />

♦ DEFINE_PROJ - Define a Projection for Later Use<br />

♦ DEFINE_SHAPE - Define a Shape (i.e. Polygon) for Later Use<br />

♦ DEFINE_VAR - Define a Variable for Later Use<br />

♦ DIR_LOOP_END - Ends a Loop of Commands Over Files in a Directory<br />

♦ DIR_LOOP_START - Start a Loop of Commands Over Files in a Directory<br />

♦ EDIT_MAP_CATALOG - Creates or Edits a Map Catalog<br />

♦ EDIT_VECTOR - Edit Loaded Vector Features that Match a Type/Name/Attribute Query<br />

♦ EMBED_SCRIPT - Runs Another Script File Within This Script<br />

♦ EXPORT_ELEVATION - Export Elevation Data to a File<br />

♦ EXPORT_METADATA - Export Metadata for a Layer to a File<br />

♦ EXPORT_PACKAGE - Export Data to a <strong>Global</strong> <strong>Mapper</strong> Package File<br />

♦ EXPORT_PDF - Export Data to a PDF File<br />

♦ EXPORT_RASTER - Export Raster and Elevation Data to a File<br />

♦ EXPORT_VECTOR - Export Vector Data to a File<br />

♦ FORCE_EXIT - Forces <strong>Global</strong> <strong>Mapper</strong> to Immediately Exit with a Return Code<br />

♦ GENERATE_CONTOURS - Generate Contours from Elevation Data<br />

♦ GENERATE_ELEV_GRID - Generates an Elevation Grid from Loaded 3D Vector Data<br />

♦ GENERATE_EQUAL_VAL_AREAS - Generates Area Features from Equal Values in<br />

Elevation/Terrain Layers<br />

♦ GENERATE_LAYER_BOUNDS - Generates a Layer with Bounding Area Features for each<br />

Loaded Layer<br />

♦ GENERATE_PATH_PROFILE - Generate a 3D Path Profile and Save it to a XYZ File<br />

♦ GENERATE_REPORT - Generates a Report on the Loaded Vector Features<br />

♦ GENERATE_WATERSHED - Generate Watershed from Elevation Data<br />

♦ GLOBAL_MAPPER_SCRIPT - Script Header Line<br />

♦ IMPORT - Import Data From a File<br />

♦ IMPORT_ARCHIVE - Import Data From an Archive File (.zip, .tar.gz, etc.)<br />

♦ IMPORT_ASCII - Import Generic ASCII Data from a File<br />

♦ IMPORT_DIR_TREE - Import All Data Files in a Directory Tree<br />

♦ IMPORT_TERRASERVER - Deprecated, Terraserver-USA/MSRMAPS.COM Servers<br />

Down as of May 1, 2012<br />

♦ IMPORT_WMS - Import WMS Layer<br />

♦ JOIN_TABLE - Joins Attributes from a File to a loaded Vector Layer<br />

♦ LAYER_LOOP_END - Ends a Loop of Commands Over Loaded Layers<br />

♦ LAYER_LOOP_START - Start a Loop of Commands Over Loaded Layers<br />

Table of Contents 239

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

Saved successfully!

Ooh no, something went wrong!