简体   繁体   English

我在 docker 中运行的 openrouteservice 中的配置文件错误(Ubuntu)

[英]Profile error in my openrouteservice running in docker (Ubuntu)

I have just installed on my Ubuntu 16.04 the OpenRouteService into the docker as described at https://github.com/GIScience/openrouteservice/wiki/Running-with-Docker It works, but when I try to get route between two coordinates, I am get an "unable to get an appropriate route profile for RoutePreference=driving-car" message.我刚刚在我的 Ubuntu 16.04 上将 OpenRouteService 安装到 docker 中,如https://github.com/GIScience/openrouteservice/wiki/Running-with-Docker中所述它可以工作,但是当我尝试在两个坐标之间获取路线时,我我收到“无法为 RoutePreference=driving-car 获取适当的路线配置文件”消息。 I have checked the config file of ors and there is a correct "driving-car" profile in. Could you suggest something else to check or help?我检查了 ors 的配置文件,其中有一个正确的“驾驶汽车”配置文件。你能建议其他检查或帮助的东西吗?

I don't know what was the problem at the first runs, but the cache files cause the error.我不知道第一次运行时出现了什么问题,但缓存文件会导致错误。 When I delete the content of "elevation cache", the app runs correctly in docker.当我删除“海拔缓存”的内容时,应用程序在 docker 中正确运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM