Details
Description
As reported by Nazareno in GEOS-4669, just use sf:dem altering its default style colormap with extended="true" and the resulting PNG won't show in the browsers and gdal_translate won't be able to open it either.
As reported by Nazareno in GEOS-4669, just use sf:dem altering its default style colormap with extended="true" and the resulting PNG won't show in the browsers and gdal_translate won't be able to open it either.
And the reason why it does not work is simple, PNG does not support 16 bits palettes: "PNG supports three main image types: truecolor, grayscale and palette-based (8-bit)."
Source: http://www.libpng.org/pub/png/pngintro.html