<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Andreas,<br><br>First, try to run SELECT DISTINCT(type) FROM "av_mopublic"."land_cover_lcsurface" to ensure that all the <br>types that you're classifying exists. I know this sounds silly but we must check if the type column contains <br>all the types you're looking for.<br><br>When some features are missing, it means that the expression type doesn't exists and then, it's not <br>rendered.<br><br>I've noticed that expressions are case sensitive, and sometimes, it doesn't works with special characters, <br>maybe this could be happening too.<br><br>Cheers from México<br><br><span style="font-weight: bold; color: rgb(0, 96, 191);">IC Carlos Ruiz</span><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br style="font-weight: bold; color: rgb(0, 96, 191);"><div style="font-family:
 arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Andreas Neumann &lt;a.neumann@carto.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, July 12, 2010 7:58:16 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] UMN + Postsgis, features skipped<br></font><br>
Hi all,<br><br>I have troubles with the UMN/Postgis combo. When I just draw the layer<br>with a single class, it draws fine, but as soon as I use classification<br>with an EXPRESSION (simple string comparison), a lot of features are<br>skipped.<br><br>Attached I am sending a mapfile with just one class (buildings from a<br>landcover table). Most buildings are skipped, only a few are drawn.<br><br>I have no idea why.<br><br>The same table draws fine without problems in QGIS.<br><br>Any idea why the classification is skipping many features?<br><br>Thanks a lot,<br>Andreas<br><br>-- <br>Andreas Neumann<br><span><a target="_blank" href="http://www.carto.net/neumann/">http://www.carto.net/neumann/</a></span><br><span><a target="_blank" href="http://www.svgopen.org/">http://www.svgopen.org/</a></span></div></div>
</div><br>

      </body></html>