Skip to main content

overture_files

Function overture_files 

Source
pub fn overture_files(
    data_dir: &Path,
    otype: OvertureType,
) -> Result<Vec<PathBuf>, GeolithError>
Expand description

List the Parquet files of one Overture theme/type, sorted by path.

Unlike discover, this reads a type that has no tile-layer route (such as divisions/division_area, used only for geocoding). A missing type directory yields an empty list.

§Errors

GeolithError::Io when the type directory or one of its entries cannot be read.