On Mon, Aug 29, 2011 at 10:31 PM, quan huynh <[email protected]> wrote: > Hi all, > > I am new to Geoserver, and try to evaluate it. I downloaded the > latest source code, compiled, and deployed. When using the demo > program for getting WCS ArcGrid output file format (1.0.0), the > generated file has the following format > "geoserver-GetCoverage.application". Can anyone point me to where the > output file name + extension get generated.
They are generated in the Response class and subclasses. The WCS output formats do not override the base behavior and end up with the base class behavior, which does geoserver-<operation>.<mimeTypeFirstPart> ... which is probably a bug... the code should probably use the second part, it would end up with geoserver-GetCoverage.arcgrid instead of geoserver-GetCoverage.application (Ian, what do you think?). It would be better if all WCS output formats could override that method and provide proper name and extension though Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
