Hello friend maybe i know whats the problem did you check if you newgeo column is registered on the&nbsp;geometry_column&nbsp;table, because mapserver look for the field of geometry there and then make the graphic<BR>
I hope yopu could solveypour problem with this <BR>
Happy Holidays <BR><BR><BR>

<HR id=stopSpelling>
<BR>
Date: Fri, 26 Dec 2008 19:24:42 -0800<BR>From: <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2015902&i=0" target="_top" rel="nofollow">ml-user+2851-242421009@...</a><BR>To: <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2015902&i=1" target="_top" rel="nofollow">paul_pag00@...</a><BR>Subject: Re: Display of polygon in map<BR><BR>here it is..I have tried using gid ,srid etc..n its still not working :( <BR><BR>LAYER <BR>&nbsp; &nbsp; &nbsp; &nbsp; NAME gps_polygon <BR>&nbsp; &nbsp; &nbsp; &nbsp; STATUS on <BR>&nbsp; &nbsp; &nbsp; &nbsp; TYPE polygon <BR>&nbsp; &nbsp; &nbsp; &nbsp; CONNECTIONTYPE POSTGIS <BR>&nbsp; &nbsp; &nbsp; &nbsp; CONNECTION "host=localhost dbname=gps_data &nbsp;user=abc password=xyz port=5432" <BR>&nbsp; &nbsp; &nbsp; &nbsp; DATA "newgeom FROM gps_polygon USING UNIQUE gid" <BR><BR>&nbsp; &nbsp; &nbsp; &nbsp; LABELCACHE on <BR>&nbsp; &nbsp; &nbsp; &nbsp; #LABELITEM 'name' <BR>&nbsp; &nbsp; &nbsp; &nbsp; HEADER &nbsp; &nbsp; &nbsp; 'templates/header.html' <BR>&nbsp; &nbsp; &nbsp; &nbsp; FOOTER &nbsp; &nbsp; &nbsp; 'templates/footer.html' <BR>&nbsp; &nbsp; &nbsp; &nbsp; TOLERANCE &nbsp; &nbsp;3 <BR>&nbsp; &nbsp; &nbsp; &nbsp; STYLE <BR>&nbsp; &nbsp; &nbsp; &nbsp; #COLOR 212 192 100 <BR>&nbsp; &nbsp; &nbsp; &nbsp; # OUTLINECOLOR 200 100 200 <BR>&nbsp; &nbsp; &nbsp; &nbsp; OUTLINECOLOR 0 0 255 <BR>&nbsp; &nbsp; &nbsp; &nbsp; END <BR>&nbsp; &nbsp; &nbsp; &nbsp; LABEL <BR>&nbsp; &nbsp; &nbsp; &nbsp; COLOR 255 0 0 <BR>&nbsp; &nbsp; &nbsp; &nbsp; POSITION ul <BR>&nbsp; &nbsp; &nbsp; &nbsp; SIZE large <BR>&nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; &nbsp; END # label <BR>&nbsp; &nbsp; &nbsp; &nbsp; END # class <BR>END # layer <BR><BR><BR><BR><BR>
<BLOCKQUOTE class="EC_quote EC_light-black EC_dark-border-color">
<DIV class="EC_quote EC_light-border-color">
<DIV class=EC_quote-author style="FONT-WEIGHT: bold">pag66 wrote:</DIV>
<DIV class=EC_quote-message>Hi friend post the connection that you're using maybe it a problem with the select statement, try "the_geom from table using unique gid" if you have and gid field </DIV></DIV></BLOCKQUOTE><BR><BR>
<HR color=#cccccc SIZE=1>

<DIV style="FONT: 11px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666666">This email is a reply to your post @ <A target="_top">http://n2.nabble.com/Display-of-polygon-in-map-tp1971800p1971802.html</A><BR>You can reply by email or by visting the link above.<BR></DIV><BR><br /><hr />Connect to the next generation of MSN Messenger   <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' target='_new' rel="nofollow">Get it now! </a>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Display-of-polygon-in-map-tp1971800p2015902.html">RE: Display of polygon in map</a><br>
Sent from the <a href="http://n2.nabble.com/Mapserver---User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>