Esempio n. 1
0
 @Override
 public void close() throws IOException {
   if (writer != null) {
     writer.endFeatureCollection();
     writer.flush();
   }
   writer = null;
 }
Esempio n. 2
0
 @Override
 protected void doWrite() throws IOException {
   writer.feature(next);
 }
Esempio n. 3
0
 public GeoJSONAppendCursor(Writer out) throws IOException {
   super(Mode.APPEND);
   writer = new GeoJSONWriter(out);
   writer.featureCollection();
 }