On 4/1/10 3:35 AM, Andrea Aime wrote:
> Gabriel Roldan ha scritto:
>> As far as I can tell the only code using this is the
>> ShapeZipOutputFormat? (for which I'm going to propose a refactor in a
>> separate email).
>
> Dangerous business, every time I touch that class it breaks in some
> way (it's handling a ton of use cases)
Well, intent is only to decouple the outputformat business from the 
actual shape-zipping process.
Attempt results in the following patch: <http://pastebin.com/RzkeVmeJ>
Meaning the output format write method ends up as: 
<http://pastebin.com/4yNZxQKe> and the utility class as 
<http://pastebin.com/FtXS8YVz>.

Rationale being I need exactly this functionality for a geonode process 
(the one in the utility class) but not the wfs output format's specific 
concerns, and I would better avoid just copying and pasting?

comments welcomed.

Cheers,
Gabriel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to