[OSM-talk] Best way to draw areas with holes?

Alex Mauer hawke at hawkesnest.net
Thu Dec 20 22:44:49 GMT 2007


Chris Hill wrote:
> 
> I have used the multipolygon relation to draw islands in rivers.  It is specifically intended for drawing holes in areas and worked very well for me.
> 

I've tried to use it for this, but I run into problems when the river
bank is too large for a single way.  (I split the ways at 129 nodes, but
 the exact number doesn't matter)

Here is the result:

http://www.informationfreeway.org/?lat=46.381337247472786&lon=-90.25169857324616&zoom=8&layers=B000F000

It appears to me that it mostly works, but then the renderer randomly
decides to treat one of the islands with an "inner" role as if it had a
role of "outer" instead of following the ring of "outer" ways.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20071220/36a1ec2e/attachment.pgp>


More information about the talk mailing list