[OSM-dev] on-road cycle routes - osmarender and ncn tags
Lachlan Rogers
lachlan at rogers.name
Tue Jul 10 02:57:23 BST 2007
Mike,
I started a page on the wiki for collecting data about this sort of thing:
http://wiki.openstreetmap.org/index.php/Rendering_Cycleway_Maps
Perhaps you could upload some of your discoveries when you get things working.
- Lachlan (latch)
On Fri, 6 Jul 2007 19:55:04 +0100
mike <mike at bristolbeat.co.uk> wrote:
> I'm using osmarender (well - actually tilesAtHome) to build a cycle oriented
> map.
>
> So far I have greyed out all the roads to make them less prominent. I would
> like to add color: red to any highways with a route=ncn tag
>
> I'm just looking at the addclass statement in osmarender, but I'm a little
> unsure - can anyone see if the following makes sense?
>
> <addclass k="route" v="ncn" class="route-ncn">
> <rule e="segment|way" k="highway" v="primary">
> <line class='highway-core highway-primary-core'
> />
> </rule>
> <rule e="segment|way" k="highway" v="secondary">
> <line class='highway-core
> highway-secondary-core' />
> </rule>
> ...
> </addclass>
>
> I'm also unsure, if it does add the class, what will take precedence e.g.
> highway-primary-core (color: #c0c0c0;) or route-ncn (color: red;) ?
>
> If anyone has a good osmarender rule set for cycling that would help..!
>
> Also, I'm very new to this xsl / svg stuff, so any tips on debugging would
> be really, really usefull.
>
> cheers,
>
> mike
>
More information about the dev
mailing list