Home | Trees | Indices | Help |
|
---|
|
object --+ | basestring --+ | str --+ | object --+ | | | named._Named --+ | named._NamedStr --+ | Geohash
Geohash class, a _NamedStr.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Static Methods | |||
a new object with type S, a subtype of T |
|
Properties | |
ab An immutable property ( Read Only ).
|
|
latlon An immutable property ( Read Only ).
|
|
neighbors An immutable property ( Read Only ).
|
|
precision An immutable property ( Read Only ).
|
|
sizes An immutable property ( Read Only ).
|
|
N An immutable property ( Read Only ).
|
|
S An immutable property ( Read Only ).
|
|
E An immutable property ( Read Only ).
|
|
W An immutable property ( Read Only ).
|
|
NE An immutable property ( Read Only ).
|
|
NW An immutable property ( Read Only ).
|
|
SE An immutable property ( Read Only ).
|
|
SW An immutable property ( Read Only ).
|
|
Inherited from Inherited from |
Method Details |
New Geohash from an other Geohash
instance or
|
Determine the adjacent cell in given compass direction.
|
Return the lower-left SW and upper-right NE bounds of this geohash cell.
|
Estimate the distance between this and an other geohash (from the cell sizes). |
Compute the distance between this and an other geohash using the Equirectangular Approximation / Projection.
See Also: Local, flat earth approximation, functions |
Compute the great-circle distance between this and an other geohash using the Haversine formula. |
Return (the approximate center of) this geohash cell as an instance of
the supplied
Example: >>> from sphericalTrigonometry import LatLon >>> ll = Geohash('u120fxw').toLatLon(LatLon) >>> print(repr(ll)) # LatLon(52°12′17.9″N, 000°07′07.64″E) >>> print(ll) # 52.204971°N, 000.11879°E |
Property Details |
abAn immutable property (
|
latlonAn immutable property (
|
neighborsAn immutable property (
|
precisionAn immutable property (
|
sizesAn immutable property (
|
NAn immutable property (
|
SAn immutable property (
|
EAn immutable property (
|
WAn immutable property (
|
NEAn immutable property (
|
NWAn immutable property (
|
SEAn immutable property (
|
SWAn immutable property (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 16 12:12:51 2020 | http://epydoc.sourceforge.net |