code: def parse_point(arg):
      """Parses the point into GeoJSON dict representation.
  
      Args:
          point: a point specified in any of the following formats:
  
              -   A ``[longitude, latitude]`` list
              -   A GeoJSON dict with ``Point`` type
              -   A :class:`fiftyone.core.labels.GeoLocation` instance whose
                  ``point`` attribute contains the point
  
      Returns:
          a GeoJSON dict of type ``Point``
      """
      orig_arg = arg
      if isinstance(arg, dict):
          arg = arg["coordinates"]
  
      if isinstance(arg, list):
          arg = fol.GeoLocation(point=arg)
  
      if isinstance(arg, fol.GeoLocation):
          return {"type": "Point", "coordinates": arg.point}
  
      raise ValueError("Unsupported point data: %s" % orig_arg)
  
imports: import logging
  import os
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.fields
  import fiftyone.core.labels
  from fiftyone.core.sample import Sample
  import fiftyone.core.storage
  import fiftyone.core.utils
  import fiftyone.core.validation
  import fiftyone.utils.data
label_desc: Use image node_id 3 for calling a global function with example usage: parse_point(arg) and returns: dict