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