code: def basic_geometry():
      """
      A square polygon spanning (2, 2) to (4.25, 4.25) in x and y directions
      Borrowed from rasterio/tests/conftest.py
  
      Returns
      -------
      dict: GeoJSON-style geometry object.
          Coordinates are in grid coordinates (Affine.identity()).
      """
      return Polygon(
          [(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]
      )
  
imports: import os
  import numpy
  import pytest
  from affine import Affine
  import rasterio
  import geopandas
  from shapely.geometry import Polygon
label_desc: Use image node_id 9 for calling a global function with example usage: basic_geometry() and returns: Polygon