Creating Folder

Is it possible to create a folder under your working directory when exporting data? 

Answers

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,026
    Hello,

    Specify a path to your output file. If the path does not exist, it will be created.

    Cheers,
    Bob
  • Doc2rDoc2r Posts: 21
    Cheers Bob. Great Service as always.

    One other question, I am retrieving data from the metadata on a layer which returns a string value which i then need to change to a numeric value. Can you advise on the best way to remove the text part of a string, the format of the metadata is -16.32 METERS, and the utilization of the string functions such as REPLACE so that the resulting value is just numeric?
  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,026
    Hello,

    I think you want something like this:
    CALC_ATTR_FORMULA NEW_ATTR="ATTR_NO_M" FORMULA="replace( ATTR, 'meters', '' )"
    Cheers, Bob
  • Doc2rDoc2r Posts: 21
    Cheers for that Bob, much appreciated. On another topic could you elaborate on the use of the ATTR_MISSING function. I wish to check to see if the attribute ELEVATION or the attribute final_dept exists?
Sign In or Register to comment.