Andrea,

> A tiff with elevations normally needs to be colored with an external
> color map.

I see. is it possible to have a 'linear grayscale' color coding, that
is, provide the same level/value of 'greyness' as reflected in the
GeoTIFF image?

the samples I saw in the documentation you sent showed an explicit color
coding approach, where one would assign a specific color for a value
range in the GeoTIFF image / raster.

> Are you telling me the generated tiff also embeds a palette with 65k
> different colors into it?

this is my presumption, yes.

the source of the images are SRTM HGT (height) files, which are matrixes
of 16 bit values at each matrix point, which are positioned at 3 arc
secs each. this gives a value range of 0..65535 for each point. see more
description here: http://dds.cr.usgs.gov/srtm/version2_1/Documentation/

my ultimate aim is to get the same values back from GeoServer as raster
as what is contained in these height files.

gdal_translate converts these HGT files into GeoTIFF, using a single(?)
16 bit channel, essentially creating a grayscale images with a 16 bit
channel, holding the same values for each point in the matrix as in the
original HGT file. this is what I'm importing into GeoServer.

thus I assume that the GeoTIFF image imported contains a values from a
range of 0..65535 for each point in it.


Akos

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to