public final class JTSUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JTSUtils.GeometryTarget
Converter output target that creates a JTS Geometry.
|
| Modifier and Type | Method and Description |
|---|---|
static org.locationtech.jts.geom.Geometry |
ewkb2geometry(byte[] ewkb)
Converts EWKB to a JTS geometry object.
|
static org.locationtech.jts.geom.Geometry |
ewkb2geometry(byte[] ewkb,
int dimensionSystem)
Converts EWKB to a JTS geometry object.
|
static byte[] |
geometry2ewkb(org.locationtech.jts.geom.Geometry geometry)
Converts Geometry to EWKB.
|
static byte[] |
geometry2ewkb(org.locationtech.jts.geom.Geometry geometry,
int dimensionSystem)
Converts Geometry to EWKB.
|
static int |
getDimensionSystem(org.locationtech.jts.geom.Geometry geometry)
Determines a dimension system of a JTS Geometry object.
|
static void |
parseGeometry(org.locationtech.jts.geom.Geometry geometry,
GeometryUtils.Target target)
Parses a JTS Geometry object.
|
public static org.locationtech.jts.geom.Geometry ewkb2geometry(byte[] ewkb)
ewkb - source EWKBpublic static org.locationtech.jts.geom.Geometry ewkb2geometry(byte[] ewkb,
int dimensionSystem)
ewkb - source EWKBdimensionSystem - dimension systempublic static byte[] geometry2ewkb(org.locationtech.jts.geom.Geometry geometry)
geometry - source geometrypublic static byte[] geometry2ewkb(org.locationtech.jts.geom.Geometry geometry,
int dimensionSystem)
geometry - source geometrydimensionSystem - dimension systempublic static void parseGeometry(org.locationtech.jts.geom.Geometry geometry,
GeometryUtils.Target target)
geometry - geometry to parsetarget - output targetpublic static int getDimensionSystem(org.locationtech.jts.geom.Geometry geometry)
geometry - geometry to parse