Re: [OSM-talk] Mulltipolygons and Mapnik

2008-06-01 Thread Martijn van Oosterhout
On Sat, May 31, 2008 at 9:32 PM, Jon Burgess <[EMAIL PROTECTED]> wrote: > I believe the sites are both using very similar code (unless Kleptog has > some private changes for the NL site). I think the difference may be due > to the NL site using the "--slim" mode. In this case this is probably > all

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Jon Burgess
On Sat, 2008-05-31 at 22:05 +0200, Cartinus wrote: > On Saturday 31 May 2008 21:26:53 Jon Burgess wrote: > > On Sat, 2008-05-31 at 20:08 +0200, Cartinus wrote: > > > I forgot to mention: > > > > > > A hole filled with something else IOW different tags on the outer and > > > inner polygons only work

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Cartinus
On Saturday 31 May 2008 21:26:53 Jon Burgess wrote: > On Sat, 2008-05-31 at 20:08 +0200, Cartinus wrote: > > I forgot to mention: > > > > A hole filled with something else IOW different tags on the outer and > > inner polygons only works in [EMAIL PROTECTED]/Osmarender > > > > http://tile.openstree

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Robert Vollmert
On May 31, 2008, at 19:27, Chris Hill wrote: > I've already changed the wiki to match this situation. This is the > way > it was, so we are just back to the same position before it was changed > (in my view) erroneously. > I also thing this makes logical sense too. The outer marks the edge

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Jon Burgess
On Sat, 2008-05-31 at 19:54 +0200, Cartinus wrote: > Here in Utrecht I have drawn a building with a "courtyard". The inner > polygon > does not have any tags. > * The hole shows OK in [EMAIL PROTECTED]/Osmarender > http://tile.openstreetmap.nl/?zoom=17&lat=52.08396&lon=5.10485&layers=00BF > *

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Jon Burgess
On Sat, 2008-05-31 at 20:08 +0200, Cartinus wrote: > I forgot to mention: > > A hole filled with something else IOW different tags on the outer and inner > polygons only works in [EMAIL PROTECTED]/Osmarender > > http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layers=00BF > htt

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Chris Hill
Dermot McNally wrote: > 2008/5/31 Chris Hill <[EMAIL PROTECTED]>: > > >> I've already changed the wiki to match this situation. This is the way it >> was, so we are just back to the same position before it was changed (in my >> view) erroneously. >> > > Hmm. Could you have missed a bit? >

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Dermot McNally
2008/5/31 Chris Hill <[EMAIL PROTECTED]>: > I've already changed the wiki to match this situation. This is the way it > was, so we are just back to the same position before it was changed (in my > view) erroneously. Hmm. Could you have missed a bit? "Tags on inner ways describe the hole. If it'

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Cartinus
I forgot to mention: A hole filled with something else IOW different tags on the outer and inner polygons only works in [EMAIL PROTECTED]/Osmarender http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layers=00BF http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layer

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Cartinus
On Saturday 31 May 2008 19:07:31 Dermot McNally wrote: > Multipolygons with untagged inner elements (per wiki): Don't render on > Mapnik Multipolygons with inner elements tagged as the outer ones: Do > render on Mapnik > > At this point, we _could_ define the current behaviour as a standard, > upda

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Chris Hill
Dermot McNally wrote: > 2008/5/23 Chris Hill <[EMAIL PROTECTED]>: > > >> I took the liberty of changing the islands to match their outer so I expect >> it to render. >> > > One Mapnik render later, we have some solid data: > > Multipolygons with untagged inner elements (per wiki): Don't ren

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-31 Thread Dermot McNally
2008/5/23 Chris Hill <[EMAIL PROTECTED]>: > I took the liberty of changing the islands to match their outer so I expect > it to render. One Mapnik render later, we have some solid data: Multipolygons with untagged inner elements (per wiki): Don't render on Mapnik Multipolygons with inner element

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-24 Thread Chris Hill
Dermot McNally wrote: > 2008/5/23 Chris Hill <[EMAIL PROTECTED]>: > >> I've worked with islands before. It seems that the key points are: >> 1. make sure that the same tag is used on the inner and outer, in this case >> natural=water >> 2. Make sure that the outer is clockwise and inner(s) are

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-24 Thread Martijn van Oosterhout
On Sat, May 24, 2008 at 1:01 AM, Dermot McNally <[EMAIL PROTECTED]> wrote: > It's worth a try, and we'll know in a week, but I'm not so sure this > will cure the problem. Otherwise, how do you explain the island that > already was tagged the same but still didn't render on the mapnik > layer? I'm a

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Dermot McNally
2008/5/23 Chris Hill <[EMAIL PROTECTED]>: > I've worked with islands before. It seems that the key points are: > 1. make sure that the same tag is used on the inner and outer, in this case > natural=water > 2. Make sure that the outer is clockwise and inner(s) are anticlockwise > > I took the libe

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Chris Hill
I've worked with islands before. It seems that the key points are: 1. make sure that the same tag is used on the inner and outer, in this case natural=water 2. Make sure that the outer is clockwise and inner(s) are anticlockwise I took the liberty of changing the islands to match their outer so

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Cartinus
On Friday 23 May 2008 21:18:40 Ludwig wrote: >- Land that exists within another area, such as a lake. (i.e an island). >Keep water on the right and land on the left side in relation to > sequence of nodes in the Way. Layering may also be required. See > > Relations/Multipolygon

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Ludwig
I was just trying to follow the rules from http://wiki.openstreetmap.org/index.php/Map_Features: - Land that exists within another area, such as a lake. (i.e an island). Keep water on the right and land on the left side in relation to sequence of nodes in the Way. Layering may also be req

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Dermot McNally
2008/5/23 Ludwig <[EMAIL PROTECTED]>: > The holes, at least for my example, are land (so natural=land). It's not what's causing the problem, but to me that's just incorrect. Valid tagging to me could be: Untagged: It's just a hole in whatever its parent polygon is. Tagged water: It's a hole in so

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Dermot McNally
2008/5/23 Jukka Rahkonen <[EMAIL PROTECTED]>: > Have you tried adding the lake tag (natural=water)also for the holes? I know > it > works with buildings but I do not know if it is necessary. It won't help here either - my second example already has the holes tagged. Good thought, though. Dermo

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Ludwig
The holes, at least for my example, are land (so natural=land). 2008/5/23 Jukka Rahkonen <[EMAIL PROTECTED]>: > Dermot McNally gmail.com> writes: > > > > > > Unfortunately, I don't think that's the problem: > > > > > > http://geo.topf.org/comparison/index.html?mt0=tah&mt1=mapnik&lon=-8.1250762&l

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Jukka Rahkonen
Dermot McNally gmail.com> writes: > > Unfortunately, I don't think that's the problem: > > http://geo.topf.org/comparison/index.html?mt0=tah&mt1=mapnik&lon=-8.1250762&lat=53.9649733&z=13 > > This example has only one island, and that doesn't show either. > > Dermot Hi, Have you tried addin

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Dermot McNally
2008/5/23 Ludwig <[EMAIL PROTECTED]>: > I noticed this also. Without investigating it any further, my hunch was that > only the first island is rendered. > > This lake has two islands, but only one shows up in Mapnik: Unfortunately, I don't think that's the problem: http://geo.topf.org/comparison

Re: [OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Ludwig
I noticed this also. Without investigating it any further, my hunch was that only the first island is rendered. This lake has two islands, but only one shows up in Mapnik: http://geo.topf.org/comparison/index.html?mt0=tah&mt1=mapnik&x=1959&y=1305&z=12 Ludwig 2008/5/23 Dermot McNally <[EMAIL PRO

[OSM-talk] Mulltipolygons and Mapnik

2008-05-23 Thread Dermot McNally
Folks, I've just noticed that the Mapnik layer isn't showing islands correctly in some lakes where I had modelled them as "holes" via multipolygon relations. Example: http://geo.topf.org/comparison/index.html?mt0=tah&mt1=mapnik&x=1959&y=1305&z=12 I thought that Mapnik was able to handle this. Am