Mathew Wyatt ha scritto: > Hi, > > I have recently been adding functionality to geotools for it to > support ENVI Hdr data files.
Nice! Do you plan to contribute that back to the GeoTools community? Getting a community module there is easy (and with some unit testing and commitment it can become an official module too). > I have managed to get the handler > working, and the files are viewable with the WMS, and accessible > through the WCS. Except: > > When I run the following WCS query, I am returned a .eml file, instead > of a geotiff: > > http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&version=1.1.1&identifier=BlockAAlsmectiterelative&BoundingBox=235686.234,7880953.0,292701.234,7940609.5,urn:ogc:def:crs:EPSG::32754&format=image/geotiff > > Also, I would like geoserver to return me ENVI Hdr BSQ files - > possibly zipped. How would I go about adding functionality for a > custom output format to geoserver? That is not a problem with output formats, it's the WCS spec that _mandates_ one to return a mime/multipart response, the xml response describing the outputs is the main document and the geotiffs are attachments (sounds crazy, I know). If you don't like that you have to use WCS 1.0 or use store=true in WCS 1.1 and make two requests Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
