| 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.curve |
Space-filling curves.
|
| org.geolatte.geom.json | |
| org.geolatte.geom.jts |
JTS interoperability classes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Complex<P extends Position,G extends Geometry<P>>
Interface for
Geometrys that are composed of Geometrys. |
class |
GeometryCollection<P extends Position,G extends Geometry<P>>
A
Geometry that is an ordered collection of some number of Geometrys. |
| Modifier and Type | Class and Description |
|---|---|
class |
GeometryCollection<P extends Position,G extends Geometry<P>>
A
Geometry that is an ordered collection of some number of Geometrys. |
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>[] |
GeometryCollection.geometries |
private Geometry<P> |
MeasureInterpolatingVisitor.geometry |
private Geometry<?> |
DefaultMeasureGeometryOperations.OnLengthMeasureOp.geometry |
| 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) |
<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(GeometryCollection<P,G> collection)
Visits a
GeometryCollection. |
<G extends Geometry<P>> |
DefaultMeasureGeometryOperations.InterpolatingVisitor.visit(GeometryCollection<P,G> collection) |
| 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) |
G[] |
GeometryCollection.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) |
Geometry<M> |
DefaultMeasureGeometryOperations.OnLengthMeasureOp.execute() |
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 |
<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,
java.lang.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,
java.lang.Class<M> positionTypeMarker,
boolean keepBeginMeasure) |
static <Q extends Position> |
Geometries.mkGeometry(java.lang.Class<? extends Complex> geometryClass,
CoordinateReferenceSystem<Q> crs) |
static <P extends Position> |
Geometries.mkGeometry(java.lang.Class<? extends Complex> geometryClass,
Geometry<P>... parts) |
static <P extends Position> |
Geometries.mkGeometry(java.lang.Class<? extends Simple> geometryClass,
PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs) |
Geometry<P> |
MeasureInterpolatingVisitor.result() |
private <P extends C2D> |
JTSGeometryOperations.reverseAll(Geometry<P>[] components) |
private <P extends C2D> |
JTSGeometryOperations.reverseOrder(Geometry<P>[] components) |
<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> |
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 |
|---|---|
java.lang.Class<? extends Geometry> |
MultiPolygon.getComponentType() |
java.lang.Class<? extends Geometry> |
Polygon.getComponentType() |
java.lang.Class<? extends Geometry> |
MultiPoint.getComponentType() |
java.lang.Class<? extends Geometry> |
GeometryCollection.getComponentType() |
java.lang.Class<? extends Geometry> |
MultiLineString.getComponentType() |
java.lang.Class<? extends Geometry> |
Complex.getComponentType()
Returns the
Class of which all constituent Geometrys are instances. |
static <P extends Position> |
Geometries.mkEmptyGeometryCollection(CoordinateReferenceSystem<P> crs)
Creates an empty
GeometryCollection for a coordinate reference system |
static <P extends Position> |
Geometries.mkGeometryCollection(Geometry<P>... geometries) |
static <P extends Position> |
Geometries.mkGeometryCollection(java.util.List<Geometry<P>> geometries) |
| 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) |
private void |
GeometryCollection.check(G[] geometries)
Verifies that the
Geometry array can be used to construct a Geometry collection. |
private void |
JTSGeometryOperations.checkCompatibleCRS(Geometry<?> geometry,
Geometry<?> other) |
private void |
JTSGeometryOperations.checkCompatibleCRS(Geometry<?> geometry,
Geometry<?> other) |
private <P extends C2D> |
JTSGeometryOperations.checkNotGeometryCollection(Geometry<P> geom)
Throws an
IllegalArgumentException when class of parameter is GeometryCollection. |
<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) |
private <P extends Position & Measured> |
DefaultMeasureGeometryOperations.createGetExtrMeasureOp(Geometry<P> geometry,
boolean min) |
<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) |
private <P extends C2D> |
JTSGeometryOperations.envelopeIntersect(Geometry<P> geometry1,
Geometry<P> geometry2) |
private <P extends C2D> |
JTSGeometryOperations.envelopeIntersect(Geometry<P> geometry1,
Geometry<P> geometry2) |
<P extends Position> |
GeometryPointEquality.equals(Geometry<P> first,
Geometry<P> second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
<P extends Position> |
GeometryPointEquality.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.
|
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 |
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,
P pos,
double tolerance)
Creates a
GeometryOperation to calculate the measure value
at the specified point |
<P extends C2D & Measured> |
DefaultMeasureGeometryOperations.measureAt(Geometry<P> geometry,
P pos,
double tolerance) |
<P extends C2D,M extends C2D & Measured> |
MeasureGeometryOperations.measureOnLength(Geometry<P> geometry,
java.lang.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,
java.lang.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(java.lang.Class<? extends Complex> 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,
java.lang.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,
java.lang.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,
java.lang.String matrix) |
<P extends C2D> |
JTSGeometryOperations.relates(Geometry<P> geometry,
Geometry<P> other,
java.lang.String matrix) |
private <P extends C2D> |
JTSGeometryOperations.reverseAll(Geometry<P>[] components) |
private <P extends C2D> |
JTSGeometryOperations.reverseOrder(Geometry<P>[] components) |
<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.mkGeometryCollection(java.util.List<Geometry<P>> geometries) |
| Constructor and Description |
|---|
GeometryCollection(G... geometries)
Constructs a
GeometryCollection from the specified Geometrys. |
MeasureInterpolatingVisitor(Geometry<P> geometry,
double startMeasure,
double endMeasure) |
OnLengthMeasureOp(Geometry<?> geometry,
CoordinateReferenceSystem<M> measuredVariant,
boolean keepBeginMeasure) |
| Modifier and Type | Method and Description |
|---|---|
private static <P extends Position,G extends Geometry<P>> |
DSL.combine(java.lang.Class<G> resultType,
G geometry,
G... geometries) |
| Modifier and Type | Method and Description |
|---|---|
private static <P extends Position,G extends Geometry<P>> |
DSL.combine(java.lang.Class<G> resultType,
G geometry,
G... geometries) |
(package private) abstract Geometry<P> |
DSL.GeometryToken.toGeometry(CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Position> |
DSL.geometrycollection(CoordinateReferenceSystem<P> crs,
DSL.GeometryToken<P>... tokens)
Creates a
GeometryCollection from the specified GeometryTokens and CoordinateReferenceSystem. |
static <P extends Position> |
DSL.geometrycollection(Geometry<P> geometry,
Geometry<P>... geometries)
Creates a
GeometryCollection from the specified Geometrys. |
(package private) GeometryCollection<P,Geometry<P>> |
DSL.GeometryCollectionToken.toGeometry(CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
private static <P extends Position,G extends Geometry<P>> |
DSL.combine(java.lang.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 | Field and Description |
|---|---|
private java.lang.Class<? extends Geometry> |
WkbGeometryType.geometryClass |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position,G extends Geometry<P>> |
PostgisWktEncoder.addGeometries(GeometryCollection<P,G> collection,
boolean withTag) |
private <P extends Position,G extends Geometry<P>> |
AbstractWkbEncoder.sizeOfGeometryCollection(GeometryCollection<P,G> collection) |
<G extends Geometry<P>> |
WkbVisitor.visit(GeometryCollection<P,G> geom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<?> |
AbstractWkbDecoder.decode(ByteBuffer byteBuffer) |
Geometry<?> |
WkbDecoder.decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
<P extends Position> |
AbstractWkbDecoder.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 |
Geometry<?> |
WktDecoder.decode(java.lang.String wkt)
Decodes a WKT representation.
|
Geometry<?> |
PostgisWktDecoder.decode(java.lang.String wkt) |
<P extends Position> |
WktDecoder.decode(java.lang.String wkt,
CoordinateReferenceSystem<P> crs)
Decodes a WKT representation using the specified (base)
CoordinateReferenceSystem. |
<P extends Position> |
PostgisWktDecoder.decode(java.lang.String wkt,
CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
AbstractWkbDecoder.decodeGeometry(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
PostgisWktDecoder.decodeGeometry(CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
PostgisWktDecoder.decodeMultiLineString(CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
PostgisWktDecoder.decodeMultiPoint(CoordinateReferenceSystem<P> crs) |
static Geometry<?> |
Wkb.fromWkb(ByteBuffer byteBuffer)
Decodes a WKB representation in a
ByteBuffer to a Geometry. |
static Geometry<?> |
Wkt.fromWkt(java.lang.String wkt) |
static <P extends Position> |
Wkt.fromWkt(java.lang.String wkt,
CoordinateReferenceSystem<P> crs)
Decodes the specified WKT String to a
Geometry. |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
AbstractWkbDecoder.decodeGeometryCollection(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs) |
private <P extends Position> |
PostgisWktDecoder.decodeGeometryCollection(CoordinateReferenceSystem<P> crs) |
| Modifier and Type | Method and Description |
|---|---|
private <P extends Position> |
PostgisWktEncoder.addGeometry(Geometry<P> geometry) |
private void |
PostgisWktEncoder.addGeometryTag(Geometry geometry) |
private <P extends Position> |
PostgisWktEncoder.addGeometryText(Geometry<P> geometry) |
private <P extends Position> |
PostgisWktEncoder.addSridIfValid(Geometry<P> geometry) |
protected <P extends Position> |
HANAWkbEncoder.calculateSize(Geometry<P> geom,
boolean includeSrid) |
protected <P extends Position> |
AbstractWkbEncoder.calculateSize(Geometry<P> geom,
boolean includeSrid) |
<P extends Position> |
HANAWktEncoder.encode(Geometry<P> geometry) |
<P extends Position> |
WktEncoder.encode(Geometry<P> geometry)
Encodes an object to its WKT representation.
|
<P extends Position> |
PostgisWktEncoder.encode(Geometry<P> geometry)
Encodes the specified
Geometry. |
<P extends Position> |
WkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
<P extends Position> |
MySqlWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder) |
<P extends Position> |
AbstractWkbEncoder.encode(Geometry<P> geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
protected int |
WkbVisitor.getGeometryType(Geometry<P> geometry) |
private <P extends Position> |
AbstractWkbEncoder.getPointByteSize(Geometry<P> geom) |
private <P extends Position> |
MySqlWkbEncoder.hasEmpty(Geometry<P> geometry) |
private boolean |
HANAWktVariant.hasSameMeasuredAndZAxisSuffixInWkt(HANAWktGeometryToken candidate,
Geometry<?> geometry,
boolean ignoreMeasureMarker)
Determines whether the candidate has the same measured 'M' suffix and Z axis as the geometry in WKT.
|
private boolean |
PostgisWktVariant.hasSameMeasuredSuffixInWkt(WktGeometryToken candidate,
Geometry geometry,
boolean ignoreMeasureMarker)
Determines whether the candidate has the same measured 'M' suffix as the geometry in WKT.
|
protected <P extends Position> |
HANAWkbEncoder.newWkbVisitor(ByteBuffer output,
Geometry<P> geom) |
protected <P extends Position> |
PostgisWkbEncoder.newWkbVisitor(ByteBuffer output,
Geometry<P> geom) |
protected <P extends Position> |
AbstractWkbEncoder.newWkbVisitor(ByteBuffer output,
Geometry<P> geometry) |
protected boolean |
PostgisWktVariant.sameGeometryType(WktGeometryToken token,
Geometry geometry) |
protected <P extends Position> |
PostgisWkbEncoder.sizeEmptyGeometry(Geometry<P> geometry) |
protected <P extends Position> |
MySqlWkbEncoder.sizeEmptyGeometry(Geometry<P> geometry) |
protected abstract <P extends Position> |
AbstractWkbEncoder.sizeEmptyGeometry(Geometry<P> geometry) |
static ByteBuffer |
Wkb.toWkb(Geometry geometry)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static ByteBuffer |
Wkb.toWkb(Geometry<?> geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static java.lang.String |
Wkt.toWkt(Geometry<?> geometry)
Encodes a
Geometry to a WKT representation. |
java.lang.String |
PostgisWktVariant.wordFor(Geometry geometry,
boolean ignoreMeasureMarker) |
java.lang.String |
HANAWktVariant.wordFor(Geometry geometry,
boolean ignoreMeasureMarker) |
protected <P extends Position> |
AbstractWkbEncoder.writeGeometry(Geometry<P> geom,
ByteBuffer output) |
protected void |
HANAWkbEncoder.HANAWkbVisitor.writeTypeCodeAndSrid(Geometry<P> geometry,
ByteBuffer output) |
protected void |
PostgisWkbEncoder.PostgisWkbVisitor.writeTypeCodeAndSrid(Geometry<P> geometry,
ByteBuffer output) |
protected void |
WkbVisitor.writeTypeCodeAndSrid(Geometry<P> geometry,
ByteBuffer output) |
| Modifier and Type | Method and Description |
|---|---|
static WkbGeometryType |
WkbGeometryType.forClass(java.lang.Class<? extends Geometry> geomClass) |
| Constructor and Description |
|---|
WkbGeometryType(int type,
java.lang.Class<? extends Geometry> geometryClass) |
| 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(java.sql.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>> |
SdoPointEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoMultiPolygonEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoMultiLineStringEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoGeometryCollectionEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoPolygonEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoLineStringEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
SdoMultiPointEncoder.encode(G geom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry<?> |
AbstractSDODecoder.decode(SDOGeometry nativeGeom) |
static Geometry |
Decoders.decode(SDOGeometry sdo) |
static Geometry |
Decoders.decode(java.sql.Struct raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance
|
protected Geometry<?> |
PointSdoDecoder.internalDecode(SDOGeometry nativeGeom) |
(package private) Geometry<?> |
MultiPointSdoDecoder.internalDecode(SDOGeometry sdoGeom) |
(package private) Geometry<?> |
MultiLineSdoDecoder.internalDecode(SDOGeometry sdoGeom) |
(package private) Geometry<?> |
MultiPolygonSdoDecoder.internalDecode(SDOGeometry sdoGeom) |
(package private) abstract Geometry<?> |
AbstractSDODecoder.internalDecode(SDOGeometry nativeGeom) |
protected Geometry<?> |
LineStringSdoDecoder.internalDecode(SDOGeometry nativeGeom) |
(package private) Geometry<?> |
PolygonSdoDecoder.internalDecode(SDOGeometry sdoGeom) |
(package private) Geometry<?> |
GeometryCollectionSdoDecoder.internalDecode(SDOGeometry sdoGeom) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
SdoPointEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoMultiPolygonEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoMultiLineStringEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoGeometryCollectionEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoPolygonEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoLineStringEncoder.accepts(Geometry<P> geom) |
<P extends Position> |
SdoMultiPointEncoder.accepts(Geometry<P> geom) |
static SDOGeometry |
Encoders.encode(Geometry<?> geom) |
static java.sql.Struct |
Encoders.encode(Geometry<?> geom,
java.sql.Connection conn,
SQLTypeFactory typeFactory) |
static Encoder<SDOGeometry> |
Encoders.encoderFor(Geometry<?> geom) |
protected <P extends Position> |
AbstractSDOEncoder.getLRSDim(Geometry<P> geom) |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.Class<? extends Geometry> |
OpenGisType.geomClass |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position,G extends Geometry<P>> |
AbstractSqlServerEncoder.encode(G geom) |
<P extends Position,G extends Geometry<P>> |
PointSqlServerEncoder.encode(G geom)
Encodes a point as an
SQLGeometryV1 object. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Geometry<?> |
AbstractGeometryCollectionSqlServerDecoder.createGeometry(java.util.List geometries,
SqlServerGeometry nativeGeom) |
protected Geometry<?> |
AbstractGeometryCollectionSqlServerDecoder.createGeometry(SqlServerGeometry nativeGeom) |
protected abstract Geometry<?> |
AbstractSqlServerDecoder.createGeometry(SqlServerGeometry nativeGeom) |
protected Geometry<?> |
AbstractGeometryCollectionSqlServerDecoder.createGeometry(SqlServerGeometry nativeGeom,
int shapeIndex) |
protected abstract Geometry<?> |
AbstractSqlServerDecoder.createGeometry(SqlServerGeometry nativeGeom,
int shapeIndex) |
protected Geometry<?> |
AbstractGeometryCollectionSqlServerDecoder.createNullGeometry(CoordinateReferenceSystem<?> crs) |
protected abstract Geometry<?> |
AbstractSqlServerDecoder.createNullGeometry(CoordinateReferenceSystem<?> crs) |
static Geometry |
Decoders.decode(byte[] raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance
|
Geometry<?> |
AbstractSqlServerDecoder.decode(SqlServerGeometry nativeGeom) |
| Modifier and Type | Method and Description |
|---|---|
protected GeometryCollection<?,Geometry<?>> |
GeometryCollectionSqlServerDecoder.createGeometry(java.util.List geometries,
SqlServerGeometry nativeGeom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LineStringSqlServerEncoder.accepts(Geometry geom) |
boolean |
PointSqlServerEncoder.accepts(Geometry geom) |
boolean |
PolygonSqlServerEncoder.accepts(Geometry geom) |
<P extends Position> |
GeometryCollectionSqlServerEncoder.accepts(Geometry<P> geom) |
static byte[] |
Encoders.encode(Geometry<?> geom) |
protected abstract void |
AbstractSqlServerEncoder.encode(Geometry<?> geom,
int parentShapeIndex,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes)
Appends the points, figures, shapes to the resp.
|
protected void |
LineStringSqlServerEncoder.encode(Geometry<?> geom,
int parentShapeIndex,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
protected void |
GeometryCollectionSqlServerEncoder.encode(Geometry<?> geom,
int parentShapeIndex,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
protected void |
PointSqlServerEncoder.encode(Geometry<?> geom,
int parentIdx,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
protected void |
PolygonSqlServerEncoder.encode(Geometry<?> geom,
int parentShapeIndex,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
protected void |
GeometryCollectionSqlServerEncoder.encodeComponent(Geometry geom,
int thisShapeIndex,
CountingPositionSequenceBuilder coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
static Encoder<SqlServerGeometry> |
Encoders.encoderFor(Geometry<?> geom) |
| Constructor and Description |
|---|
OpenGisType(byte v,
java.lang.Class<? extends Geometry> geomClass) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
MortonCode.ofGeometry(Geometry<P> geometry)
Returns the Morton code for the specified
Geometry. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGeometryParser<P extends Position,G extends Geometry<P>>
Created by Karel Maesen, Geovise BVBA on 08/09/17.
|
| Modifier and Type | Method and Description |
|---|---|
Geometry<P> |
GeometryParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
| Modifier and Type | Method and Description |
|---|---|
GeometryCollection<P,Geometry<P>> |
GeometryCollectionParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
GeometrySerializer.serialize(Geometry<P> geometry,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
Method that can be called to ask implementation to serialize
values of type this serializer handles.
|
private void |
GeometrySerializer.writeCoords(com.fasterxml.jackson.core.JsonGenerator gen,
GeometryType type,
Geometry<P> geom) |
private void |
GeometrySerializer.writeGeometries(com.fasterxml.jackson.core.JsonGenerator gen,
Geometry<P>[] geometries) |
private void |
GeometrySerializer.writeGeometry(com.fasterxml.jackson.core.JsonGenerator gen,
Geometry<P> geometry,
boolean includeCrs) |
private void |
GeometrySerializer.writeLinear(com.fasterxml.jackson.core.JsonGenerator gen,
Geometry<P> geom,
double[] buf) |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.Class<? extends org.locationtech.jts.geom.Geometry>,java.lang.Class<? extends Geometry>> |
JTS.JTS2GLClassMap |
| 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 |
|---|---|
private static <P extends Position> |
JTS.from(org.locationtech.jts.geom.GeometryCollection jtsGeometry,
CoordinateReferenceSystem<P> crs) |
(package private) static java.lang.Class<? extends Geometry> |
JTS.getCorrespondingGeolatteClass(java.lang.Class<? extends org.locationtech.jts.geom.Geometry> jtsGeometryClass)
Returns the Geolatte Geometry class that corresponds to the specified JTS class.
|
| Modifier and Type | Method and Description |
|---|---|
private static org.locationtech.jts.geom.CoordinateSequence |
JTS.sequenceOf(Geometry geometry) |
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 java.lang.Class<? extends org.locationtech.jts.geom.Geometry> |
JTS.getCorrespondingJTSClass(java.lang.Class<? extends Geometry> geometryClass)
Returns the JTS Geometry class that corresponds to the specified Geolatte Geometry class.
|
private static <P extends Position> |
JTS.to(GeometryCollection<P,Geometry<P>> collection,
org.locationtech.jts.geom.GeometryFactory gFact) |