Global Mapper v24.0

suggest for define _shape function

Dear sir
I would like to suggest you to update DEFINE_SHAPE command  to crop data using scripting language without selecting area, just specified the polygon file name with directory, same as POLYGON_CROP_FILE(and NAME) with EXPORT command as soon as possible
best regards
DANBRI

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    Hello,

    The commands that allow for cropping data by area support a parameter called POLYGON_CROP_NAME that allows you to use the name from a DEFINE_SHAPE statement. In that case, it will use the area in the DEFINE_SHAPE to crop the data during the operation. Is this what you are trying to do?

    Cheers,
    Bob
  • Hello,
    So can i use it without select area by digitizer?
  • JeffH@BMG
    JeffH@BMG Global Mapper Developer Trusted User

    Hi DANBRI,

    The DEFINE_SHAPE script command allows you to create a named shape (e.g. polygon), that you can use in subsequent script commands. See the Global Mapper online documentation: https://www.bluemarblegeo.com/knowledgebase/global-mapper-23/cmd/DEFINE_SHAPE.htm

    Best regards,

    ~Jeff

  • Hi JeffH,

    So about DEFINE_SHAPE function, i am looking for define polygon without select it, using the name as soon as possible, to load data inside it...i think in scripting in GM, you should select it before loading data to define shape coordinate and name of polygon.

    I hope that you understeand what i want.

    Thank you

    Best regards,

    DANBRI

Sign In or Register to comment.