Class GeoJSONDataFrameWriter

    • Constructor Summary

      Constructors 
      Constructor Description
      GeoJSONDataFrameWriter​(java.io.OutputStreamWriter writer, int columnCount, java.lang.String newLine)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean includeType()  
      void nextColumn​(boolean hasMore)  
      void nextRow()  
      protected void write​(java.io.Writer output, java.text.NumberFormat nf, org.locationtech.jts.geom.Coordinate coord)  
      protected void write​(java.io.Writer output, java.text.NumberFormat nf, org.locationtech.jts.geom.Coordinate[] coord)  
      protected void write​(java.io.Writer output, java.text.NumberFormat nf, org.locationtech.jts.geom.CoordinateSequence coordseq)  
      protected void write​(java.io.Writer output, java.text.NumberFormat nf, org.locationtech.jts.geom.Polygon p)  
      void write​(java.io.Writer output, org.locationtech.jts.geom.Geometry geom)  
      void writeCell​(java.lang.Object value, DataFrame dataFrame, java.lang.Object rowKey, java.lang.Object columnKey)  
      void writeColumnName​(java.lang.String name, boolean hasMore)  
      void writeType​(java.lang.Class value, boolean hasMore)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoJSONDataFrameWriter

        public GeoJSONDataFrameWriter​(java.io.OutputStreamWriter writer,
                                      int columnCount,
                                      java.lang.String newLine)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeColumnName

        public void writeColumnName​(java.lang.String name,
                                    boolean hasMore)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • includeType

        public boolean includeType()
      • writeType

        public void writeType​(java.lang.Class value,
                              boolean hasMore)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeCell

        public void writeCell​(java.lang.Object value,
                              DataFrame dataFrame,
                              java.lang.Object rowKey,
                              java.lang.Object columnKey)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.Writer output,
                          org.locationtech.jts.geom.Geometry geom)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected void write​(java.io.Writer output,
                             java.text.NumberFormat nf,
                             org.locationtech.jts.geom.Coordinate coord)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected void write​(java.io.Writer output,
                             java.text.NumberFormat nf,
                             org.locationtech.jts.geom.CoordinateSequence coordseq)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected void write​(java.io.Writer output,
                             java.text.NumberFormat nf,
                             org.locationtech.jts.geom.Coordinate[] coord)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        protected void write​(java.io.Writer output,
                             java.text.NumberFormat nf,
                             org.locationtech.jts.geom.Polygon p)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • nextColumn

        public void nextColumn​(boolean hasMore)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • nextRow

        public void nextRow()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException