Download the PHP package ccinn/geohash without Composer
On this page you can find all versions of the php package ccinn/geohash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ccinn/geohash
More information about ccinn/geohash
Files in ccinn/geohash
Download ccinn/geohash
More information about ccinn/geohash
Files in ccinn/geohash
Vendor ccinn
Package geohash
Short Description Class libraries implemented using PHP based on GeoHash algorithms.
License
Package geohash
Short Description Class libraries implemented using PHP based on GeoHash algorithms.
License
Please rate this library. Is it a good library?
Informations about the package geohash
geohash
Class libraries implemented using PHP based on GeoHash algorithms.
For details, please refer to the blog (Chinese):
https://usblog.crazylaw.cn/index.php/archives/324/
Usage
Three API methods are provided.
-
around($lng, $lat, $interceptLength = 0)
Convert the HashCode in the 9 regions of the longitude and latitude. -
encode($lng, $lat, $interceptLength = 0)
Converts HashCode to the specified latitude and longitude. distance($centerLng, $centerLat, $pointLng, $pointLat, $lenType = 1, $decimal = 2)
Calculate the distance between two latitude and longitude.
example:
All versions of geohash with dependencies
PHP Build Version
Package Version
No informations.
The package ccinn/geohash contains the following files
Loading the files please wait ....