[][src]Function geohash::decode_bbox

pub fn decode_bbox(hash_str: &str) -> Result<Rect<f64>, Error>

Decode geohash string into latitude, longitude

Parameters: Geohash encoded &str

Returns: A four-element tuple describs a bound box:

  • min_lat
  • max_lat
  • min_lon
  • max_lon