Class JtsGeoJSONWriter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 write​(java.io.Writer output, Shape shape)
      Write a shape to the output writer
      • Methods inherited from class java.lang.Object

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

      • 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
      • write

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

        public void write​(java.io.Writer output,
                          Shape shape)
                   throws java.io.IOException
        Description copied from interface: ShapeWriter
        Write a shape to the output writer
        Specified by:
        write in interface ShapeWriter
        Overrides:
        write in class GeoJSONWriter
        Throws:
        java.io.IOException