[mapserver-users] Mapserver / PostGIS Connection troubles

Lowther, David W dlowther at ou.edu
Wed Sep 18 10:05:09 EDT 2002


I am trying to set up postgres/Postgis and set up mapserver and enable web
mapping here...
We have Mapserver with postGIS support on a IIS/NT machine webserver, and, 
Postgresql and postgis configured on a windows 2000 workstation. When trying
to get mapserver work with this setup as per instructions on this page,
http://postgis.refractions.net/docs/x444.html...
We are getting a, "msPOSTGISLayerOpen(): Query error. Error parsing POSTGIS
connection information."
Dont find answers for this behavior..Has anyone come across this problem
before? and can help?

The Layer is defined in the mapfile as follows:


LAYER
    CONNECTIONTYPE postgis
    NAME "cnty_poly"
    CONNECTION "user=****** password=****** dbname=DW hostname=**IPADD***
port=5432"
    DATA "the_geom from county"
    STATUS DEFAULT
    TYPE POLYGON
     CLASS
	    OUTLINECOLOR 128 128 128
	    COLOR 255 255 255
	    SIZE 2
    END
END



David Lowther
Software Engineer
GEO Information Systems
dlowther at ou.edu
(405) 325-3131
http://www.geo.ou.edu






More information about the mapserver-users mailing list