[OSM-dev] Rendering Route Relations with Mapnik
Graham Jones
grahamjones139 at gmail.com
Sun Jul 17 21:15:53 BST 2011
>
> It should not be necessary to query the rels table. If you add the keys
> that you want from the hiking relation into the default.style then this
> information should be copied into new columns in the line table.
>
> One thing to be aware of is that the name= tag on the relation becomes
> route_name in the database. This allows both the way and relation names
> to be present simultaneously. There are also some other special
> conversions related to some cycle network tags, see
>
> http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/output-pgsql.c#L879
>
> Thanks Jon - Easier than I expected! It was the name / route_name issue
that had me thinking I would need to do something cleverer.
Regards
Graham.
--
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110717/2a01a3e2/attachment.html>
More information about the dev
mailing list