Dear Deborah,
the situation is a follows:

- Via WMS, unless you write your own outputformat geotiff you will
always get 8 bits as the raster goes through the rendering process
which does this transformation anyway
- Via WCS you might get the geotiff in 16 bits providing the input is
in 16 bits.

Alternative if you want to get WMS to return 16 bits geotiff is to do
(as in develop yourself) something similar to this DDS extension
http://docs.geoserver.org/latest/en/user/community/dds/index.html.

Regards,
Simone Giannecchini
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------


On Fri, Jun 29, 2012 at 6:22 PM, Pierce, Deborah Jean Violette
<[email protected]> wrote:
> Hi All,
>   We have some DTED elevation data (.dt files).  We need to get the data into 
> GeoServer, and have GeoServer deliver this to our software as a INT16 
> GeoTiff.  I've tried to do this various ways (importing the data as .dt data 
> as is into GeoServer, also tried converting .dt data into GeoTIFF file and 
> importing that into GeoServer).  Unfortunately, every map GeoServer WMS sends 
> out is 8bit GeoTIFF, but we need elevation data as INT16.  Specifically, the  
> GeoTIFF tag values I'd like to have in the map delivered by GeoServer are:
>
>         Tag PHOTOMETRIC_INTERPRETATION
>                               GeoServer delivers a GeoTIFF tag value of 2 
> (RGB) - I'd prefer a value of 1 (BlackIsZero)
>                Tag RESOLUTION_UNIT
>                               GeoServer delivers a GeoTIFF tag value of 1 (no 
> absolute unit of measurement) - I'd prefer a value of 2 (unit of measurement 
> "inch")
>                Tag BITS_PER_SAMPLE
>                 GeoServer delivers a GeoTIFF tag value of 8 (count=4)  - I 
> need a value of 16 (count=1) to represent INT16
>                Tag SAMPLES_PER_PIXEL
>                 GeoServer delivers a GeoTIFF tag value of 4 - I'd prefer a 
> value of 1
>                Tag SAMPLE_FORMAT
>                 GeoServer doesn't include this tag - I'd prefer it to be 
> included and have a value of 2 (two's complement signed integer data)
>
> FYI, the GetMapRequest I'm sending to GeoServer is:
>
> DEBUG2 
> wms_get_map_request_url=http://localhost:8090/geoserver/ows?SERVICE=WMS&LAYERS=mxr%3Adted2_w117_n35&FORMAT=image%2Fgeotiff&HEIGHT=1300&TRANSPARENT=TRUE&BGCOLOR=0xFFFFFF&REQUEST=GetMap&WIDTH=1590&BBOX=117.51847222222223,35.33708333333333,-117.07680555555555,35.69819444444445&STYLES=&VERSION=1.3.0
>
> I setup this request using GeoTools version 8.  Can anybody provide 
> information on how to get this to work?  Any help would be very much 
> appreciated!
>
> I'm using the following setup:
>
> GeoServer 2.2 -beta1
>         - Build Information
>                 Version2.2-beta1
>                 Subversion Revision16907
>                 Build Date05-Apr-2012 20:21
>                 GeoTools Version8-SNAPSHOT (rev 38659)
> Windows 7 (64bit)
> Java 1.6
> I'm using native JAI and JAI ImageIO 1.1 packages for processing the GeoTiff 
> delivered from GeoServer
> The web container is the default (Jetty 6?)
>
>         Regards,
>         Debbie Pierce
>         MITRE Corporation
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to