Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-19 Thread Jochen Topf
On Tue, Jul 19, 2011 at 09:53:45AM +0100, Graham Jones wrote: > > A little bit late, but I have written some wiki-Pages documentating my own > > Mapnik-Styles: > > > > For quite a while I have been thinking of trying to set up something to > share tips, tricks and examples for producing maps from O

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-19 Thread André Joost
Am 19.07.11 10:53, schrieb Graham Jones: Would anyone be interested in sharing examples of styles they have produced etc.? I think there is a 'stylesheets' wiki page that we could update with a set of links for starters, but I could see it develop into something a bit more detailed with tutori

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-19 Thread Graham Jones
Thanks Andre, > > A little bit late, but I have written some wiki-Pages documentating my own > Mapnik-Styles: > > For quite a while I have been thinking of trying to set up something to share tips, tricks and examples for producing maps from OSM data - we have tools to make the rendering toolchain

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-19 Thread André Joost
Am 16.07.11 20:38, schrieb Graham Jones: Does anyone have an example of this they can point me to please? A little bit late, but I have written some wiki-Pages documentating my own Mapnik-Styles: Only in German, but the commands

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-17 Thread Graham Jones
> > 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

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-17 Thread Jon Burgess
On Sun, 2011-07-17 at 09:05 +0100, Graham Jones wrote: > John, > Thanks for the explanation - I saw the ferries route styles in the OSM > mapnik style, but wasn't sure if this was plotting relations or just > ways tagged with 'route'. > > > So, if I want the route details, I should be able to sea

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-17 Thread Graham Jones
John, Thanks for the explanation - I saw the ferries route styles in the OSM mapnik style, but wasn't sure if this was plotting relations or just ways tagged with 'route'. So, if I want the route details, I should be able to search for items in the planet_osm_line table with negative IDs and 'rout

Re: [OSM-dev] Rendering Route Relations with Mapnik

2011-07-16 Thread Jon Burgess
On Sat, 2011-07-16 at 19:38 +0100, Graham Jones wrote: > I would like to render some route relations with mapnik (e.g. > route="hiking" relations that link multiple ways), using a 'standard' > postgresql database created by osm2pgsql if possible. > > > I see that osm2pgsql using the "default" def

[OSM-dev] Rendering Route Relations with Mapnik

2011-07-16 Thread Graham Jones
I would like to render some route relations with mapnik (e.g. route="hiking" relations that link multiple ways), using a 'standard' postgresql database created by osm2pgsql if possible. I see that osm2pgsql using the "default" default.style file creates a 'route' column in planet_osm_line, but I a