ch.hsr.geohash.queries.GeoHashQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geohash Show documentation
Show all versions of geohash Show documentation
An implementation of Geohashes in pure Java.
package ch.hsr.geohash.queries;
import java.util.List;
import ch.hsr.geohash.GeoHash;
import ch.hsr.geohash.WGS84Point;
public interface GeoHashQuery {
/**
* check wether a geohash is within the hashes that make up this query.
*/
public boolean contains(GeoHash hash);
/**
* returns whether a point lies within a query.
*/
public boolean contains(WGS84Point point);
/**
* should return the hashes that re required to perform this search.
*/
public List getSearchHashes();
public String getWktBox();
}