- DatelineRule - Enum in org.locationtech.spatial4j.context.jts
-
Indicates the algorithm used to process JTS Polygons and JTS LineStrings for detecting dateline
(aka anti-meridian) crossings.
- datelineRule - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- datelineRule - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- decode(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Decodes the given geohash into a longitude (X) and latitude (Y)
- decodeBoundary(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Returns min-max lon (X), min-max lat (Y).
- defaultPrecisionModel - Static variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- DEG_180_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
- DEG_225_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_270_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_45_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_90_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
- DEG_TO_KM - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Equivalent to degrees2Dist(1, EARTH_MEAN_RADIUS_KM)
- degrees2Dist(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Converts degrees
(1/360th of circumference of a circle) into a
distance as measured by the units of the radius.
- DEGREES_TO_RADIANS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
- deltaLen(Range) - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- deserialize(JsonParser, DeserializationContext) - Method in class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
-
- deserialize(JsonParser, DeserializationContext) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
-
- dimension - Variable in class org.locationtech.spatial4j.io.WKTReader.State
-
Dimensionality specifier (e.g.
- dist2Degrees(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Converts a distance in the units of the radius to degrees (360 degrees are
in a circle).
- dist2Radians(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Converts a distance in the units of radius
(e.g.
- distance(Point, Point) - Method in class org.locationtech.spatial4j.distance.AbstractDistanceCalculator
-
- distance(Point, double, double) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
- distance(Point, Point) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
The distance between from
and to
.
- distance(Point, double, double) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
The distance between from
and Point(toX,toY)
.
- distance(Point, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
-
- DistanceCalculator - Interface in org.locationtech.spatial4j.distance
-
Performs calculations relating to distance, such as the distance between a pair of points.
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
-
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Haversine
-
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.LawOfCosines
-
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Vincenty
-
- distanceToLineSegment(Point, double, double, double, double) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
Distance from point to a line segment formed between points 'v' and 'w'.
- distanceUnbuffered(Point) - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
INTERNAL AKA lineToPointDistance
- DistanceUtils - Class in org.locationtech.spatial4j.distance
-
Various distance calculations and constants.
- distCalc - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- distHaversineRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
- distLawOfCosinesRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the distance between two lat-lon's using the Law of Cosines.
- distSquaredCartesian(double[], double[]) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- distVincentyRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the great circle distance using the Vincenty Formula, simplified for a spherical model.
- doesXWorldWrap() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- GeneralShapeMultiShapeBuilder() - Constructor for class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
-
- GEO - Static variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
- GEO - Static variable in class org.locationtech.spatial4j.context.SpatialContext
-
A popular default SpatialContext implementation for geospatial.
- geo - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- GeoCircle - Class in org.locationtech.spatial4j.shape.impl
-
A circle as it exists on the surface of a sphere.
- GeoCircle(Point, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.GeoCircle
-
- GeodesicSphereDistCalc - Class in org.locationtech.spatial4j.distance
-
A base class for a Distance Calculator that assumes a spherical earth model.
- GeodesicSphereDistCalc() - Constructor for class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
-
- GeodesicSphereDistCalc.Haversine - Class in org.locationtech.spatial4j.distance
-
- GeodesicSphereDistCalc.LawOfCosines - Class in org.locationtech.spatial4j.distance
-
- GeodesicSphereDistCalc.Vincenty - Class in org.locationtech.spatial4j.distance
-
- GeohashUtils - Class in org.locationtech.spatial4j.io
-
Utilities for encoding and decoding
geohashes.
- GeoJSON - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
-
- GeoJSONReader - Class in org.locationtech.spatial4j.io
-
- GeoJSONReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.GeoJSONReader
-
- GeoJSONWriter - Class in org.locationtech.spatial4j.io
-
- GeoJSONWriter(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.GeoJSONWriter
-
- GeometryAsGeoJSONSerializer - Class in org.locationtech.spatial4j.io.jackson
-
- GeometryAsGeoJSONSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
-
- GeometryAsWKTSerializer - Class in org.locationtech.spatial4j.io.jackson
-
- GeometryAsWKTSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryAsWKTSerializer
-
- GeometryDeserializer - Class in org.locationtech.spatial4j.io.jackson
-
- GeometryDeserializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
-
- geometryFactory - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- get(int) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- get(String) - Static method in class org.locationtech.spatial4j.SpatialPredicate
-
- getA() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getArea(SpatialContext) - Method in interface org.locationtech.spatial4j.shape.Shape
-
Calculates the area of the shape, in square-degrees.
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getB() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getBinaryCodec() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
- getBoundary() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
Note that the bounding box might contain a minX that is > maxX, due to WGS84 anti-meridian.
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getBoundingBox() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Get the bounding box for this Shape.
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getBuffered(double, SpatialContext) - Method in interface org.locationtech.spatial4j.shape.Shape
-
Returns a buffered version of this shape.
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- getCenter() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getCenter() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Returns the center point of this shape.
- getCenter() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getContext() - Method in class org.locationtech.spatial4j.shape.BaseShape
-
- getContext() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Get the SpatialContext that created the Shape
- getContext() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getCrossesDateLine() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getCrossesDateLine() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
Only meaningful for geospatial contexts.
- getCtx() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
- getDatelineRule() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getDatelineRule() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Returns the rule used to handle geometry objects that have dateline (aka anti-meridian) crossing considerations.
- getDistCalc() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
- getDistDenomInv() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
1 / Math.sqrt(slope * slope + 1)
- getFormatName() - Method in class org.locationtech.spatial4j.io.GeoJSONReader
-
- getFormatName() - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
-
- getFormatName() - Method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- getFormatName() - Method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- getFormatName() - Method in class org.locationtech.spatial4j.io.PolyshapeReader
-
- getFormatName() - Method in class org.locationtech.spatial4j.io.PolyshapeWriter
-
- getFormatName() - Method in interface org.locationtech.spatial4j.io.ShapeIO
-
- getFormatName() - Method in class org.locationtech.spatial4j.io.WKTReader
-
- getFormatName() - Method in class org.locationtech.spatial4j.io.WKTWriter
-
- getFormats() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
- getGeoJsonReader() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getGeoJsonWriter() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- getGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getGeometryFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getGeometryFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- getGeometryFactory() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- getGeometryFrom(Shape) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getGeometryFrom(Shape) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- getHeight() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getHeight() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The height.
- getIntercept() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
- getLat() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getLat() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getLat() - Method in interface org.locationtech.spatial4j.shape.Point
-
- getLinePerp() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
INTERNAL
- getLinePrimary() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
INTERNAL
- getLon() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getLon() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getLon() - Method in interface org.locationtech.spatial4j.shape.Point
-
- getMax() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getMaxX() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- getMaxX() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getMaxX() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The right edge of the X coordinate.
- getMaxY() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- getMaxY() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getMaxY() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The top edge of the Y coordinate.
- getMin() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getMinX() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- getMinX() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getMinX() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The left edge of the X coordinate.
- getMinY() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
- getMinY() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getMinY() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The bottom edge of the Y coordinate.
- getModuleName() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
-
- getModuleName() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
-
- getName() - Method in class org.locationtech.spatial4j.SpatialPredicate
-
- getNumberFormat() - Method in class org.locationtech.spatial4j.io.WKTWriter
-
- getParser() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
- getPoint() - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
-
- getPoints() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getRadius() - Method in interface org.locationtech.spatial4j.shape.Circle
-
The distance from the point's center to its edge, measured in the same
units as x & y (e.g.
- getRadius() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- getReader(String) - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getReaders() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getSegments() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- getShapeFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
- getShapeFactory() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
- getShapes() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
- getSlope() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
- getSpatialContext() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- getSpatialContext() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
- getSubGeohashes(String) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Array of geohashes 1 level below the baseGeohash.
- getValidationRule() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getValidationRule() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Returns the rule used to handle errors when creating a JTS
Geometry
, particularly after it has been
read from one of the
ShapeReader
s.
- getWidth() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getWidth() - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- getWidth() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- getWidth() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The width.
- getWktReader() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getWktShapeParser() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- getWktWriter() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getWorldBounds() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
The extent of x & y coordinates should fit within the return'ed rectangle.
- getWriter(String) - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getWriters() - Method in class org.locationtech.spatial4j.io.SupportedFormats
-
- getX() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getX() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getX() - Method in interface org.locationtech.spatial4j.shape.Point
-
The X coordinate, or Longitude in geospatial contexts.
- getXAxis() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
The X
coordinate of where the circle axis intersect.
- getY() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- getY() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- getY() - Method in interface org.locationtech.spatial4j.shape.Point
-
The Y coordinate, or Latitude in geospatial contexts.
- getYAxis() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
The Y
coordinate of where the circle axis intersect.
- getYAxis() - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
-
- index() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
Adds an index to this class internally to compute spatial relations faster.
- InfBufLine - Class in org.locationtech.spatial4j.shape.impl
-
INERNAL: A buffered line of infinite length.
- init(Map<String, String>, ClassLoader) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- init(Map<String, String>, ClassLoader) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- initCalculator() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- initField(String) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Gets name
from args and populates a field by the same name with the value.
- initFormats() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Check args for 'readers' and 'writers'.
- initWorldBounds() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- INSTANCE - Static variable in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
- INSTANCE_SQUARED - Static variable in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
- intersectionMatrixToSpatialRelation(IntersectionMatrix) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- intersects() - Method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
Not DISJOINT, i.e.
- Intersects - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Intersects" OGC definition.
- InvalidShapeException - Exception in org.locationtech.spatial4j.exception
-
A shape was constructed but failed because, based on the given parts, it's invalid.
- InvalidShapeException(String, Throwable) - Constructor for exception org.locationtech.spatial4j.exception.InvalidShapeException
-
- InvalidShapeException(String) - Constructor for exception org.locationtech.spatial4j.exception.InvalidShapeException
-
- inverse() - Method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
If aShape.relate(bShape)
is r, then r.inverse()
is inverse(aShape).relate(bShape)
whereas
inverse(shape)
is theoretically the opposite area covered by a
shape, i.e.
- is(SpatialPredicate, SpatialPredicate...) - Static method in class org.locationtech.spatial4j.SpatialPredicate
-
- isAllowMultiOverlap() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- isAllowMultiOverlap() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
If geom might be a multi geometry of some kind, then might multiple
component geometries overlap? Strict OGC says this is invalid but we
can accept it by computing the union.
- isAutoIndex() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- isAutoIndex() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
If JtsGeometry shapes should be automatically "prepared" (i.e.
- isData() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
-
- IsDisjointTo - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Disjoint" OGC definition.
- isDone() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
- isEmpty() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
-
- isEmpty() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Shapes can be "empty", which is to say it exists nowhere.
- IsEqualTo - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Equals" OGC definition.
- isEvent() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
-
- isGeo() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Is the mathematical world model based on a sphere, or is it a flat plane? The word
"geodetic" or "geodesic" is sometimes used to refer to the former, and the latter is sometimes
referred to as "Euclidean" or "cartesian".
- isNormWrapLongitude() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- isNormWrapLongitude() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- isNormWrapLongitude() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
- IsWithin - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "CoveredBy" OGC definition (boundary-neutral).
- newSpatialContext() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- newSpatialContext() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Subclasses should simply construct the instance from the initialized configuration.
- newState(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
(internal) Creates a new State with the given String.
- nextDouble() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Reads in a double from the String.
- nextExpect(char) - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Verifies that the current character is of the expected value.
- nextIf(char) - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
If the current character is expected
, then offset is advanced after it and any
subsequent whitespace.
- nextIfEmptyAndSkipZM() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Skips over a dimensionality token (e.g.
- nextIfWhitespace() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Moves offset to next non-whitespace character.
- nextSubShapeString() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Returns the next chunk of text till the next ',' or ')' (non-inclusive) or EOF.
- nextWord() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Reads the word starting at the current character position.
- normDist(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- normDist(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- normDist(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Called to normalize a value that isn't X or Y or Z.
- normLatDEG(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Puts in range -90 <= lat_deg <= 90.
- normLonDEG(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Puts in range -180 <= lon_deg <= +180.
- normWrapLongitude - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
-
- normX(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- normX(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- normX(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- normX(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Normalize the 'x' dimension.
- normY(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- normY(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- normY(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- normY(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
- normZ(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- normZ(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- normZ(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(disclaimer: the Z dimension isn't fully supported)
- PackageVersion - Class in org.locationtech.spatial4j.io.jackson
-
Automatically generated from PackageVersion.java.in during
packageVersion-generate execution of maven-replacer-plugin in
pom.xml.
- PackageVersion() - Constructor for class org.locationtech.spatial4j.io.jackson.PackageVersion
-
- parse(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the wktString, returning the defined Shape.
- parseBufferShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the BUFFER operation applied to a parsed shape.
- parseEnvelopeShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses an ENVELOPE (aka Rectangle) shape from the raw string.
- parseGeometryCollectionShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a GEOMETRYCOLLECTION shape from the raw string.
- parseIfSupported(String) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- parseIfSupported(String, WKTReader) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- parseIfSupported(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the wktString, returning the defined Shape.
- parseLatitudeLongitude(String) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.
- parseLatitudeLongitude(double[], String) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.
- parseLineStringShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a LINESTRING shape from the raw string -- an ordered sequence of points.
- parseMulitPolygonShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTIPOLYGON shape from the raw string.
- parseMultiLineStringShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTILINESTRING shape from the raw string -- a collection of line strings.
- parseMultiPointShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTIPOINT shape from the raw string -- a collection of points.
- parsePoint(String[], String, int) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a String array of length dimension
containing the values.
- parsePointDouble(double[], String, int) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a double array of length dimension
containing the values.
- parsePointShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a POINT shape from the raw string.
- parsePolygonShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a POLYGON shape from the raw string.
- parseShapeByType(WKTReader.State, String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
(internal) Parses the remainder of a shape definition following the shape's name given as
shapeType
already consumed via
WKTReader.State.nextWord()
.
- ParseUtils - Class in org.locationtech.spatial4j.io
-
- peek() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
-
- point(WKTReader.State, ShapeFactory.PointsBuilder) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a raw Point (AKA Coordinate) from the current position.
- point - Variable in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
- Point - Interface in org.locationtech.spatial4j.shape
-
A Point with X & Y coordinates.
- PointImpl - Class in org.locationtech.spatial4j.shape.impl
-
A basic 2D implementation of a Point.
- PointImpl(double, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.PointImpl
-
A simple constructor without normalization / validation.
- pointLatLon(double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
-
- pointLatLon(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
-
- pointLatLon(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point of latitude, longitude coordinates
- pointLatLon(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
-
- pointList(WKTReader.State, B) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a list of Points (AKA CoordinateSequence) from the current position.
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
Calculates where a destination point is given an origin (from
)
distance, and bearing (given in degrees -- 0-360).
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
-
- pointOnBearingRAD(double, double, double, double, SpatialContext, Point) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Given a start point (startLat, startLon), distance, and a bearing on a sphere, return the destination point.
- pointXY(double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
-
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
-
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- pointXY(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
-
- pointXY(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point.
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
-
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
-
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- pointXYZ(double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
-
- pointXYZ(double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point of 3 dimensions.
- POLY - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
-
- polygon(WKTReader.State, ShapeFactory.PolygonBuilder) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a polygon
- polygon() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
-
- polygon() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
-
- polygon() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
- polygon() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiPolygonBuilder
-
- polygon() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a polygon.
- PolyshapeReader - Class in org.locationtech.spatial4j.io
-
- PolyshapeReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.PolyshapeReader
-
- PolyshapeReader.XReader - Class in org.locationtech.spatial4j.io
-
from Apache 2.0 licensed:
https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
- PolyshapeWriter - Class in org.locationtech.spatial4j.io
-
Wrap the 'Encoded Polyline Algorithm Format' defined in:
Google Maps API
with flags to encode various Shapes: Point, Line, Polygon, etc
For more details, see
FORMATS.md
This format works well for geographic shapes (-180...+180 / -90...+90), but is not appropriate for other coordinate systems
- PolyshapeWriter(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.PolyshapeWriter
-
- PolyshapeWriter.Encoder - Class in org.locationtech.spatial4j.io
-
Encodes a sequence of LatLngs into an encoded path string.
- precisionModel - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
-
- preparedGeometry - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-