code: def get_geom_type(gdf, col):
      """Return the HoloViews geometry type string for the geometry column.
  
      Args:
          gdf: The GeoDataFrame to get the geometry from
          col: The geometry column
  
      Returns:
          A string representing the type of geometry
      """
      from spatialpandas.geometry import (
          LineDtype,
          MultiLineDtype,
          MultiPointDtype,
          MultiPolygonDtype,
          PointDtype,
          PolygonDtype,
          RingDtype,
      )
  
      column = gdf[col]
      if isinstance(column.dtype, (PointDtype, MultiPointDtype)):
          return "Point"
      elif isinstance(column.dtype, (LineDtype, MultiLineDtype)):
          return "Line"
      elif isinstance(column.dtype, (PolygonDtype, MultiPolygonDtype)):
          return "Polygon"
      elif isinstance(column.dtype, RingDtype):
          return "Ring"
  
imports: import sys
  from collections import defaultdict
  import numpy
  import pandas
  from ..dimension import dimension_name
  from ..util import isscalar, unique_array, unique_iterator
  from .interface import DataError, Interface
  from .multipath import MultiInterface, ensure_ring
  from .pandas import PandasInterface
label_desc: Use image node_id 1 for calling a global function with example usage: get_geom_type(gdf, col) and returns: str, str, str, str