code: def _import_fiona():
      global fiona
      global fiona_env
      global fiona_import_error
      global FIONA_GE_19
  
      if fiona is None:
          try:
              import fiona
  
              # only try to import fiona.Env if the main fiona import succeeded
              # (otherwise you can get confusing "AttributeError: module 'fiona'
              # has no attribute '_loading'" / partially initialized module errors)
              try:
                  from fiona import Env as fiona_env
              except ImportError:
                  try:
                      from fiona import drivers as fiona_env
                  except ImportError:
                      fiona_env = None
  
              FIONA_GE_19 = Version(
                  Version(fiona.__version__).base_version
              ) >= Version("1.9.0")
          except ImportError as err:
              fiona = False
              fiona_import_error = str(err)
  
imports: import os
  from packaging.version import Version
  from pathlib import Path
  import warnings
  import numpy
  import pandas
  from pandas.api.types import is_integer_dtype
  import pyproj
  from shapely.geometry import mapping
  from shapely.geometry.base import BaseGeometry
  from geopandas import GeoDataFrame, GeoSeries
  from urllib.parse import urlparse
  from urllib.parse import uses_netloc, uses_params, uses_relative
  import urllib.request
  from geopandas._compat import PANDAS_GE_20
label_desc: Use image node_id 1 for calling a global function with example usage: _import_fiona() without return types