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 | |
latlon | |
neighbors | |
precision | |
sizes | |
N | |
S | |
E | |
W | |
NE | |
NW | |
SE | |
SW | |
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 |
ab
|
latlon
|
neighbors
|
precision
|
sizes
|
N
|
S
|
E
|
W
|
NE
|
NW
|
SE
|
SW
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 2 09:05:37 2020 | http://epydoc.sourceforge.net |