Hi:
I tried to publish a geotiff using Geoserver 2.9.0, however once get the
result by wms, I found the edge of the image is white rather than
transparent.
This is the original geotiff info: http://imgur.com/a/RH5vR
Once preview that in geoserver by openlayers, the served image looked like
this: http://imgur.com/a/TGdLP Note the white color in the image, that
should be transparent.
After googled I found a solution:http://gis.stackexchange.com/questions/
41472/setting-transparency-in-an-sld-file-for-a-4-channel-geotiff
Then I tried the following steps:
1 gdal_translate -a_nodata 0 t1.tif t2.tif
And I got the new geotiff info: http://imgur.com/a/94C4z
2 Set the to '000000' when publish the tiff: http://imgur.com/a/z4Bjy
However then I preview the new created tiff, I got the error for wms
request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>... <ServiceException>
Error rendering coverage on the fast path
java.lang.IllegalStateException: Unsupported data type.
Unsupported data type.
</ServiceException></ServiceExceptionReport>
What's going on? Any way to fix that?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users