[OSM-talk] Using Osmarender to hilight Relation/Routes?

simon at mungewell.org simon at mungewell.org
Thu May 22 02:21:06 BST 2008


So, I had a further look at this...

>From what I can see osmarender.xsl parses through each element in the
'.osm' file for each layer in turn and passes them through the 'features'
file. The 'features' file replaces them with appropriate SVG structures
which are appropriate to how one want the element display.

I can see that it is relatively easy to change the display characteristic
for any type of element, and it would be possible to adapt a 'features'
file to have display characteristics for a Relation/Route overlay (such a
translutent red overlay highlighting a Relation/Route).

To me it seems that there are two questions:
1). Does it seem more appropriate to have Relation/Route characteristics
defined in a seperate file, or within the normal 'features' file?

2). How do you get osmarender.xsl to de-reference a Relation/Route into
it's seperate ways/nodes, in order to pass these through a modified
features file?

Comments?
Simon.






More information about the talk mailing list