Dear group,

I have generate some 'half-precision' floating point GeoTiffs that I want to server in GeoServer (v2.15.2). I also apply an SLD color style.

However, when requesting the GeoTiff layer wthrough WMS I get wrong colors (tiles take the color of the maximum value in the color range). If a create the files as 32 bit, all goes fine.

Can GeoServer handle 16 bit float GeoTiffs?

Here is a gdalinfo example:

|Driver:GTiff/GeoTIFFFiles:5p_tropomi_so2vcd_epsg3857_20200304_res0.01.tiffSizeis36084,36124CoordinateSystemis:PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"],AUTHORITY["EPSG","3857"]]Origin=(-20026376.390000000596046,20048966.100000001490116)PixelSize=(1110.000000000000000,-1110.000000000000000)Metadata:AREA_OR_POINT=AreaImageStructureMetadata:COMPRESSION=DEFLATE INTERLEAVE=BAND CornerCoordinates:UpperLeft(-20026376.390,20048966.100)(179d54' 0.00"W, 85d 3'36.00"N) Lower Left (-20026376.390,-20048673.900) (179d54' 0.00"W,85d3'35.19"S) Upper Right (20026863.610,20048966.100) (179d54'15.76"E, 85d 3'36.00"N)LowerRight(20026863.610,-20048673.900)(179d54'15.76"E, 85d 3'35.19"S) Center ( 243.610, 146.100) ( 0d 0' 7.88"E,0d0' 4.72"N) Band 1 Block=256x256 Type=Float32, ColorInterp=Gray NoData Value=-999 Overviews: 18042x18062, 9021x9031, 4511x4516, 2256x2258, 1128x1129, 564x565, 282x283 Image Structure Metadata: NBITS=16|


Thank you.





_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to