[OSM-talk] Bikely OSM?
80n
80n80n at gmail.com
Fri Sep 21 17:55:15 BST 2007
Steve
I've played around with this idea in the past and came up with a working
proof of concept:
http://www.informationfreeway.org/gjs
Click on "From M3 (Junction 3)" or "From Waterloo (Slow Train)" to see the
routes in red (car) / blue (train).
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.
I then created a very small Osmarender rules file that rendered just the
clopin tags. I fed this into the tiles at 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).
Finally, I created an OpenLayers instance that uses the main t at h base layer
with my clopin layer on top as a transparent overlay.
I repeated this for each route I wanted to display, and then used a bit of
javascript to switch on/off each transparent display.
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.
80n
On 9/21/07, Steve Bromwich <osm at fop.ns.ca> wrote:
>
> On Fri, 21 Sep 2007, Andy Allan wrote:
>
> > On 9/21/07, Steve Bromwich <osm at fop.ns.ca> wrote:
> >> Hi,
> >>
> >> I'm working on an unofficial bike map to complement the official
> Halifax
> >> bike map (http://www.halifax.ca/bikeweek/HRMBikeMap.html). Since it's
> >> unofficial, using the ncn/rcn/lcn/etc tags is probably not appropriate.
> Is
> >> there any software in SVN to do something like Bikely
> >> (http://www.bikely.com/)?
>
> > I don't know of anything that does the job, but I'm not well versed on
> > all the tools that are available in svn. If you want me to help make
> > custom cycle/mapnik based tiles etc, I might be able to help you.
>
> I'm not so much looking for custom tiles as a way to do overlays. Since
> this is an unofficial bike map I don't think it's appropriate to pollute
> the database with what I consider usable streets for biking, particularly
> since there are one or two (literally) bike lanes in downtown Halifax
> already.
>
> I'm trying to get my head around openlayers at the moment which looks like
> it might be the best bet, unless anyone can suggest a better way?
>
> Cheers, Steve
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070921/34085769/attachment.html>
More information about the talk
mailing list