View source on GitHub |
A geographical point, specified by floating-point latitude and longitude
Inherits From: expected_type
google.appengine.api.datastore_types.GeoPt(
lat, lon=None
)
coordinates. Often used to integrate with mapping sites like Google Maps.
This is the georss:point
element. In XML output, the coordinates are
provided as the lat
and lon
attributes. See: http://georss.org/
Serializes to <lat>,<lon>
. Raises BadValueError
if it's passed an invalid
serialized string, or if lat
and lon
are not valid floating points in the
ranges [-90, 90] and [-180, 180], respectively.
Methods
ToXml
ToXml()
__eq__
__eq__(
other
)
Return self==value.
__ge__
__ge__(
other
)
Return self>=value.
__gt__
__gt__(
other
)
Return self>value.
__le__
__le__(
other
)
Return self<=value.
__lt__
__lt__(
other
)
Return self<value.
__ne__
__ne__(
other
)
Return self!=value.
Class Variables | |
---|---|
lat |
None
|
lon |
None
|