3233343536373839404142
//save shp file ShapeFileWriter writer = null; writer = new ShapeFileWriter(output); writer.open(); writer.write(geometries); //closing Readers, Writers reader.close(); writer.close();
2021222324252627282930
writer = new ShapeFileWriter("src/assets/shp/region_out"); } catch (Exception e) { e.printStackTrace(); } writer.open(); ShapeFileReader reader = null; try{ reader = new ShapeFileReader(new File("src/assets/shp/region.shp")); }