[Tilesathome] Rendering of routes
Jiri Klement
jiri.klement at gmail.com
Wed Sep 24 16:41:25 BST 2008
> I am new to OSM and started to map an area a few weeks ago. In
> addition to streets and tracks I would also like to define hiking
> routes. I added the routes with JOSM and had to find out that they are
> not rendered on the map. I think that is fine, since most people are
> not particularly interested in these routes. However, it would be fine
> if I could render a specialized map (svg, pdf) for my own purposes.
Hiking routes really shouldn't be at the normal map, but having hiking
overlay would be great.
> In Osmarender I found some rules which allow to render routes in
> different colors. However, the color must be entered as osm attribute
> and I am not sure if this approach breaks the separation of data and
> view. I tried to extend these rules but soon found that pure xslt
> (without using a scripting library) is quite painful to place labels
> onto or near the ways which build the route. So I switched to orp and
> implemented two kinds of route rendering: detailed (z17) and overview
> (z14). Examples of the resulting maps can be found (temporarily) at
> http://78.47.21.51/routerendering.
Osmarender can place labels near ways.
How do you know what color should route have? Is it some somehow
random or based on route attributes?
> The work is still in an experimental state. Before I put more effort
> into it I would like to ask how people are rendering their routes now.
> What is the recommended way?
>
> Please apologize if this is the wrong list to put these questions, but
> there does not seem to be a list for osmarender or orp specific
> questions.
>
> Thanks
> Markus
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/tilesathome
>
More information about the Tilesathome
mailing list