Lars,<br><br>I looked at the data from cloudmade, the lake you pointed to is a multipolygon containing a single non-donut polygon.  The other natural areas that overlap that area float on top, there are no holes - and so some features draw under the lake.<br>
<br>Also tried the shapefiles from <a href="http://download.geofabrik.de/osm/">http://download.geofabrik.de/osm/</a>, but couldn&#39;t get them to convert for me so I could see their construction.<br><br>As osm is displaying the data it might be<font style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);" color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font>a matter of the conversion taking only the first (outer) ring of a
(multi)polygon and ignoring the donuts.  The raw xml from ope<span style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);">nstreetmap
for that area contains several elements with  &#39;Bolmen&#39; wheras the
shapefile from cloudmade only contains one feature with a name of
Bolmen, my guess here would be there are several rings.  But it doesn&#39;t
look like you can extract a large area into xml.  I haven&#39;t looked at </span><font style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);" color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Sollerön so I can&#39;t say what i</span></font><font style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);" color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">s going on there.</span></font><br>
<br>Do try the osm lists and see what they can suggest.<br style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);"><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">Steve</span><br style="background-color: rgb(255, 255, 255);">
<br style="background-color: rgb(255, 255, 255);"><br><br><br><br><div class="gmail_quote">2009/10/22 Lars Westerlind <span dir="ltr">&lt;<a href="mailto:lars.westerlind@enera.se">lars.westerlind@enera.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">















<div link="blue" vlink="blue" lang="EN-US">

<div>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hello,</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">As said, I don’t have RENDERING
problems. I have problems to find shapefiles, where the inner polygons are
present. </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">At</span></font></p><div class="im">

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"><a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData" target="_blank">http://trac.osgeo.org/mapserver/wiki/RenderingOsmData</a>
</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

</div><p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">there are suggestions to use</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"><a href="http://downloads.cloudmade.com/" target="_blank">http://downloads.cloudmade.com/</a></span></font></p>


<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">to download data. I’ve tested Sweden, Germany
and Great Britain
if I remember correctly, and neither of them enclose inner polygons in their
shapefiles. I’ve put a question to cloudmade, but they don’t
respond. </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">For instance,</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">In the lake
Bolmen, Sweden, there is one larger island
with roads, called Bolmsö</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"><a href="http://www.openstreetmap.org/edit?lat=56.9562&amp;lon=13.7664&amp;zoom=13" target="_blank">http://www.openstreetmap.org/edit?lat=56.9562&amp;lon=13.7664&amp;zoom=13</a></span></font></p>


