[mapserver-users] problems generating image
Fco. Javier García Ricca
fjricca at gmail.com
Tue Nov 30 07:35:32 PST 2010
*I forgot it:
gdalinfo /var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif
Driver: GTiff/GeoTIFF
Files: /var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif
Size is 5970, 2639
Coordinate System is `'
Origin = (217379.206235651305178,4164649.866302459035069)
Pixel Size = (15.000000000000000,-15.000000000000000)
Metadata:
EXIF_Orientation=1
EXIF_XResolution=(72)
EXIF_YResolution=(72)
EXIF_ResolutionUnit=2
EXIF_Software=Adobe Photoshop CS4 Windows
EXIF_DateTime=2010:03:16 14:34:05
EXIF_ColorSpace=1
EXIF_PixelXDimension=5970
EXIF_PixelYDimension=2639
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 217379.206, 4164649.866)
Lower Left ( 217379.206, 4125064.866)
Upper Right ( 306929.206, 4164649.866)
Lower Right ( 306929.206, 4125064.866)
Center ( 262154.206, 4144857.366)
Band 1 Block=5970x1 Type=Byte, ColorInterp=Red
Band 2 Block=5970x1 Type=Byte, ColorInterp=Green
Band 3 Block=5970x1 Type=Byte, ColorInterp=Blue*
2010/11/30 Fco. Javier García Ricca <fjricca at gmail.com>
> Hello Jeff,
>
> Yes, I use gdalinfo and gdal_translate and I have not problems.
>
>
>
>
>
> 2010/11/30 Jeff McKenna <jmckenna at gatewaygeomatics.com>
>
> Hello,
>>
>> Can GDAL read your sombras.tif file? (what does 'gdalinfo sombras.tif'
>> return?)
>>
>> -jeff
>>
>>
>> --
>> Jeff McKenna
>> MapServer Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>>
>>
>>
>> On 10-11-30 9:03 AM, Fco. Javier García Ricca wrote:
>>
>>> *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
>>> [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
>>> [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
>>> [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
>>>
>>> *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
>>>
>>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
>
> --
> FJRicca
>
--
FJRicca
http://picasaweb.google.es/fjricca
http://perdonaqueseasoez.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101130/4bb0b355/attachment.htm>
More information about the MapServer-users
mailing list