Your description is probably missing have of the story. The 'open' request is typically used to get access to features of a layer after queries. It might help to know what 'line 311' (and maybe also 332) is trying to do. Otherwise nobody will be able to help you, also quite likely not on the Mapserver list.
armin > 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. > in /var/www/pmapper1/incphp/map.php on line 311 > [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. > in /var/www/pmapper1/incphp/map.php on line 311 > [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. > in /var/www/pmapper1/incphp/map.php on line 311 > [01-Jun-2006 16:11:12] PHP Warning: [MapServer Error]: msDrawRaster(): > (katastar_index) > in /var/www/pmapper1/incphp/map.php on line 311 > [01-Jun-2006 16:11:12] PHP Fatal error: Call to a member function on a > non-object in /var/www/pmapper1/incphp/map.php on line 332 > > I couldn't find any info on this error. Any help? > > thanks very much > > dejan > > _______________________________________________ > Pmapper-users mailing list > Pmapper-users at faunalia.it > http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer