[postgis-users] msDrawMap(): Image handling error. Failed to draw layer named 'TEST'

Stephen Woodbridge woodbri at swoodbridge.com
Wed Jul 13 11:23:42 PDT 2005


info at poggensee.net wrote:
> what does this error message mean ? the mapfile seems to be correct.
> 
> msDrawMap(): Image handling error. Failed to draw layer named 'TEST'.
>  prepare_database(): Query error. Error executing POSTGIS DECLARE
> (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR
> SELECT asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::text
> from test WHERE the_geom && setSRID('BOX3D(4494500 5258000,4680500
> 5444000)'::BOX3D, find_srid('','test','the_geom') )'
> 
> Postgresql reports the error as 'ERROR: could not load library
> "C:/ms4w/apps/pgsql75win/lib/libpostgis.dll": error ' 

What does the error say?
Do you have "C:/ms4w/apps/pgsql75win/lib/libpostgis.dll" on your system?
Are permission correct, such that the web server can load and execute 
the file?

-Steve W.



More information about the postgis-users mailing list