class_docstr: Provide id() based equality and hashing for geometries.
  
  Instances of this class must be treated as immutable for the caching
  to operate correctly.
  
  A workaround for Shapely polygons no longer being hashable as of 1.5.13.
class_docstr_tok: ["Provide","id","(",")","based","equality","and","hashing","for","geometries",".","Instances","of","this","class","must","be","treated","as","immutable","for","the","caching","to","operate","correctly",".","A","workaround","for","Shapely","polygons","no","longer","being","hashable","as","of","1.5.13","."]
code: def __init__(self, geom):
      self._id = id(geom)
  
file_path: cartopy/lib/cartopy/mpl/feature_artist.py
imports: from collections import OrderedDict
  import warnings
  import weakref
  import matplotlib.artist
  import matplotlib.collections
  import numpy
  import cartopy.mpl.patch
  from .style import finalize
  from .style import merge
label_desc: Use image node_id 1 to create a new _GeomKey object  with example: obj = _GeomKey(geom)