← All work
GIS Data Engineering & CAD

Global Mapper Script: Export Layers to CSV

Global Mapper script that exports multiple layers to separate CSV files, with a how-to guide.

Location
United Kingdom
Year
2024
Client
Futurewise Aerial
Tools
Global Mapper scripting

Challenge

The client needed to export several shapefile layers to separate CSV files in one go instead of by hand.

Approach

  1. Wrote a Global Mapper script: SET_DIR, then IMPORT → EXPORT_VECTOR TYPE=CSV → UNLOAD_ALL for each layer
  2. Tested the export and delivered sample CSVs
  3. Wrote a step-by-step guide explaining every command

Results

  • One script replaces four manual exports: each layer is imported, written to its own CSV and unloaded
  • Each CSV holds 99 points with longitude and latitude in degrees-minutes-seconds and in decimal degrees (X, Y), plus elevation, name and label fields
  • Delivered the script, four sample CSV outputs and a step-by-step guide to every command