OpenStreetMap diary entries for RichardRecent OpenStreetMap diary entries from Richardhttp://www.openstreetmap.org/user/Richard/diary
http://www.openstreetmap.org/assets/mag_map-rss2.0-0f5c83e82b8170eeee9a6782160ddff8a7f8bfd6c994265658e556e6a8358e69.pngOpenStreetMap diary entries for Richard100100http://www.openstreetmap.org/user/Richard/diary
Potlatch 2: bookmarkshttp://www.openstreetmap.org/user/Richard/diary/35333
http://www.openstreetmap.org/user/Richard/diary/35333<p>A new little feature for Potlatch 2: you can add a bookmark for your current location, accessible via a new &#39;Bookmarks&#39; dropdown menu. Use the &#39;Add&#39; button at the bottom of the menu to add a new one. It works pretty much like every bookmarks menu you&#39;ve ever used, to be honest.</p>
<p>There&#39;s also a new trademark obscure keypress, &#39;N&#39;, which moves to the other end of the currently selected way.</p>
RichardSun, 05 Jul 2015 17:19:49 +0000http://www.openstreetmap.org/user/Richard/diary/35333#commentsWhat's your OpenStreetMap story?http://www.openstreetmap.org/user/Richard/diary/35107
http://www.openstreetmap.org/user/Richard/diary/35107<p>Everyone has their own reason for contributing to OpenStreetMap. Maybe you wanted a better map for your favourite activity - hiking, cycling, skiing. Maybe you were using a site or device with OSM data, and found it lacking. Maybe a friend got you involved. Maybe you believe in our aims as an open project. Or maybe you just thought it was cool.</p>
<p>What was your reason?</p>
<p>I&#39;m giving a <a href="http://stateofthemap.us/the-map-that-never-sleeps/" rel="nofollow">talk at State of the Map US</a> in just over a week, in which I&#39;d like to share people&#39;s stories as to why they contribute. I&#39;d love to hear yours.</p>
<p>You can post in the comments here, drop me a line at <a href="mailto:richard@systemeD.net" rel="nofollow">richard@systemeD.net</a>, send me an OSM message, or <a href="https://twitter.com/richardf/status/603929652911054849" rel="nofollow">reply on Twitter</a>. (Anonymity offered if you want!)</p>
RichardThu, 28 May 2015 14:22:21 +0000http://www.openstreetmap.org/user/Richard/diary/35107#commentsFixing the rural UShttp://www.openstreetmap.org/user/Richard/diary/34290
http://www.openstreetmap.org/user/Richard/diary/34290<p>Folks, I&#39;ve made an exciting discovery. I&#39;ve stumbled across a country on the map which has 46 million inhabitants but is barely mapped. There appears to have been an import several years ago of a poor-quality dataset, and since then it&#39;s languished untouched. There&#39;s no indigenous mapping community. Can we help this poor beleaguered country to get a decent map?</p>
<p>Ok, you may have figured where I&#39;m talking about. It&#39;s the rural US: 72% of the landmass, 15% of the population. And it needs your help.</p>
<h2>The problem</h2>
<p>For the past couple of months I&#39;ve been using idle moments to address a particular, and very widespread issue in OSM&#39;s coverage of the rural US - the highway=residential problem.</p>
<p>TIGER data, which forms the bedrock of OSM data in the US, classes roads by CFCC - &#39;Census Feature Class Code&#39;. By far the most prevalent is A41 - &quot;Local, neighborhood, and rural road, city street, unseparated&quot; - and the TIGER import translated this to highway=residential. This was a good fit in urban areas but covers a multitude of sins in rural areas - everything from good, fast state highways to rutted forest tracks or worse.</p>
<p>The effect is that our map of the rural US shows pretty much everything, save the biggest roads, as a residential road. Tarmac road with sweeping curves and a painted centreline? highway=residential. Gravel road? highway=residential. Forest track? highway=residential. Vague two-foot clearing through the woods where someone perhaps rode 50 years ago? highway=residential. Ploughed field? Etc, etc.</p>
<p><img src="http://www.systemeD.net/osm/rural_crossroads.jpg" alt="Rural crossroads"/></p>
<p>This is a typical example from an agricultural area. A good-quality road with centreline, running east-west: a smaller access road, running north: and nothing at all running south. In OSM, this is mapped as a crossroads with highway=residential roads in all four directions. Having the edge of a ploughed field marked as highway=residential doesn&#39;t make for a great map, nor does it make for good routing results. &quot;In 100m, turn left.&quot; &quot;BUT THAT&#39;S A FRICKING FIELD YOU ACCURSED MACHINE.&quot; Sigh.</p>
<p><img src="http://www.systemeD.net/osm/forest.jpg" alt="Rural crossroads"/></p>
<p>But if you really want some fun, find a less cultivated area - <a href="http://www.openstreetmap.org/#map=13/47.7202/-120.4677" rel="nofollow">this forest</a>, for example. Look at all those lovely residential roads, tagged exactly the same as a paved city street. Except none of these are paved. A few might be gravel. Many don&#39;t really appear to exist at all. </p>
<p>Most of this remains unchanged. In some areas a dedicated user has cleared it up and there&#39;ve been a few energetic nationwide editors, but it&#39;s a massive job. It&#39;s pretty much endemic - even just a few miles from San Francisco, a hotbed of OSM activity, you&#39;ll find <a href="http://www.openstreetmap.org/edit#map=15/37.6667/-121.5964" rel="nofollow">examples</a>.</p>
<p>Perhaps we shouldn&#39;t have imported TIGER in these rural areas, but just let the map grow at its own pace. That way, the important roads would have been surveyed, traced, or imported one-by-one, and the thickets of near-impenetrable tracks would probably have never made it in. But we are where we are, and though I&#39;m generally sceptical of &quot;armchairing&quot; far-flung data, we have a big heap of flat-out wrong data and no other strategy to deal with it.</p>
<h2>A framework for fixup</h2>
<p>So I&#39;ve been fixing up roughly along these lines, though obviously adjusting for local sensitivities and network considerations:</p>
<ul>
<li><code>highway=tertiary</code> - paved 2-lane road with painted centreline</li>
<li><code>highway=unclassified</code> - other paved road</li>
<li><code>highway=unclassified</code>, <code>surface=unpaved</code> - unpaved road (at least a car&#39;s width, consistent surface)</li>
<li><code>highway=track</code> - unpaved, often doubletrack/singletrack</li>
<li><code>highway=service</code> - access to private house or farm</li>
<li>(delete entirely - no trace of trail/road)</li>
</ul>
<p>Most of this is fixable from imagery. There are also some good datasets: <a href="http://openstreetmap.us/2014/12/arnold-for-osm/" rel="nofollow">Arnold</a>, <a href="http://osm.cycle.travel/" rel="nofollow">Forest Service data</a>, various state data, etc.</p>
<p>In forests 90% of highway=residential should really be tracks. In the plains, the majority is either track or unpaved road, often in grids, but with the occasional paved through route. In Missouri, Tennessee, Kentucky and eastwards you start to see more paved roads.</p>
<p>Personally, my main priority has been to identify and retag paved through routes. Often these can be identified by squinting at the map: a river bridge is a tell-tale indicator, or a road with wide curves, or one linking settlements. Sometimes you just need to look at the aerial imagery and pan around. Of course, it&#39;s not just the highway tagging that needs fixing - ref tags and geometries would benefit from attention, too - but you can&#39;t do everything, so my chosen challenge has been to get the tagging sane.</p>
<p>I just use plain vanilla Potlatch 2 for fixup, accelerated by <a href="http://www.openstreetmap.org/user/Richard/diary/24011" rel="nofollow">assigning common tags to function keys</a>. One day it&#39;d be nice to build something MapRoulette-like to tackle the issue, a bit like HotOrNot (TrackOrCack? HighwayOrLieway? RoadOrFOAD?). But for now a normal editor does fine.</p>
<p>So if you&#39;re sitting in your armchair with an itchy OSM finger, resist the temptation to normalise some tags or trace some buildings or whatever else you might usually do. Come and fix up the rural US.</p>
RichardWed, 28 Jan 2015 12:08:37 +0000http://www.openstreetmap.org/user/Richard/diary/34290#commentsPotlatch 2: quickly move from task to taskhttp://www.openstreetmap.org/user/Richard/diary/28267
http://www.openstreetmap.org/user/Richard/diary/28267<p>Task-based fixup workflows, such as <a href="http://maproulette.org/" rel="nofollow">MapRoulette</a>, <a href="http://osmlab.github.io/to-fix/" rel="nofollow">To Fix</a>, and the HOT <a href="http://tasks.hotosm.org/" rel="nofollow">Tasking Manager</a>, have become popular in OSM in recent years, presenting a series of map-improvement tasks for a user to complete.</p>
<p>MapRoulette is wondrous in many ways but has three issues. First, if you&#39;re using an online editor, the time taken to open each task is significant - around 3-5s to open a new instance of iD for each task. Second, that online editor has to be iD, so it&#39;s not suited for those of us who use P2. Third, the <a href="https://github.com/osmlab/maproulette/wiki/API-Documentation" rel="nofollow">process for creating your own tasks</a> is fairly cumbersome, especially if you&#39;re working on a small series of tasks to be completed by one or a few people.</p>
<p>Potlatch 2 now implements a fast, light way of moving through a series of tasks. It&#39;s intended for small-scale personal work rather than planet-sized challenges. There&#39;s no &#39;resolve&#39; button - it&#39;s just a way of moving between locations efficiently.</p>
<p>It works like this:</p>
<h3>Create (or find) a GPX or GeoJSON file containing the locations.</h3>
<p>If it&#39;s a GPX file, it should contain waypoints. Each one can have a description in a &lt;desc&gt;, &lt;cmt&gt;, or &lt;sym&gt; element.</p>
<p>If it&#39;s a GeoJSON file, it should contain Point features. Each one can have a description in the &#39;name&#39; property (or, failing that, the first property).</p>
<h3>Open it in Potlatch 2 with the Tasks button.</h3>
<p><img src="http://www.systemeD.net/osm/tasks1.jpg" alt="Potlatch 2 Tasks button"/></p>
<p>You can either load a file from disk, or type a URL and click &#39;Fetch URL&#39;. (For the latter, note that the usual nonsense about needing a crossdomain.xml file at the root of the server applies, sadly.)</p>
<h3>Move from task to task with the palette.</h3>
<p><img src="http://www.systemeD.net/osm/tasks2.jpg" alt="Potlatch 2 Tasks palette"/></p>
<p>The map will centre on the first location. When you want to go onto the next one, click the forward arrow. To go to the previous one, click the back arrow. And that&#39;s it.</p>
<p>Try it for yourself using a GPX file of waypoints. If you don&#39;t have one to hand, these files from the Adventure Cycling Association of <a href="http://www.adventurecycling.org/routes-and-maps/adventure-cycling-route-network/gps-information/route-gps-waypoints/" rel="nofollow">long-distance cycle routes across the US</a> are fun.</p>
<p>I&#39;d be interested to hear of other formats this could support, and further suggestions for improvement; and it would be lovely if authors of other editors were also interested in exploring the idea.</p>
RichardSat, 20 Dec 2014 15:32:56 +0000http://www.openstreetmap.org/user/Richard/diary/28267#commentsFix a Forest - experimental tiles from US Forest Service datahttp://www.openstreetmap.org/user/Richard/diary/26099
http://www.openstreetmap.org/user/Richard/diary/26099<p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Klamath_National_Forest-16N05_March_05.jpg/640px-Klamath_National_Forest-16N05_March_05.jpg" alt="Klamath Forest"/></p>
<p>I&#39;ve created a set of tiles from US Forest Service road data for the 155 US National Forests.</p>
<p>This is to help with TIGER fixup in these rural areas, where tracks, trails and entirely non-existent paths are often tagged with a bare &quot;highway=residential&quot;. The US Forest Service data is greatly superior to the original TIGER data and has metadata on surface type/quality, but is unsuitable for automatic import into OSM because it would overwrite mappers&#39; existing work in these areas.</p>
<p>You can access the tiles at:</p>
<ul>
<li>Potlatch 2/JOSM - <a href="http://osm.cycle.travel/forest/%7Bzoom%7D/%7Bx%7D/%7By%7D.png" rel="nofollow">http://osm.cycle.travel/forest/{zoom}/{x}/{y}.png</a></li>
<li>iD - <a href="http://osm.cycle.travel/forest/%7Bz%7D/%7Bx%7D/%7By%7D.png" rel="nofollow">http://osm.cycle.travel/forest/{z}/{x}/{y}.png</a></li>
</ul>
<p>and they&#39;re included in the editor-imagery-index list used by P2, iD and Vespucci. The tiles are available up to z19. Use of Potlatch 2&#39;s new <a href="http://www.openstreetmap.org/user/Richard/diary/24072" rel="nofollow">floating imagery window</a> mode is recommended, so that you can work from both Bing imagery and these tiles at the same time.</p>
<p>You can also explore from the comfort of your browser at <a href="http://osm.cycle.travel/index.html" rel="nofollow">http://osm.cycle.travel/index.html</a>, where there&#39;s an &quot;Edit this area in OpenStreetMap&quot; link at the bottom right.</p>
<h2>Key</h2>
<ul>
<li>Surface:
<ul>
<li>yellow outline = paved</li>
<li>grey outline = gravel</li>
</ul></li>
<li>Road type:
<ul>
<li>white with black casing = paved road</li>
<li>dashed grey = gravel road suitable for cars</li>
<li>dashed brown = dirt road</li>
<li>dotted grey = not maintained for cars</li>
</ul></li>
<li>Maintenance level:
<ul>
<li>grey dots = 4x4 only</li>
<li>green dots = usable by cars</li>
<li>black dots = moderately comfortable for cars</li>
<li>black frequent dots = very comfortable for cars</li>
</ul></li>
<li>Points of interest:
<ul>
<li>car = roadside park</li>
<li>flag = Forest Service station</li>
<li>ski = winter recreation area</li>
<li>hiker = trailhead</li>
<li>campsite = campsite</li>
<li>picnic site = picnic site</li>
</ul></li>
</ul>
<p>(There&#39;s some degree of overlap, but this is present in the original USFS data.)</p>
<p>When fixing up data, I would suggest the following tags as a minimum:</p>
<ul>
<li>highway=unclassified - paved road</li>
<li>highway=unclassified, surface=unpaved/gravel/dirt - unpaved road suitable for cars</li>
<li>highway=service - road to isolated dwelling or other building</li>
<li>highway=track - unpaved track or road suitable for 4x4s</li>
<li>highway=path - narrow linear clearing, too narrow for motor vehicles</li>
<li>[delete entirely] - raw TIGER data with no signs of track or path in either imagery or Forest Service tiles</li>
</ul>
<p>US Forest Service data is public domain so there&#39;s no need for further attribution when using this data, though a source= tag is always good practice.</p>
<p>Hope these are helpful, and let me know of any further suggestions.</p>
RichardTue, 11 Nov 2014 19:19:06 +0000http://www.openstreetmap.org/user/Richard/diary/26099#commentsPotlatch 2: see two sets of imagery at oncehttp://www.openstreetmap.org/user/Richard/diary/24072
http://www.openstreetmap.org/user/Richard/diary/24072<p>I know. Two new features in the space of a week. Don&#39;t get too used to it.</p>
<p>P2 now has a &#39;Show floating window&#39; checkbox in the Background menu. Select this, and you&#39;ll get a second set of imagery in a floating window:</p>
<p><img src="http://www.systemeD.net/temp/dual_imagery.jpg" alt="dual imagery"/></p>
<p>The window follows your main cursor location. So you can have Bing in the main window and Ordnance Survey StreetView in the floating window, or a blank background in the main window and Bing in the floating window, or whatever you like.</p>
<p>There&#39;s a &quot;lock zoom&quot; checkbox to stop the floating window zooming in or out - for example, edit at z18 with Bing but see OSSV at z16; or edit at z14 with Bing but have the floating window at z19 for a close-up view. It also respects the &quot;max_zoom&quot; parameter of the editor imagery index.</p>
<p>I coded most of this at a hack weekend a year ago but had never got round to finishing it off. Hope it&#39;s useful.</p>
<p>At the same time, P2 now makes a passable fist of rendering multipolygons where the tags are on the relation rather than the outer way (yeuch). It&#39;s not perfect and it won&#39;t do any of that crazy &quot;advanced multipolygon&quot; stuff. But it&#39;ll do until we finally get an area datatype.</p>
RichardMon, 20 Oct 2014 09:29:36 +0000http://www.openstreetmap.org/user/Richard/diary/24072#commentsGORDON'S ALIVEhttp://www.openstreetmap.org/user/Richard/diary/24011
http://www.openstreetmap.org/user/Richard/diary/24011<p><a href="https://www.youtube.com/watch?v=MFnmT82yGpk" rel="nofollow"><img src="http://theiqcontinuum.com/wp-content/uploads/2014/01/GordonsAlive.jpg" alt="Flash?"/></a></p>
<p>And so is Potlatch... just about. (Insert obvious Flash reference here.)</p>
<p>Potlatch 2&#39;s core purposes are (a) being an intermediate-level editor and (b) annoying Germans. It&#39;s never going to get major new functionality or important rewrites, but for those of us happily using it, I&#39;ve always intended to add and fix little things over time.</p>
<p>In the summer it gained support for the <a href="https://github.com/osmlab/editor-imagery-index" rel="nofollow">editor-imagery-index</a> project, which provides a central list of background imagery suitable for tracing. Today it has a couple of improvements to the long-standing feature where you shift-click away from a way to add a new point (roughly comparable to JOSM&#39;s &quot;Improve Way Accuracy&quot; mode, but we don&#39;t do modes round here) - which is a really useful technique for TIGER fixup.</p>
<p>I&#39;ve also added the ability to memorise tag combinations and recall them by a single keypress. Very simple: press shift and a function key to memorise the tags from the current selection. From then on, pressing that function key will add the tags to the selected items. (Those with long memories may remember this is a Potlatch 1 feature, and one I&#39;ve always meant to add to P2!)</p>
<p>I have a couple of larger features which are 90% coded but were never quite finished, both firmly &quot;intermediate-level&quot; tools. As and when I get the time, I&#39;m hoping to finally finish them off and get them out there.</p>
RichardTue, 14 Oct 2014 10:43:22 +0000http://www.openstreetmap.org/user/Richard/diary/24011#commentscycle.travel now has OSM-powered bike routing for Western Europehttp://www.openstreetmap.org/user/Richard/diary/23330
http://www.openstreetmap.org/user/Richard/diary/23330<p>I&#39;ve been working on this for a while and am delighted to be able to unveil it!</p>
<p>cycle.travel, my OSM-powered cycling site, now has bike routing for Western Europe: France, the Netherlands, Belgium, Germany, Denmark, Czech Republic, Slovenia, Austria, Italy, Spain, Portugal, the UK and Ireland. </p>
<p>You can try it at <a href="http://cycle.travel/map" rel="nofollow">cycle.travel/map</a>.</p>
<p>It&#39;s built with (patched) OSRM and a complex custom profile. It takes account of elevation, cycle routes, surface quality and more. All routes are fully draggable; you can export to GPX, TCX, and PDF, and save routes if you create an account. The cartography is specially designed for the site. </p>
<p>Here&#39;s a ride along the Rhine:</p>
<p><img src="http://cycle.travel/generated/cards/8071.jpg" alt="Rhine cycleway"/></p>
<p>Or if you fancy cycling over Mont Ventoux:</p>
<p><img src="http://cycle.travel/generated/cards/8103.jpg" alt="Mont Ventoux"/></p>
<h2>Routing details</h2>
<p>If it doesn&#39;t follow a route you&#39;d expect it to take, this is usually because surface tags are missing. </p>
<p>For example, <a href="http://cycle.travel/map?lat=50.0181&amp;lon=2.0333&amp;zoom=15" rel="nofollow">here in France</a>, the canalside path is tagged as &#39;highway=path&#39; with no surface tags. cycle.travel guesses that paths in rural areas have poor quality surfaces, so will try not to route along them. Adding a &#39;surface=gravel&#39; tag to this path, which the aerial imagery suggests, will make the router like it. (Access tags are also good.) </p>
<h2>Miscellaneous notes</h2>
<ul>
<li>The tileserver is a little slow - please be gentle! </li>
<li>There are occasional inconsistencies in the tiles - old styles that haven&#39;t refreshed yet. </li>
<li>You can&#39;t route between the UK and mainland Europe (there&#39;s a big lake in the way. Only Chris Froome is allowed to cycle through the tunnel and look how far it got him) </li>
<li>I&#39;m planning on weekly updates but it&#39;ll be less often at first. </li>
<li>Known issue with highway=trunk, bicycle=yes getting undue prominence. </li>
<li>Known issue with fahrradstrassen/fietsstraten not being prioritised. </li>
<li>You can switch from miles to km if you create an account and set user preferences. It&#39;ll be a bit smarter about defaulting to km for Europe soon, but I need to do a bit of work to enable that. <em>Edit</em>: Now defaults to km for routes in Europe.</li>
</ul>
<p>Still lots to improve but I hope you like it - and, as ever, thanks to all the mappers who have contributed all the lovely data.</p>
<p>You can post comments/bugs/suggestions here, of course, or on the <a href="http://cycle.travel/forum/2" rel="nofollow">site forum</a> itself. </p>
RichardThu, 17 Jul 2014 14:47:06 +0000http://www.openstreetmap.org/user/Richard/diary/23330#commentsWhat does the path say?http://www.openstreetmap.org/user/Richard/diary/20333
http://www.openstreetmap.org/user/Richard/diary/20333<p>Cycleway goes whoosh:</p>
<p><img src="http://farm1.static.flickr.com/49/152144483_7503b74572.jpg" alt="cycleway"/></p>
<p>Bridleway goes splush:</p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Hillingdon_bridleway.JPG/220px-Hillingdon_bridleway.JPG" alt="bridleway"/></p>
<p>Footway goes plod:</p>
<p>(urban)
<img src="http://www.bishopthorpe.net/Footway.jpg" alt="urban footway"/></p>
<p>(rural)
<img src="http://s3.freefoto.com/images/15/75/15_75_57_web.jpg" alt="rural footway"/></p>
<h2>BUT <a href="http://www.youtube.com/watch?v=jofNR_WkoCE" rel="nofollow">WHAT DOES THE PATH SAY?</a></h2>
<p><a href="https://www.google.co.uk/search?q=path&amp;safe=off&amp;source=lnms&amp;tbm=isch" rel="nofollow">Any and all of the above.</a> Tarmackytarmackytarmackytar. Grassy grassy grass grass grass. Cobble cobble cobble cobble. Narrow broad narrow broad. Gra-gra-gra-gra-gra-gra-gravel.</p>
<p>Like the moo of a cow, everyone knows what a highway=cycleway means. Yes, there are variations. Lots of them. But in the absence of any other supporting information (like a surface tag), you can make an assumption that the above pic <em>probably</em> won&#39;t be <em>too far</em> wrong.</p>
<p>But just like no-one has heard a fox, no-one knows what a highway=path means. It could be anything.</p>
<p>So if you are using highway=path because &quot;it makes it easier for data consumers&quot;, it doesn&#39;t. It makes it a pain in the arse for data consumers. Right now I am consuming data for a cycling router and highway=path is the bane of my life. When I see &quot;highway=cycleway&quot; it&#39;s a safe bet I can route a bike down there, whereas when I see &quot;highway=path; bicycle=yes&quot; then maybe a bike might want to go there, or maybe it&#39;s a steep drop over a precipice with a rocky surface but, by some quirk of arcane legislation, bikes are allowed.</p>
<p>For the love of God, if you must use highway=path, please, please, please, please <strong>add a surface tag</strong> with <a href="http://taginfo.openstreetmap.org/keys/surface#values" rel="nofollow">a commonly-used value</a>.</p>
<p>And then we&#39;ll actually know what the path says.</p>
RichardThu, 07 Nov 2013 10:47:06 +0000http://www.openstreetmap.org/user/Richard/diary/20333#commentsLicence redaction ready to beginhttp://www.openstreetmap.org/user/Richard/diary/17219
http://www.openstreetmap.org/user/Richard/diary/17219<p>For those who don&#39;t follow the mailing lists or the OSMF blog, a heads-up: the licence redaction will begin this week. <a href="http://blog.osmfoundation.org/2012/07/09/licence-redaction-ready/" rel="nofollow">Read full details here</a>. There will be no interruption to mapping but you should be aware that there might be changes in your area.</p>
RichardTue, 10 Jul 2012 08:39:39 +0000http://www.openstreetmap.org/user/Richard/diary/17219#commentsUsing vector background layers in Potlatch 2http://www.openstreetmap.org/user/Richard/diary/16951
http://www.openstreetmap.org/user/Richard/diary/16951<p>The other week Development Seed <a href="http://mapbox.com/blog/jalisco-roads-for-osm/" rel="nofollow">posted some fresh new data for Jalisco, Mexico</a>, together with <a href="https://github.com/mapbox/osm-jalisco" rel="nofollow">instructions on how to use JOSM</a> to get it into OpenStreetMap.</p>
<p>Of course, like most good things, it&#39;s much easier and shinier to do it in Potlatch. At which point you might ask &quot;What? You can open .osm files in Potlatch?&quot;. Yes, you can, and here&#39;s how you do it.</p>
<p>First of all, go to <a href="https://github.com/mapbox/osm-jalisco/downloads" rel="nofollow">https://github.com/mapbox/osm-jalisco/downloads</a> and grab the .osm files. Camino_2011 doesn&#39;t download when I try it, but the other two are fine.</p>
<p>Now open Potlatch in the part of Mexico which you want to edit. <a href="http://www.openstreetmap.org/edit?lat=19.47596&amp;lon=-103.31539&amp;zoom=15" rel="nofollow">Here&#39;s a handy link</a>.</p>
<p>Go to the &quot;Background&quot; menu, and click &quot;Vector file...&quot;:</p>
<p><img src="http://www.systemeD.net/osm/mexico/background_menu.png" alt="The background menu"/></p>
<p>At the bottom, select &quot;OSM&quot;, then &quot;File: Open...&quot; to load your .osm file. Do this for each one:</p>
<p><img src="http://www.systemeD.net/osm/mexico/add_new_vector_layer.png" alt="Adding a new layer"/></p>
<p>You&#39;ll see them appear as layers in the list. By default they&#39;re shown in &#39;Potlatch&#39; style, which means they look the same as the rest of the map. You can choose any currently-loaded stylesheet to show them in, but I like to use &#39;GPS&#39;, which displays them as a clear cyan line:</p>
<p><img src="http://www.systemeD.net/osm/mexico/set_style.png" alt="Setting the style"/></p>
<p>Close the window and go back to the map. Look! Your .osm file is being displayed!</p>
<p>It&#39;s being shown as a <em>background layer</em>. In other words, it won&#39;t be uploaded next time you save. (Because unthinking imports are bad, right kids?) So to add it to the map, you need to pull it through from the background layer to the main map.</p>
<p>Couldn&#39;t be easier. Just alt-click. (Or, if you&#39;re using a Linux system that reserves alt for its own nefarious purposes, shift-control-click.)</p>
<p><img src="http://www.systemeD.net/osm/mexico/the_result.png" alt="Et voila"/></p>
<p>And that really is all there is to it.</p>
<h2>Even more awesome</h2>
<p>This is just scratching the surface, but there&#39;s lots more you can do with vector background layers. Basically, Potlatch does the hard work of making data usable, so you don&#39;t have to faff around with a bunch of preprocessing scripts.</p>
<p>You can open from local disc (like this) or fetch from the Internet. You can open .osm, .gpx, .kml or - yes - even shapefiles. (If loading from local disc, put the .shp, .dbf and .shx files in a .zip).</p>
<p>Wrong projection? No problem: P2 can reproject from OSGB or NAD83 (and we&#39;re happy to add new projections if needs be).</p>
<p>Data too dense? Just enable the &#39;Simplify&#39; button and Potlatch will run a Douglas-Peucker line simplification over it, at the strength you&#39;ve specified in the Options dialogue.</p>
<p>And the cleverest thing of all: MapCSS-based tag transformations. You can supply a stylesheet-like text file that tells Potlatch how to map tags in the source data to OSM standards. Use MapCSS selectors as normal, and the special &#39;set&#39; and &#39;delete&#39; instructions to control the output. It&#39;s best expressed through an example, so <a href="http://richard.dev.openstreetmap.org/os/tagtransform.css" rel="nofollow">here&#39;s one</a> I used for OS VectorMap District data.</p>
RichardFri, 25 May 2012 11:21:30 +0000http://www.openstreetmap.org/user/Richard/diary/16951#commentsswitch2osm.orghttp://www.openstreetmap.org/user/Richard/diary/15944
http://www.openstreetmap.org/user/Richard/diary/15944<p>Lots of you will have seen the interest recently in switching from proprietary mapping providers to OpenStreetMap - blog postings by Nestoria and StreetEasy, Wired's article, and so on. We started a Twitter hashtag, #switch2osm, and it's rather taken off.</p>
<p>So I'm delighted to announce the launch of a new site: <a href="http://switch2osm.org/" rel="nofollow">http://switch2osm.org/</a> .</p>
<p>It's a one-stop shop for would-be switchers, showing them how to get started with using and generating OSM tiles; _why_ they might want to; and where to look for more information.</p>
<p>Huge thanks to Harry, Kai, and lots of other people who've helped with this (and especially Matt for the layout). We'll be continuing to refine the site in the forthcoming weeks, but we're happy that it's ready to launch now. So - OSM army, get to it and promote it :)
</p>RichardWed, 25 Jan 2012 11:58:24 +0000http://www.openstreetmap.org/user/Richard/diary/15944#commentsThe trouble with imports (translated)http://www.openstreetmap.org/user/Richard/diary/12261
http://www.openstreetmap.org/user/Richard/diary/12261<p>Paris mapper Pieren has written an excellent <a href="http://www.openstreetmap.org/user/Pieren/diary/12250" rel="nofollow">half angry, half regretful diary entry</a> that sums up why unthinking imports are such a curse to OSM. For those that don't speak French, I'm posting a (slightly loose) translation here. Apologies for any errors of translation.</p>
<p>[start quote]</p>
<p>I sadly discovered today that the import of buildings in the 16th arrondissement [district of Paris] has been brutally completed by someone else, by means of the simple import of a file.</p>
<p>I'd been working on this area for several weeks and yes, that might seem too slow for some. But if I was progressing slowly, that’s because I was taking the time to check names and one-way streets on the ground, block by block; to clean up errors (disappeared names and POIs); to add extra information such as traffic lights, missing vélib [cycle hire] points, missing names, barriers, other POIs, addresses. Everything that a semi-automatic import doesn’t do (after all, I could have done the import myself in 15 minutes long ago).</p>
<p>I've already carried out this work for other arrondissements (smaller ones, true) over a long period. You only have to read my OSM diary to see the list. I was three-quarters of the way through working on this arrondissement, but here I'm stopping, disgusted. I shall leave the work of completing the missing information to others, so that the arrondissement may be consistent in a far future (if ever), as well as the other arrondissements of Paris.</p>
<p>I understand that many people work on each area, and it’s better like that. But a tiny bit of co-ordination and investigation, to check what others were doing, would seem to me to be a minimum before embarking on such an import.</p>
<p>[end quote]</p>RichardTue, 09 Nov 2010 16:16:18 +0000http://www.openstreetmap.org/user/Richard/diary/12261#commentsLancashire: where men are men and sheep are scaredhttp://www.openstreetmap.org/user/Richard/diary/11907
http://www.openstreetmap.org/user/Richard/diary/11907<p><img src="http://www.systemed.net/osm/wotr_sheep.jpg"></p>
<p>I cycled two-thirds of the Way of the Roses, Sustrans' newest challenge cycle route, last week - from Morecambe, on the west coast, over the Dales to York. (The route continues to Bridlington, but I'm leaving the small bit of unmapped route there for our East Yorkshire correspondent to finish.)</p>
<p>A beautifully scenic route, well chosen, and generously signed - which is just as well, as I was cycling 'blind', the official route map not having turned up. There were some pretty strenuous hills; the worst of the lot was one on an off-piste detour I foolishly took out of Settle, having mapped the official route there already. Actually, the flattest bit (railway paths notwithstanding) was the most boring - the section from Ripon to York, which was fairly featureless countryside. The Ouse crossing on the rickety old Aldwarke Bridge was an experience, though!</p>
<p>It's now mapped as National Route 69, 68, 688 and 65.</p>RichardSun, 26 Sep 2010 20:32:37 +0000http://www.openstreetmap.org/user/Richard/diary/11907#comments54.080824065861-2.73419871706754.080824065861 -2.734198717067National Cycle Network - filling the gapshttp://www.openstreetmap.org/user/Richard/diary/9804
http://www.openstreetmap.org/user/Richard/diary/9804<p>OSM's National Cycle Network coverage is astounding and one of the reasons why everyone loves OpenCycleMap.</p>
<p>With the sun finally emerging once again (yay) we've got the chance to fill some of the gaps and make it really useful. Anna and I went out on Saturday to map a recently opened section of National Route 45 (south of Worcester), and it occurred to me that a few afternoons like that would complete coverage of several high-profile routes.</p>
<p>So I had a look at the map and have identified a few that could be ticked off in an afternoon by nearby mappers. Obviously, some are already in hand - Gregory W cycled most of NCN 1 last year, for example, and I've got a few planned for this year.</p>
<p><b>South</b></p>
<p></p><ul>
<br><li> To complete NCN 3: St Austell to Truro is only partly mapped
<br></li><li> To complete NCN 4: Tiny little section in north Bristol (near Catbrain!) needs doing
<br></li></ul><p></p>
<p><b>Midlands</b></p>
<p></p><ul>
<br><li>To complete Great Central Cycle Ride: missing section through Daventry
<br></li></ul><p></p>
<p><b>Wales</b></p>
<p></p><ul>
<br><li>To complete Lon Teifi: NCN 82 from Cardigan to Fishguard
<br></li></ul><p></p>
<p><b>North</b></p>
<p></p><ul>
<br><li>To complete the C2C: Forest section near Keswick - the one gap in our coverage of the NCN's most popular route!
<br></li><li>To complete the Pennine Cycleway: NCN 68's alternative route via Burnley and the Leeds &amp; Liverpool canal towpath is only partly mapped.
<br></li><li>The new Way of the Roses*: a coast-to-coast route being launched this year, roughly Morecambe-Settle-Harrogate-York-Bridlington. East of York it's fully mapped. Morecambe to York is not yet fully signed. But it'd be great to have it mapped on OSM at launch.
<br></li><li>Hadrian's Cycleway (NCN 72) and the Reivers Route (NCN 10) could be completed with a little effort.
<br></li><li>A few gaps around Sheffield could also be completed fairly easily.
<br></li></ul><p></p>
<p>Any takers? Or any other gaps in big routes that people have spotted?</p>
<p>(I posted this to <a href="http://lists.openstreetmap.org/pipermail/talk-gb/2010-March/005408.html" rel="nofollow">talk-gb</a> too and there's been some discussion already.)</p>RichardMon, 08 Mar 2010 13:24:54 +0000http://www.openstreetmap.org/user/Richard/diary/9804#comments52.091431771537-2.188948539705452.091431771537 -2.1889485397054Thought for the dayhttp://www.openstreetmap.org/user/Richard/diary/9471
http://www.openstreetmap.org/user/Richard/diary/9471<p>This generally splendid article is doing the rounds: <a href="http://www.guardian.co.uk/technology/2010/feb/04/mapping-open-source-victor-keegan" rel="nofollow">http://www.guardian.co.uk/technology/2010/feb/04/mapping-open-source-victor-keegan</a> </p>
<p>But much though I might like the kind words for Potlatch's drag'n'drop POIs - and much though others might giggle at NickB's new surname - this is the really important bit:</p>
<p></p><blockquote style="color:#333">Gordon Brown, the UK prime minister, has just rediscovered cooperativism as a way of galvanising people to vote Labour. He would have been much more in tune with the times if he had widened it to include the open source movement in all its different aspects. It is one of the most interesting phenomena of our times, a kind of global mutual society.</blockquote><p></p>
<p>Absolutely spot on and not something that's written about enough.</p>RichardThu, 04 Feb 2010 15:08:54 +0000http://www.openstreetmap.org/user/Richard/diary/9471#commentsBurton-on-Trent completehttp://www.openstreetmap.org/user/Richard/diary/8103
http://www.openstreetmap.org/user/Richard/diary/8103<p>Hoorah for small down-at-heel Midlands towns, for every street in Burton-on-Trent should now be mapped.</p>
<p>Bob Coates has done large chunks east of the Trent (Winshill etc.); Paul Sladen made a whirlwind visit by narrowboat and coloured in the town centre and thereabouts very attractively; and I've done a whole bunch of very exciting housing estates west of the Trent, plus a load of other stuff. There's probably the odd bit missing but nothing particularly significant that I can spot.</p>
<p>Doubtless there's lots of landuse one could add, service drives into industrial premises, POIs (well, "interest" might be stretching it - this is Burton after all) and even postboxes for those who like that sort of thing. I'm not particularly struck on making a huge effort to do that in the absence of aerial imagery, but will probably colour in a few bits now and then - principally residential and industrial areas, I guess - in a kind of slow, incremental way.
</p>RichardTue, 29 Sep 2009 22:21:49 +0000http://www.openstreetmap.org/user/Richard/diary/8103#comments52.808267437407-1.642679122918252.808267437407 -1.6426791229182Well, reallyhttp://www.openstreetmap.org/user/Richard/diary/8032
http://www.openstreetmap.org/user/Richard/diary/8032<p><img src="http://www.systemeD.net/osm/john_smiths.jpg"></p>
<p><a href="http://www.johnsmiths.co.uk/" rel="nofollow">(with apologies)</a></p>RichardThu, 24 Sep 2009 17:20:41 +0000http://www.openstreetmap.org/user/Richard/diary/8032#commentsVote for the Data Liberation Front to tackle aerial imageryhttp://www.openstreetmap.org/user/Richard/diary/7859
http://www.openstreetmap.org/user/Richard/diary/7859<p>Google has a really enlightened guy called the <a href="http://www.guardian.co.uk/technology/2009/sep/09/google-data-liberation-export" rel="nofollow">Data Liberation Front</a>. His role is to make it easy for people to get their data out of Google - rather than it being locked in.</p>
<p>Usually, people are locked in by the lack of an export feature, or an obscure file format. In mapping, people are locked in by licences.</p>
<p>In Google Maps' case, you can create your own work by tracing over aerial imagery. But you can't use this work elsewhere, because of the licences and terms of use. (The phrase "derived work" usually crops up around now.)</p>
<p>Google could fix this by saying that tracing from their imagery is ok - just like Yahoo have done. <a href="http://www.systemed.net/blog/?p=100" rel="nofollow">On my blog</a>, I looked into the legalities of this and concluded there's nothing in law stopping them from doing so. It's entirely their decision.</p>
<p>So - please vote for the Data Liberation Front to fix this! <b><a href="http://url.ie/2ero" rel="nofollow">Click here</a></b>, sign in with a Google Account, and tick the box. And tell your friends.</p>RichardFri, 11 Sep 2009 14:12:38 +0000http://www.openstreetmap.org/user/Richard/diary/7859#commentsNational Cycle Network map for Garmin GPShttp://www.openstreetmap.org/user/Richard/diary/6949
http://www.openstreetmap.org/user/Richard/diary/6949<p>I've been playing with mkgmap over the last week, with the aim of creating a Garmin map of the National Cycle Network from OSM data. It's effectively a new version of the one I did <a href="http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Cycle_map" rel="nofollow">the other year</a>, but with better styling (via a .TYP file), contours, and so on.</p>
<p><img src="http://richard.dev.openstreetmap.org/garmin/cyclemap_gloucester.jpg"></p>
<p>NCN mapping on OSM is coming on in leaps and bounds this year, not least due to Gregory Williams' <a href="http://threecornerscycleride.org.uk/" rel="nofollow">Three Corners Cycle Ride</a>. So I figured this was a great opportunity to make it available for GPS, and so tackle the familiar "now which way do I go here...?" problem. The screenshot above would have helped Gregory find his way out of Gloucester. :)</p>
<p>You can now download a prerelease version (UK-only, 240Mb file):</p>
<p><a href="http://richard.dev.openstreetmap.org/garmin/gmapsupp.img" rel="nofollow">http://richard.dev.openstreetmap.org/garmin/gmapsupp.img</a></p>
<p>The installation procedure is the same as any such map: connect your Garmin via USB, go into Mass Storage Mode (Setup-&gt;Interface), open the Garmin folder (creating one at the top level if there's not one already) and copy gmapsupp.img in.</p>
<p>I'd very much like to hear comments on what could be improved, in particular with the styling, and the choice of what's rendered at each zoom level. I've not as yet paid a lot of attention to POIs and would particularly welcome suggestions and comments on that. (I think I might remove the bus-stops before NAPTAN drowns us all.)</p>
<p>Routing is enabled but does not consistently choose the quiet routes I'd like it to. If anyone knows how to make it suck less, let me know; t�he eTrex's routing algorithm is famously impenetrable. Caveat emptor. Source will be available when I get round to uploading it to svn.</p>
<p>Regional and Local routes are both rendered in the same blue. I'm anticipating the abolition of Regional Routes in favour of three-digit National Routes. ;) The National Byway is shown in brown (let joy be unconfined).</p>
<p>Many thanks to Andy Gates for his <a href="http://ravenfamily.org/andyg/maps/" rel="nofollow">Garmin cycling map</a>, which has been a great inspiration and especially helpful in figuring out what goes where; and also for having the generosity to release the source. Several of the icons and some colouring are taken from his work. Thanks to the Scottish Mountaineering Club for the contour files. Thanks to Andy Allan whose fault all this open cycle mapping is, and yes, you're right, taking a photo of an eTrex screen is a PITA. And thanks, of course, to Steve Radcliffe and the mkgmap community for a superb, ever-improving program - for example, shield support has just been added, which really lifts the appearance of the map - and for being consistently helpful.</p>
<p><b>Update:</b> The source is now in svn <a href="http://svn.openstreetmap.org/applications/utils/export/garmincyclemap/network/" rel="nofollow">here</a>, and full instructions are on <a href="http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Cycle_map" rel="nofollow">the wiki</a>.</p>RichardSun, 05 Jul 2009 14:24:13 +0000http://www.openstreetmap.org/user/Richard/diary/6949#comments