class_docstr: A mapping of row, col image coordinates to x, y, z.
class_docstr_tok: ["A","mapping","of","row",",","col","image","coordinates","to","x",",","y",",","z","."]
docstr: A GeoJSON representation of the GCP
docstr_tok: ["A","GeoJSON","representation","of","the","GCP"]
code: def __geo_interface__(self):
      """A GeoJSON representation of the GCP"""
      coords = [self.x, self.y]
      if self.z is not None:
          coords.append(self.z)
      return {
          "id": self.id,
          "type": "Feature",
          "geometry": {"type": "Point", "coordinates": tuple(coords)},
          "properties": self.asdict(),
      }
  
imports: import uuid
label_desc: Use image node_id 4 for calling the GroundControlPoint obj's underlying member method code with example usage: obj.__geo_interface__() and returns: dict