Class JtsGeometryWriter

java.lang.Object
ch.so.agi.filegdb.jts.JtsGeometryWriter

public final class JtsGeometryWriter extends Object
Converts JTS geometries to the file geodatabase geometry model.

Polygon rings are written with the Esri orientation convention: exterior rings clockwise, interior rings counter clockwise. Z and M ordinates are preserved when present.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ch.so.agi.filegdb.geometry.FileGdbPolyline
    lineString(org.locationtech.jts.geom.LineString lineString)
     
    ch.so.agi.filegdb.geometry.FileGdbPolygon
    polygon(org.locationtech.jts.geom.Polygon polygon)
     
    ch.so.agi.filegdb.geometry.FileGdbGeometry
    write(org.locationtech.jts.geom.Geometry geometry)
    Converts any supported JTS geometry.

    Methods inherited from class java.lang.Object

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

    • JtsGeometryWriter

      public JtsGeometryWriter()
  • Method Details

    • polygon

      public ch.so.agi.filegdb.geometry.FileGdbPolygon polygon(org.locationtech.jts.geom.Polygon polygon)
    • lineString

      public ch.so.agi.filegdb.geometry.FileGdbPolyline lineString(org.locationtech.jts.geom.LineString lineString)
    • write

      public ch.so.agi.filegdb.geometry.FileGdbGeometry write(org.locationtech.jts.geom.Geometry geometry)
      Converts any supported JTS geometry.