Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果可能的话,我如何仅使用现有点作为源来计算两点之间的路线?没有提供网络/道路,我只有积分。我试过这个http://docs.pgrouting.org/dev/src/tsp/doc/index.html,但我想我走错了路。
你不能使用 pgRouting。您只能计算点之间的直线距离。要计算将遵循道路网络的路线,您必须拥有道路网络。您可能会尝试使用 Google Maps API 或 Project-OSRM API 之类的东西。这两个都是在远程服务器上具有道路网络的 Web 服务,您可以将点传递给它们,它们将计算路线。