Description: 这段代码并非原创,是依照蒋波涛那本《插件式GIS应用框架的设计与实现》中的例子代码实现的,并加入了用户界面,稍作了完善。(我知道蒋兄也经常在此论坛出没的,这段代码有哪里还需要改善或做得不对的地方,还望蒋兄海涵和多提宝贵意见!:))
其中线的模型只考虑了最简单的情况:即用户模型中的一短路径即一条polyline,而组成一条polyline的segmentcollection也包涵一条line。程序执行的顺序即按界面按钮的顺序自上而下执行:打开mxd文档->初始化->构建拓扑网络->Plan->选择目的点->获取路径->显示路径->刷新,如需要重复查询,需要 刷新 ->选择目的点->获取路径->获取路径->显示路径,以此类推。
-The code is not the original, in accordance with the Chiang Kai-shek waves book, " plug-in GIS application framework design and implementation" in the example code to achieve, and joined the user interface has improved slightly. (I know that Chiang' s elder brother also frequently spotted in this forum, there is where the code needs to be improved or done anything wrong place, but also look Chiang Brother Haihan and more valuable opinions!:)) In which the line models only consider the most the simplest case: that the user model in a short path that is a polyline, which consists of a polyline of segmentcollection also covers a line. Platform: |
Size: 101376 |
Author:张东映 |
Hits:
Description: 基于AE用c#来实现最短路径分析的功能。可以查询距离最近的点。-Based on AE with c# to achieve the shortest path analysis functions. Can query the nearest point. Platform: |
Size: 101376 |
Author:李艳 |
Hits: