pub trait ToCoordinate { type Error; // Required method fn to_coordinate(&self) -> Result<Coord<f64>, Self::Error>; }