Package io.trino.geospatial.serde
Class JtsGeometrySerde
java.lang.Object
io.trino.geospatial.serde.JtsGeometrySerde
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Geometrydeserialize(io.airlift.slice.Slice shape) static io.airlift.slice.Sliceserialize(org.locationtech.jts.geom.Geometry geometry) Serialize JTSGeometryshape into an ESRI shape
-
Method Details
-
deserialize
public static org.locationtech.jts.geom.Geometry deserialize(io.airlift.slice.Slice shape) -
serialize
public static io.airlift.slice.Slice serialize(org.locationtech.jts.geom.Geometry geometry) Serialize JTSGeometryshape into an ESRI shape
-