@Override public void encode(Object value, OutputStream os) throws Exception { SimpleFeatureCollection fc = (SimpleFeatureCollection) value; ShapeZipOutputFormat of = new ShapeZipOutputFormat(); of.write(Collections.singletonList(fc), getCharset(), os, null); }
@Override public void encode(Object value, OutputStream os) throws Exception { SimpleFeatureCollection fc = (SimpleFeatureCollection) value; ShapeZipOutputFormat of = new ShapeZipOutputFormat(); of.write(Collections.singletonList(fc), getCharset(), os, null); }