parameters: (data)
return_statement: return flattened_records
docstring: Un-nest data from object implementing __geo_interface__ standard
docstring_summary: Un-nest data from object implementing __geo_interface__ standard
docstring_tokens: Un - nest data from object implementing __geo_interface__ standard
function: def records_from_geo_interface(data):
      """Un-nest data from object implementing __geo_interface__ standard"""
      flattened_records = []
      for d in data.__geo_interface__.get("features"):
          record = d.get("properties", {})
          geom = d.get("geometry", {})
          record["geometry"] = geom
          flattened_records.append(record)
      return flattened_records
function_tokens: def records_from_geo_interface ( data ) : flattened_records = [ ] for d in data . __geo_interface__ . get ( "features" ) : record = d . get ( "properties" , { } ) geom = d . get ( "geometry" , { } ) record [ "geometry" ] = geom flattened_records . append ( record ) return flattened_records