| Package | Description |
|---|---|
| ch.hsr.geohash | |
| ch.hsr.geohash.queries | |
| ch.hsr.geohash.util |
| Modifier and Type | Method and Description |
|---|---|
WGS84Point |
GeoHash.getBoundingBoxCenterPoint()
return the center of this
GeoHashs bounding box. |
WGS84Point |
BoundingBox.getCenterPoint() |
WGS84Point |
BoundingBox.getLowerRight() |
WGS84Point |
GeoHash.getPoint()
returns the
WGS84Point that was originally used to set up this.If it was built from a base32- String, this is the center point of
the bounding box. |
WGS84Point |
BoundingBox.getUpperLeft() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundingBox.contains(WGS84Point point) |
boolean |
GeoHash.contains(WGS84Point point)
find out if the given point lies within this hashes bounding box.
Note: this operation checks the bounding boxes coordinates, i.e. |
boolean |
GeoHash.enclosesCircleAroundPoint(WGS84Point point,
double radius) |
| Constructor and Description |
|---|
BoundingBox(WGS84Point p1,
WGS84Point p2)
create a bounding box defined by two coordinates
|
WGS84Point(WGS84Point other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GeoHashBoundingBoxQuery.contains(WGS84Point point) |
boolean |
GeoHashQuery.contains(WGS84Point point)
returns whether a point lies within a query.
|
boolean |
GeoHashCircleQuery.contains(WGS84Point point) |
| Constructor and Description |
|---|
GeoHashCircleQuery(WGS84Point center,
double radius)
create a
GeoHashCircleQuery with the given center point and a
radius in meters. |
| Modifier and Type | Method and Description |
|---|---|
static WGS84Point |
VincentyGeodesy.moveInDirection(WGS84Point point,
double bearingInDegrees,
double distanceInMeters)
returns the
WGS84Point that is in the given direction at the
following distance of the given point.Uses Vincenty's formula and the WGS84 ellipsoid. |
| Modifier and Type | Method and Description |
|---|---|
static double |
VincentyGeodesy.distanceInMeters(WGS84Point foo,
WGS84Point bar) |
static WGS84Point |
VincentyGeodesy.moveInDirection(WGS84Point point,
double bearingInDegrees,
double distanceInMeters)
returns the
WGS84Point that is in the given direction at the
following distance of the given point.Uses Vincenty's formula and the WGS84 ellipsoid. |
Copyright © 2016. All Rights Reserved.