<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Forwarded Message ----<BR>From: Win Myint Aung &lt;wma108@yahoo.com&gt;<BR>To: mapserver-dev@lists.umn.edu<BR>Sent: Thursday, February 22, 2007 11:41:29 AM<BR>Subject: Filter some rows from table in PostGre<BR><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV>Dear Members,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am a newbie for development of MapServer application. I have a problem about to retrieve geo spatial data from PostGre to show on map. I want to show some rows from a table.</DIV>
<DIV>&nbsp;</DIV>
<DIV>for example, there are 100 rows with geospatial data in a table. I only want to show 10 rows on map without removing other rows. please suggest me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please see the followings. I </DIV>
<DIV>&nbsp;</DIV>
<DIV>LAYER #Confidence<BR>&nbsp; CONNECTIONTYPE postgis<BR>&nbsp; NAME "firepoint"<BR>&nbsp; CONNECTION "user=postgres password=1234 dbname=hotspot_db host=localhost port=5432"<BR>&nbsp; DATA "the_geom from hotspot_tmp "<BR>&nbsp; TOLERANCE 3<BR>&nbsp; STATUS ON<BR>&nbsp; TYPE POINT<BR>&nbsp; CLASSITEM "f_posibl"<BR>&nbsp; TEMPLATE '/ms4w/projects/hotspot/htdocs/templates/HFVS.html'<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "Low"<BR>&nbsp;&nbsp;&nbsp; EXPRESSION ([f_posibl] &lt; 40)<BR>&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 255 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL "square"<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; SIZE 5<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "Moderate"<BR>&nbsp;&nbsp;&nbsp; EXPRESSION (([f_posibl] &gt; 40) and ([f_posibl] &lt; 70))<BR>&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 155
 55&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL "square"<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; SIZE 5<BR>&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp; END<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "High"<BR>&nbsp;&nbsp;&nbsp; EXPRESSION ([f_posibl] &gt; 70)<BR>&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL "square"<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; SIZE 5<BR>&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp; END<BR>END</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Win Myint Aung</DIV></DIV><BR>
<HR SIZE=1>
Now that's room service! <A href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--" target=_blank rel=nofollow>Choose from over 150,000 hotels <BR>in 45,000 destinations on Yahoo! Travel</A> to find your fit.</DIV><BR></DIV></div><br>

<hr size=1>Everyone is raving about <a href="http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta">the all-new Yahoo! Mail beta.</a></body></html>