Home | Trees | Indices | Help |
|
---|
|
object --+ | bases.Base --+ | Wm
Web Mercator (WM) coordinate.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
radius Get the earth radius (meter). |
|
x Get the easting (meter). |
|
y Get the northing (meter). |
|
Inherited from |
Method Details |
New Web Mercator (WM) coordinate.
Example: >>> import pygeodesy >>> w = pygeodesy.Wm(448251, 5411932) |
Parse a string to a WM coordinate. For more details, see function parseWM in this module webmercator. |
Convert this WM coordinate to a geodetic point.
Example: >>> w = Wm(448251.795, 5411932.678) >>> from pygeodesy import sphericalTrigonometry as sT >>> ll = w.toLatLon(sT.LatLon) # 43°39′11.58″N, 004°01′36.17″E |
Return a string representation of this WM coordinate.
Example: >>> w = Wm(448251, 5411932.0001) >>> w.toStr(4) # 448251.0 5411932.0001 >>> w.toStr(sep=', ') # 448251, 5411932 |
Return a string representation of this WM coordinate.
|
Property Details |
radiusGet the earth radius (meter).
|
xGet the easting (meter).
|
yGet the northing (meter).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 4 20:06:23 2018 | http://epydoc.sourceforge.net |