Steve<br>I've played around with this idea in the past and came up with a working proof of concept:<br><a href="http://www.informationfreeway.org/gjs">http://www.informationfreeway.org/gjs</a><br><br>Click on "From M3 (Junction 3)" or "From Waterloo (Slow Train)" to see the routes in red (car) / blue (train).
<br><br>This was done by adding route tags to existing ways in OSM using a private namespace (clopin).  For example: clopin:route=train or clopin:route=car or clopin:route=bike.<br><br>I then created a very small Osmarender rules file that rendered just the clopin tags. I fed this into the 
tiles@home client to generate a transparent tileset containing only the red / blue routes.  I then saved this tileset on a local server (it is quite small, most tiles are empty).<br><br>Finally, I created an OpenLayers instance that uses the main 
t@h base layer with my clopin layer on top as a transparent overlay.<br><br>I repeated this for each route I wanted to display, and then used a bit of javascript to switch on/off each transparent display.<br><br>Sadly I have been too short of time recently to finish it off, but once set up properly it could be pretty quick and easy to generate customer layers based on a selected set of clopin tags added to existing ways.
<br><br>80n<br><br><div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">Steve Bromwich</b> <<a href="mailto:osm@fop.ns.ca">osm@fop.ns.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 21 Sep 2007, Andy Allan wrote:<br><br>> On 9/21/07, Steve Bromwich <<a href="mailto:osm@fop.ns.ca">osm@fop.ns.ca</a>> wrote:<br>>> Hi,<br>>><br>>> I'm working on an unofficial bike map to complement the official Halifax
<br>>> bike map (<a href="http://www.halifax.ca/bikeweek/HRMBikeMap.html">http://www.halifax.ca/bikeweek/HRMBikeMap.html</a>). Since it's<br>>> unofficial, using the ncn/rcn/lcn/etc tags is probably not appropriate. Is
<br>>> there any software in SVN to do something like Bikely<br>>> (<a href="http://www.bikely.com/">http://www.bikely.com/</a>)?<br><br>> I don't know of anything that does the job, but I'm not well versed on
<br>> all the tools that are available in svn. If you want me to help make<br>> custom cycle/mapnik based tiles etc, I might be able to help you.<br><br>I'm not so much looking for custom tiles as a way to do overlays. Since
<br>this is an unofficial bike map I don't think it's appropriate to pollute<br>the database with what I consider usable streets for biking, particularly<br>since there are one or two (literally) bike lanes in downtown Halifax
<br>already.<br><br>I'm trying to get my head around openlayers at the moment which looks like<br>it might be the best bet, unless anyone can suggest a better way?<br><br>Cheers, Steve<br><br>_______________________________________________
<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
</a><br></blockquote></div><br>