bmg_bob · Global Mapper Programmer

About

Username
bmg_bob
Joined
Visits
4,382
Last Active
Roles
No Roles
Points
965
Invited by
global_mapper
28
Badges
Posts
2,058
  • Import PDF as raster layers

    Hello Steve,

    Upon further review, there is a way to avoid this when loading <filename>.pdf:

    1) On the first rectification dialog, after creating control points, save a .gcp or .pfw file named <filename>.gcp or <filename>.pfw (this is the default action when you choose File | Save ... on the rectification dialog.)

    2) On the first projection selection dialog, select the projection and put a check next to "Use Selected Projection for All Selected Files"

    The import will proceed without asking for any more information.

    Cheers,
    Bob
    sphillips
  • Exporting vector polygon boundary from elevation (ASCII or GMG)

    Hello,

    Try the GENERATE_LAYER_BOUNDS command.

    Cheers,
    Bob
    kaan
  • Symbolize Areas By RGB Column Values

    Hello,
    joebocop said:
    I have imported a SHP file of polygon features. Each polygon has an R, G and B value, representing the colour that should be used to style the area background.

    How can I use these values to tell GlobalMapper 18.1 (b022117) which colour to use as a background style for each feature?

    You can combine your R, G, and B attributes into a single attribute called FILL_COLOR, then save your data as a shapefile and reload it into Global Mapper.  When the data is imported, Global Mapper will use the FILL_COLOR attribute to style the areas.

    To combine the attributes, you can use Layer | Calculate/Copy Attribute Values. On the Attribute Calculation Setup screen, after you type the attribute name (FILL_COLOR), choose the option to Use Formula Calculation, choose String for the Calculation Mode, and type the following information in the Enter Formula field:
    "RGB(" + R + "," + G + "," + B + ")"
    This assumes that your color attributes are called R, G, and B.  If they have different names, use those instead.

    After you modify the data, you will need to export the file, then import it again, because Global Mapper applies the style from attribute values when it imports the data.

    Cheers,
    Bob


    sphillips