gpt4 book ai didi

geotools - Repast Simphony 的最短距离?

转载 作者:行者123 更新时间:2023-12-04 08:05:03 26 4
gpt4 key购买 nike

关闭。这个问题是opinion-based .它目前不接受答案。












想改善这个问题吗?更新问题,以便可以通过 editing this post 用事实和引文回答问题.

6 个月前关闭。




Improve this question




我想在道路网络上获得从 a 点到 b 点的最短距离。有没有办法使用 GeoTools 或其他方式做到这一点?我们可以从道路形状文件创建网络投影吗?

最佳答案

Repast API 具有 ShortestPath 函数 (https://repast.github.io/docs/api/repast_simphony/repast/simphony/space/graph/ShortestPath.html),它将提供网络中最短路径的网络边缘列表。
还有一个模型 RepastCity ( https://github.com/nickmalleson/repastcity ) 提供了创建道路网络和路线的示例。
GeoTools API 还提供图形和最短路径功能:https://docs.geotools.org/stable/userguide/extension/graph/index.html

关于geotools - Repast Simphony 的最短距离?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66249206/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com