def PackPlacemark(placemark):
 return ','.join([base64hex.B64HexEncode(x.encode('utf-8'), padding=False) for x in placemark])

def PackPlacemark ( placemark ) : return ',' . join ( [ base64hex . B64HexEncode ( x . encode ( 'utf-8' ) , padding = False ) for x in placemark ] )
converts placemark named tuple into a packed .