[postgis-users]CONNECTION to database thru Mapserver

pram at pramcentral.com pram at pramcentral.com
Mon Mar 14 09:48:44 PST 2005


----- Original Message -----
From: "w m" <wokar1 at yahoo.com>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Subject: Re: [postgis-users]CONNECTION to database thru Mapserver
Date: Mon, 14 Mar 2005 09:02:56 -0800 (PST)

> 
> Thank You for your response.
> 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.
> any help would be appreciated greately
> thank you
> wokar
> 
>   LAYER
>   CONNECTIONTYPE postgis
>   NAME "Spots" # my table name
>   CONNECTION "user=test password=test dbname=MyDataBase host=localhost"
> DATA "the_geom FROM Spots" # the_geom column from table Spots
>   STATUS ON
>   TYPE POINT
>   CLASS
>   COLOR 0 0 0
>   OUTLINECOLOR 0 0 0
> SIZE 2
>   END
>   END
> 
Have you tried with STATUS DEFAULT instead of STATUS ON

-Prashanth
--
HTMLX.com
Mapserver, Mapscript, PHP Hosting





More information about the postgis-users mailing list