[Talk-GB] Importing UK LDP relations with osm2pgsql

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Sun Nov 14 11:05:52 GMT 2010


Hi,

I want to render  UK Long Distance Paths on Freemap and am wondering how the relations are imported into a PostGIS db with osm2pgsql.

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. 

select route from planet_osm_line where name='South Downs Way';

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...)

It seems one or two UK LDPs are there - the Maelor Way and the Calderdale Way - but nothing else.

Any ideas on this? Is it an import issue?

Thanks,
Nick




More information about the Talk-GB mailing list