Global Mapper v25.0

GM15: OSM files can't be read anymore

TobWen
TobWen Global Mapper UserTrusted User
edited January 2014 in Bug Report
Reading of OSM-files stopped working. Even the exported ones from GM can't be read :confused:

Example file:
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='tobwen'>
  <node id='1100101' timestamp='2014-01-01T01:00:00Z' user='globalmapper' visible='true' version='1' lat='54.0' lon='12.0' />
</osm>

Tested on latest "stable" release from setup and beta "b012014".

Comments

  • global_mapper
    global_mapper Administrator
    edited January 2014
    That file wouldn't have loaded anything before as it just has an un-attributed <node> that isn't later used as part of a <way> definition. A <node> is only loaded as a point if it has some recognized attributes that indicate it's actually a point feature of note and not just part of some other linear feature.

    I did go ahead and update the OSM import so if nothing can be loaded from a file with those restrictions, the file load is attempted again, this time keeping all <node>'s even if they don't have any interesting attributes. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v15.xx installation folder to give it a try. If you are using the 64-bit v15 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper15_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    geohelp@bluemarblegeo.com
    http://www.bluemarblegeo.com/
  • TobWen
    TobWen Global Mapper User Trusted User
    edited January 2014
    Tested on 32-bit: working! Thanks for your quick work.

    You're right, it does contain un-attributed nodes, but this is allowed in OSM's syntax.
    Many guys are using OSM files like for exchanging GIS data in WGS84, since it's a pretty easy format and it can include areas, points and lines.

    Your fix/feature is really useful. Thanks!