[Geoserver-devel] [jira] (GEOS-6299) 1bit Raster Transparency - problem again

Dariusz Michura created BugGEOS-6299
1bit Raster Transparency - problem again

Issue Type:

BugBug

Affects Versions:

2.4.2

Assignee:

Andrea Aime

Components:

Image mosaic JDBC

Created:

20/Jan/14 2:03 AM

Description:

In the thread <http://sourceforge.net/p/geoserver/mailman/message/21561325/> there is a problem described related to mosaic and 1bit GeoTIFF rasters. It concerned GeoServer 1.7.2 and according to information there is it had been corrected already.

I encountered exactly the same problem (java.lang.RuntimeException: - Unable to render RenderedOp for this operation when setting up InputTransparentColor) with GeoServer 2.4.x.

My original rasters are like the one below:
Driver: GTiff/GeoTIFF
Files: 341.234.164.TIF
341.234.164.tfw
Size is 9554, 6132
Coordinate System is `’
Origin = (5501192.309523180127144,5919720.349142497405410)
Pixel Size = (0.085176814373143,-0.085176814373173)
Image Structure Metadata:
COMPRESSION=CCITTFAX4
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 5501192.310, 5919720.349)
Lower Left ( 5501192.310, 5919198.045)
Upper Right ( 5502006.089, 5919720.349)
Lower Right ( 5502006.089, 5919198.045)
Center ( 5501599.199, 5919459.197)
Band 1 Block=9554x6 Type=Byte, ColorInterp=Palette
Computed Min/Max=0.000,1.000
Image Structure Metadata:
NBITS=1
Color Table (RGB with 2 entries)
0: 0,0,0,255
1: 255,255,255,255

I updated them with SRS using gdal_edit.py and used as granules for ImageMosaic plugin:
Driver: GTiff/GeoTIFF
Files: 341.234.164.TIF
341.234.164.tfw
Size is 9554, 6132
Coordinate System is:
PROJCS[“ETRS89 / Poland CS2000 zone 5”,
GEOGCS[“ETRS89”,
DATUM[“European_Terrestrial_Reference_System_1989”,
SPHEROID[“GRS 1980”,6378137,298.2572221010002,
AUTHORITY[“EPSG”,“7019”]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[“EPSG”,“6258”]],
PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433],
AUTHORITY[“EPSG”,“4258”]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“latitude_of_origin”,0],
PARAMETER[“central_meridian”,15],
PARAMETER[“scale_factor”,0.999923],
PARAMETER[“false_easting”,5500000],
PARAMETER[“false_northing”,0],
UNIT[“metre”,1,
AUTHORITY[“EPSG”,“9001”]],
AUTHORITY[“EPSG”,“2176”]]
Origin = (5501192.309523180127144,5919720.349142497405410)
Pixel Size = (0.085176814373143,-0.085176814373173)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=CCITTFAX4
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 5501192.310, 5919720.349) ( 15d 1’ 4.55"E, 53d24’33.63"N)
Lower Left ( 5501192.310, 5919198.045) ( 15d 1’ 4.54"E, 53d24’16.73"N)
Upper Right ( 5502006.089, 5919720.349) ( 15d 1’48.61"E, 53d24’33.62"N)
Lower Right ( 5502006.089, 5919198.045) ( 15d 1’48.60"E, 53d24’16.72"N)
Center ( 5501599.199, 5919459.197) ( 15d 1’26.57"E, 53d24’25.18"N)
Band 1 Block=9554x6 Type=Byte, ColorInterp=Palette
Computed Min/Max=0.000,1.000
Image Structure Metadata:
NBITS=1
Color Table (RGB with 2 entries)
0: 0,0,0,255
1: 255,255,255,255

Environment:

CentOS 6.4

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Dariusz Michura

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)