[mapserver-users] Trouble connecting to PostGIS

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Feb 13 13:50:35 PST 2012

I'd use Brent's advice of always specifying a projection when loading 
the data into PG.  Then make sure your DATA statement uses that SRID:

   DATA "the_geom from test using SRID=4326 using unique id"


   DATA "the_geom from test using SRID=-1 using unique id"

I try to document my usual steps at 


Jeff McKenna
MapServer Consulting and Training Services

More information about the mapserver-users mailing list