Error in displaying raster in tileindex shape

Frank Warmerdam warmerdam at POBOX.COM
Thu Jun 1 12:54:58 PDT 2006


Gambin Dejan wrote:
> Hi,
> 
> I have created tileindex shapefile with my rasters using gdaltindex.
> When trying to show the raster layer I get the following errors in my
> php error log:
> 
> [01-Jun-2006 16:11:12] PHP Warning:  [MapServer Error]: msDrawMap():
> Failed to draw layer named 'katastar_index'.
>  in /var/www/pmapper1/incphp/map.php on line 311
> [01-Jun-2006 16:11:12] PHP Warning:  [MapServer Error]:
> msRASTERLayerOpen(): Attempt to open a RASTER layer, but this is only
> supported after a raster query.

Dejan,

What version of MapServer are you using?  I think we used to run into
this in some circumstances with MapServer 4.6 but it should be fixed
in 4.8.  I can't remember exactly what causes it to happen though.

If you are using 4.8, please provide me a complete but minimal test case
to reproduce the problem via bugzilla.

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    | President OSGF, http://osgeo.org



More information about the MapServer-users mailing list