Combine compatible line features - connects more than it should

falqnfalqn Global Mapper UserPosts: 123Trusted User
edited December 2012 in Bug Report
Hi,
GM 14.0.3 is sometimes connecting not only compatible line features even if "only combine compatible line features" option is chosen. E.g. I'm connecting highway data from OSM, roads have different REF attribute (road number), but GM is connecting them and attribute value is e.g. "D190,D130".

Best regards
Wojtek from Poland

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited December 2012
    Wojtek,

    Can you provide a sample file which demonstrates this? I'm looking through the code and it looks like it should be making sure that the attributes match so that if two lines both have a particular attribute the attribute must have the same value.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/products/global-mapper.php
  • falqnfalqn Global Mapper User Posts: 123Trusted User
    edited December 2012
    Hi,
    File for you to try is in attachement. The probem is strange because in first moment I want to give you only few roads which a know were not properly connected, but when I have selected only those few roads and try connecting the result was OK... Because of that I have give you a source vector (a lot of roads), when you select all of them and make a connection - the problem appears.
    Best regards
    Wojtek from Poland
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited December 2012
    Wojtek,

    Ah I have found the problem now. In this case there were some segments in the middle which had a blank REF attribute and a blank can join with a non-blank. So each end could connect to the middle even though they weren't compatible with each other. I expanded the compatible check for all lines being pieced together which fixes the problem. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/
  • tjhbtjhb Global Mapper User Posts: 454Trusted User
    edited December 2012
    Mike and others,

    A small question. In what circumstances are blank values allowed to combine with some explicit value X?

    I just did a quick test, on three connected lines with a string column "Name". The two outside lines had a shared name value, and the middle line the empty string. They were not connected by GM, if the option to require compatibility was used (and were connected otherwise).

    This is exactly the way I would like it to be, since in the data I am most familiar with, a blank value is defined to have a different meaning from each explicit value.

    Is that not the way it always is?

    (In case it matters, my test was on the 18 December build, not the very latest including the change mentioned in this thread.)

    Tim
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited December 2012
    Tim,

    I have updated the line combine operation now so that you will be prompted for exactly which attributes must be the same. Once you select them there then any empty values will no longer be treated as compatible with non-empty values if you specify that attribute as one that must be equal. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/
  • falqnfalqn Global Mapper User Posts: 123Trusted User
    edited December 2012
    Hi,
    Mike, combining is working fine now, maximum combine distance option is very usefull too - thanks!
    But, in latest v14.1.0 Dec 20 "export raster/imagery" with "crop to selected area feature" option is not working... GM is generating raster form entire area of data even if area feature is selected. In v14.0.3 was OK. Please check this problem.
    Best regards
    Wojtek from Poland
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited December 2012
    Wojtek,

    Ah yikes I did indeed break that a couple of weeks ago. I've got that fixed now. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/
  • tjhbtjhb Global Mapper User Posts: 454Trusted User
    edited December 2012
    I have updated the line combine operation now so that you will be prompted for exactly which attributes must be the same. Once you select them there then any empty values will no longer be treated as compatible with non-empty values if you specify that attribute as one that must be equal.

    Very well designed and implemented, most useful. Another great selling point.

    Thank you once again Mike.

    Tim
Sign In or Register to comment.