[mapserver-users] Accessing data from PostgreSql

Paul Ramsey pramsey at refractions.net
Fri May 24 11:33:14 EDT 2002


Have you read the documentation? There is no such connectiontype as
postgresql, and I have never seen a layer definition like the one you
have there. Just wishing it worked that way will not make it so :)

NVohra at eq-technologic.com wrote:
> 
> Hello,
>      I am new to MapServer and using it for the first time. I am able to
> install the mapserver on NT with Apache and succeded in running the demo.
>      I am looking forward to use points data [latitude, longitude] stored
> in PostgreSql and display on a layer.
> 
>      How to go for it?
>      I found some clues on the list, but when i tried to use it i got
> symbol not found error.
> 
>     LAYER
>       NAME "dbtest"
>       CONNECTIONTYPE postgresql
>       CONNECTION "dbhost,pointsdb,postgrs,postgrs"
>       STATUS ON
>       TYPE POINT
>       DATA "pointstable"  //table name
>       CLASS
>         COLOR 255 22 22
>       END
>     END
> 
> Nischal Vohra
> - - - - - - - - - - - -
> That one last shot's a Permanent Vacation
> And a how high can you fly with broken wings
> Life's a journey - not a destination
> And I just can't tell just what tomorrow brings -
> Aerosmith
> - - - - - - - - - - - -

-- 
      __
     /
     | Paul Ramsey
     | Refractions Research
     | Email: pramsey at refractions.net
     | Phone: (250) 885-0632
     \_



More information about the mapserver-users mailing list