>
> 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.
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to