code: def _to_geo_primitive(label):
      if label.point is not None:
          return _make_geometry("Point", label.point)
  
      if label.line is not None:
          return _make_geometry("LineString", label.line)
  
      if label.polygon is not None:
          return _make_geometry("Polygon", label.polygon)
  
      return None
  
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 7 for calling a global function with example usage: _to_geo_primitive(label) and returns: None, _make_geometry, _make_geometry, _make_geometry