code: def point(value):
      
      lst = value.split()
      dim = len(lst)
      if dim == 2:
          return longitude(lst[0]), latitude(lst[1]), 0.
      elif dim == 3:
          return longitude(lst[0]), latitude(lst[1]), depth(lst[2])
      else:
          raise ValueError('Invalid point format: %s' % value)
docs: :param value: a tuple of coordinates as a string (2D or 3D)
      :returns: a tuple of coordinates as a string (2D or 3D)