Class GeometryConversions
- java.lang.Object
-
- org.h2gis.functions.io.fgb.fileTable.GeometryConversions
-
public class GeometryConversions extends Object
Conversion to/from JTS- Author:
- Björn Harrtell, Nicolas Fortin // Support of Z and M in coordinates
-
-
Constructor Summary
Constructors Constructor Description GeometryConversions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometrydeserialize(org.wololo.flatgeobuf.generated.Geometry geometry, int geometryType)static Class<?>getGeometryClass(int geometryType)static intserialize(com.google.flatbuffers.FlatBufferBuilder builder, org.locationtech.jts.geom.Geometry geometry, byte geometryType)static GeometryOffsetsserializePart(com.google.flatbuffers.FlatBufferBuilder builder, org.locationtech.jts.geom.Geometry geometry, int geometryType)static bytetoGeometryType(Class<?> geometryClass)
-
-
-
Method Detail
-
serializePart
public static GeometryOffsets serializePart(com.google.flatbuffers.FlatBufferBuilder builder, org.locationtech.jts.geom.Geometry geometry, int geometryType) throws IOException
- Throws:
IOException
-
serialize
public static int serialize(com.google.flatbuffers.FlatBufferBuilder builder, org.locationtech.jts.geom.Geometry geometry, byte geometryType) throws IOException- Throws:
IOException
-
deserialize
public static org.locationtech.jts.geom.Geometry deserialize(org.wololo.flatgeobuf.generated.Geometry geometry, int geometryType)
-
getGeometryClass
public static Class<?> getGeometryClass(int geometryType)
-
toGeometryType
public static byte toGeometryType(Class<?> geometryClass)
-
-