<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">No problem to see it at OpenStreetMap
editor, but the island does not exist in the Sweden_natural, Sweden_water nor Sweden_coastline
shapefiles from cloudemade. If the inner polygon is tagged as “costline”,</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">It seems to appear (example: Sollerön in lake Siljan),
however, this is not how it should be tagged due to OpenStreetMap’s
manuals.</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I’m still very puzzled that nobody sais “just pick the
shapefiles from…”. I can understand that many user produce their
own “cultural” data (streets, places…) but I don’t
understand why one should produce their own data for “natual” data.
I know that Sweden,
Finland etc have more island than many other countries; still, the problem can’t
be so unique. </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">/Lars</span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;" lang="SV">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Från:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;"> Steve Grey
[mailt</span></font><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;" lang="SV"><a href="mailto:o%3Astevegrey78@gmail.com" target="_blank">o:stevegrey78@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Skickat:</span></b> 22 October 2009 11:02<br>
<b><span style="font-weight: bold;">Till:</span></b> Lars
 Westerlind<br>
<b><span style="font-weight: bold;">Kopia:</span></b>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><div><div></div><div class="h5"><br>
<b><span style="font-weight: bold;">Ämne:</span></b> Re: SV: [mapserver-users]
Shapefiles with islands</div></div></span></font><span lang="SV"></span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Lars,<br>
<br>
Can you give us an example, or extract of, a location where the rendering
problems are?  Having trouble with some of the terminology too -
multipolygons are multipart polygons, each polygon of which is a single part
but can be a donut with multiple holes?<br>
<br>
Steve<br>
<br>
<br>
<br>
</span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">2009/10/22 Lars Westerlind
&lt;<a href="mailto:lars.westerlind@enera.se" target="_blank">lars.westerlind@enera.se</a>&gt;</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
Hello Steve,<br>
Thanks for your attention.<br>
I fully agree that there is nothing yet indicating a bug in mapserver. The
shapefiles I&#39;ve inspected just lack the inner polygons, which certainly are
available when editing open street data at their site; Mapserver can&#39;t guess,
can it?<br>
<br>
But if I got it right you answered a question I&#39;ve got but not expressed. You
say Mapserver would handle a multipolygon shapefile correctly, that is, there
would be no need to make special entries in the mapfile for the islands; they
would just be drawn as holes in the lakes automatically? I was thinking I had
to draw lakes first, and then islands in lakes.<br>
<br>
If so I&#39;m even more curious why nobody have put the pieces together. Maybe it&#39;s
about competition? I guess I&#39;ll have to leave the issue until when/if I&#39;ll get
time to do learn how to do my own data extracts, or other sources will be
available.<br>
<br>
/Lars<br>
<br>
<br>
-----Ursprungligt meddelande-----<br>
Från: Steve Lime [mailto:<a href="mailto:Steve.Lime@dnr.state.mn.us" target="_blank">Steve.Lime@dnr.state.mn.us</a>]<br>
Skickat: 21 October 2009 17:11<br>
Till: Lars Westerlind; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
Ämne: Re: SV: [mapserver-users] Shapefiles with islands</span></font></p>

<div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
I&#39;m not using the OpenStreetMap data but am rendering and querying lots<br>
of complex lake<br>
polygons with multiple outer rings (basins) and inner rings (islands).<br>
You need not do anything<br>
special. Sounds like a data production problem more so than a MapServer<br>
bug. Here&#39;s a sample:<br>
<br>
<br>
<a href="http://maps.dnr.state.mn.us/cgi-bin/mapserv56?mode=map&amp;map=/usr/local/mapserver/apps/mr/landview/landview.map&amp;mapext=523963.26347152865+5289818.927668251+570217.999745758+5313957.83079347&amp;mapsize=1006+525&amp;layers=lakes+roads+bdry_munipy3&amp;layer=bdry_statepy2&amp;map.imagetype=aggpng24" target="_blank">http://maps.dnr.state.mn.us/cgi-bin/mapserv56?mode=map&amp;map=/usr/local/mapserver/apps/mr/landview/landview.map&amp;mapext=523963.26347152865+5289818.927668251+570217.999745758+5313957.83079347&amp;mapsize=1006+525&amp;layers=lakes+roads+bdry_munipy3&amp;layer=bdry_statepy2&amp;map.imagetype=aggpng24</a><br>

<br>
All the lakes are multi-polygons...<br>
<br>
For example, if islands are represented as individual features and not<br>
inner rings of lake<br>
polygons then you might be running into draw order issues. MapServer<br>
renders the features<br>
in the order they show up in the shapefile. I suppose it&#39;s possible<br>
then that islands might<br>
be getting drawn before the lake (which has no holes). If that&#39;s the<br>
case (try drawing<br>
outlines only and no fill) then you&#39;d need to sort the data based on<br>
some sort of land<br>
 vs. water attribute so that lakes are drawn first then the islands on<br>
top.<br>
<br>
&gt;&gt;&gt; On 10/21/2009 at 12:33 AM, in message<br>
&lt;2349CC72A0B01C4FAA4FFAE6C735E1DDE293AD@enerasrv01.Enera.local&gt;,
&quot;Lars<br>
Westerlind&quot; &lt;<a href="mailto:lars.westerlind@enera.se" target="_blank">lars.westerlind@enera.se</a>&gt;
wrote:<br>
&gt; So,<br>
&gt; How is the lack of response to be interpreted? Nobody render islands<br>
in<br>
&gt; lakes? Everybody make their own data extracts? Or there are other<br>
(for me)<br>
&gt; hidden sources of information?<br>
&gt;<br>
&gt; /Lars<br>
&gt;<br>
&gt;<br>
&gt; -----Ursprungligt meddelande-----<br>
&gt; Från: <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a><br>
&gt; [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
För Lars Westerlind<br>
&gt; Skickat: 19 October 2009 11:43<br>
&gt; Till: <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt; Ämne: [mapserver-users] Shapefiles with islands<br>
&gt;<br>
&gt; Hi,<br>
&gt; I wonder if anyone renders islands in lakes? I use OpenStreetMap<br>
Data,<br>
&gt; where lakes are tagged as multipolygons, with islands as inner<br>
polygons.<br>
&gt; The source I use, mainly the &quot;Mapserver recommended&quot; cloudmade
make<br>
&gt; simple extracts where those inner polygons are simply skipped,<br>
AFAIU.<br>
&gt; Looks rather funny for islands that are large enough to keep some<br>
&gt; roads...<br>
&gt;<br>
&gt; So, what is recommended? Should I make my own OpenStreetMap extracts<br>
for<br>
&gt; this purpose? Or does anyone have any other good sources?<br>
&gt;<br>
&gt; BTW,<br>
&gt; Do I understand correctly that multipolygon files must be converted<br>
in<br>
&gt; order to be possible to handle by mapserver? I mean, inner polygons<br>
&gt; should have at least an extra column in the DBfile, telling it&#39;s<br>
level,<br>
&gt; or such?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Lars<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></span></font></p>

</div>

</div>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>