All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.hsr.geohash.queries.GeoHashQuery Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy