Home | Trees | Indices | Help |
|
---|
|
object --+ | basestring --+ | str --+ | object --+ | | | miscs.named._Named --+ | | | Base.units._NamedUnit --+ | Base.units.Str --+ | Geohash
Geohash class, a named str
.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Static Methods | |||
a new object with type S, a subtype of T |
|
Properties | |
latlon Get the lat- and longitude of (the approximate center of) this geohash as a LatLon2Tuple (lat, lon) in
degrees .
|
|
neighbors Get all 8 adjacent cells as a Neighbors8Dict (N, NE, E, SE, S, SW, W,
NW) of Geohashes.
|
|
philam Get the lat- and longitude of (the approximate center of) this geohash as a PhiLam2Tuple (phi, lam) in
radians .
|
|
precision Get this geohash's precision ( int ).
|
|
sizes Get the lat- and longitudinal size of this cell as a LatLon2Tuple (lat, lon) in
(meter ).
|
|
N Get the cell North of this (Geohash). |
|
S Get the cell South of this (Geohash). |
|
E Get the cell East of this (Geohash). |
|
W Get the cell West of this (Geohash). |
|
NE Get the cell NorthEast of this (Geohash). |
|
NW Get the cell NorthWest of this (Geohash). |
|
SE Get the cell SouthEast of this (Geohash). |
|
SW Get the cell SouthWest of this (Geohash). |
|
Inherited from Inherited from Inherited from |
Method Details |
New Geohash from an other Geohash instance or
|
Determine the adjacent cell in the 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 based the cell sizes. |
Approximate the distance between this and an other geohash using the equirectangular function.
See Also: Local, flat earth approximation, functions |
Approximate the distance between this and an other geohash using the euclidean function. |
Compute the 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
|
Compute the distance between this and an other geohash using the vincentys formula. |
Property Details |
latlonGet the lat- and longitude of (the approximate center of) this geohash
as a LatLon2Tuple
|
neighborsGet all 8 adjacent cells as a Neighbors8Dict
|
philamGet the lat- and longitude of (the approximate center of) this geohash
as a PhiLam2Tuple
|
precisionGet this geohash's precision (
|
sizesGet the lat- and longitudinal size of this cell as a LatLon2Tuple
|
NGet the cell North of this (Geohash).
|
SGet the cell South of this (Geohash).
|
EGet the cell East of this (Geohash).
|
WGet the cell West of this (Geohash).
|
NEGet the cell NorthEast of this (Geohash).
|
NWGet the cell NorthWest of this (Geohash).
|
SEGet the cell SouthEast of this (Geohash).
|
SWGet the cell SouthWest of this (Geohash).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 4 16:45:45 2024 | http://epydoc.sourceforge.net |