For me both gdalinfo reports look the same except the coordinates. Pity.
That tiff works with the WMS request does not guarantee that it returns with the GetMap that is sent by GWC. Because of that it would be good to capture just the failing request with all the parameters and especially BBOX. Perhaps WMS or JAI does not like to draw some adjacent granules together. That was why I asked to send the gdalinfo reports but they did not reveal anything.
I do not understand much about the error message but perhaps the real error happens somewhere here
Caused by: java.lang.RuntimeException: - Unable to render RenderedOp for this operation.
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:827)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179)
at org.geotools.image.ImageWorker.affine(ImageWorker.java:3113)
You can do a desperate trial by re-writing the failing image with GDAL
gdal_translate -of GTIFF -co tiled=yes -co compress=LZW failing.tif new_copy.tif and change the new image into the mosaic directory.
-Jukka Rahkonen-
________________________________________
Tom Chadwin wrote:
GDALinfo output below. As I say, though, the TIFF which will not cache will
be returned when requested by WMS.
Bad Tiff:
Driver: GTiff/GeoTIFF
Files: g:\data_dir\data\os\50k\sd86.tif
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.3249646000044,
AUTHORITY["EPSG","7001"]],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",400000],
PARAMETER["false_northing",-100000],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (380000.000000000000000,480000.000000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Metadata:
TIFFTAG_IMAGEDESCRIPTION=1:50000 TILE SD86
TIFFTAG_DATETIME=2011:01:18 16:23:57
TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2009
TIFFTAG_XRESOLUTION=254
TIFFTAG_YRESOLUTION=254
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 380000.000, 480000.000) ( 2d18'24.22"W, 54d12'54.63"N)
Lower Left ( 380000.000, 460000.000) ( 2d18'19.45"W, 54d 2'7.47"N)
Upper Right ( 400000.000, 480000.000) ( 2d 0'0.00"W, 54d12'56.04"N)
Lower Right ( 400000.000, 460000.000) ( 2d 0'0.00"W, 54d 2'8.86"N)
Center ( 390000.000, 470000.000) ( 2d 9'10.92"W, 54d 7'32.10"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Palette
...and then the colour table.
Good TIFF:
Driver: GTiff/GeoTIFF
Files: g:\data_dir\data\os\50k\sd66.tif
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.3249646000044,
AUTHORITY["EPSG","7001"]],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",400000],
PARAMETER["false_northing",-100000],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (360000.000000000000000,480000.000000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Metadata:
TIFFTAG_IMAGEDESCRIPTION=1:50000 TILE SD66
TIFFTAG_DATETIME=2011:01:18 16:23:41
TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2009
TIFFTAG_XRESOLUTION=254
TIFFTAG_YRESOLUTION=254
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 360000.000, 480000.000) ( 2d36'48.38"W, 54d12'50.42"N)
Lower Left ( 360000.000, 460000.000) ( 2d36'38.84"W, 54d 2'3.28"N)
Upper Right ( 380000.000, 480000.000) ( 2d18'24.22"W, 54d12'54.63"N)
Lower Right ( 380000.000, 460000.000) ( 2d18'19.45"W, 54d 2'7.47"N)
Center ( 370000.000, 470000.000) ( 2d27'32.72"W, 54d 7'29.30"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Palette
...and then the colour table.
Thanks for the help - I really appreciate it.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-rendering-coverage-on-the-fast-path-tp5138864p5139059.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users