class_docstr: A GeoJSON-like geometry
  
  Notes
  -----
  Delegates coordinates and type properties to an instance of
  _Geometry, which will become an extension class in Fiona 2.0.
class_docstr_tok: ["A","GeoJSON-like","geometry","Notes","--","--","-","Delegates","coordinates","and","type","properties","to","an","instance","of","_Geometry",",","which","will","become","an","extension","class","in","Fiona","2.0","."]
code: def from_dict(cls, ob=None, **kwargs):
      if ob is not None:
          data = dict(getattr(ob, "__geo_interface__", ob))
          data.update(kwargs)
      else:
          data = kwargs
  
      if "geometries" in data and data["type"] == "GeometryCollection":
          _ = data.pop("coordinates", None)
          _ = data.pop("type", None)
          return Geometry(
              type="GeometryCollection",
              geometries=[
                  Geometry.from_dict(part)
                  for part in data.pop("geometries")
              ],
              **data,
          )
      else:
          _ = data.pop("geometries", None)
          return Geometry(
              type=data.pop("type", None),
              coordinates=data.pop("coordinates", []),
              **data,
          )
  
imports: from binascii import hexlify
  from collections.abc import MutableMapping
  from enum import Enum
  import itertools
  from json import JSONEncoder
  from warnings import warn
  from fiona.errors import FionaDeprecationWarning
label_desc: Use image node_id 2 for calling the Geometry obj's underlying member method code with example usage: obj.from_dict(cls, ob) and returns: Geometry, Geometry