<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Nick,<div>I haven't got around to doing this myself yet, so I could be wrong, but I thought it was all about the planet_osm_rels table.</div>
<div><br></div><div>If you do something like:</div><div><div>    select tags, members,parts from planet_osm_rels where tags @> '{Cleveland Way}';</div>
<div>You get two arrays 'members' and 'parts', which I thought were the ID's of the members of the relation.</div><div><br></div><div>It might be worth a look at <a href="http://osm.lonvia.de/world_hiking/about.html" target="_blank">http://osm.lonvia.de/world_hiking/about.html</a> too - the author of that site is very helpful when I have asked her questions about it!</div>

<div><br><font color="#888888">Graham.</font></div><div><div></div><div class="h5"><br><div class="gmail_quote">On 14 November 2010 11:05, Nick Whitelegg <span dir="ltr"><<a href="mailto:Nick.Whitelegg@solent.ac.uk" target="_blank">Nick.Whitelegg@solent.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to render  UK Long Distance Paths on Freemap and am wondering how the relations are imported into a PostGIS db with osm2pgsql.<br>
<br>
My guess is that they would be imported as a series of ways with the route tag set appropriately, e.g route=foot, route=hiking; however this has not occurred, e.g.<br>
<br>
select route from planet_osm_line where name='South Downs Way';<br>
<br>
gives a blank string for the 'route' tag even though the relation is present, with a 'route=hiking' tag, in OSM (AFAIK it has been for at least a year, it has a last-edited date of Oct 20, and the database is more recent than Oct 20...)<br>


<br>
It seems one or two UK LDPs are there - the Maelor Way and the Calderdale Way - but nothing else.<br>
<br>
Any ideas on this? Is it an import issue?<br>
<br>
Thanks,<br>
Nick<br>
<br>
<br>
_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">Talk-GB@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-gb" target="_blank">http://lists.openstreetmap.org/listinfo/talk-gb</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br>