<DIV>Thank You for your response.</DIV>
<DIV>i made the changes that you suggested but i still have no luck in displaying the points on the map.  I'm not sure if a connection is being established to the database or not...how can i know that??  and instead of local host i also tried to insert the ip address of my server but it still didnt work nor did i get any errors.</DIV>
<DIV>any help would be appreciated greately</DIV>
<DIV>thank you</DIV>
<DIV>wokar</DIV>
<DIV> </DIV>
<DIV> LAYER<BR> CONNECTIONTYPE postgis<BR> NAME "Spots" # my table name<BR> CONNECTION "user=test password=test dbname=MyDataBase host=localhost"<BR>DATA "the_geom FROM Spots" # the_geom column from table Spots<BR> STATUS ON<BR> TYPE POINT <BR> CLASS<BR> COLOR 0 0 0<BR> OUTLINECOLOR 0 0 0 <BR>SIZE 2</DIV>
<DIV> END<BR> END <BR><BR><BR><B><I>strk@refractions.net</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, Mar 14, 2005 at 08:20:55AM -0800, w m wrote:<BR>> Hi,<BR>> I created a Mapserver layer definition in order to establish a connection to my database. I would like to display the data from the database on my map.<BR>> The table spots has just points in the "the_geom" column. All I want to do is to display those points on the map. When I write my layer definition, it gives me no errors but it also doesnt display those points on the map.<BR>> <BR>> Here is my layer definition:<BR>> <BR>> LAYER<BR>> CONNECTIONTYPE postgis<BR>> NAME "Spots" # my table name<BR>> CONNECTION "user=test password=test dbname=MyDataBase host=http://localhost"<BR><BR>host=localhost<BR>also, try adding a SIZE to your class<BR>--strk;<BR><BR>> DATA "the_geom FROM Spots" # the_geom column from table Spots<BR>> STATUS ON<BR>> TYPE POINT <BR>> CLASS<BR>> COLOR 0 0
 0<BR>> OUTLINECOLOR 0 0 0 <BR>> END<BR>> END <BR>> <BR>> Thank You<BR>> Wokar<BR>> <BR>> <BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> Yahoo! Small Business - Try our new resources site! <BR>> _______________________________________________<BR>> postgis-users mailing list<BR>> postgis-users@postgis.refractions.net<BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR><BR>_______________________________________________<BR>postgis-users mailing list<BR>postgis-users@postgis.refractions.net<BR>http://postgis.refractions.net/mailman/listinfo/postgis-users<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com