Error drawing tiff image

Frank Warmerdam warmerdam at POBOX.COM
Mon Oct 24 14:07:10 EDT 2005


On 10/24/05, Frank Broniewski <Frank.Broniewski at mnha.etat.lu> wrote:
> Hello List
>
> I have a problem with drawing a tif image. First the error message:
>
>         Error in msRASTERLayerOpen(): Attempt to open a RASTER layer,
> but this is only supported after a raster query.
>         Error in msRASTERLayerOpen(): Attempt to open a RASTER layer,
> but this is only supported after a raster query.
...
> phpinfo() gives the following information about mapserver
>         MapServer Version:
>         MapServer version 4.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT         SUPPORTS=WCS_SERVER
> INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> DEBUG=MSDEBUG
>         PHP MapScript Version:
>         ($Revision: 1.224 $ $Date: 2005/01/28 15:28:26 $)
>
> So what is going wrong there?

Frank,

A few folks have run into this in the past, but I don't recall
the details.  I think it was fixed for the 4.6 release.  I see
that you are running MapServer 4.5 which was the "development"
version of mapserver between 4.4 and 4.6.  I think if you upgrade
to 4.6 (or better yet our current development 4.7!) the problem
should go away.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list