Exemplo n.º 1
0
 def point(self, elem):
     """Create point object, coordinates of a point."""
     return PX.Point(elem.get('geodetic_datum'),
                     _get_child_text(elem, 'lat', float),
                     _get_child_text(elem, 'long', float),
                     alt=_get_child_text(elem, 'alt', float),
                     alt_unit=elem.get('alt_unit'))
Exemplo n.º 2
0
 def point(self, elem):
     return PX.Point(
         elem.get('geodetic_datum'),
         _get_child_text(elem, 'lat', float),
         _get_child_text(elem, 'long', float),
         alt=_get_child_text(elem, 'alt', float),
         alt_unit=elem.get('alt_unit'))
Exemplo n.º 3
0
 def point(self, elem):
     """Create point object, coordinates of a point."""
     return PX.Point(
         elem.get("geodetic_datum"),
         _get_child_text(elem, "lat", float),
         _get_child_text(elem, "long", float),
         alt=_get_child_text(elem, "alt", float),
         alt_unit=elem.get("alt_unit"))