bmg_bob · Global Mapper Programmer

About

Username
bmg_bob
Joined
Visits
4,337
Last Active
Roles
No Roles
Points
965
Invited by
global_mapper
28
Badges
Posts
2,038
  • Global mapper 18 legend map layout

    Hello,

    That should not be happening.  I suggest that you contact Blue Marble Support directly via email (geohelp@bluemarblegeo.com), and provide your workspace and data so they can reproduce the problem.  Thanks.

    Cheers,
    Bob
    tasvvfsr
  • View LIDAR at specifed height above ground

    huzar said:
    Ok, this works ;) Do you think that this operation can be done in script so I can do it on several files at once? Is option "Select all features in layer" available in scripting?
    Hello,

    You can use a script, but you will have to use the export method, which would look something like this:
    IMPORT  FILENAME="your LAS file"
    EXPORT_VECTOR FILENAME="LAS file in range" LIDAR_HEIGHT_RANGE="2, <your file's max height>"
    UNLOAD_LAYER FILENAME="your LAS file"
    IMPORT FILENAME="LAS file in range"
    // Your other export goes here
    Note that the IMPORT and EXPORT commands will require more parameters than are listed here. This is just an example. The LiDAR point selection functions available in the UI are not part of the scripting functions.

    Cheers,
    Bob
    Francisco_Rodriguez
  • View LIDAR at specifed height above ground

    Hello,

    Do you have the LiDAR Module? If so, you should be able to filter points by height above ground. Use the Digitizer to select the points in your LiDAR layer, then right-click and choose Advance Selection Options | Filter Selected LiDAR Points by Elevation/Color/Class, etc. The resulting window will provide options for unselecting points that are within your range above ground.  You can then delete the remaining selected points.

    This same function can be used during a LAS file export, so you could export your LiDAR data, and use the filtering options to remove points that are outside your desired range above ground. This will result in a new LAS file that contains the data you want. You can load this file and export the data.

    Cheers,
    Bob
    Francisco_Rodriguez
  • Why is 'xcopy' Being Stymied?

    kbellis said:
    Um... where does [Item #24907] inter into this discussion?
    Item #24907 added the ability for directory names in a script to be returned without a trailing backslash ("\") in the following contexts:

    DEFINE_VAR

    Added a new value for the FILENAME_PIECE parameter: DIR_WO_SLASH

    DIR_LOOP_START

    Added a new built-in variable: DIR_WO_SLASH

    LAYER_LOOP_START

    Added a new built-in variable: LAYER_DIR_WO_SLASH (As with other built-in variables that are part of LAYER_LOOP_START, "LAYER" is a default prefix. There is a parameter that allows the user to define a different prefix.)

    The changes were checked in to GM 20 on Wednesday, August 22, 2018 3:55:46 PM

    kbellis
  • Help for script to draw a rectangle (DEFINE_SHAPE) based on coordinates, using variables

    Hello,

    The changes to DEFINE_SHAPE have been implemented in Global Mapper 19 (latest daily build) and will be in Global Mapper 20.

    That said, the DEFINE_SHAPE does not create a displayable feature.  To do that, you should use DEFINE_TEXT_FILE to create an inline text file, then IMPORT it. Note that DEFINE_TEXT_FILE had the same limitations vis-a-vis variables, and was fixed at the same time as DEFINE_SHAPE.

    Cheers,
    Bob
    kbellis