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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users