Class IoxToJtsGeometry
java.lang.Object
ch.so.agi.gretl.internal.shapefile.geom.IoxToJtsGeometry
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:
COORD→Point,MULTICOORD→MultiPointPOLYLINE→LineString,MULTIPOLYLINE→MultiLineStringSURFACE/MULTISURFACE→Polygon/MultiPolygon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vividsolutions.jts.geom.Geometryconvert(ch.interlis.iom.IomObject geometry)
-
Constructor Details
-
IoxToJtsGeometry
public IoxToJtsGeometry()
-
-
Method Details
-
convert
public com.vividsolutions.jts.geom.Geometry convert(ch.interlis.iom.IomObject geometry) throws ShapefileMappingException - Throws:
ShapefileMappingException
-