bmg_bob · Global Mapper Programmer

About

Username
bmg_bob
Joined
Visits
4,442
Last Active
Roles
No Roles
Points
966
Invited by
global_mapper
28
Badges
Posts
2,070
  • I'm trying to get some LiDAR data to export to layer bounds

    Hello,

    What version of Global Mapper are you using?

    Your EXPORT_VECTOR command is split across multiple lines, but you don't have the line continuation sequence at the end of the first two lines.  I assume that this is just for the sake of making your post easier to read.

    The LAYER_BOUNDS parameter will use the bounding rectangle of the layer, not the actual area feature(s) in the layer as the export bounds.  If you are trying to clip your data to an area feature, you need to use the POLYGON_CROP_FILE parameter instead.

    Cheers,
    Bob
    Francisco_Rodriguez
  • Slope Percentage Attirbute on Point using Calculate Elev/Slope Statistics

    Hello,

    The format for the slope attribute can not be changed by the user at this time, nor can the slope percent be split out into a separate attribute by the Calculate Elev/Slope Statistics function.  I have added feature request #22986 so we can evaluate adding additional formatting options in a future release of Global Mapper.  We will post a message on this thread when the status of the request changes.

    In the meantime, you can use the Attribute Calculator to split the slope percent into a separate attribute.
    1. Use the Digitizer to select the features you want to modify
    2. Right-click and choose Attribute Style Functions | Calculate/Copy Attributes for Feature Selection.  The Attribute Calculation Setup dialog will be displayed.
    3. Use SLOPE_PCT (or another name of your choosing) for the new attribute to be added
    4. Select the Use Formula Calculation option
    5. In the formula field, paste clip(search(SLOPE,"\d*.\d*%"), "", "%"). (The formula searches the string for a number followed by a percent sign, then clips off the percent sign.  See Global Mapper help for more information.)
    6. Click the Calculate button
    Cheers,
    Bob
    SamRondeel
  • turn off progress % when runing GMscript under dos command

    Hello,

    Those messages don't seem to be particularly useful, so I have modified the code to suppress them.  The change will be available in Global Mapper 18.2, which is due out in the next couple of weeks.   Keep an eye out for it.

    Cheers,
    Bob
    suzuki
  • Silent installation / uninstall

    Hello,

    To get answers to these questions, please contact Blue Marble Geographics Support directly, via e-mail (geohelp@bluemarblegeo.com).  Thank you.

    Cheers,
    Bob
    trofur
  • how to import 16bits image and define as raster image ?

    Hello,

    You will need to use the LOAD_FLAGS parameter.  LOAD_FLAGS contains flags for any import options that you were prompted for when loading the file, such as if you have a .tif file that you were prompted to select as elevation or raster. To see how to set these if you are writing a script, load a file with the settings that you want in the main user interface and then save a workspace. Open the workspace file in a text editor and examine the IMPORT command for that file and see how the LOAD_FLAGS were set.

    Cheers,
    Bob
    suzuki