[−][src]Function wof::utils::id_to_data_path_geojson
pub fn id_to_data_path_geojson<T: ToString>(id: T) -> PathBuf
Returns the WOF data path geojson from an id.
use wof::utils::*; use std::path::Path; assert_eq!(id_to_data_path_geojson(890442055).as_path(), Path::new("data/890/442/055/890442055.geojson"));