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.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.crs |
This package contains classes that model Coordinate Reference Systems.
|
org.geolatte.geom.crs.trans | |
org.geolatte.geom.curve |
Space-filling curves.
|
org.geolatte.geom.jts |
JTS interoperability classes.
|
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<P> |
Geometry.getCoordinateReferenceSystem()
Returns the coordinate reference system of this
Geometry |
CoordinateReferenceSystem<P> |
Box.getCoordinateReferenceSystem()
Returns the
CoordinateReferenceSystem for this Box |
CoordinateReferenceSystem<P> |
Envelope.getCoordinateReferenceSystem()
Returns the
CoordinateReferenceSystem for this Envelope |
protected static <T extends Position> |
Geometry.getCrs(Geometry<T>[] geometries) |
Modifier and Type | Method and Description |
---|---|
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 |
double |
Position.getCoordinate(CoordinateSystemAxis axis,
CoordinateReferenceSystem<?> crs)
Deprecated.
|
static <P extends Position> |
Box.mkEmpty(CoordinateReferenceSystem<P> crs) |
static <P extends Position> |
Geometries.mkEmptyGeometry(GeometryType gtype,
CoordinateReferenceSystem<P> crs)
Creates an Empty geometry for the specified
GeometryType |
static <P extends Position> |
Geometries.mkEmptyGeometryCollection(CoordinateReferenceSystem<P> crs)
Creates an empty
GeometryCollection for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyLineString(CoordinateReferenceSystem<P> crs)
Creates an empty
LineString for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyMultiLineString(CoordinateReferenceSystem<P> crs)
Creates an empty
MultiLineString for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyMultiPoint(CoordinateReferenceSystem<P> crs)
Creates an empty
MultiPoint for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyMultiPolygon(CoordinateReferenceSystem<P> crs)
Creates an empty
MultiPolygon for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyPoint(CoordinateReferenceSystem<P> crs)
Creates an empty
Point for a coordinate reference system |
static <P extends Position> |
Geometries.mkEmptyPolygon(CoordinateReferenceSystem<P> crs)
Creates an empty
Polygon for a coordinate reference system |
static <Q extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
CoordinateReferenceSystem<Q> crs) |
static <P extends Position> |
Geometries.mkGeometry(Class<?> geometryClass,
PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs) |
static <P extends Position> |
Geometries.mkLinearRing(PositionSequence<P> seq,
CoordinateReferenceSystem<P> crs)
Creates a
LinearRing from a PositionSequence and coordinate reference system |
static <P extends Position> |
Geometries.mkLineString(PositionSequence<P> seq,
CoordinateReferenceSystem<P> crs)
Creates a
LineString from a PositionSequence and coordinate reference system |
static <P extends Position> |
Geometries.mkMultiPoint(PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs) |
static <P extends Position> |
Geometries.mkPoint(P pos,
CoordinateReferenceSystem<P> crs)
Creates a
Point from a Position and coordinate reference system |
static <P extends Position> |
Positions.mkPosition(CoordinateReferenceSystem<P> crs,
double... coordinates) |
Constructor and Description |
---|
AbstractGeometryCollection(CoordinateReferenceSystem<P> crs)
Constructs an empty
GeometryCollection |
Box(CoordinateReferenceSystem<P> crs)
Creates an empty Box
|
Box(P lowerLeft,
P upperRight,
CoordinateReferenceSystem<P> crs)
Creates an instance from specified lower-left and upper-right
Point s. |
Envelope(CoordinateReferenceSystem<P> crs)
Creates an empty Envelop
|
Envelope(double minC1,
double minC2,
double maxC1,
double maxC2,
CoordinateReferenceSystem<P> crs)
Create an instance using the specified coordinates and
CoordinateReferenceSystem . |
Envelope(P lowerLeft,
P upperRight,
CoordinateReferenceSystem<P> crs)
Creates an instance from specified lower-left and upper-right
Point s. |
Geometry(CoordinateReferenceSystem<P> crs)
Creates an empty Geometry
|
Geometry(PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs) |
GeometryCollection(CoordinateReferenceSystem<P> crs) |
LinearRing(CoordinateReferenceSystem<P> crs) |
LinearRing(PositionSequence<P> points,
CoordinateReferenceSystem<P> crs) |
LineString(CoordinateReferenceSystem<P> crs) |
LineString(PositionSequence<P> positions,
CoordinateReferenceSystem<P> crs)
Constructs a
LineString from the specified positions
and ProjectedGeometryOperations implementation. |
MultiLineString(CoordinateReferenceSystem<P> crs) |
MultiPoint(CoordinateReferenceSystem<P> crs) |
MultiPolygon(CoordinateReferenceSystem<P> crs) |
Point(CoordinateReferenceSystem<P> crs) |
Point(P position,
CoordinateReferenceSystem<P> crs) |
Point(PositionSequence<P> sequence,
CoordinateReferenceSystem<P> crs) |
Polygon(CoordinateReferenceSystem<P> crs) |
Polygon(PositionSequence<P> positionSequence,
CoordinateReferenceSystem<P> crs)
Creates a
Polygon with no holes, and having the specified PositionSequence as exterior boundary |
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 GeometryToken s and CoordinateReferenceSystem . |
static <P extends Position> |
DSL.linestring(CoordinateReferenceSystem<P> crs,
P... positions)
Creates a
LineString |
static <P extends Position> |
DSL.multilinestring(CoordinateReferenceSystem<P> crs,
DSL.LineStringToken<P>... tokens) |
static <P extends Position> |
DSL.multipoint(CoordinateReferenceSystem<P> crs) |
static <P extends Position> |
DSL.multipoint(CoordinateReferenceSystem<P> crs,
DSL.PointToken<P>... tokens) |
static <P extends Position> |
DSL.multipoint(CoordinateReferenceSystem<P> crs,
P... positions) |
static <P extends Position> |
DSL.multipolygon(CoordinateReferenceSystem<P> crs,
DSL.PolygonToken<P>... tokens) |
static <P extends Position> |
DSL.point(CoordinateReferenceSystem<P> crs,
P p)
Creates a
Point |
static <P extends Position> |
DSL.polygon(CoordinateReferenceSystem<P> crs,
DSL.LinearRingToken<P>... tokens)
Creates a
Polygon from the specified ring tokens and CoordinateReferenceSystem |
static <P extends Position> |
DSL.ring(CoordinateReferenceSystem<P> crs,
P... positions)
Creates a
LinearRing |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<? extends Position> |
CrsWktDecoder.decode(String wkt,
int srid)
Decodes a WKT representation of a
CoordinateReferenceSystem . |
Modifier and Type | Method and Description |
---|---|
<P extends Position> |
WkbDecoder.decode(ByteBuffer byteBuffer,
CoordinateReferenceSystem<P> crs)
Decodes a WKB encoded representation of a
Geometry , assuming the specified
CoordinateReferenceSystem |
<P extends Position> |
WktDecoder.decode(String wkt,
CoordinateReferenceSystem<P> crs)
Decodes a WKT representation using the specified
CoordinateReferenceSystem . |
static <P extends Position> |
Wkt.fromWkt(String wkt,
CoordinateReferenceSystem<P> crs)
Decodes the specified WKT String to a
Geometry . |
Modifier and Type | Method and Description |
---|---|
protected <P extends Position> |
AbstractSDODecoder.convertOrdinateArray(Double[] oordinates,
SDOGeometry sdoGeom,
CoordinateReferenceSystem<P> crs) |
protected <P extends Position> |
AbstractSDODecoder.getElementCSeq(int i,
SDOGeometry sdoGeom,
boolean hasNextSE,
CoordinateReferenceSystem<P> crs)
Gets the CoordinateSequence corresponding to an element.
|
Constructor and Description |
---|
CountingPositionSequenceBuilder(CoordinateReferenceSystem<P> crs) |
Modifier and Type | Class and Description |
---|---|
class |
CompoundCoordinateReferenceSystem<P extends Position>
A compound
CoordinateReferenceSystem that is constructed by adding additional CoordinateSystemAxes to a
base coordinate reference system (either a Geographic, Geocentric or Projected Coordinate Reference System). |
class |
GeocentricCartesianCoordinateReferenceSystem
A geo-centric
CoordinateReferenceSystem . |
class |
Geographic2DCoordinateReferenceSystem
A geographic
CoordinateReferenceSystem . |
class |
Geographic3DCoordinateReferenceSystem
Created by Karel Maesen, Geovise BVBA on 30/11/14.
|
class |
GeographicCoordinateReferenceSystem<P extends G2D>
Created by Karel Maesen, Geovise BVBA on 30/11/14.
|
class |
LinearCoordinateReferenceSystem
A 1-Dimensional Linear Coordinate Ssytem that consists of the points that lie on the axis of a linear
feature, for example a pipeline or a road.
|
class |
ProjectedCoordinateReferenceSystem
A projected
CoordinateReferenceSystem . |
class |
SingleCoordinateReferenceSystem<P extends Position>
A Coordinate reference system consisting of one Coordinate System and one Datum (as opposed to a Compound CRS)
Created by Karel Maesen, Geovise BVBA on 29/11/14.
|
class |
VerticalCoordinateReferenceSystem
Created by Karel Maesen, Geovise BVBA on 29/11/14.
|
Modifier and Type | Method and Description |
---|---|
static CoordinateReferenceSystem<?> |
CoordinateReferenceSystems.adjustTo(CoordinateReferenceSystem<?> crs,
int coordinateDimension) |
static CoordinateReferenceSystem<?> |
CrsRegistry.computeIfAbsent(CrsId crsId,
Function<? super CrsId,? extends CoordinateReferenceSystem<? extends Position>> buildCrs)
Returns the registered coordinate reference system, or when unavailable in the registry, create a new reference system and register
it on-the-fly.
|
CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expand(CoordinateReferenceSystem<?> base,
CoordinateSystemAxisDirection direction) |
CoordinateReferenceSystem<?> |
DefaultCoordinateSystemExpander.expand(CoordinateReferenceSystem<?> base,
CoordinateSystemAxisDirection direction) |
default CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expandM(CoordinateReferenceSystem<?> base) |
default CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expandZ(CoordinateReferenceSystem<?> base) |
static CoordinateReferenceSystem<?> |
CrsRegistry.getCoordinateReferenceSystem(CrsId crsId,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified CrsId |
static CoordinateReferenceSystem<?> |
CrsRegistry.getCoordinateReferenceSystemForEPSG(int epsgCode,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified EPSG code. |
static CoordinateReferenceSystem<?> |
CrsRegistry.ifAbsentReturnGeographic2D(int epsgCode)
Returns the registered coordinate reference system, or when unavailable in the registry, create a new Geographic 2D system and register
this on-the-fly.
|
static CoordinateReferenceSystem<?> |
CrsRegistry.ifAbsentReturnProjected2D(int epsgCode)
Returns the registered coordinate reference system, or when unavailable in the registry, create a new Projected 2D system and register
this on-the-fly.
|
static CoordinateReferenceSystem<?> |
CoordinateReferenceSystems.mkCoordinateReferenceSystem(CoordinateReferenceSystem<?> baseCrs,
LinearUnit verticalUnit,
LinearUnit measureUnit)
Returns a
CoordinateReferenceSystem derived from the specified @{code CoordinateReferenceSystem }
but extended with the specified axis |
static <P extends Position> |
CoordinateReferenceSystems.mkCoordinateReferenceSystem(CoordinateReferenceSystem<?> baseCrs,
LinearUnit verticalUnit,
LinearUnit measureUnit,
Class<P> positionType) |
static CoordinateReferenceSystem<?> |
CoordinateReferenceSystems.mkCoordinateReferenceSystem(int epsgCode,
LinearUnit verticalUnit,
LinearUnit measureUnit) |
Modifier and Type | Method and Description |
---|---|
static <P extends Position,R extends P> |
CoordinateReferenceSystems.addLinearSystem(CoordinateReferenceSystem<P> base,
Class<R> resultCSPtype,
LinearUnit unit) |
static <P extends Position> |
CoordinateReferenceSystems.addLinearSystem(CoordinateReferenceSystem<P> base,
LinearUnit unit) |
static <P extends Position,R extends P> |
CoordinateReferenceSystems.addVerticalSystem(CoordinateReferenceSystem<P> base,
Class<R> resultCSPtype,
LinearUnit unit) |
static <P extends Position> |
CoordinateReferenceSystems.addVerticalSystem(CoordinateReferenceSystem<P> base,
LinearUnit unit) |
static CoordinateReferenceSystem<?> |
CoordinateReferenceSystems.adjustTo(CoordinateReferenceSystem<?> crs,
int coordinateDimension) |
static <P extends Position> |
CoordinateReferenceSystems.asProjected(CoordinateReferenceSystem<P> original)
Turn a geographic CRS into a projected CRS, using a no-op projection
|
static <P extends Position> |
CoordinateReferenceSystems.combine(CoordinateReferenceSystem<P> base,
SingleCoordinateReferenceSystem ods) |
static <P extends Position,R extends P> |
CoordinateReferenceSystems.combine(CoordinateReferenceSystem<P> base,
SingleCoordinateReferenceSystem ods,
Class<R> resultCSPtype) |
CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expand(CoordinateReferenceSystem<?> base,
CoordinateSystemAxisDirection direction) |
CoordinateReferenceSystem<?> |
DefaultCoordinateSystemExpander.expand(CoordinateReferenceSystem<?> base,
CoordinateSystemAxisDirection direction) |
default CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expandM(CoordinateReferenceSystem<?> base) |
default CoordinateReferenceSystem<?> |
CoordinateSystemExpander.expandZ(CoordinateReferenceSystem<?> base) |
static CoordinateReferenceSystem<?> |
CrsRegistry.getCoordinateReferenceSystem(CrsId crsId,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified CrsId |
static CoordinateReferenceSystem<?> |
CrsRegistry.getCoordinateReferenceSystemForEPSG(int epsgCode,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified EPSG code. |
static <P extends Position> |
CoordinateReferenceSystems.hasAxisOrder(CoordinateReferenceSystem<P> crs,
int order) |
static <P extends Position> |
CoordinateReferenceSystems.hasMeasureAxis(CoordinateReferenceSystem<P> crs)
Deprecated.
User crs.hasM()
|
static <P extends Position> |
CoordinateReferenceSystems.hasVerticalAxis(CoordinateReferenceSystem<P> crs)
Deprecated.
User crs.hasZ()
|
static CoordinateReferenceSystem<?> |
CoordinateReferenceSystems.mkCoordinateReferenceSystem(CoordinateReferenceSystem<?> baseCrs,
LinearUnit verticalUnit,
LinearUnit measureUnit)
Returns a
CoordinateReferenceSystem derived from the specified @{code CoordinateReferenceSystem }
but extended with the specified axis |
static <P extends Position> |
CoordinateReferenceSystems.mkCoordinateReferenceSystem(CoordinateReferenceSystem<?> baseCrs,
LinearUnit verticalUnit,
LinearUnit measureUnit,
Class<P> positionType) |
static void |
CrsRegistry.registerCoordinateReferenceSystem(CoordinateReferenceSystem<?> crs)
Registers a
CoordinateReferenceSystem in the registry. |
static void |
CrsRegistry.registerCoordinateReferenceSystem(CrsId id,
CoordinateReferenceSystem<?> crs)
Registers a
CoordinateReferenceSystem in the registry under the specified (pseudo-)EPSG code. |
Modifier and Type | Method and Description |
---|---|
static CoordinateReferenceSystem<?> |
CrsRegistry.computeIfAbsent(CrsId crsId,
Function<? super CrsId,? extends CoordinateReferenceSystem<? extends Position>> buildCrs)
Returns the registered coordinate reference system, or when unavailable in the registry, create a new reference system and register
it on-the-fly.
|
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<P> |
TransformOperation.getSource() |
CoordinateReferenceSystem<Q> |
TransformOperation.getTarget() |
Modifier and Type | Method and Description |
---|---|
static <P extends Position,Q extends Position> |
TransformOperations.from(CoordinateReferenceSystem<P> source,
CoordinateReferenceSystem<Q> target) |
static <P extends Position,Q extends Position> |
TransformOperations.from(CoordinateReferenceSystem<P> source,
CoordinateReferenceSystem<Q> target) |
static <P extends Position,Q extends Position> |
CoordinateOperations.transform(CoordinateReferenceSystem<P> source,
CoordinateReferenceSystem<Q> target) |
static <P extends Position,Q extends Position> |
CoordinateOperations.transform(CoordinateReferenceSystem<P> source,
CoordinateReferenceSystem<Q> target) |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<?> |
MortonContext.getCoordinateReferenceSystem()
Returns the CrsId of the spatial extent
|
Modifier and Type | Method and Description |
---|---|
static <P extends Position> |
JTS.from(org.locationtech.jts.geom.Envelope jtsEnvelope,
CoordinateReferenceSystem<P> crs)
Converts a JTS
Envelope to a geolatte Envelope with the
specified CRS. |
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.
|
Copyright © 2021 geolatte.org. All rights reserved.