code: def _wkt_to_geo_json(geo_as_wkt: str) -> Any:
      """
      Converts pyocient geometry objects to their geoJSON representation.
  
      :param geo_as_wkt: the GIS object in WKT format
      :returns: the geoJSON encoding of `geo`
      """
      # Need to try-catch here because these deps may not be installed
      geo = wkt.loads(geo_as_wkt)
      return geojson.Feature(geometry=geo, properties={})
  
imports: import contextlib
  import re
  import threading
  from re import Pattern
  from typing import Any, Callable, List, NamedTuple, Optional
  from flask_babel import gettext
  from sqlalchemy.engine.reflection import Inspector
  from superset.constants import TimeGrain
  from superset.db_engine_specs.base import BaseEngineSpec
  from superset.errors import SupersetErrorType
  from superset.models.core import Database
  from superset.models.sql_lab import Query
label_desc: Use image node_id 2 for calling a global function with example usage: _wkt_to_geo_json(geo_as_wkt) and returns: geojson