- class pyinterp.GeoHash[source]#
Handle GeoHash encoded in base 32.
Geohashing is a geocoding method used to encode geographic coordinates (latitude and longitude) into a short string of digits and letters delineating an area on a map, which is called a cell, with varying resolutions. The more characters in the string, the more precise the location. The table below gives the correspondence between the number of characters, the size of the boxes of the grid at the equator and the total number of boxes.
Geohashes use Base-32 alphabet encoding (characters can be
The geohash is a compact way of representing a location, and is useful for storing a location in a database, or for indexing a location in a database.
Create from its string representation.
Return the GeoHash grid covering the provided box.
Helper for pickle.
Returns the area covered by this.
Returns the bounding box of this GeoHash.
Returns the center point of this GeoHash.
Returns the accuracy in longitude/latitude and degrees for the given precision.
Gets the property of the grid covering the given box.
Returns the eight neighbors of this GeoHash.
Returns the number of bits of this GeoHash.
Returns the precision of this GeoHash.
Returns the arguments to rebuild this instance.