文件名称:shortestPath
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 99kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这段代码并非原创,是依照蒋波涛那本《插件式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 fr a mework 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.
其中线的模型只考虑了最简单的情况:即用户模型中的一短路径即一条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 fr a mework 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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shortestPath\data\Line.dbf
............\....\Line.prj
............\....\Line.sbn
............\....\Line.sbx
............\....\Line.shp
............\....\Line.shx
............\....\Point.dbf
............\....\Point.prj
............\....\Point.sbn
............\....\Point.sbx
............\....\Point.shp
............\....\Point.shx
............\....\无标题.mxd
............\shortestPath\app.config
............\............\bin\Debug\shortestPath.exe
............\............\...\.....\shortestPath.exe.config
............\............\...\.....\shortestPath.pdb
............\............\...\.....\shortestPath.vshost.exe
............\............\...\.....\shortestPath.vshost.exe.config
............\............\FindShortPathClass.cs
............\............\Form1.cs
............\............\Form1.Designer.cs
............\............\Form1.resx
............\............\obj\Debug\ResolveAssemblyReference.cache
............\............\...\.....\shortestPath.csproj.GenerateResource.Cache
............\............\...\.....\shortestPath.exe
............\............\...\.....\shortestPath.Form1.resources
............\............\...\.....\shortestPath.pdb
............\............\...\.....\shortestPath.Properties.Resources.resources
............\............\...\shortestPath.csproj.FileList.txt
............\............\Program.cs
............\............\...perties\AssemblyInfo.cs
............\............\..........\Resources.Designer.cs
............\............\..........\Resources.resx
............\............\..........\Settings.Designer.cs
............\............\..........\Settings.settings
............\............\shortestPath.csproj
............\............\shortestPath.csproj.user
............\shortestPath.sln
............\shortestPath.suo
............\程序说明.txt
............\shortestPath\obj\Debug\Refactor
............\............\...\.....\TempPE
............\............\bin\Debug
............\............\obj\Debug
............\............\bin
............\............\obj
............\............\Properties
............\data
............\shortestPath
shortestPath
............\....\Line.prj
............\....\Line.sbn
............\....\Line.sbx
............\....\Line.shp
............\....\Line.shx
............\....\Point.dbf
............\....\Point.prj
............\....\Point.sbn
............\....\Point.sbx
............\....\Point.shp
............\....\Point.shx
............\....\无标题.mxd
............\shortestPath\app.config
............\............\bin\Debug\shortestPath.exe
............\............\...\.....\shortestPath.exe.config
............\............\...\.....\shortestPath.pdb
............\............\...\.....\shortestPath.vshost.exe
............\............\...\.....\shortestPath.vshost.exe.config
............\............\FindShortPathClass.cs
............\............\Form1.cs
............\............\Form1.Designer.cs
............\............\Form1.resx
............\............\obj\Debug\ResolveAssemblyReference.cache
............\............\...\.....\shortestPath.csproj.GenerateResource.Cache
............\............\...\.....\shortestPath.exe
............\............\...\.....\shortestPath.Form1.resources
............\............\...\.....\shortestPath.pdb
............\............\...\.....\shortestPath.Properties.Resources.resources
............\............\...\shortestPath.csproj.FileList.txt
............\............\Program.cs
............\............\...perties\AssemblyInfo.cs
............\............\..........\Resources.Designer.cs
............\............\..........\Resources.resx
............\............\..........\Settings.Designer.cs
............\............\..........\Settings.settings
............\............\shortestPath.csproj
............\............\shortestPath.csproj.user
............\shortestPath.sln
............\shortestPath.suo
............\程序说明.txt
............\shortestPath\obj\Debug\Refactor
............\............\...\.....\TempPE
............\............\bin\Debug
............\............\obj\Debug
............\............\bin
............\............\obj
............\............\Properties
............\data
............\shortestPath
shortestPath