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.curve |
Space-filling curves.
|
org.geolatte.geom.json | |
org.geolatte.geom.jts |
JTS interoperability classes.
|
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<P> |
Envelope.getCoordinateReferenceSystem()
Returns the
CoordinateReferenceSystem for this Envelope |
CoordinateReferenceSystem<P> |
Geometry.getCoordinateReferenceSystem()
Returns the coordinate reference system of this
Geometry |
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)
Gets the coordinate value for the specified axis
|
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<? extends Complex> geometryClass,
CoordinateReferenceSystem<Q> crs) |
static <P extends Position> |
Geometries.mkGeometry(Class<? extends Simple> 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 |
---|
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)
Constructs an empty
GeometryCollection |
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 (base)
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<?> |
CrsRegistry.getCoordinateReferenceSystemForEPSG(int epsgCode,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified EPSG code. |
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.
|
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 <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) |
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) |
static <P extends Position> |
CoordinateReferenceSystems.hasVerticalAxis(CoordinateReferenceSystem<P> crs) |
static void |
CrsRegistry.registerCoordinateReferenceSystem(CoordinateReferenceSystem<?> crs)
Registers a
CoordinateReferenceSystem in the registry under the specified (pseudo-)EPSG code. |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem<?> |
MortonContext.getCoordinateReferenceSystem()
Returns the CrsId of the spatial extent
|
Modifier and Type | Method and Description |
---|---|
protected CoordinateReferenceSystem<P> |
AbstractGeometryParser.getDefaultCrs() |
protected CoordinateReferenceSystem<P> |
AbstractGeometryParser.resolveCrs(com.fasterxml.jackson.databind.JsonNode root,
int coordinateDimension,
CoordinateReferenceSystem<P> defaultCrs) |
Modifier and Type | Method and Description |
---|---|
MultiPolygon<P> |
MultiPolygonParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
MultiPoint<P> |
MultiPointParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
MultiLineString<P> |
MultiLineStringParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
GeometryCollection<P,Geometry<P>> |
GeometryCollectionParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
abstract G |
AbstractGeometryParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> crs) |
Point<P> |
PointParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
Polygon<P> |
PolygonParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
LineString<P> |
LineStringParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
Geometry<P> |
GeometryParser.parse(com.fasterxml.jackson.databind.JsonNode root,
CoordinateReferenceSystem<P> defaultCrs) |
protected CoordinateReferenceSystem<P> |
AbstractGeometryParser.resolveCrs(com.fasterxml.jackson.databind.JsonNode root,
int coordinateDimension,
CoordinateReferenceSystem<P> defaultCrs) |
Constructor and Description |
---|
GeolatteGeomModule(CoordinateReferenceSystem<P> defaultCrs) |
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 © 2023 geolatte.org. All rights reserved.