Re: [OSM-talk] Multipolygons in Mapnik

2009-03-18 Thread Martijn van Oosterhout
On Mon, Mar 9, 2009 at 7:53 PM, Jon Burgess jburgess...@googlemail.com wrote:
 You are correct, the hourly diff imports can not handle the multipolygon
 relation properly. These will fix themselves after the weekly import
 each Wednesday. Any edit to the nodes or ways in the relation will
 probably break it again.

Does anyone have a grip on the actual problem? When I wrote the diff
handling code I thought I covered all the bases, so I'd be interested
to know the failure mode.

Have a nice day,
-- 
Martijn van Oosterhout klep...@gmail.com http://svana.org/kleptog/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Multipolygons in Mapnik

2009-03-09 Thread Ciprian Talaba
This question arise on the Romanian OSM list. We are trying to get
multipolygons rendered in Mapnik and we are following the instructions on
the Wiki page: http://wiki.openstreetmap.org/wiki/Relation:multipolygon. So
we are trying with no tags on the inner way and the building is still not
rendered in Mapnik (it is fine in Osmarender). The building is the one name
'AJOFM Huneadoara' from here:
http://www.openstreetmap.org/?lat=45.881101lon=22.900908zoom=18layers=B000FTF
.

The interesting fact is that I used a different approach a couple of months
ago (when direction of the way counted, and with tags on both ways) and
those buildings are render just fine even now. When I tried to help our
collegue with his building and applying the same rules that worked before I
still have the same results (no hole rendered).

What are we doing wrong? How should we tag the building to get rendered with
Mapnik?

Thanks,
Ciprian
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Multipolygons in Mapnik

2009-03-09 Thread Eugene Alvin Villar
I second this. Buildings with holes don't get rendered correctly
consistently.


On Mon, Mar 9, 2009 at 5:39 PM, Ciprian Talaba cipriantal...@gmail.comwrote:

 This question arise on the Romanian OSM list. We are trying to get
 multipolygons rendered in Mapnik and we are following the instructions on
 the Wiki page: http://wiki.openstreetmap.org/wiki/Relation:multipolygon.
 So we are trying with no tags on the inner way and the building is still not
 rendered in Mapnik (it is fine in Osmarender). The building is the one name
 'AJOFM Huneadoara' from here:
 http://www.openstreetmap.org/?lat=45.881101lon=22.900908zoom=18layers=B000FTF
 .

 The interesting fact is that I used a different approach a couple of months
 ago (when direction of the way counted, and with tags on both ways) and
 those buildings are render just fine even now. When I tried to help our
 collegue with his building and applying the same rules that worked before I
 still have the same results (no hole rendered).

 What are we doing wrong? How should we tag the building to get rendered
 with Mapnik?

 Thanks,
 Ciprian

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk




-- 
http://vaes9.codedgraphic.com
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Multipolygons in Mapnik

2009-03-09 Thread Frank Sautter
hello list,

Ciprian Talaba schrieb:
 What are we doing wrong? How should we tag the building to get rendered 
 with Mapnik?
i'm also expiriencing a strange behaviour on multipolygons. 
multipolygons that rendered perfectly are not working anymore from one 
moment to another, but then after some time they render correct 
magically without any changes to the data.

i have the suspicion that this appeared to happen since mapnik is 
rendering data after a few hours instead of the old weekly renderer run.
in all cases, parts of the multipolygons have been touched, but not all.

maybe someone can second this thesis. if so, we should file a bug.

frank

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Multipolygons in Mapnik

2009-03-09 Thread Jon Burgess
On Mon, 2009-03-09 at 13:47 +0100, Frank Sautter wrote:
 hello list,
 
 Ciprian Talaba schrieb:
  What are we doing wrong? How should we tag the building to get rendered 
  with Mapnik?
 i'm also expiriencing a strange behaviour on multipolygons. 
 multipolygons that rendered perfectly are not working anymore from one 
 moment to another, but then after some time they render correct 
 magically without any changes to the data.
 
 i have the suspicion that this appeared to happen since mapnik is 
 rendering data after a few hours instead of the old weekly renderer run.
 in all cases, parts of the multipolygons have been touched, but not all.
 
 maybe someone can second this thesis. if so, we should file a bug.

You are correct, the hourly diff imports can not handle the multipolygon
relation properly. These will fix themselves after the weekly import
each Wednesday. Any edit to the nodes or ways in the relation will
probably break it again.

Overall the benefits of the hourly import far outweigh the slight
problems with the multipolygon handling.

Feel free to raise a bug if you want. I'm sure someone will get around
to fixing it eventually but I have other things to look at right now.

Jon



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk