global mapper 12
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    kartoone76 is offline Global Mapper User
    Join Date
    Feb 2008
    Location
    Birmingham, Alabama
    Posts
    33
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Question COMBINE_LINES scripting command

    Is there an option with the new COMBINE_LINES scripting command to specify that only compatible features be combined? For now it appears that all connecting lines are combined even if they are not of compatible types (e.g., interstate gets combined with residential road).

    From within Global Mapper, you can select all features with the digitizer tool, right-click and select "Combine selected features" and you are presented with the following dialog message:

    "Some of the lines that you selected to combine have conflicting labels, descriptions, and/or attribute values. Would you like to combine line features even if they have conflicting values?"
    YES - combine any connecting line features
    NO - only combine compatible features

    If you click, NO everything works perfectly the way I would like it to and I am wondering if there is a way to replicate this behavior in the COMBINE_LINES scripting command.

    Thanks!

  2. #2
    global_mapper is online now Administrator
    Join Date
    Jun 2007
    Posts
    7,527
    Thanks
    2
    Thanked 645 Times in 628 Posts

    Default

    I have added support for adding a COMPATIBLE_ONLY=YES parameter to the COMBINE_LINES command to specify that you only want compatible lines to be combined. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  3. #3
    tjhb is offline Global Mapper User
    Join Date
    Jun 2009
    Location
    Wellington, New Zealand
    Posts
    178
    Thanks
    24
    Thanked 6 Times in 6 Posts

    Default

    This is really useful Mike. Quite a powerful feature.

    As so often, I didn't know it was there in the GUI. But now in scripting as well, brilliant.

Similar Threads

  1. can not run script from command line
    By montaser in forum Bug Report
    Replies: 2
    Last Post: 08-03-2009, 01:56 AM
  2. Command Line script vs UI...bug?
    By chrise in forum Technical Support
    Replies: 2
    Last Post: 03-31-2009, 12:29 PM
  3. Batch Convert/Reproject command
    By mjmfgm in forum Technical Support
    Replies: 2
    Last Post: 02-24-2009, 03:37 AM
  4. GENERATE_PATH_PROFILE Command Line Scipts
    By timhoman in forum Elevation Data
    Replies: 3
    Last Post: 04-15-2008, 02:57 PM
  5. Running Scripts from Command Lines?
    By fsdreamscapes in forum Technical Support
    Replies: 1
    Last Post: 03-14-2008, 09:48 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts