Hi! I have an .osm file on a USB-stick. How do I read, what is in the the file, from my pc? Best regards Hasse asked 27 Apr '12, 17:59 resgi TheOddOne2 |
What you'll probably have is either something like " The first of these is just a text file (in XML format). The second is the same data in a binary protocol buffer format, and because it's binary, the file's smaller. The third is the text XML version compressed with bzip2, and is slightly larger than the pbf version. To convert .osm.pbf data into .osm data you could use osmconvert. To unzip .bz2 files you'd use bunzip2. Because it's just text, ordinarily you'd just be able to use a text editor or viewer to look at it. If you've obtained a country-sized amount of data to process for a GPS, the XML data file is likely to be quite large (" answered 27 Apr '12, 23:34 SomeoneElse ♦ |
@resgi A ".osm" files are just XML data files full of OSM map data (http://wiki.openstreetmap.org/wiki/OSM_XML). What do you want to do with the OSM data?
Hello jwernery! Thank you for your response to my question. I want to know what´s in those osm data, before I upload to my Garmin (EDGE 800). Hasse
uploading a pure osm-file to a Garmin device will not help you. Have a look at http://wiki.openstreetmap.org/wiki/Garmin to see how to use OSM data with those devices.