OpenStreetMap Quality Assurance with a Garmin GPS
I've recently bought myself a new Garmin eTrex Vista HCx GPS to replace my older Garmin eTrex Legend unit. Because I don't want to shell out money for outdated maps, I have spend some time building my own map images for the Garmin with mkgmap and OpenStreetMap data. I will write more on that later.
Because most of the data in OpenStreetMap has been surveyed by volunteers, it is always possible that things are missing or done incorrectly. There are quite a few different tools on-line for quality assurance of the OpenStreetMap data, but I will be looking at two of them only.
OSM Analysis
First of all there is ITO World's OSM Analysis. This tool compares the OpenStreetMap data in the UK to the Ordnance Survey's Locator data. The latter is supposed to be the authoritative source of road names in the UK. For each of the 417 areas in the UK, the tool produces two lists; for example the one for Brent is here: http://www.itoworld.com/product/data/osm_analysis/area?name=Brent.
The first column lists all the corrections that Ordnance Survey ought to make in an updated version because one of OpenStreetMap's surveyors found it incorrect. The second column lists all the streets that are missing from OpenStreetMap.
Because it would be really useful to have this sort of data available on a hand-held GPS to be able to notice any of the highlighted missing roads on the go, I set out to convert this data to a map file suitable for the Garmin devices. I've published the scripts on github so that you can try it for yourself, but I've also put a ready made osmanal.img file on-line for download at http://derick.dev.openstreetmap.org/. In the near future I will use cron to run this conversion about once a week automatically.
Musical Chairs
Another tool that compares OpenStreetMap data with Ordnance Survey's Locator data is OS Locator Musical Chairs. Documentation on this project is available on the OpenStreetMap wiki.
The author of the Musical Chairs tool has provided a data dump highlighting all the disagreements it finds (including missing roads) while comparing OpenStreetMap data against Ordnance Survey's Locator data. I've written a tool that converts this data to another Garmin map image files with the scripts that I have published at github. With those scripts you can make your own image files, but like with the OSM Analysis I have made a ready-made file muschair.img available at http://derick.dev.openstreetmap.org/.
Using the map image files
Before you can use the two Garmin map image files, you either need to convert it to a stand-alone gmapsupp.img file by running:
java -jar /backup/osm/try4/bin/mkgmap-r1946/mkgmap.jar --gmapsupp osmanal.img
or:
java -jar /backup/osm/try4/bin/mkgmap-r1946/mkgmap.jar --gmapsupp muschairs.img
These commands produce a gmapsupp.img file that you can upload to your Garmin device. If you do this, you will not have any road data.
You can also merge this file with all your other maps to keep the road data, by running something like:
java -Xmx2048M -jar /backup/osm/try4/bin/mkgmap-r1946/mkgmap.jar \
--gmapsupp /tmp/music.img /tmp/osmanal.img \
UK/gmapsupp.img \
contours/gmapsupp.img
Which merges the Musical Chairs image file (music.img), the OSM Analysis image file (osmanal.img), the UK maps (UK/gmapsupp.img) as well as my UK contours line file (contours/gmapsupp.img). This again produces a gmapsupp.img file that you can upload to your Garmin GPS.
For further mkgmap usage details I would like you to point to it's page on the OpenStreetMap wiki: http://wiki.openstreetmap.org/wiki/Mkgmap or more generally to http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin. I am also intending to publish my UK and contour map creation scripts after I've streamlined this process.
And now the maps have been on my GPS for a few days, I've identified and fixed a "disagreement" from Musical Chairs and a few others from the ITO World OSM analysis tool.
Life Line
I just made and ate, a bowl full of bacon fried Brussels Sprouts. Not under duress, and out of my own free will.
Added new residential building
Created a hairdresser shop; Confirmed a convenience shop and a dry_cleaning shop
Created a building_materials shop, a vacant shop, and 4 other objects; Confirmed a hairdresser shop, a cafe, and 2 other objects
I walked 8.3km in 1h33m44s
I walked 1.1km in 9m53s
Updated 2 buildings, a company office, and a bakery shop; Confirmed 2 restaurants, a veterinary, and 9 other objects
I walked 10.0km in 1h50m19s
Merge branch 'xdebug_3_5'
Merged pull request #1064
Fixed issue #2404: Remove debugging line
Created 3 crossings and a waste_basket; Updated a bus_stop and a waste_basket; Deleted a waste_basket
I walked 8.5km in 1h46m06s
Created an entrance and a staircase entrance
I walked 7.5km in 1h25m21s
Success (well, 80%) with my first real soldering-required project!
I have a board with components that can power three (different) Neopixel shapes in a (prototype) Lego enclosure.
Need to make lots of nice 8x8 pixel art and fonts now though, and get a properly designed Lego box.
The only problem is a wonky connector for my third Neopixel — I'll have to resolder that.
I also have software so that I can change everything through Wi-Fi.
I walked 8.0km in 1h32m34s
Mark roads and tracks as private, as I found out yesterday and got stuck behind a locked fence with a security guard
Updated a bird_hide
Updated a bench
This is not an accessible site. Needs more updates too
This is not an accessible site. Needs more updates too
Created 2 gates
I hiked 18.6km in 4h24m32s
I walked 6.2km in 59m46s



Shortlink
This article has a short URL available: https://drck.me/osm-qa-8p4