Package org.wololo.flatgeobuf
Class GeometryConversions
- java.lang.Object
-
- org.wololo.flatgeobuf.GeometryConversions
-
public class GeometryConversions extends Object
-
-
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(Geometry geometry, byte 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, byte geometryType)static bytetoGeometryType(Class<?> geometryClass)
-
-
-
Method Detail
-
serializePart
public static GeometryOffsets serializePart(com.google.flatbuffers.FlatBufferBuilder builder, org.locationtech.jts.geom.Geometry geometry, byte 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(Geometry geometry, byte geometryType)
-
getGeometryClass
public static Class<?> getGeometryClass(int geometryType)
-
toGeometryType
public static byte toGeometryType(Class<?> geometryClass)
-
-