Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进行mongo 存储时, 经常性下载失败!有没有不用重新下载的方法? #5

Open
napaah opened this issue Mar 8, 2021 · 2 comments

Comments

@napaah
Copy link

napaah commented Mar 8, 2021

No description provided.

@napaah
Copy link
Author

napaah commented Mar 8, 2021

或者 有没有计算 哪些失败了, 只下载失败的瓦片!又或者地图需要更新, 还需要重新下载一遍吗?

@lhq-github
Copy link
Owner

1、如果要更新瓦片,只能把现有的瓦片全部删了重新下载(不删除瓦片已经存在的是不会重新下载的);不能局部更新的原因是因为我们根本不知道哪些瓦片需要更新。
2、只下载失败的目前不支持,因为我没有存储失败的瓦片。这个后期可以考虑加一个嵌入式数据库存储下载失败的瓦片支持重新下载
如果是网络问题导致的下载失败,可以在配置文件里增加失败瓦片的重试次数尝试解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants