public final class GeoJsonUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoJsonUtils.GeoJsonTarget
Converter output target that writes a GeoJson.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ewkbToGeoJson(byte[] ewkb,
int dimensionSystem)
Converts EWKB with known dimension system to GeoJson.
|
static byte[] |
geoJsonToEwkb(byte[] json,
int srid)
Converts EWKB with known dimension system to GeoJson.
|
public static byte[] ewkbToGeoJson(byte[] ewkb,
int dimensionSystem)
ewkb - geometry object in EWKB formatdimensionSystem - dimension system of the specified object, may be the same or
smaller than its real dimension system. M dimension system is
not supported.DbException - on unsupported dimension systempublic static byte[] geoJsonToEwkb(byte[] json,
int srid)
json - geometry object in GeoJson formatsrid - the SRID of geometryDbException - on unsupported dimension system