I have just copied the content of php error log at the end of the working day so I missed the needed explanations, sorry. Line 311 is:
$mapImg = $this->map->draw(); Line 332 is just the logical error that follows: $this->mapURL = $mapImg->saveWebImage(); When using a normal raster file for the layer source (the one that is part of this "tileindex2 image catalog), it is shown correctly. It must be some stupid thing I do, at least I hope so :-) dejan > -----Original Message----- > From: Armin Burger [mailto:armin.burger at gmx.net] > Sent: Thursday, June 01, 2006 4:28 PM > To: Gambin Dejan; pmapper-users at faunalia.it > Subject: Re: [Pmapper-users] Error in displaying raster in > tileindex shape > > > 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 > >