Dozens of New Layers in GM 13.1, Why?

Roger EdrinnRoger Edrinn Global Mapper UserPosts: 721Trusted User
edited March 2012 in Bug Report
I'm Copy/Pasting line features from two different data sets. I'm only able to do this for a hour or two before I stop, I always save when I stop. I also periodically Save the destination file, then continue.

Apparently, each time I save the file and start doing Copy/Paste again I get a new layer in the OCC. So I now have dozens of layers of pasted features when I only wanted ONE. Previously in GM12, using the same process, I only had a single layer called: User Created Features.

Is this another new "Feature" in GM 13.1 with unintended consequences or is 13.1 really supposed to work this way?

Is there a way to merge all these identically named layers?

Thanks for any help.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2012
    Can you provide a workspace that exhibits this behavior? I am unable to reproduce it, the pasted features that are saved and then reloaded from a workspace are staying in the User Created Features layer, which is the intended behavior. Are you perhaps changing the description of the User Created Features layer?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • Roger EdrinnRoger Edrinn Global Mapper User Posts: 721Trusted User
    edited March 2012
    I've uploaded the gmw and source shapefile to your FTP site.

    The error I described does NOT require a save. EVERY Copy/Paste produces a new layer in OCC.

    Use my gmw as the source file, C/P using Cntl-Insert, Shift-Insert to a blank copy of 13.1. EACH C/P will produce a new layer in the blank destination.

    Hope you got out and enjoyed the sun. :)
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2012
    I took a look and can see what is happening. The copy/paste changes to maintain the original layering when you copy/paste, so if you say copied features from 3 different layers and pasted them somewhere you wouldn't get them all stuck in User Created Features and lose the original layer names. However, this was always creating new layers with the same name for each paste so as you experienced you can get lots of layers very easily. I updated the paste to look for an already loaded layer with the same layer name as what is being pasted and add it to that layer rather than creating a new one, so you should no longer get the proliferation of layers. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v13.xx installation folder to give it a try. If you are using the 64-bit v13 version there is a new build at http://www.globalmapper.com/global_mapper13_64bit.zip .

    For your existing workspaces with lots of layers, just edit all of the features with the Digitizer Tool and change the layer selection to a new one to assign them to. You can then close the previous set of layers as they will then just have deleted copies of the features with the active copy in the single new layer.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • Roger EdrinnRoger Edrinn Global Mapper User Posts: 721Trusted User
    edited March 2012
    Your fix worked, I went back through my source to destination and copy/pasted several more features, all of those ended up in the correct single layer.

    I was unaware I could transfer multiple layers with edit. Must of had 50 layers, took GM 5-min to grind through all of them, but grind it did.

    Thank for the fix.
Sign In or Register to comment.