public class GeoHashBoundingBoxQuery extends Object implements GeoHashQuery, Serializable
Constructor and Description |
---|
GeoHashBoundingBoxQuery(BoundingBox bbox) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(GeoHash hash)
check wether a geohash is within the hashes that make up this query.
|
boolean |
contains(WGS84Point point)
returns whether a point lies within a query.
|
List<GeoHash> |
getSearchHashes()
should return the hashes that re required to perform this search.
|
String |
getWktBox() |
String |
toString() |
public GeoHashBoundingBoxQuery(BoundingBox bbox)
public boolean contains(GeoHash hash)
GeoHashQuery
contains
in interface GeoHashQuery
public boolean contains(WGS84Point point)
GeoHashQuery
contains
in interface GeoHashQuery
public List<GeoHash> getSearchHashes()
GeoHashQuery
getSearchHashes
in interface GeoHashQuery
public String getWktBox()
getWktBox
in interface GeoHashQuery
Copyright © 2015. All Rights Reserved.