[postgis-users] Re: postgis and mapserver problem

Jeremy Palmer jpalmer at paradise.net.nz
Thu May 20 05:02:57 PDT 2004


Thanks for the help Jan. I found out what the problem was. It seems in the
DATA statement of the map file the "FROM" keyword needs to be in lower case.
i.e. "shape from table" not "shape FROM table"

A bug has been raised for this on the map server site.

Regards Jeremy

Jan Hartmann wrote:
>
>Jeremy Palmer wrote:
>
> > Thanks for the reply. I tried setting STATUS DEFAULT and using
> > "&layer='node'" however I still get no image back? My apache log says:
> > "Premature end of script headers: mapserv" when I make the request.
>
>Just a hunch: has the table a geometry type of POINT?  MapServer crashes
>when the layer TYPE is not the same as in the underlying data.
>
>Jan





More information about the postgis-users mailing list