With recent map drawing activities (1, 2, 3) I’ve been asked about the process I use for creating maps. What follows here is the workflow I used with OpenStreetMap (OSM) for the CRAMBA Stony Creek MTB Trail Maps, and hopefully others will find it useful.
I expect I’ll be following this same workflow for the next maps created, and even possibly revising previous ones using this process because it provides more solid base data than my previous method which consisted of little more than manually tracing SVGs of GPS tracks in Illustrator. It also helps get more map data in OSM, which is basically the cartographic version of Wikipedia.
One note, using OSM data in your maps requires that the resulting map be licensed under the Creative Commons Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0) license. This basically means that anyone else can redistribute and reuse the map (or portions thereof), as long as they provide appropriate attribution and license their version in a similar way. As I’m intending these maps to be freely used by the general public (as part of my work with CRAMBA) I’m happy to do so, but others should be aware of these restrictions before getting too far along in the process.
Here’s the workflow:
- If all trail data needed for a map is already in OpenStreetMap (OSM), skip to step 5.
- Walk trail routes with GPS recording the route.
- Walk slowly / evenly.
- Recordings done via cycling GPSs are likely not sufficiently accurate.
- Multiple passes will allow for more accurate drawing.
- Recording waypoints is convenient for noting intersections, features, etc.
- Be sure to appropriately set properties (as appropriate: highway=path, bicycle=yes, foot=yes, oneway=yes, etc).
- Consider using MTBtagger presets.
- Consider performing in-depth MTB trail marking as per OpenStreetMap Wiki – Mountainbike.
- Click Export and download an OpenStreetMap XML Data file of this data.
- Alternately, OSM XML data can be downloaded using wget from an appropriate server using a query such as wget --timeout=0 "http://www.overpass-api.de/api/xapi?way[bbox=-83.3172,42.631,-82.9011,42.8668][highway=*][@meta]" -O mfo.osm. See here, here, and here for more information.
- Command line most useful for US maps: osm2ai.pl --input=map.osm --projection=mercator --output=map.ai
- osm2ai.pl seems to require a bunch of MySQL modules, but these are not necessary if just doing a simple conversion.
- Only module needing installation on OS X 10.6 seems to be Geo::Coordinates::OSGB.
- Alternate methods for exporting to Illustrator format can be found here.
- Maps seem to come with a fair bit of extra cruft, including county outlines, unneeded political divisions, etc.
- Hide / archive unneeded data (in a hidden layer) instead of deleting it.
- Trails
- Roads
- Water
- Intersection Markers
- Points of Interest
- Routes: Race routes, group ride routes, etc.
- Text and Decoration: Frame / legal notices / logos / key / scale / compass rose / version stamp.
- Those familiar with trails: Can spot errors and omissions.
- Those unfamiliar with trails: Can spot confusing sections / point out gaps in information.
- Non-mountain bikers: Sanity check of general readability and usefulness of map to other user groups.
- Adding texture (dashes, curved edges, etc) to paths adds to readability.
- Color Oracle simulates vision deficiencies.
- Remove layers, transparencies, etc.
- Without this step the PDF will be larger than needed, and some non-Adobe viewers won’t display map as expected.
- Logos / Organization Names: Link to organization’s websites.
- Licenses: Link to full license info (eg: CC-BY SA 2.0).
- Address: Link to Google Maps / Bing / etc. search result.