A convenient wrapper round location information obtained from geocoding sites.
More...
|
def | __init__ |
| Constructor:
|
|
def | __lt__ |
| Enable sorting of lists of places.
|
|
def | __repr__ |
| Printing a representation can be useful for debugging.
|
|
def | __str__ |
|
def | getLatLon |
| A Utility method to return data suitable for requesting forecasts.
|
|
A convenient wrapper round location information obtained from geocoding sites.
Definition at line 44 of file places.py.
def pymetoffice.places.Place.__init__ |
( |
|
self, |
|
|
|
info |
|
) |
| |
Constructor:
- Parameters
-
info | A dictionary containing name: original search text, county: UK county, lat: latitude, lon: longitude. |
Definition at line 49 of file places.py.
def pymetoffice.places.Place.__lt__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Enable sorting of lists of places.
Definition at line 54 of file places.py.
def pymetoffice.places.Place.__repr__ |
( |
|
self | ) |
|
Printing a representation can be useful for debugging.
Definition at line 58 of file places.py.
def pymetoffice.places.Place.getLatLon |
( |
|
self | ) |
|
A Utility method to return data suitable for requesting forecasts.
Definition at line 69 of file places.py.
The documentation for this class was generated from the following file: