[Geoserver-users] Unsupported Image Type

Hi guys,

im trying to getFeatureInfo from raster file. I made store connection
through Geotiff and World Image, but without success. Im still getting this
error

Internal error occurred javax.imageio.IIOException: Unsupported Image Type

Im using Geoserver 2.3.1.
Any advices ?

Best regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Unsupported-Image-Type-tp5051834.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

It may not be a valid GeoTiff. Try using gdalinfo - what does that say?
Jonathan

On 7 May 2013 14:16, gabriel <gpetricek@anonymised.com> wrote:

Hi guys,

im trying to getFeatureInfo from raster file. I made store connection
through Geotiff and World Image, but without success. Im still getting this
error

Internal error occurred javax.imageio.IIOException: Unsupported Image Type

Im using Geoserver 2.3.1.
Any advices ?

Best regards


View this message in context: http://osgeo-org.1560.x6.nabble.com/Unsupported-Image-Type-tp5051834.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Ive got this :

Driver: GTiff/GeoTIFF
Files: Trnava_0-0.tif
       Trnava_0-0.tfw
Size is 2500, 2000
Coordinate System is `'
Origin = (-527500.000000000000000,-1240000.000000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_XRESOLUTION=72
  TIFFTAG_YRESOLUTION=72
Image Structure Metadata:
  COMPRESSION=YCbCr JPEG
  INTERLEAVE=PIXEL
  SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left ( -527500.000,-1240000.000)
Lower Left ( -527500.000,-1242000.000)
Upper Right ( -525000.000,-1240000.000)
Lower Right ( -525000.000,-1242000.000)
Center ( -526250.000,-1241000.000)
Band 1 Block=128x128 Type=Byte, ColorInterp=Red
  Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15
Band 2 Block=128x128 Type=Byte, ColorInterp=Green
  Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue
  Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Unsupported-Image-Type-tp5051834p5052312.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I’m no expert with reading GDALInfo, but the obvious thing that stands out is you have no Coordinate system declared. Not sure if that’s causing your problem. Might want to try setting it?

On 9 May 2013 12:26, gabriel <gpetricek@anonymised.com> wrote:

Ive got this :

Driver: GTiff/GeoTIFF
Files: Trnava_0-0.tif
Trnava_0-0.tfw
Size is 2500, 2000
Coordinate System is `’
Origin = (-527500.000000000000000,-1240000.000000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
TIFFTAG_XRESOLUTION=72
TIFFTAG_YRESOLUTION=72
Image Structure Metadata:
COMPRESSION=YCbCr JPEG
INTERLEAVE=PIXEL
SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left ( -527500.000,-1240000.000)
Lower Left ( -527500.000,-1242000.000)
Upper Right ( -525000.000,-1240000.000)
Lower Right ( -525000.000,-1242000.000)
Center ( -526250.000,-1241000.000)
Band 1 Block=128x128 Type=Byte, ColorInterp=Red
Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15
Band 2 Block=128x128 Type=Byte, ColorInterp=Green
Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue
Overviews: 1250x1000, 625x500, 312x250, 156x125, 78x62, 39x31, 19x15


View this message in context: http://osgeo-org.1560.x6.nabble.com/Unsupported-Image-Type-tp5051834p5052312.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

On Thu, May 9, 2013 at 1:43 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

I'm no expert with reading GDALInfo, but the obvious thing that stands out
is you have no Coordinate system declared. Not sure if that's causing your
problem. Might want to try setting it?

It is indeed the cause, a Tiff without a CRS is not a GeoTiff

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Thank you ,

I changed image type to geotif and now is getfeatureinfo request working.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Unsupported-Image-Type-tp5051834p5053049.html
Sent from the GeoServer - User mailing list archive at Nabble.com.