mapserver not compiled with postgis support

Doug B ummmmm22 at GMAIL.COM
Tue Feb 20 10:36:24 EST 2007


[Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Warning:
[MapServer Error]: msDrawMap(): Failed to draw layer named
'Offender_PostGIS'.
[Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32]  in
/var/www/html/offender/map.php on line 87
[Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Warning:
[MapServer Error]: msPOSTGISLayerOpen(): msPOSTGISLayerOpen called but
unimplemented!  (mapserver not compiled with postgis support)
[Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32]  in
/var/www/html/offender/map.php on line 87
[Tue Feb 20 09:29:25 2007] [error] [client 32.86.231.32] PHP Fatal
error:  Object expected as argument. in /var/www/html/offender/map.php
on line 106

I did configure with --with-postgis=<path to pg_config> and mapserv -v reports:

MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
INPUT=SHAPEFILE

Would I get a different error if postgis support was actually included
but the layer or the postgis configuration wasn't correct?

Thanks again for the help.
Doug



More information about the mapserver-users mailing list