public class GeoDbWkb
extends java.lang.Object
Note: this utility makes it unnecessary to have a dependency on GeoDB. As long as GeoDB is not available in common maven repositories, such a dependency is to be avoided.
Modifier and Type | Method and Description |
---|---|
static org.geolatte.geom.Geometry |
from(java.lang.Object object)
Decode the object into a
Geometry |
static byte[] |
to(org.geolatte.geom.Geometry geometry)
Encode the specified
Geometry into a WKB |
public static byte[] to(org.geolatte.geom.Geometry geometry)
Geometry
into a WKBgeometry
- The value to encodepublic static org.geolatte.geom.Geometry from(java.lang.Object object)
Geometry
object
- The object to decodeGeometry
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.