从osmnx中的特定路径加载缓存文件

问题描述

我有一个简单的问题,做ox.graph_from_place()时是否可以声明高速缓存文件的位置。我在Ubunu终端上运行了一个代码,因此将缓存文件放置在特定的位置,现在我在jupyter实验室中运行相同的代码,我想知道是否可以说明从何处获取缓存而不是下载缓存再次。

谢谢你。

解决方法

--- layout: default title: Home --- This is a [Markdown](http://daringfireball.net/projects/markdown/) file. {% include foobar.html %} 函数中使用cache_folder参数。参见the docs

ox.config()