[postgis-users] postgis and mapserver problem
Jeremy Palmer
jpalmer at paradise.net.nz
Mon May 17 03:59:46 PDT 2004
Hi I'm trying to display Postgis data through Mapserver but all I get back
is a blank image. I have got mapserver demo/samples working with shape
files.
The map file I'm using is:
NAME TEST
SIZE 400 300
# lat long extents
EXTENT 5 -48 24 -35
UNITS METERS
IMAGECOLOR 255 255 255
IMAGETYPE PNG
#NZGD2000 datum
PROJECTION
"init=esri:104108"
END
LAYER
CONNECTIONTYPE postgis
NAME "node"
# Trusted connection to db 'dblh' on host 'lh-deimos'
CONNECTION "user=postgres dbname=dblh host=lh-deimos"
# Select column shape from table node
DATA "shape FROM node"
STATUS ON
TYPE POINT
CLASS
COLOR 0 0 0
END
END
END # Map File
The http request I'm using is:
http://lh-deimos/cgi-bin/mapserv?map=/var/www/htdocs/map/test.map
<http://lh-deimos/cgi-bin/mapserv?map=/var/www/htdocs/map/test.map&mode=map>
&mode=map
I'm using:
Postgresql 7.42
Postgis 0.81
Geos 1.0
Proj 4.47
mapserver 4.02
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040517/a4cbbe6e/attachment.html>
More information about the postgis-users
mailing list