pyrosm.OSM.list_cache#
- static OSM.list_cache(filepath=None)#
List the out-of-core engine’s cached layer files – the GeoParquet files that
engine="out_of_core"reads write under<tempdir>/pyrosm/cache.- Parameters:
filepath (str | os.PathLike (optional)) – When given, only the cached layers for that source PBF are listed; when
None(default) every cached file is listed.- Returns:
The cached files’ paths.
- Return type:
list of str