Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-28 Thread Karl Newman
On Wed, Jan 28, 2009 at 4:36 AM, Ivo Brodien wrote: > > > Casing is the border of the road, whereas the fill is the colour in the > centre. You'll see that these are two overlapping lines, with the casing > slightly wider than the fill, such that just either edge shows through once > the fill is d

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-28 Thread Ivo Brodien
Casing is the border of the road, whereas the fill is the colour in the centre. You’ll see that these are two overlapping lines, with the casing slightly wider than the fill, such that just either edge shows through once the fill is drawn on top. Thanks. Now I understand. Case had so many

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-27 Thread Dane Springmeyer
There is also a proposal here [1] for a stroke-border attribute which would allow this to be done is one style: [1] http://trac.mapnik.org/ticket/51 Dane On Jan 27, 2009, at 3:32 AM, Ed Loach wrote: Ivo wrote: minor-roads minor-roads-casing 5 000 1 000 ☡ ([highway] = 'secondary'

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-27 Thread Ed Loach
Ivo wrote: minor-roads minor-roads-casing 5 000 1 000 ☡ ([highway] = 'secondary' or [highway] = 'secondary_link') and not ([tunnel]='yes' or [tunnel]='true') CSS: stroke: #a37b48 stroke-dasharra

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-27 Thread Gregory Williams
-boun...@openstreetmap.org [mailto:dev-boun...@openstreetmap.org] On Behalf Of Ivo Brodien Sent: 27 January 2009 10:59 To: Jon Burgess Cc: dev@openstreetmap.org Subject: Re: [OSM-dev] Are there a feature rendering rules for Mapnik? Hi, The nicest way I know is using some xslt from here

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-27 Thread Ivo Brodien
Hi, The nicest way I know is using some xslt from here: https://lists.berlios.de/pipermail/mapnik-users/2008-June/000986.html This produces a neatly formatted page listing all the layers, styles and rules with min/max zooms and mouse-overs with details of css parameters etc. I took a clo

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-25 Thread Ivo Brodien
The nicest way I know is using some xslt from here: https://lists.berlios.de/pipermail/mapnik-users/2008-June/000986.html This produces a neatly formatted page listing all the layers, styles and rules with min/max zooms and mouse-overs with details of css parameters etc. Thanks for the g

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-23 Thread Jon Burgess
On Fri, 2009-01-23 at 17:02 +0100, Ivo Brodien wrote: > Hello, > > I would like to know if there is some sort of table where I can see > what features get rendered for the distinct zoom levels. > > I only found the osm.xml in the Mapnik source. The nicest way I know is using some xslt from her

Re: [OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-23 Thread Andy Allan
On Fri, Jan 23, 2009 at 4:02 PM, Ivo Brodien wrote: > Hello, > > I would like to know if there is some sort of table where I can see > what features get rendered for the distinct zoom levels. > > I only found the osm.xml in the Mapnik source. osm.xml is the One True Source for this, and I don't t

[OSM-dev] Are there a feature rendering rules for Mapnik?

2009-01-23 Thread Ivo Brodien
Hello, I would like to know if there is some sort of table where I can see what features get rendered for the distinct zoom levels. I only found the osm.xml in the Mapnik source. Is there maybe a nicer overview like a table or something where I can see what gets rendered at echa zoom level?