Hello Jeff,<br><br>Yes, I use gdalinfo and gdal_translate and I have not problems.<br><br><br><br><br><br><div class="gmail_quote">2010/11/30 Jeff McKenna <span dir="ltr">&lt;<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
<br>
Can GDAL read your sombras.tif file?  (what does &#39;gdalinfo sombras.tif&#39; return?)<br>
<br>
-jeff<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
<br>
On 10-11-30 9:03 AM, Fco. Javier García Ricca wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
*Hello,<div><div></div><div class="h5"><br>
<br>
I&#39;ll tried to run my application with apache+php+mapserver+pmapper in<br>
RHEL. I&#39;m getting the next errors when I run my application.*<br>
<br>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:<br>
[MapServer Error]: msDrawMap(): Failed to draw layer named &#39;sombras&#39;.\n<br>
in<br>
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php<br>
on line 326, referer:<br>
<a href="http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis" target="_blank">http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis</a><br>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:<br>
[MapServer Error]: msDrawRaster(): Unrecognized or unsupported image<br>
format\n in<br>
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php<br>
on line 326, referer:<br>
<a href="http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis" target="_blank">http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis</a><br>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:<br>
[MapServer Error]: drawEPP():<br>
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is<br>
not an EPPL file.\n in<br>
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php<br>
on line 326, referer:<br>
<a href="http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis" target="_blank">http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis</a><br>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Fatal<br>
error:  Call to a member function saveImage() on a non-object in<br>
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/common.php<br>
on line 257, referer:<br>
<a href="http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis" target="_blank">http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis</a><br>
<br>
*I check this:*<br>
<br>
*./mapserv -v<br>
MapServer version 5.6.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV<br>
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER<br>
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=OGR<br>
INPUT=GDAL INPUT=SHAPEFILE<br>
<br>
**gdalinfo --formats<br>
Supported Formats:<br>
   VRT (rw+): Virtual Raster<br>
   GTiff (rw+): GeoTIFF<br>
   .<br>
   .<br>
   .<br>
<br>
*Everything seems ok and then I tried with:<br>
<br>
*./shp2img -m<br>
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/config/necropolis/necropolis.map<br>
-o /var/www/html/cultura/museos/CAC/sicac/ms_tmp/prueba.jpg<br>
msDrawMap(): Image handling error. Failed to draw layer named &#39;sombras&#39;.<br>
&lt;br&gt;<br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image<br>
format &lt;br&gt;<br>
drawEPP(): Image handling error.<br>
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is<br>
not an EPPL file. &lt;br&gt;<br>
*<br>
*I don&#39;t know what else can I try. Any idea to solve this problem.<br>
<br>
Thanks in advance<br>
<br>
</div></div></blockquote>
<br>
<br><div><div></div><div class="h5">
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>FJRicca<br>