Class IoxToJtsGeometry

java.lang.Object
ch.so.agi.gretl.internal.shapefile.geom.IoxToJtsGeometry

public final class IoxToJtsGeometry extends Object
Converts an INTERLIS/IOX geometry value (IomObject) into a com.vividsolutions.jts geometry, the symmetric counterpart of Jts2iox used by the Shapefile reader.

Dispatch is driven by the IOX object tag so that single vs. multi geometries are detected reliably:

  • COORDPoint, MULTICOORDMultiPoint
  • POLYLINELineString, MULTIPOLYLINE MultiLineString
  • SURFACE/MULTISURFACEPolygon/MultiPolygon