class_docstr: A class representing a GeoJSON object.
class_docstr_tok: ["A","class","representing","a","GeoJSON","object","."]
code: def __geo_interface__(self):
      if self.type != "GeoJSON":
          return self
  
file_path: geojson/geojson/base.py
imports: import geojson
  from geojson.mapping import to_mapping
label_desc: Use image node_id 6 for calling the GeoJSON obj's underlying member method code with example usage: obj.__geo_interface__() and returns: self