Class GeoJsonUtils.GeoJsonTarget

  • Enclosing class:
    GeoJsonUtils

    public static final class GeoJsonUtils.GeoJsonTarget
    extends GeometryUtils.Target
    Converter output target that writes a GeoJson.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addCoordinate​(double x, double y, double z, double m, int index, int total)
      Invoked to add a coordinate to a geometry.
      protected void endNonEmptyPolygon()
      Invoked after writing of non-empty POLYGON.
      protected void endObject​(int type)
      Invoked after writing of the object.
      protected void startCollection​(int type, int numItems)
      Invoked before writing of a collection.
      protected GeometryUtils.Target startCollectionItem​(int index, int total)
      Invoked before writing of a collection item.
      protected void startLineString​(int numPoints)
      Invoked before writing a LINESTRING.
      protected void startPoint()
      Invoked before writing a POINT.
      protected void startPolygon​(int numInner, int numPoints)
      Invoked before writing a POLYGON.
      protected void startPolygonInner​(int numInner)
      Invoked before writing an inner polygon in POLYGON.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait