312313314315316317318319320321322
} writer.close(); ds.dispose(); shapeDS.dispose(); Toolbox tb = new Toolbox(); tb.parse(new String[] { "generalize", "target" + File.separator + "0" + File.separator + "streams.shp", "target", "5.0,10.0,20.0,50.0" }); }