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 | Field and Description |
|---|---|
static boolean |
M_IS_SUPPORTED
true if M dimension is supported by used version of JTS,
false if M dimension is only partially supported (JTS 1.15). |
| 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 void |
parseGeometry(org.locationtech.jts.geom.Geometry geometry,
GeometryUtils.Target target)
Parses a JTS Geometry object.
|
public static final boolean M_IS_SUPPORTED
true if M dimension is supported by used version of JTS,
false if M dimension is only partially supported (JTS 1.15).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 target