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