0

tile

GeoTiffReader geoTiffReader = new GeoTiffReader(filePath);
StyleBuilder sb = new StyleBuilder();
GridReaderLayer layer = new GridReaderLayer(geoTiffReader, sb.createStyle(sb.createRasterSymbolizer()));

As you can see from the picture, in the upper left corner is black, how can I make it transparent, just like the lower half of the figure?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.