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 allowing

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, update

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=17lat=52.06243lon=5.10283layers=00BF

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's

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? Tags on inner

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=17lat=52.06243lon=5.10283layers=00BF

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=17lat=52.08396lon=5.10485layers=00BF * The hole

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 of

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 also

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=tahmt1=mapnikx=1959y=1305z=12 Ludwig 2008/5/23 Dermot McNally [EMAIL

Re: [OSM-talk] Mulltipolygons and Mapnik

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

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 dermotm at gmail.com writes: Unfortunately, I don't think that's the problem:

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

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

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

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

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 liberty of