Let's involve daniele who will be better than me in this discussion since he is the main responsible for the imageio-ext framework. Daniele, what is your feedback?
Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- On Wed, Nov 25, 2009 at 3:34 AM, Mathew Wyatt <[email protected]> wrote: > Hi Simone, > > I have a large amount of remote sensing data in ENVIHdr BSQ format, > that I would like to have delivered through a WCS. I have basically > just copied what you have done for the ESRIHdr files in geotools and > created an EnviHdrFormat etc. which utilizes the ENVIHdrImageReaderSpi > from imageio-ext. This appears to have made my data readable through > the WMS, WCS, as least from the small amount of testing I have done so > far. What I would like to do now is have the ENVIHdr files delivered > in their native format through the WCS. > > From what you have said, this means that write mode functionality > will have to be added to the imageio-ext libraries for ENVIHdr files > before a CoverageResponseDelegate can be written. How long would you > think it would take to add this sort of functionality to imageio-ext? > > Cheers, > Mat > > On 25/11/2009, at 8:10 AM, Simone Giannecchini wrote: > >> Ciao Matthew, >> EnviHDR is not supported in write mode, or at least no yet, it would >> be relatively easy to do that via imageio-ext. >> Just for the records, could please detail a bit more about what you >> have done geotools-wise to work with envi hdr? >> >> Simone. >> ------------------------------------------------------- >> Ing. Simone Giannecchini >> GeoSolutions S.A.S. >> Founder - Software Engineer >> Via Carignoni 51 >> 55041 Camaiore (LU) >> Italy >> >> phone: +39 0584983027 >> fax: +39 0584983027 >> mob: +39 333 8128928 >> >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://simboss.blogspot.com/ >> http://www.linkedin.com/in/simonegiannecchini >> >> ------------------------------------------------------- >> >> >> >> On Tue, Nov 24, 2009 at 4:03 AM, Mathew Wyatt >> <[email protected]> wrote: >>> Hi Andrea, >>> >>> Just for clarification. Is there any possibly way to have geoserver >>> wcs return the 'nativeFormat' of the data in question? I have made a >>> few attempts but had no success. Looking through the geoserver >>> codebase it appears I need to write a 'CoverageResponseDelegate' for >>> ENVIHdr files. Is this correct? >>> >>> Cheers, >>> Mat >>> >>> On 23/11/2009, at 4:39 PM, Andrea Aime wrote: >>> >>>> 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. >>> >>> -- >>> Mathew Wyatt >>> Software Engineer, CSIRO Exploration and Mining >>> AARC (Australian Resources Research Centre) >>> 26 Dick Perry Ave, Kensington WA 6151, Australia >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> > > -- > Mathew Wyatt > Software Engineer, CSIRO Exploration and Mining > AARC (Australian Resources Research Centre) > 26 Dick Perry Ave, Kensington WA 6151, Australia > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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
