[Mapserver-users] PostGIS questions - help with mapserver

David Blasby dblasby at refractions.net
Mon Jul 7 18:50:04 EDT 2003


Zamil Murji wrote:

>    CONNECTIONTYPE postgis
>    CONNECTION "user=idc dbname=idc host=sdb2 port=5432" 
>    DATA "GEOM FROM OILWELLS" 

Try using:

DATA "geom from (select * from oilwells) as foo using unique id using 
SRID=4326"

If that doesnt help, it sound like it might be a problem upstream from 
the postgis connector.  What version of mapserver are you using?

dave







More information about the mapserver-users mailing list