Navigation

  • index
  • modules |
  • next |
  • previous |
  • Global Mapper Python Documentation »
  • Code Examples and Explanations

Code Examples and ExplanationsΒΆ

Below are pages that show some sample code snippets of how to perform common operations in the Global Mapper SDK, and explain in detail some of the functions and types involved.

  • Opening and Closing a Layer
  • C++-Style Arrays for GM Types in Python
  • Converting a Pointer to an Array or List
  • Global Mapper Ints: *_t32, uint32, and others
  • Creating and Setting Projections
  • Selecting a File to Open in GlobalMapper
  • Scripting Example Using RunScript
    • All Script Commands
  • Handling Text Encodings
  • Full code examples
    • Crop, Merge, and Reproject USGS DRGs into new GeoTIFF and JPEG files
    • Generate Contours from all USGS DEMs in a Folder and Export them to DXF and Shape files
    • Edit Vector Features Based on an Attribute and Display Label
    • Export a set of Loaded Layers to Multiple Shapefiles
    • Create Elevation Grids from a Directory of LiDAR

Logo of global mapper python

Previous topic

Types for Vector Data and Operations

Next topic

Opening and Closing a Layer

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Global Mapper Python Documentation »
  • Code Examples and Explanations
© Copyright 2024, Blue Marble Geographics. Created using Sphinx 7.4.7.