Re: [mapserver-users] tiff image drawing error

2010-07-16 Thread Rahkonen Jukka
Hi,

Please send what does gdalinfo reports with command

gdalinfo /opt/geoweb/maps/snapout2.tif

-Jukka Rahkonen-


YAMADA,Yasuharu wrote:
 
 Thank you for your information.

 But
 (1) The tiff file seems an ordinary file.
 (2) /var/www/cgi-bin/mapserv.cgi -v reports
 including INPUT=TIFF and INPUT=GDAL.]




Frank Warmerdam wrote:
 YAMADA,Yasuharu wrote:
 When I display a tiff image on the MapServer, the following message appears 
 on the
 screen,
 'msDrawRaster(): Image handling error.
 Unrecognized or Unsupported image format:
 drawEPP(): Image handling error.
 /opt/geoweb/maps/snapout2.tif is not an EPP file.'

 The server environment is CentOS5, MapServer 5.6.1,
 OpenLayers 2.8.

 What's wrong? Does anyone advise me?
 
 Yusuhara,
 
 Two possibilities come to mind:
 
 1) The file is corrupt.   Does it work outside MapServer?
 
 2) MapServer was built without internal-tiff or GDAL support.
 Does mapserv -v report INPUT=GDAL?
 
 Best regards,

-- 
---
Yasuharu Yamada

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] tiff image drawing error

2010-07-16 Thread YAMADA,Yasuharu

Dear Rahkonen Jukka,

Rahkonen Jukka wrote:

Hi,

Please send what does gdalinfo reports with command

gdalinfo /opt/geoweb/maps/snapout2.tif

-Jukka Rahkonen-


The following information was received from the system.

--
[geo...@localhost ~]$ gdalinfo /opt/geoweb/maps/snapout2.tif
Driver: GTiff/GeoTIFF
Files: /opt/geoweb/maps/snapout2.tif
Size is 829, 660
Coordinate System is:
PROJCS[WGS 84 / UTM zone 53N,
GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4326]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,135],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]],
AUTHORITY[EPSG,32653]]
GeoTransform =
  874766.4700993124, 202.4737334795803, 12.20997246250808
  4156085.1049555, 13.00152125831844, -202.530619799912
Metadata:
  TIFFTAG_XRESOLUTION=300
  TIFFTAG_YRESOLUTION=300
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  874766.470, 4156085.105) (139d14'15.11E, 37d28'32.49N)
Lower Left  (  882825.052, 4022414.896) (139d15'39.67E, 36d16'14.86N)
Upper Right ( 1042617.195, 4166863.366) (141d 8'5.84E, 37d29'21.16N)
Lower Right ( 1050675.777, 4033193.157) (141d 7'43.29E, 36d17'11.34N)
Center  (  962721.124, 4094639.131) (140d11'26.37E, 36d53'3.53N)
Band 1 Block=128x128 Type=Byte, ColorInterp=Red
Band 2 Block=128x128 Type=Byte, ColorInterp=Green
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue
[geo...@localhost ~]$
--






---
Yasuharu Yamada

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] tiff image drawing error

2010-07-15 Thread Frank Warmerdam
YAMADA,Yasuharu wrote:
 When I display a tiff image on the MapServer, the following message appears 
 on the
 screen,
 'msDrawRaster(): Image handling error.
 Unrecognized or Unsupported image format:
 drawEPP(): Image handling error.
 /opt/geoweb/maps/snapout2.tif is not an EPP file.'
 
 The server environment is CentOS5, MapServer 5.6.1,
 OpenLayers 2.8.
 
 What's wrong? Does anyone advise me?

Yusuhara,

Two possibilities come to mind:

1) The file is corrupt.   Does it work outside MapServer?

2) MapServer was built without internal-tiff or GDAL support.
Does mapserv -v report INPUT=GDAL?

Best regards,
-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] tiff image drawing error

2010-07-15 Thread YAMADA,Yasuharu

Thank you for your information.

But
(1) The tiff file seems an ordinary file.
(2) /var/www/cgi-bin/mapserv.cgi -v reports
including INPUT=TIFF and INPUT=GDAL.]




Frank Warmerdam wrote:

YAMADA,Yasuharu wrote:

When I display a tiff image on the MapServer, the following message appears on 
the
screen,
'msDrawRaster(): Image handling error.
Unrecognized or Unsupported image format:
drawEPP(): Image handling error.
/opt/geoweb/maps/snapout2.tif is not an EPP file.'

The server environment is CentOS5, MapServer 5.6.1,
OpenLayers 2.8.

What's wrong? Does anyone advise me?


Yusuhara,

Two possibilities come to mind:

1) The file is corrupt.   Does it work outside MapServer?

2) MapServer was built without internal-tiff or GDAL support.
Does mapserv -v report INPUT=GDAL?

Best regards,


--
---
Yasuharu Yamada

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] tiff image drawing error

2010-07-14 Thread YAMADA,Yasuharu
When I display a tiff image on the MapServer, the following message appears on 
the
screen,
'msDrawRaster(): Image handling error.
Unrecognized or Unsupported image format:
drawEPP(): Image handling error.
/opt/geoweb/maps/snapout2.tif is not an EPP file.'

The server environment is CentOS5, MapServer 5.6.1,
OpenLayers 2.8.

What's wrong? Does anyone advise me?




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users