<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It should not be necessary to query the rels table. If you add the keys<br>
that you want from the hiking relation into the default.style then this<br>
information should be copied into new columns in the line table.<br>
<br>
One thing to be aware of is that the name= tag on the relation becomes<br>
route_name in the database. This allows both the way and relation names<br>
to be present simultaneously. There are also some other special<br>
conversions related to some cycle network tags, see<br>
<a href="http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/output-pgsql.c#L879" target="_blank">http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/output-pgsql.c#L879</a><br>
<font color="#888888"><br></font></blockquote><div>Thanks Jon - Easier than I expected! It was the name / route_name issue that had me thinking I would need to do something cleverer.</div><div><br></div><div>Regards</div>
<div><br></div><div><br>Graham. </div></div><br>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>