Global Mapper v25.0

Clipboard size limitation

wmiswm
wmiswm Global Mapper UserTrusted User
edited May 2012 in Technical Support
Search -> select -> right click -> copy the selected results to clipboard as text

There is size limitation on the number of items. Is there any convenient way to overcome this limitation?

Comments

  • global_mapper
    global_mapper Administrator
    edited May 2012
    While you can't easily get around the clipboard text size limitation, you could instead copy the features themselves to the clipboard from the search results dialog, then paste those in a new instance of Global Mapper and then export that to a CSV file. Another thing I could do is add an option to save the text to a file if it is too large. Would that work?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    sorry, do not know how to paste to a new gm instance. I sppose a new tab to save to csv will b e better. Thx.
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    sorry, do not know how to paste to a new gm instance. I sppose a new tab to save to csv will b e better. Thx.
  • Seldom
    Seldom Global Mapper User Trusted User
    edited May 2012
    Start another instance of GM (start the program twice). Select whatever you want to copy in the first instance. ctrl-c copies (or ctrl-x) cuts the selection from the first instance. ctrl-v pastes the copied (or cut) data into the second instance.
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    I see. This will not do the job. What I need is the feature table (the list of objects with their attribute value as a csv table).

    By copy and paste to another GM instance, the objects, including polygon, line, and point will be transferred as is to the other GM instance. But then, the output to csv option will not be able to output the selected polygons and lines attribute value table.

    I suppose either replacing the "copy to clipboard" with "saving to csv", or adding another additional tabe of "saving to csv" are the only options.
  • global_mapper
    global_mapper Administrator
    edited May 2012
    Once you have your objects in another instance, just use File->Export Vector Data to export a CSV file. The latest releases have an option to including area and line features so you can get everything in a CSV file with each feature on its own line.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    Sorry, still not successful. All I need is a table with each object listed in a column with its attribute value in a row, the first row being the attribute name, the same format as the search result. The csv output is not in the format I need.
  • global_mapper
    global_mapper Administrator
    edited May 2012
    That is what the CSV export should get you. How is it different than what you are getting in the search results, other than the ordering?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    The csv output does not have the <Feature Name>, <Feature Type>, and <Description> fields included compare with the search result clipboard output.
  • global_mapper
    global_mapper Administrator
    edited May 2012
    Those items should be present, just with different field names. However what I decided to do in order to make this simpler is prompt you for a text file to save the clipboard results to when you have a lot selected. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the change 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 .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    Hi Mike, thank you very much. There is still an issue with the output csv file. For those features with an empty <Feature Name> field, the output file will NOT have an "empty" field, resulting in a frame shift in those features when open by Excel.
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    oh yes, there is another issue:
    Search for duplicate -> correct by assigning a unique identification number to a certain attribute say "Feature_ID"
    Search -> re-order by "Feature_ID", the order is 1, 10, 100, 1000, 10000, 10001, 10002, 10003, 10004 ............... etc
    Is it possible to re-order by 1, 2, 3, 4, 5, 6.................etc ?
  • global_mapper
    global_mapper Administrator
    edited May 2012
    I found the issue with the clipboard text if the start fields are blank and fixed it. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the change 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 .

    To sort the fields numerically change your search type to 'Number' above the search results, then your Feature ID should sort how you want.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    Hi Mike, I am not sure whether it is the problem of GM or the problem of Excel. When I open the output csv in Excel, every of the item has alternating empty row. However, if I open the output csv by notepad, it is a normal file without any blank line. Any idea?
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    ok, I figured out what is problem. For each of the item line, GM output the hex characters "0D 0D 0A" at the end of the line. Excel interpret this as two new lines and notepad interpret this as one single line. The correct hex sequence should be "0D 0A".
  • global_mapper
    global_mapper Administrator
    edited May 2012
    Ah yep the string already had \r\n in it and the file was in text mode, so it was adding an extra \r. I switched to binary mode so it should work as expected. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the change 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 .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • wmiswm
    wmiswm Global Mapper User Trusted User
    edited May 2012
    Thank you very much. It works as expect now.