A B C D E F G H I L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptsURL(String) - Method in class io.github.sebasbaumh.postgis.DriverWrapper
-
Check whether the driver thinks he can handle the given URL.
- add(LineString) - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Adds a geometry.
- add(Point) - Method in class io.github.sebasbaumh.postgis.LineString
-
Adds the given point.
- add(T) - Method in class io.github.sebasbaumh.postgis.MultiGeometry
-
Adds a geometry.
- addAll(Iterable<? extends LineString>) - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Adds all given geometries.
- addAll(Iterable<? extends T>) - Method in class io.github.sebasbaumh.postgis.MultiGeometry
-
Adds all given geometries.
- addAll(Iterable<Point>) - Method in class io.github.sebasbaumh.postgis.LineString
-
Adds all given points.
- addRing(T) - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Adds a ring.
B
- BIG_ENDIAN - Static variable in class io.github.sebasbaumh.postgis.PostGisUtil
-
Big endian encoding.
- BinaryParser - Class in io.github.sebasbaumh.postgis.binary
-
Parse binary representation of geometries.
- BinaryParser() - Constructor for class io.github.sebasbaumh.postgis.binary.BinaryParser
- BinaryWriter - Class in io.github.sebasbaumh.postgis.binary
-
Create binary representation of geometries.
- BinaryWriter() - Constructor for class io.github.sebasbaumh.postgis.binary.BinaryWriter
- ByteGetter - Class in io.github.sebasbaumh.postgis.binary
-
Allows reading bytes from a
String
in hex format. - ByteGetter(String) - Constructor for class io.github.sebasbaumh.postgis.binary.ByteGetter
-
Constructs an instance.
- ByteSetter - Class in io.github.sebasbaumh.postgis.binary
-
Allows writing bytes to a
String
in hex format. - ByteSetter() - Constructor for class io.github.sebasbaumh.postgis.binary.ByteSetter
-
Constructs an instance.
C
- calcAreaSigned(Iterable<Point>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Calculates the area of the outer ring of the given polygon (signed).
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Do some internal consistency checks on the geometry.
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.LineString
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.Point
- checkConsistency() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- checkConsistency(Iterable<T>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Do some internal consistency checks on the given geometries.
- CircularString - Class in io.github.sebasbaumh.postgis
-
The CIRCULARSTRING is the basic curve type, similar to a LINESTRING in the linear world.
- CircularString() - Constructor for class io.github.sebasbaumh.postgis.CircularString
-
Constructs an instance.
- CircularString(Iterable<Point>) - Constructor for class io.github.sebasbaumh.postgis.CircularString
-
Constructs an instance.
- clearRings() - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Clears all rings.
- clone() - Method in class io.github.sebasbaumh.postgis.PGboxbase
- clone() - Method in class io.github.sebasbaumh.postgis.PGgeometry
- close() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Closes this
Curve
if the last coordinate is not already the same as the first coordinate. - close() - Method in class io.github.sebasbaumh.postgis.Curve
-
Closes this
Curve
if the last coordinate is not already the same as the first coordinate. - close() - Method in class io.github.sebasbaumh.postgis.LineString
-
Closes this
LineString
if the last coordinate is not already the same as the first coordinate. - CompoundCurve - Class in io.github.sebasbaumh.postgis
-
A compound curve is a single, continuous curve that has both curved (circular) segments and linear segments.
- CompoundCurve() - Constructor for class io.github.sebasbaumh.postgis.CompoundCurve
-
Constructs an instance.
- CompoundCurve(Iterable<? extends LineString>) - Constructor for class io.github.sebasbaumh.postgis.CompoundCurve
-
Constructs an instance.
- connect(String, Properties) - Method in class io.github.sebasbaumh.postgis.DriverWrapper
-
Creates a postgresql connection, and then adds the PostGIS data types to it calling addpgtypes()
- coordsAreEqual(Point) - Method in class io.github.sebasbaumh.postgis.Point
- copy() - Method in class io.github.sebasbaumh.postgis.Point
-
Creates a copy of this
Point
. - Curve - Class in io.github.sebasbaumh.postgis
-
Base class for simple curves like
LineString
s and complex classes likeCompoundCurve
s. - Curve(int) - Constructor for class io.github.sebasbaumh.postgis.Curve
-
Constructor for subclasses.
- CurvePolygon - Class in io.github.sebasbaumh.postgis
-
A CURVEPOLYGON is just like a polygon, with an outer ring and zero or more inner rings.
- CurvePolygon() - Constructor for class io.github.sebasbaumh.postgis.CurvePolygon
-
Constructs an instance.
- CurvePolygon(Curve) - Constructor for class io.github.sebasbaumh.postgis.CurvePolygon
-
Constructs an instance.
- CurvePolygon(Iterable<? extends Curve>) - Constructor for class io.github.sebasbaumh.postgis.CurvePolygon
-
Constructs an instance.
D
- data - Variable in class io.github.sebasbaumh.postgis.binary.ValueGetter
- distance(Point) - Method in class io.github.sebasbaumh.postgis.Point
-
Calculates the distance to the given
Point
. - DriverWrapper - Class in io.github.sebasbaumh.postgis
-
DriverWrapper Wraps the PostGreSQL Driver to transparently add the PostGIS Object Classes.
- DriverWrapper() - Constructor for class io.github.sebasbaumh.postgis.DriverWrapper
-
Default constructor.
E
- equals(Object) - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- equals(Object) - Method in class io.github.sebasbaumh.postgis.Geometry
-
java.lang.Object equals implementation
- equals(Object) - Method in class io.github.sebasbaumh.postgis.LineString
- equals(Object) - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- equals(Object) - Method in class io.github.sebasbaumh.postgis.PGboxbase
- equals(Object) - Method in class io.github.sebasbaumh.postgis.Point
- equals(Object) - Method in class io.github.sebasbaumh.postgis.PolygonBase
- equalsDouble(double, double) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Compares two double values respecting
Double.NaN
values. - equalsIterable(Iterable<T>, Iterable<U>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Checks, if the given
Iterable
s contain the same elements (in the same order).
F
- firstOrDefault(Iterable<T>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Returns the first or a default element of the given collection.
G
- Geometry - Class in io.github.sebasbaumh.postgis
-
The base class of all geometries
- Geometry(int) - Constructor for class io.github.sebasbaumh.postgis.Geometry
-
Constructor for subclasses.
- GeometryCollection - Class in io.github.sebasbaumh.postgis
-
Geometry Collection.
- GeometryCollection() - Constructor for class io.github.sebasbaumh.postgis.GeometryCollection
-
Constructs an instance.
- GeometryCollection(Iterable<Geometry>) - Constructor for class io.github.sebasbaumh.postgis.GeometryCollection
-
Constructs an instance.
- get(int) - Method in class io.github.sebasbaumh.postgis.binary.ByteGetter
-
Gets a byte at the given index.
- getByte() - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get a byte, should be equal for all endians
- getBytes() - Method in class io.github.sebasbaumh.postgis.binary.ByteGetter
-
Gets all bytes.
- getCoordinates() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- getCoordinates() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Gets the coordinates of this
Geometry
. - getCoordinates() - Method in class io.github.sebasbaumh.postgis.LineString
- getCoordinates() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- getCoordinates() - Method in class io.github.sebasbaumh.postgis.Point
- getCoordinates() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- getDimension() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Deprecated.use
Geometry.is3d()
instead - getDouble() - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get a double.
- getEndian() - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Gets the endian encoding.
- getEndian() - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Gets the endian encoding.
- getEndPoint() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- getEndPoint() - Method in interface io.github.sebasbaumh.postgis.LineBasedGeometry
-
Gets the end point.
- getEndPoint() - Method in class io.github.sebasbaumh.postgis.LineString
- getEndPoint() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- getGeometries() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Gets all geometries.
- getGeometries() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
-
Gets all geometries.
- getGeometry() - Method in class io.github.sebasbaumh.postgis.PGgeometry
-
Gets the underlying
Geometry
. - getGeoType() - Method in class io.github.sebasbaumh.postgis.PGgeometry
-
Gets the OGIS geometry type.
- getInt() - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get an integer.
- getInt(int) - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get a 32-Bit integer
- getLLB() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
Returns the lower left bottom corner of the box as a Point object
- getLong() - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get a long.
- getLong(int) - Method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get a long value.
- getM() - Method in class io.github.sebasbaumh.postgis.Point
-
Gets the measurement.
- getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Gets the number of coordinates of this
Geometry
. - getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.LineString
- getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.Point
- getNumberOfCoordinates() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- getNumberOfRings() - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Gets the number of rings.
- getOuterRing() - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Gets the outer ring/boundary of the polygon.
- getParentLogger() - Method in class io.github.sebasbaumh.postgis.DriverWrapper
- getPGtype() - Method in class io.github.sebasbaumh.postgis.PGbox2d
- getPGtype() - Method in class io.github.sebasbaumh.postgis.PGbox3d
- getPGtype() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
The Postgres type we have (same construct as getPrefix())
- getPrefix() - Method in class io.github.sebasbaumh.postgis.PGbox2d
- getPrefix() - Method in class io.github.sebasbaumh.postgis.PGbox3d
- getPrefix() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
The Prefix we have in WKT rep.
- getRings() - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Gets all inner rings.
- getSrid() - Method in class io.github.sebasbaumh.postgis.Geometry
-
The OGIS geometry type number of this geometry.
- getStartPoint() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- getStartPoint() - Method in interface io.github.sebasbaumh.postgis.LineBasedGeometry
-
Gets the start point.
- getStartPoint() - Method in class io.github.sebasbaumh.postgis.LineString
- getStartPoint() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- getType() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Gets the OGIS geometry type number of this geometry.
- getURT() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
Returns the upper right top corner of the box as a Point object
- getValue() - Method in class io.github.sebasbaumh.postgis.PGboxbase
- getValue() - Method in class io.github.sebasbaumh.postgis.PGgeometry
- getValueGetterForEndian(ByteGetter) - Static method in class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Get the appropriate
ValueGetter
for the given endianness. - getX() - Method in class io.github.sebasbaumh.postgis.Point
-
Gets the X-coordinate.
- getY() - Method in class io.github.sebasbaumh.postgis.Point
-
Gets the Y-coordinate.
- getZ() - Method in class io.github.sebasbaumh.postgis.Point
-
Gets the Z-coordinate.
H
- hashCode() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- hashCode() - Method in class io.github.sebasbaumh.postgis.Geometry
- hashCode() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- hashCode() - Method in class io.github.sebasbaumh.postgis.Point
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Returns whether we have a measure (4th dimension)
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.LineString
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.Point
- hasMeasure() - Method in class io.github.sebasbaumh.postgis.PolygonBase
I
- io.github.sebasbaumh.postgis - package io.github.sebasbaumh.postgis
- io.github.sebasbaumh.postgis.binary - package io.github.sebasbaumh.postgis.binary
-
Binary parser package.
- is3d() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- is3d() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Checks if this
Geometry
is 3d. - is3d() - Method in class io.github.sebasbaumh.postgis.LineString
- is3d() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- is3d() - Method in class io.github.sebasbaumh.postgis.Point
- is3d() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- isClockwise() - Method in class io.github.sebasbaumh.postgis.Curve
-
Checks if this ring is oriented in clockwise direction.
- isClockwise() - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Checks if this polygon is oriented in clockwise direction.
- isClosed() - Method in class io.github.sebasbaumh.postgis.Curve
- isClosed() - Method in interface io.github.sebasbaumh.postgis.LineBasedGeometry
-
Checks if this line is closed, so the last coordinate is the same as the first coordinate.
- isClosed() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- isEmpty() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Checks, if there are no sub-geometries.
- isEmpty() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Ist this
Geometry
empty, so does it contain no coordinates or other geometries? - isEmpty() - Method in class io.github.sebasbaumh.postgis.LineString
- isEmpty() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
-
Checks, if there are no sub-geometries.
- isEmpty() - Method in class io.github.sebasbaumh.postgis.Point
- isEmpty() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- iterator() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- iterator() - Method in class io.github.sebasbaumh.postgis.LineString
- iterator() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- iterator() - Method in class io.github.sebasbaumh.postgis.PolygonBase
L
- lastOrDefault(Iterable<T>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Gets the last element of the given
Iterable
. - length() - Method in class io.github.sebasbaumh.postgis.CircularString
- length() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- length() - Method in interface io.github.sebasbaumh.postgis.LineBasedGeometry
-
Gets the length of this line.
- length() - Method in class io.github.sebasbaumh.postgis.LineString
- length() - Method in class io.github.sebasbaumh.postgis.MultiCurve
-
Gets the length of this line.
- length() - Method in class io.github.sebasbaumh.postgis.PolygonBase
- LinearRing - Class in io.github.sebasbaumh.postgis
-
This represents the LinearRing GIS datatype.
- LinearRing() - Constructor for class io.github.sebasbaumh.postgis.LinearRing
-
Constructs an instance.
- LinearRing(Iterable<Point>) - Constructor for class io.github.sebasbaumh.postgis.LinearRing
-
Constructs an instance.
- LineBasedGeometry - Interface in io.github.sebasbaumh.postgis
-
Interface to mark line based geometries.
- LineString - Class in io.github.sebasbaumh.postgis
-
Linestring.
- LineString() - Constructor for class io.github.sebasbaumh.postgis.LineString
-
Constructs an instance.
- LineString(int) - Constructor for class io.github.sebasbaumh.postgis.LineString
-
Constructor for subclasses.
- LineString(int, Iterable<Point>) - Constructor for class io.github.sebasbaumh.postgis.LineString
-
Constructor for subclasses.
- LineString(Iterable<Point>) - Constructor for class io.github.sebasbaumh.postgis.LineString
-
Constructs an instance.
- LITTLE_ENDIAN - Static variable in class io.github.sebasbaumh.postgis.PostGisUtil
-
Little endian encoding.
- llb - Variable in class io.github.sebasbaumh.postgis.PGboxbase
-
The lower left bottom corner of the box.
M
- MultiCurve - Class in io.github.sebasbaumh.postgis
-
The MULTICURVE is a collection of curves, which can include linear strings, circular strings or compound strings.
- MultiCurve() - Constructor for class io.github.sebasbaumh.postgis.MultiCurve
-
Constructs an instance.
- MultiCurve(Iterable<Curve>) - Constructor for class io.github.sebasbaumh.postgis.MultiCurve
-
Constructs an instance.
- MultiGeometry<T extends Geometry> - Class in io.github.sebasbaumh.postgis
-
Base class for multi geometries.
- MultiGeometry(int) - Constructor for class io.github.sebasbaumh.postgis.MultiGeometry
-
Constructs an instance with the specified type.
- MultiGeometry(int, Iterable<? extends T>) - Constructor for class io.github.sebasbaumh.postgis.MultiGeometry
-
Constructs an instance with the specified type and geometries.
- MultiLineString - Class in io.github.sebasbaumh.postgis
-
A multi line.
- MultiLineString() - Constructor for class io.github.sebasbaumh.postgis.MultiLineString
-
Constructs an instance.
- MultiLineString(Iterable<LineString>) - Constructor for class io.github.sebasbaumh.postgis.MultiLineString
-
Constructs an instance.
- MultiPoint - Class in io.github.sebasbaumh.postgis
-
A multi point.
- MultiPoint() - Constructor for class io.github.sebasbaumh.postgis.MultiPoint
-
Constructs an instance.
- MultiPoint(Iterable<Point>) - Constructor for class io.github.sebasbaumh.postgis.MultiPoint
-
Constructs an instance.
- MultiPolygon - Class in io.github.sebasbaumh.postgis
-
A multi polygon.
- MultiPolygon() - Constructor for class io.github.sebasbaumh.postgis.MultiPolygon
-
Constructs an instance.
- MultiPolygon(Iterable<Polygon>) - Constructor for class io.github.sebasbaumh.postgis.MultiPolygon
-
Constructs an instance.
- MultiSurface - Class in io.github.sebasbaumh.postgis
-
The MULTISURFACE is a collection of surfaces, which can be (linear) polygons or curve polygons.
- MultiSurface() - Constructor for class io.github.sebasbaumh.postgis.MultiSurface
-
Constructs an instance.
- MultiSurface(Iterable<T>) - Constructor for class io.github.sebasbaumh.postgis.MultiSurface
-
Constructs an instance.
N
- newInstance() - Method in class io.github.sebasbaumh.postgis.PGbox2d
- newInstance() - Method in class io.github.sebasbaumh.postgis.PGbox3d
- newInstance() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
Obtain a new instance of a PGboxbase We could have used this.getClass().newInstance() here, but this forces us dealing with InstantiationException and IllegalAccessException.
- numPoints() - Method in class io.github.sebasbaumh.postgis.Geometry
-
Deprecated.use
Geometry.getNumberOfCoordinates()
instead
P
- parse(String) - Static method in class io.github.sebasbaumh.postgis.binary.BinaryParser
-
Parse a hex encoded geometry
- PGbox2d - Class in io.github.sebasbaumh.postgis
-
BOX2D representing the maximum extents of the geometry.
- PGbox2d() - Constructor for class io.github.sebasbaumh.postgis.PGbox2d
-
Constructs an instance.
- PGbox2d(Point, Point) - Constructor for class io.github.sebasbaumh.postgis.PGbox2d
-
Constructs an instance.
- PGbox2d(String) - Constructor for class io.github.sebasbaumh.postgis.PGbox2d
-
Constructs an instance.
- PGbox3d - Class in io.github.sebasbaumh.postgis
-
BOX3D representing the maximum extents of the geometry.
- PGbox3d() - Constructor for class io.github.sebasbaumh.postgis.PGbox3d
-
Constructs an instance.
- PGbox3d(Point, Point) - Constructor for class io.github.sebasbaumh.postgis.PGbox3d
-
Constructs an instance.
- PGbox3d(String) - Constructor for class io.github.sebasbaumh.postgis.PGbox3d
-
Constructs an instance.
- PGboxbase - Class in io.github.sebasbaumh.postgis
-
Base class for bounding boxes.
- PGboxbase() - Constructor for class io.github.sebasbaumh.postgis.PGboxbase
-
Constructs an instance.
- PGboxbase(Point, Point) - Constructor for class io.github.sebasbaumh.postgis.PGboxbase
-
Constructs an instance.
- PGboxbase(String) - Constructor for class io.github.sebasbaumh.postgis.PGboxbase
-
Constructs an instance.
- PGgeometry - Class in io.github.sebasbaumh.postgis
-
Basic geometry class.
- PGgeometry() - Constructor for class io.github.sebasbaumh.postgis.PGgeometry
-
Constructs an instance.
- PGgeometry(Geometry) - Constructor for class io.github.sebasbaumh.postgis.PGgeometry
-
Constructs an instance.
- PGgeometry(String) - Constructor for class io.github.sebasbaumh.postgis.PGgeometry
-
Constructs an instance.
- Point - Class in io.github.sebasbaumh.postgis
-
Point geometry.
- Point() - Constructor for class io.github.sebasbaumh.postgis.Point
-
Constructs an empty instance.
- Point(double, double) - Constructor for class io.github.sebasbaumh.postgis.Point
-
Constructs a new Point
- Point(double, double, double) - Constructor for class io.github.sebasbaumh.postgis.Point
-
Constructs a new Point
- Point(double, double, double, double) - Constructor for class io.github.sebasbaumh.postgis.Point
-
Constructs a new Point
- Polygon - Class in io.github.sebasbaumh.postgis
-
A polygon.
- Polygon() - Constructor for class io.github.sebasbaumh.postgis.Polygon
-
Constructs an instance.
- Polygon(LinearRing) - Constructor for class io.github.sebasbaumh.postgis.Polygon
-
Constructs an instance.
- Polygon(Iterable<LinearRing>) - Constructor for class io.github.sebasbaumh.postgis.Polygon
-
Constructs an instance with the given rings.
- PolygonBase<T extends Curve> - Class in io.github.sebasbaumh.postgis
-
Base class for a polygon to allow similar handling of straight and circular polygons.
- PolygonBase(int, Class<U>) - Constructor for class io.github.sebasbaumh.postgis.PolygonBase
-
Constructor for subclasses.
- PolygonBase(int, Class<U>, Iterable<V>) - Constructor for class io.github.sebasbaumh.postgis.PolygonBase
-
Constructor for subclasses.
- PolygonBase(int, U) - Constructor for class io.github.sebasbaumh.postgis.PolygonBase
-
Constructor for subclasses.
- PostGisUtil - Class in io.github.sebasbaumh.postgis
-
Class for helper functions.
R
- registerDataTypes(PGConnection) - Static method in class io.github.sebasbaumh.postgis.DriverWrapper
-
Registers all datatypes on the given connection.
- removeBrackets(String) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Removes brackets from the given
String
. - reverse() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- reverse() - Method in class io.github.sebasbaumh.postgis.Curve
-
Reverses this linestring.
- reverse() - Method in class io.github.sebasbaumh.postgis.LineString
-
Reverses this linestring.
S
- setByte(byte) - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Set a byte, should be equal for all endians
- setDouble(double) - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Set a double.
- setGeometry(Geometry) - Method in class io.github.sebasbaumh.postgis.PGgeometry
-
Sets the underlying
Geometry
. - setInt(int) - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Set a 32-Bit integer
- setLong(long) - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Set a long value.
- setM(double) - Method in class io.github.sebasbaumh.postgis.Point
-
Sets the measurement.
- setOuterRing(T) - Method in class io.github.sebasbaumh.postgis.PolygonBase
-
Sets the outer ring/boundary of the polygon.
- setSrid(int) - Method in class io.github.sebasbaumh.postgis.CompoundCurve
- setSrid(int) - Method in class io.github.sebasbaumh.postgis.Geometry
-
Recursively sets the srid on this geometry and all contained subgeometries
- setSrid(int) - Method in class io.github.sebasbaumh.postgis.MultiGeometry
- setValue(String) - Method in class io.github.sebasbaumh.postgis.PGbox2d
- setValue(String) - Method in class io.github.sebasbaumh.postgis.PGboxbase
- setValue(String) - Method in class io.github.sebasbaumh.postgis.PGgeometry
- setX(double) - Method in class io.github.sebasbaumh.postgis.Point
-
Sets the X-coordinate.
- setY(double) - Method in class io.github.sebasbaumh.postgis.Point
-
Sets the Y-coordinate.
- setZ(double) - Method in class io.github.sebasbaumh.postgis.Point
-
Sets the Z-coordinate.
- size() - Method in class io.github.sebasbaumh.postgis.CompoundCurve
-
Gets the number of contained geometries.
- size() - Method in class io.github.sebasbaumh.postgis.MultiGeometry
-
Gets the number of contained geometries.
- size(Iterable<T>) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Returns the number of elements in this collection.
- split(String, char) - Static method in class io.github.sebasbaumh.postgis.PostGisUtil
-
Splits a string like
String.split(String)
without any support for regular expressions, but faster. - subgeoms - Variable in class io.github.sebasbaumh.postgis.MultiGeometry
-
Sub geometries.
T
- to2d() - Method in class io.github.sebasbaumh.postgis.Point
-
Gets this
Point
as a 2d object. - toString() - Method in class io.github.sebasbaumh.postgis.binary.ByteSetter
- toString() - Method in class io.github.sebasbaumh.postgis.binary.ValueSetter
- toString() - Method in class io.github.sebasbaumh.postgis.PGboxbase
-
Unlike geometries, toString() does _not_ contain the srid, as server-side PostGIS cannot parse this.
- toString() - Method in class io.github.sebasbaumh.postgis.PGgeometry
- TYPE - Static variable in class io.github.sebasbaumh.postgis.CircularString
-
The OGIS geometry type number for arcs/circles.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.CompoundCurve
-
The OGIS geometry type number for single, continuous curves that have both curved (circular) segments and linear segments.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.CurvePolygon
-
The OGIS geometry type number for polygons with curved segments.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.GeometryCollection
-
The OGIS geometry type number for feature collections.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.LineString
-
The OGIS geometry type number for lines.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.MultiCurve
-
The OGIS geometry type number for aggregate curves, which can include linear strings, circular strings or compound strings.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.MultiLineString
-
The OGIS geometry type number for aggregate lines.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.MultiPoint
-
The OGIS geometry type number for aggregate points.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.MultiPolygon
-
The OGIS geometry type number for aggregate polygons.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.MultiSurface
-
The OGIS geometry type number for multi surfaces, which can be (linear) polygons or curve polygons.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.Point
-
The OGIS geometry type number for points.
- TYPE - Static variable in class io.github.sebasbaumh.postgis.Polygon
-
The OGIS geometry type number for polygons.
U
- UNKNOWN_SRID - Static variable in class io.github.sebasbaumh.postgis.Geometry
-
Official UNKNOWN srid value
- urt - Variable in class io.github.sebasbaumh.postgis.PGboxbase
-
The upper right top corner of the box.
V
- ValueGetter - Class in io.github.sebasbaumh.postgis.binary
-
Allows reading values.
- ValueGetter(ByteGetter, byte) - Constructor for class io.github.sebasbaumh.postgis.binary.ValueGetter
-
Constructs an instance.
- ValueSetter - Class in io.github.sebasbaumh.postgis.binary
-
Allows writing values in little endian encoding.
- ValueSetter(ByteSetter) - Constructor for class io.github.sebasbaumh.postgis.binary.ValueSetter
-
Constructs an instance on the given
ByteSetter
.
W
- write(byte) - Method in class io.github.sebasbaumh.postgis.binary.ByteSetter
-
Writes a byte.
- writeGeometry(Geometry, ValueSetter) - Static method in class io.github.sebasbaumh.postgis.binary.BinaryWriter
-
Parse a geometry starting at offset.
- writeHexed(Geometry) - Static method in class io.github.sebasbaumh.postgis.binary.BinaryWriter
-
Write a hex encoded geometry The geometry you put in must be consistent, geom.checkConsistency() must return true.
All Classes All Packages