Hi, I developed my own sql processing to render courtyards, strange multipolygons, etc. Have a look here: http://sourceforge.net/projects/osm2postgresql/ In my view computer code (e.g. sql script) is the only precise tool to define what is "a valid polygon with a hole"
Hope this helps, Mayeul ----- Mail Original ----- De: "Bernhard Zwischenbrugger" <[email protected]> À: "M∡rtin Koppenhoefer" <[email protected]> Cc: "[email protected] >> dev" <[email protected]> Envoyé: Jeudi 19 Mai 2011 00h09:28 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [OSM-dev] courtyards On 2011-05-09 11:31, M∡rtin Koppenhoefer wrote: > 2011/5/9 Bernhard Zwischenbrugger<[email protected]>: >>> Any links to examples failing to render for you? >> here for example: >> http://www.openstreetmap.org/?lat=48.20651&lon=16.35885&zoom=16&layers=M >> <http://www.openstreetmap.org/?lat=48.20651&lon=16.35885&zoom=16&layers=M> >> All the big buildings should have "holes". > > IMHO there is "wrong" mapping, as the building-tag is set to the outer > way instead to the relation. This should work nonetheless (because of > tolerant rendering, at least it worked for some time in the past), but > is less "clean"/"unambigous". Try putting the building tag into the > relation and remove it from the outer way. > > The example I looked at was this: > http://www.openstreetmap.org/browse/relation/11132 > Sorry, I don't understand this. This building ist rendered correctly: http://www.openstreetmap.org/browse/relation/58076 and this http://www.openstreetmap.org/browse/relation/11151 is not rendered with courtyard. Where is the difference. Bernhard _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

