Showing posts with label OpenStreetMap. Show all posts
Showing posts with label OpenStreetMap. Show all posts

6 August 2013

Convert OpenStreetMap data for Mac

Download a map.osm data file using the OpenStreetMap export option - it only seems to permit small areas.

Main instructions are here, but I also had to follow this workaround having got an error "Failed to read option file". That resulted in a gmapsub (and several other files), but not something that could be used with Basecamp.

I then used gmapibuilder, to automagically combine all the outputs into a gmapi file.  Using the cyclemap style files the end result looked like


4 May 2013

OSM cycling tagging - some notes



One way streets that bikes can use in both directions - oneway:bicycle=no

Tagging routes to prefer/avoid - class:bicycle=1 class:bicycle:roadcycle=-2

Cycleway and cycletracks

Road with a cycleway on just 1 side




27 November 2010

BROKEN: Converting relations to cycle routes

So, I've uploaded a whole set of edits to the OSM and in particular set up a relation covering the whole of a marked ride in Belgium. But now I want to follow the route on my GPS. In other words, how to covert a relation into a gpx.

OSM comes with an API, xapi, that provides access to data. The syntax to download all the elements of a relation is:

http://www.informationfreeway.org/api/0.6/relation[name=witloofroute] Note: does not work
or
http://www.informationfreeway.org/api/0.6/relation?name=witloofroute
http://www.informationfreeway.org/api/0.6/relation#14813

But I believe that this just gives the raw data, which is very frequently not ordered and would thus be useless to follow.

So, thank goodness for the OSM Relation Analyzer.

http://ra.osmsurround.org/analyze.jsp?relationId=14813