Package Bio :: Package Phylo :: Module PhyloXML :: Class Point
[hide private]
[frames] | no frames]

Class Point

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
            PhyloElement --+
                           |
                          Point

Geographic coordinates of a point, with an optional altitude.

Used by element 'Distribution'.

Instance Methods [hide private]
 
__init__(self, geodetic_datum, lat, long, alt=None, alt_unit=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from BaseTree.TreeElement: __repr__, __str__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, geodetic_datum, lat, long, alt=None, alt_unit=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • geodetic_datum (string, required) - the geodetic datum (also called 'map datum'). For example, Google's KML uses 'WGS84'.
  • lat (numeric) - latitude
  • long (numeric) - longitude
  • alt (numeric) - altitude
  • alt_unit (string) - unit for the altitude (e.g. 'meter')
Overrides: object.__init__
(inherited documentation)