def ParsePointCoordinates(coordinates):

  """ Parse <coordinates> for a Point

  Permits a sloppy Point coordinates.

  Arg:
    coordinates: lon,lat,alt or lon,lat with spaces allowed

  Returns:
    None: if coordinates was not 2 or 3 comma separated numbers
    (lon,lat): float tuple
    (lon,lat,alt): float tuple
  """
  p = coordinates.split(',')
  if len(p) == 2:
    return (float(p[0].strip()), float(p[1].strip()))
  elif len(p) == 3:
    return (float(p[0].strip()), float(p[1].strip()), float(p[2].strip()))
  return None