[mapserver-users] problems generating image

Fco. Javier García Ricca fjricca at gmail.com
Tue Nov 30 08:03:49 EST 2010


*Hello,

I'll tried to run my application with apache+php+mapserver+pmapper in RHEL.
I'm getting the next errors when I run my application.*

[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: msDrawMap(): Failed to draw layer named 'sombras'.\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: msDrawRaster(): Unrecognized or unsupported image
format\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: drawEPP():
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is not
an EPPL file.\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Fatal error:
Call to a member function saveImage() on a non-object in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/common.php on
line 257, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>

*I check this:*

*./mapserv -v
MapServer version 5.6.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE

**gdalinfo --formats
Supported Formats:
  VRT (rw+): Virtual Raster
  GTiff (rw+): GeoTIFF
  .
  .
  .

*Everything seems ok and then I tried with:

*./shp2img -m
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/config/necropolis/necropolis.map
-o /var/www/html/cultura/museos/CAC/sicac/ms_tmp/prueba.jpg
msDrawMap(): Image handling error. Failed to draw layer named 'sombras'.
<br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image
format <br>
drawEPP(): Image handling error.
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is not
an EPPL file. <br>
*
*I don't know what else can I try. Any idea to solve this problem.

Thanks in advance
**
*
-- 
FJRicca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101130/12eb5d44/attachment.html


More information about the mapserver-users mailing list