网络分析和邻接矩阵
我想尝试为数百个由折线组成的形状文件创建一个网络。多段线相互对齐且一致。然后我想为这个网络创建一个邻接矩阵。
这样做的最佳方法是什么?我知道如何通过单击 ArcCatalog 中的选项来单独执行此操作,但我想要尝试探索如何实现自动化。
我之前下载了一些 VBA,一旦我创建了网络,它就会创建一个邻接矩阵,但我只能在网络加载到 ArcMap,图层按特定顺序排列。
我感谢任何有关如何执行此操作的任何语言的建议或建议。我知道这是一个特定于程序的问题;我也在 ESRI 论坛上提出过这个问题,但是我之前的问题并没有得到使我能够实现这一目标的答案,所以我想我也会在这里提出这个问题。
I want to try and create a network for several hundred shapefiles that consist of polylines. The polylines are snapped to each other and consistent. Then I want to create an adjacency matrix for this network.
What is the best way of doing this? I know how to do it on an individual basis by clicking through options within ArcCatalog, but I want to try and explore how to automate this.
I do have some VBA that I previously downloaded that creates an adjacency matrix once I have made the network, but I can only run that once the network is loaded in to ArcMap, with the layers in a specific order.
I appreciate any suggestion or advice about how to do this, in any language. I know this is quite a program specific question; and I have asked it on the ESRI forum too, but my previous questions did not results in an answer that enabled me to achieve this so I thought I would also ask it here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道你到底想实现什么,但是当涉及到 python 中的网络分析时,请看一下 networkx。
I don't know what exactly you want to achieve but when it comes to network analysis in python take a look at networkx.