| Package | Description |
|---|---|
| org.geolatte.geom |
A model for geospatial geometries.
|
| org.geolatte.geom.builder |
A DSL to simplify the creation of Geometries.
|
| org.geolatte.geom.codec |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems.
|
| org.geolatte.geom.codec.db | |
| org.geolatte.geom.codec.db.db2 | |
| org.geolatte.geom.codec.db.oracle | |
| org.geolatte.geom.codec.db.sqlserver |
Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems to Microsoft SQL Server internal
format.
|
| org.geolatte.geom.codec.support |
This package contains data structures useful when decoding
Geometrys from WKT/WKB or GEOJSON |
| org.geolatte.geom.crs.trans | |
| org.geolatte.geom.curve |
Space-filling curves.
|
| org.geolatte.geom.generator | |
| org.geolatte.geom.jts |
JTS interoperability classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGeometryCollection<P extends Position,G extends Geometry<P>>
A
Geometry that is an ordered collection of some number of Geometrys. |
interface |
Complex<P extends Position,G extends Geometry<P>>
Interface for
Geometrys that are composed of Geometrys. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGeometryCollection<P extends Position,G extends Geometry<P>>
A
Geometry that is an ordered collection of some number of Geometrys. |
class |
GeometryCollection<P extends Position>
Created by Karel Maesen, Geovise BVBA on 2019-07-29.
|
class |
LinearRing<P extends Position>
A
LineString that is both closed and simple. |
class |
LineString<P extends Position>
A LineString is a 1-dimensional
Geometry consisting of the LineSegments defined by
consecutive pairs of Points of a PointSequence. |
class |
MultiLineString<P extends Position>
A
GeometryCollection of LineStrings. |
class |
MultiPoint<P extends Position>
A
GeometryCollection of Points. |
class |
MultiPolygon<P extends Position>
A
GeometryCollection of Polygons. |
class |
Point<P extends Position>
A 0-dimensional
Geometry. |
class |
Polygon<P extends Position>
A planar surface defined by 1 exterior boundary and 0 or more interior boundaries.
|
| Modifier and Type | Field and Description |
|---|---|
protected Geometry<P>[] |
AbstractGeometryCollection.geometries |
| Modifier and Type | Method and Description |
|---|---|
<P extends C2D,G extends Geometry<P> & Polygonal<P>> |
ProjectedGeometryOperations.area(G geometry)
Calculates the area of the specified
Geometry. |
<P extends C2D,G extends Geometry<P> & Polygonal<P>> |
JTSGeometryOperations.area(G geometry) |
<P extends C2D,G extends Geometry<P> & Polygonal<P>> |
ProjectedGeometryOperations.centroid(G geometry)
Calculates a centroid for the specified
Geometry. |
<P extends C2D,G extends Geometry<P> & Polygonal<P>> |
JTSGeometryOperations.centroid(G geometry) |
default <G extends Geometry<P>> |
GeometryVisitor.endVisit(AbstractGeometryCollection<P,G> collection) |
<P extends C2D,G extends Geometry<P> & Linear<P>> |
ProjectedGeometryOperations.length(G geometry)
Calculates the length of the specified
Geometry. |
<P extends C2D,G extends Geometry<P> & Linear<P>> |
JTSGeometryOperations.length(G geometry) |
<P extends C2D,G extends Geometry<P>> |
ProjectedGeometryOperations.reverse(G geometry)
Creates a
Geometry with the positions of the input Geometry in reverse order. |
<P extends C2D,G extends Geometry<P>> |
JTSGeometryOperations.reverse(G geometry)
Creates a
Geometry having as coordinates the coordinates of the input Geometry in reverse order. |
<G extends Geometry<P>> |
GeometryVisitor.visit(AbstractGeometryCollection<P,G> collection)
Visits a
GeometryCollection. |
| Modifier and Type | Method and Description |
|---|---|
<Q extends Position> |
Geometry.as(Class<Q> castToType) |
<P extends C2D> |
ProjectedGeometryOperations.boundary(Geometry<P> geometry)
Calculates the boundary of the specified
Geometry. |
<P extends C2D> |
JTSGeometryOperations.boundary(Geometry<P> geometry) |
<P extends C2D> |
ProjectedGeometryOperations.buffer(Geometry<P> geometry,
double distance)
Calculates a
Geometry that represents all points whose distance from the specified
Geometry is less than or equal the specified distance. |
<P extends C2D> |
JTSGeometryOperations.buffer(Geometry<P> geometry,
double distance) |
G[] |
AbstractGeometryCollection.components()
Returns the components
|
G[] |
Complex.components()
Returns the components
|
<P extends C2D> |
ProjectedGeometryOperations.convexHull(Geometry<P> geometry)
Calculates the convex hull of the specified
Geometry. |
<P extends C2D> |
JTSGeometryOperations.convexHull(Geometry<P> geometry) |
<P extends C2D> |
ProjectedGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set difference of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other) |
static <Q extends Position> |
Geometry.forceToCrs(Geometry<?> geometry,
CoordinateReferenceSystem<Q> crs)
Creates a new
Geometry with the positions from the specified geometry and having the specified
CoordinateReferenceSystem. |
static <Q extends Position> |
Geometry.forceToCrs(Geometry<?> geometry,
CoordinateReferenceSystem<Q> crs,
double coordinateValue)
Creates a new
Geometry with the positions from the specified geometry and having the specified
CoordinateReferenceSystem. |
Geometry<P> |
Feature.getGeometry() |
<P extends C2D> |
ProjectedGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set intersection of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D & Measured> |
MeasureGeometryOperations.locateAlong(Geometry<P> geometry,
double mValue)
Creates an operation to calculate the
GeometryCollection that matches the specified M-coordinate value. |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.locateAlong(Geometry<P> geometry,
double mValue) |
<P extends C2D & Measured> |
MeasureGeometryOperations.locateBetween(Geometry<P> geometry,
double startMeasure,
double endMeasure)
Creates an operation to calculate the
GeometryCollection that matches the specified range of M-coordinate value
inclusively. |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.locateBetween(Geometry<P> geometry,
double startMeasure,
double endMeasure) |
<P extends C2D,M extends C2D & Measured> |
MeasureGeometryOperations.measureOnLength(Geometry<P> geometry,
Class<M> positionTypeMarker,
boolean keepBeginMeasure)
Creates a
GeometryOperation that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry, and
with measure values that correspond with the length along it (or begin-measure + length). |
<P extends C2D,M extends C2D & Measured> |
DefaultMeasureGeometryOperations.measureOnLength(Geometry<P> geometry,
Class<M> positionTypeMarker,
boolean keepBeginMeasure) |
static <P extends Position> |
Geometries.mkEmptyGeometry(GeometryType gtype,
CoordinateReferenceSystem<P> crs)
Creates an Empty geometry for the specified
GeometryType |
static <Q extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
CoordinateReferenceSystem<Q> crs) |
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
Geometry<P>... parts) |
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
List<Geometry<P>> parts) |
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs) |
Geometry<P> |
MeasureInterpolatingVisitor.result() |
<P extends C2D> |
ProjectedGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set symmetric difference of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other) |
<Q extends Position> |
Geometry.toCrs(CoordinateReferenceSystem<Q> crs,
double defaultCoordinateValue)
Returns a copy of this Geometry, but with the specified Coordinate Reference System.
|
<P extends C2D> |
ProjectedGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set union of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Geometry> |
MultiPolygon.getComponentType() |
Class<? extends Geometry> |
AbstractGeometryCollection.getComponentType() |
Class<? extends Geometry> |
Complex.getComponentType()
Returns the
Class of which all constituent Geometrys are instances. |
Class<? extends Geometry> |
MultiPoint.getComponentType() |
Class<? extends Geometry> |
Polygon.getComponentType() |
Class<? extends Geometry> |
MultiLineString.getComponentType() |
| Modifier and Type | Method and Description |
|---|---|
<P extends C2D> |
ProjectedGeometryOperations.boundary(Geometry<P> geometry)
Calculates the boundary of the specified
Geometry. |
<P extends C2D> |
JTSGeometryOperations.boundary(Geometry<P> geometry) |
<P extends C2D> |
ProjectedGeometryOperations.buffer(Geometry<P> geometry,
double distance)
Calculates a
Geometry that represents all points whose distance from the specified
Geometry is less than or equal the specified distance. |
<P extends C2D> |
JTSGeometryOperations.buffer(Geometry<P> geometry,
double distance) |
<P extends C2D> |
ProjectedGeometryOperations.contains(Geometry<P> geometry,
Geometry<P> other)
Checks if the first specified
Geometry spatially
contains the second. |
<P extends C2D> |
ProjectedGeometryOperations.contains(Geometry<P> geometry,
Geometry<P> other)
Checks if the first specified
Geometry spatially
contains the second. |
<P extends C2D> |
JTSGeometryOperations.contains(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.contains(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.convexHull(Geometry<P> geometry)
Calculates the convex hull of the specified
Geometry. |
<P extends C2D> |
JTSGeometryOperations.convexHull(Geometry<P> geometry) |
<P extends C2D> |
ProjectedGeometryOperations.crosses(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys cross. |
<P extends C2D> |
ProjectedGeometryOperations.crosses(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys cross. |
<P extends C2D> |
JTSGeometryOperations.crosses(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.crosses(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set difference of the specified
Geometrys. |
<P extends C2D> |
ProjectedGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set difference of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.difference(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.distance(Geometry<P> geometry,
Geometry<P> other)
Calculates the shortest distance between any two points in the two
Geometrys in the
coordinate reference system of this Geometry. |
<P extends C2D> |
ProjectedGeometryOperations.distance(Geometry<P> geometry,
Geometry<P> other)
Calculates the shortest distance between any two points in the two
Geometrys in the
coordinate reference system of this Geometry. |
<P extends C2D> |
JTSGeometryOperations.distance(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.distance(Geometry<P> geometry,
Geometry<P> other) |
<P extends Position> |
GeometryPositionEquality.equals(Geometry<P> first,
Geometry<P> second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
<P extends Position> |
GeometryPositionEquality.equals(Geometry<P> first,
Geometry<P> second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
<P extends Position> |
GeometryEquality.equals(Geometry<P> first,
Geometry<P> second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
<P extends Position> |
GeometryEquality.equals(Geometry<P> first,
Geometry<P> second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
<P extends Position> |
ApproximateGeometryEquality.equals(Geometry<P> first,
Geometry<P> second) |
<P extends Position> |
ApproximateGeometryEquality.equals(Geometry<P> first,
Geometry<P> second) |
static <Q extends Position> |
Geometry.forceToCrs(Geometry<?> geometry,
CoordinateReferenceSystem<Q> crs)
Creates a new
Geometry with the positions from the specified geometry and having the specified
CoordinateReferenceSystem. |
static <Q extends Position> |
Geometry.forceToCrs(Geometry<?> geometry,
CoordinateReferenceSystem<Q> crs,
double coordinateValue)
Creates a new
Geometry with the positions from the specified geometry and having the specified
CoordinateReferenceSystem. |
protected static <T extends Position> |
Geometry.getCrs(Geometry<T>[] geometries) |
<P extends C2D> |
ProjectedGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set intersection of the specified
Geometrys. |
<P extends C2D> |
ProjectedGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set intersection of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.intersection(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.intersects(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys intersect. |
<P extends C2D> |
ProjectedGeometryOperations.intersects(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys intersect. |
<P extends C2D> |
JTSGeometryOperations.intersects(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.intersects(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.isSimple(Geometry<P> geometry)
Tests the simplicity of the specified
Geometry. |
<P extends C2D> |
JTSGeometryOperations.isSimple(Geometry<P> geometry) |
<P extends C2D & Measured> |
MeasureGeometryOperations.locateAlong(Geometry<P> geometry,
double mValue)
Creates an operation to calculate the
GeometryCollection that matches the specified M-coordinate value. |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.locateAlong(Geometry<P> geometry,
double mValue) |
<P extends C2D & Measured> |
MeasureGeometryOperations.locateBetween(Geometry<P> geometry,
double startMeasure,
double endMeasure)
Creates an operation to calculate the
GeometryCollection that matches the specified range of M-coordinate value
inclusively. |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.locateBetween(Geometry<P> geometry,
double startMeasure,
double endMeasure) |
<P extends Position & Measured> |
MeasureGeometryOperations.maximumMeasure(Geometry<P> geometry)
Creates a
GeometryOperation that returns the maximum measure value of the Positions
of the specified Geometry. |
<P extends Position & Measured> |
DefaultMeasureGeometryOperations.maximumMeasure(Geometry<P> geometry) |
<P extends C2D & Measured> |
MeasureGeometryOperations.measureAt(Geometry<P> geometry,
C2D pos,
double tolerance)
Creates a
GeometryOperation to calculate the measure value
at the specified point |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.measureAt(Geometry<P> geometry,
C2D pos,
double tolerance) |
<P extends C2D,M extends C2D & Measured> |
MeasureGeometryOperations.measureOnLength(Geometry<P> geometry,
Class<M> positionTypeMarker,
boolean keepBeginMeasure)
Creates a
GeometryOperation that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry, and
with measure values that correspond with the length along it (or begin-measure + length). |
<P extends C2D,M extends C2D & Measured> |
DefaultMeasureGeometryOperations.measureOnLength(Geometry<P> geometry,
Class<M> positionTypeMarker,
boolean keepBeginMeasure) |
<P extends Position & Measured> |
MeasureGeometryOperations.minimumMeasure(Geometry<P> geometry)
Creates a
GeometryOperation that returns the minimum measure value of the Positions
of the specified Geometry. |
<P extends Position & Measured> |
DefaultMeasureGeometryOperations.minimumMeasure(Geometry<P> geometry) |
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
Geometry<P>... parts) |
static <P extends Position> |
Geometries.mkGeometryCollection(Geometry<P>... geometries) |
protected static <T extends Position> |
Geometry.nestPositionSequences(Geometry<T>[] geometries) |
<P extends C2D> |
ProjectedGeometryOperations.overlaps(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys overlap. |
<P extends C2D> |
ProjectedGeometryOperations.overlaps(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys overlap. |
<P extends C2D> |
JTSGeometryOperations.overlaps(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.overlaps(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.relates(Geometry<P> geometry,
Geometry<P> other,
String matrix)
Checks if the specified
Geometrys are spatially related by testing
for intersections between the interior, boundary and exterior of the two geometric objects as specified by
the values in the intersection pattern matrix. |
<P extends C2D> |
ProjectedGeometryOperations.relates(Geometry<P> geometry,
Geometry<P> other,
String matrix)
Checks if the specified
Geometrys are spatially related by testing
for intersections between the interior, boundary and exterior of the two geometric objects as specified by
the values in the intersection pattern matrix. |
<P extends C2D> |
JTSGeometryOperations.relates(Geometry<P> geometry,
Geometry<P> other,
String matrix) |
<P extends C2D> |
JTSGeometryOperations.relates(Geometry<P> geometry,
Geometry<P> other,
String matrix) |
<P extends C2D> |
ProjectedGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set symmetric difference of the specified
Geometrys. |
<P extends C2D> |
ProjectedGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set symmetric difference of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.symmetricDifference(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.touches(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys touch. |
<P extends C2D> |
ProjectedGeometryOperations.touches(Geometry<P> geometry,
Geometry<P> other)
Checks if the specified
Geometrys touch. |
<P extends C2D> |
JTSGeometryOperations.touches(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.touches(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
ProjectedGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set union of the specified
Geometrys. |
<P extends C2D> |
ProjectedGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other)
Calculates the point set union of the specified
Geometrys. |
<P extends C2D> |
JTSGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other) |
<P extends C2D> |
JTSGeometryOperations.union(Geometry<P> geometry,
Geometry<P> other) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
List<Geometry<P>> parts) |
static <P extends Position> |
Geometries.mkGeometryCollection(List<Geometry<P>> geometries) |
| Constructor and Description |
|---|
AbstractGeometryCollection(G... geometries)
Constructs a
GeometryCollection from the specified Geometrys. |
GeometryCollection(Geometry<P>... geoms) |
MeasureInterpolatingVisitor(Geometry<P> geometry,
double startMeasure,
double endMeasure) |
| Modifier and Type | Method and Description |
|---|---|
protected static <P extends Position,G extends Geometry<P>> |
DSL.combine(Class<G> resultType,
G geometry,
G... geometries) |
| Modifier and Type | Method and Description |
|---|---|
protected static <P extends Position,G extends Geometry<P>> |
DSL.combine(Class<G> resultType,
G geometry,
G... geometries) |
| Modifier and Type | Method and Description |
|---|---|
protected static <P extends Position,G extends Geometry<P>> |
DSL.combine(Class<G> resultType,
G geometry,
G... geometries) |
static <P extends Position> |
DSL.geometrycollection(Geometry<P> geometry,
Geometry<P>... geometries)
Creates a
GeometryCollection from the specified Geometrys. |
static <P extends Position> |
DSL.geometrycollection(Geometry<P> geometry,
Geometry<P>... geometries)
Creates a
GeometryCollection from the specified Geometrys. |
| Modifier and Type | Method and Description |
|---|---|
default Geometry<? extends Position> |
WkbDecoder.decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
<P extends Position> |
Sfa121WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
PostgisWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
HANAWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
Sfa110WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
MySqlWkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs)
Decodes a WKB encoded representation of a
Geometry, assuming the specified
CoordinateReferenceSystem |
default Geometry<?> |
WktDecoder.decode(String wkt)
Decodes a WKT representation.
|
<P extends Position> |
Sfa110WktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
WktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs)
Decodes a WKT representation using the specified
CoordinateReferenceSystem. |
<P extends Position> |
Sfa121WktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
PostgisWktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs) |
<P extends Position> |
HANAWktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs) |
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer,
Wkb.Dialect dialect)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
static Geometry<?> |
Wkt.fromWkt(String wkt) |
static <P extends Position> |
Wkt.fromWkt(String wkt,
CoordinateReferenceSystem<P> crs)
Decodes the specified WKT String to a
Geometry. |
static <P extends Position> |
Wkt.fromWkt(String wkt,
CoordinateReferenceSystem<P> crs,
Wkt.Dialect dialect)
Decodes the specified WKT String to a
Geometry. |
static Geometry<?> |
Wkt.fromWkt(String wkt,
Wkt.Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
Sfa121WktEncoder.encode(Geometry<P> geometry) |
default <P extends Position> |
WkbEncoder.encode(Geometry<P> geometry)
Encodes a
Geometry to its WKB representation using NDR (little-endian) ByteOrder |
<P extends Position> |
PostgisWktEncoder.encode(Geometry<P> geometry) |
<P extends Position> |
HANAWktEncoder.encode(Geometry<P> geometry) |
<P extends Position> |
Sfa110WktEncoder.encode(Geometry<P> geometry) |
<P extends Position> |
WktEncoder.encode(Geometry<P> geometry)
Encodes an object to its WKT representation.
|
<P extends Position> |
MySqlWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
PostgisWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
<P extends Position> |
HANAWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
Sfa110WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
Sfa121WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
static ByteBuffer |
Wkb.toWkb(Geometry<?> geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static ByteBuffer |
Wkb.toWkb(Geometry<?> geometry,
ByteOrder byteOrder,
Wkb.Dialect dialect)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static <P extends Position> |
Wkb.toWkb(Geometry<P> geometry)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static <P extends Position> |
Wkb.toWkb(Geometry<P> geometry,
Wkb.Dialect dialect)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static String |
Wkt.toWkt(Geometry<?> geometry)
Encodes a
Geometry to a WKT representation. |
static String |
Wkt.toWkt(Geometry<?> geometry,
Wkt.Dialect dialect)
Encodes a
Geometry to a WKT representation according to
a specific dialect. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position,G extends Geometry<P>> |
Encoder.encode(G geom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<?> |
Decoder.decode(N nativeGeom) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
Encoder.accepts(Geometry<P> geom) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position,G extends Geometry<P>> |
Db2ClobEncoder.encode(G geom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<?> |
Db2ClobDecoder.decode(Clob clob) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
Db2ClobEncoder.accepts(Geometry<P> geom) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position,G extends Geometry<P>> |
GeometryCollectionSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
MultiLineStringSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
PolygonSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
MultiPointSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
PointSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
MultiPolygonSdoEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
LineStringSdoEncoder.encode(G geom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<?> |
AbstractSDODecoder.decode(SDOGeometry nativeGeom) |
static Geometry<?> |
Decoders.decode(SDOGeometry sdo) |
protected <P extends Position> |
MultiPolygonSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
MultiPointSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
LineStringSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
PolygonSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
PointSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
MultiLineSdoDecoder.decode(org.geolatte.geom.codec.db.oracle.SDOGType gtype,
List<org.geolatte.geom.codec.db.oracle.Element> elements,
CoordinateReferenceSystem<P> crs) |
static Geometry<?> |
Decoders.decode(Struct raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance
|
protected Geometry<?> |
LineStringSdoDecoder.internalDecode() |
protected Geometry<?> |
PointSdoDecoder.internalDecode() |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
GeometryCollectionSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
MultiLineStringSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
PolygonSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
MultiPointSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
PointSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
MultiPolygonSdoEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
LineStringSdoEncoder.accepts(Geometry<P> geom) |
static SDOGeometry |
Encoders.encode(Geometry<?> geom) |
static Struct |
Encoders.encode(Geometry<?> geom,
Connection conn,
org.geolatte.geom.codec.db.oracle.SQLTypeFactory typeFactory) |
static Encoder<SDOGeometry> |
Encoders.encoderFor(Geometry<?> geom) |
protected <P extends Position> |
AbstractSDOEncoder.getLRSDim(Geometry<P> geom)
Deprecated.
Use SDOGtype.gtypeFor(Geometry)
|
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
Decoders.decode(byte[] raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Encoders.encode(Geometry<?> geom) |
static Encoder<SqlServerGeometry> |
Encoders.encoderFor(Geometry<?> geom) |
| Modifier and Type | Method and Description |
|---|---|
abstract <P extends Position> |
GeometryBuilder.createGeometry(CoordinateReferenceSystem<P> crs) |
<P extends Position> |
SimpleGeometryBuilder.createGeometry(CoordinateReferenceSystem<P> crs) |
<P extends Position> |
CollectionGeometryBuilder.createGeometry(CoordinateReferenceSystem<P> crs) |
<P extends Position> |
LinearPositionsHolder.toGeometry(CoordinateReferenceSystem<P> crs,
GeometryType geomType) |
abstract <P extends Position> |
Holder.toGeometry(CoordinateReferenceSystem<P> crs,
GeometryType geomType) |
<P extends Position> |
PolygonListHolder.toGeometry(CoordinateReferenceSystem<P> crs,
GeometryType geomType) |
<P extends Position> |
LinearPositionsListHolder.toGeometry(CoordinateReferenceSystem<P> crs,
GeometryType geomType) |
| Modifier and Type | Method and Description |
|---|---|
<G extends Geometry<P>> |
TransformVisitor.endVisit(AbstractGeometryCollection<P,G> collection) |
<G extends Geometry<P>> |
TransformVisitor.visit(AbstractGeometryCollection<P,G> collection) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<Q> |
TransformVisitor.getTransformed() |
| Modifier and Type | Method and Description |
|---|---|
String |
MortonCode.ofGeometry(Geometry<P> geometry)
Returns the Morton code for the specified
Geometry. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
GeometryGenerators.combine(List<Generator<? extends Geometry<P>>> generators) |
static <P extends Position> |
GeometryGenerators.combine(Random rnd,
List<Generator<? extends Geometry<P>>> generators) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
GeometryGenerators.combine(List<Generator<? extends Geometry<P>>> generators) |
static <P extends Position> |
GeometryGenerators.combine(Random rnd,
List<Generator<? extends Geometry<P>>> generators) |
| Modifier and Type | Method and Description |
|---|---|
static Geometry<?> |
JTS.from(org.locationtech.jts.geom.Geometry jtsGeometry)
Primary Factory method that converts a JTS geometry into an equivalent geolatte geometry
|
static <P extends Position> |
JTS.from(org.locationtech.jts.geom.Geometry jtsGeometry,
CoordinateReferenceSystem<P> crs)
Factory method that converts a JTS geometry into an equivalent geolatte geometry and allows the caller to
specify the CoordinateReferenceSystem of the resulting geolatte geometry.
|
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
JTS.to(Geometry<P> geometry) |
static <P extends Position> |
JTS.to(Geometry<P> geometry,
org.locationtech.jts.geom.GeometryFactory gFact)
Primary factory method that converts a geolatte geometry into an equivalent jts geometry
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends org.locationtech.jts.geom.Geometry> |
JTS.getCorrespondingJTSClass(Class<? extends Geometry> geometryClass)
Returns the JTS Geometry class that corresponds to the specified Geolatte Geometry class.
|
Copyright © 2023 geolatte.org. All rights reserved.