code: def convert_to_geotype(element, crs=None):
      """
      Converts a HoloViews element type to the equivalent GeoViews
      element if given a coordinate reference system.
      """
      geotype = getattr(gv_element, type(element).__name__, None)
      if (
          crs is None
          or geotype is None
          or isinstance(element, _Element)
      ):
          return element
      return element.clone(new_type=geotype, crs=crs)
  
file_path: geoviews/geoviews/operation/__init__.py
imports: from holoviews.core import Element
  from holoviews.operation.element import contours
  from holoviews.operation.stats import bivariate_kde
  from ..None import element
  from ..element import _Element
  from .projection import project_image, project_path, project_shape, project_points, project_graph, project_quadmesh, project_geom, project_vectorfield, project_windbarbs, project
  from .resample import resample_geometry
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_geotype(element, crs) and returns: element, element