GeoTalks 2025 User Conference

Generate elevation grid by tile

Ellie
Ellie Global Mapper User
Hiya - I've got some big datasets and am looking to generate my elevation grids by tile, but seem to be doign something wrong. Currently I am using:

GENERATE_ELEV_GRID FILENAME="LASCAT_LAYER" ELEV_UNITS=METERS SPATIAL_RES_METERS="0.5" LAYER_DESC="TEMP_LOOSEGR" GRID_TYPE=ELEVATION GRID_TYPE_CELL_SIZE="1000,1000" GRID_OVERLAP="10.0" GRID_NAMING="SEQUENTIAL" 

...but this just seems to try generating non-gridded-ly, and consequentially it runs out of memory and fails in a puff of error codes.

What am I missing?

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    Answer ✓
    Hello,

    What version of Global Mapper are you using?  Are you using the latest release of that version?  Have you tried this same process using the UI instead of a script?

    Creating an elevation grid via script does not support the tiling options.  You can use a crop polygon file, though.  You would have to create a regular grid of area features that covers the area you are interested in exporting, export them to a shapefile (or other vector format) and use that file as a crop polygon file.

    Cheers,
    Bob 


  • Ellie
    Ellie Global Mapper User
    edited September 2016
    Hi again Bob!

    I am using 17.2 and as updated as possible as far as I can tell (only upgraded a few weeks ago).

    The process works with the UI (and has been a godsend a few times), but I was hoping to run this process without a regular grid as the plan is to be able to run the entire process with input AoI DXF and data LAS.

    Technical support emailed me something that may be a workaround to generating regular grid in a sort of sideways fashion (as regular grid is not yet a scripting thing) so I'll work on that and post the solution here should I wrangle it.