Package org.wololo.flatgeobuf
Class GeometryConversions
java.lang.Object
org.wololo.flatgeobuf.GeometryConversions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Geometrydeserialize(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)
-
Constructor Details
-
GeometryConversions
public GeometryConversions()
-
-
Method Details
-
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
-
getGeometryClass
-
toGeometryType
-