GM15: OSM files can't be read anymore
TobWen
Global Mapper UserTrusted User
Reading of OSM-files stopped working. Even the exported ones from GM can't be read
Example file:
Tested on latest "stable" release from setup and beta "b012014".
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
-
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/ -
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!
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website