91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

是一個基于c#+ae9.2的旅游信息系統,可以實現一般地圖功能,緩沖區分析 最佳路徑查詢等

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Text;
using?ESRI.ArcGIS.NetworkAnalysis;
using?ESRI.ArcGIS.Geodatabase;
using?ESRI.ArcGIS.Geometry;
using?ESRI.ArcGIS.Carto;
using?ESRI.ArcGIS.Controls;
using?ESRI.ArcGIS.SystemUI;
using?ESRI.ArcGIS.esriSystem;
using?ESRI.ArcGIS.Geodatabase;

namespace?test
{
????class?ClsPathFinder?
????{
???????????private?IGeometricNetwork?m_ipGeometricNetwork;
???????????private?IMap?m_ipMap;
???????????private?IPointCollection?m_ipPoints;
???????????private?IPointToEID?m_ipPointToEID;
???????????private?double?m_dblPathCost?=0;
???????????private?IEnumNetEID?m_ipEnumNetEID_Junctions;
???????????private?IEnumNetEID?m_ipEnumNetEID_Edges;
???????????public??IPolyline????m_ipPolyline;



???????????#region?Public?Function
???????????//返回和設置當前地圖
???????????public?IMap?SetOrGetMap?
???????????{
????????????set{?m_ipMap?=?value;}
????????????get{return????m_ipMap;}
???????????}
???????????//打開網絡
???????????public?void?OpenFeatureDatasetNetwork(IFeatureDataset?FeatureDataset)
???????????{?
????????????CloseWorkspace();???
????????????if?(!InitializeNetworkAndMap(FeatureDataset))
?????????????Console.WriteLine(?“打開出錯“);
???????????}
???????????//輸入點的集合
???????????public?IPointCollection?StopPoints
???????????{
????????????set{m_ipPoints=?value;}
????????????get{return????m_ipPoints;}
???????????}
???????????
???????????//路徑成本
???????????public?double?PathCost
???????????{
????????????get?{return?m_dblPathCost;}
???????????}
??????????
???????????//返回路徑
???????????public?IPolyline?PathPolyLine()
???????????{
????????????IEIDInfo?ipEIDInfo;
????????????IGeometry?ipGeometry;????
????????????if(m_ipPolyline!=null)return?m_ipPolyline;
???????????
????????????m_ipPolyline?=?new?PolylineClass();
????????????IGeometryCollection?ipNewGeometryColl?=?m_ipPolyline?as?IGeometryCollection;
???????????
????????????ISpatialReference?ipSpatialReference?=?m_ipMap.SpatialReference;
????????????IEIDHelper?ipEIDHelper?=?new?EIDHelperClass();
????????????ipEIDHelper.GeometricNetwork?=?m_ipGeometricNetwork;??
????????????ipEIDHelper.OutputSpatialReference?=?ipSpatialReference;
????????????ipEIDHelper.ReturnGeometries?=?true;



????????????IEnumEIDInfo?ipEnumEIDInfo?=?ipEIDHelper.CreateEnumEIDInfo(m_ipEnumNetEID_Edges);
????????????int?count?=?ipEnumEIDInfo.Count;
????????????ipEnumEIDInfo.Reset();
????????????for(int?i?=0;i????????????{
?????????????ipEIDInfo?=?ipEnumEIDInfo.Next();
?????????????ipGeometry?=?ipEIDInfo.Geometry;
?????????????ipNewGeometryColl.AddGeometryCollection(?ipGeometry?as?IGeometryCollection);
????????????}
????????????return?m_ipPolyline;

???????????????
???????????


??????????????
???????????}
??????????
???????????//解決路徑
???????????public?void?SolvePath(string?WeightName)
???????????{
????????????try
????????????{???
?????????????int?intEdgeUserClassID;
?????????????int?intEdgeUserID;
?????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-21?16:11??旅游信息系統\
?????目錄???????????0??2013-01-21?16:11??旅游信息系統\旅游信息系統\
?????文件?????????943??2010-12-06?11:15??旅游信息系統\旅游信息系統.sln
?????文件???????48128??2013-01-20?13:42??旅游信息系統\旅游信息系統.suo
?????文件????????8664??2010-12-08?18:11??旅游信息系統\旅游信息系統\ClsPathFinder.cs
?????文件???????32806??2010-12-17?12:25??旅游信息系統\旅游信息系統\Form1.cs
?????文件???????51777??2010-12-08?22:10??旅游信息系統\旅游信息系統\Form1.Designer.cs
?????文件???????28567??2010-12-08?22:10??旅游信息系統\旅游信息系統\Form1.resx
?????文件????????1601??2010-12-06?11:53??旅游信息系統\旅游信息系統\Program.cs
?????目錄???????????0??2013-01-21?16:11??旅游信息系統\旅游信息系統\Properties\
?????文件????????1184??2010-12-06?11:15??旅游信息系統\旅游信息系統\Properties\AssemblyInfo.cs
?????文件?????????967??2010-12-08?22:10??旅游信息系統\旅游信息系統\Properties\licenses.licx
?????文件????????2858??2010-12-11?10:57??旅游信息系統\旅游信息系統\Properties\Resources.Designer.cs
?????文件????????5612??2010-12-06?11:15??旅游信息系統\旅游信息系統\Properties\Resources.resx
?????文件????????1114??2010-12-11?10:58??旅游信息系統\旅游信息系統\Properties\Settings.Designer.cs
?????文件?????????249??2010-12-06?11:15??旅游信息系統\旅游信息系統\Properties\Settings.settings
?????文件???????13103??2010-12-09?14:07??旅游信息系統\旅游信息系統\SQl查詢.cs
?????文件???????22311??2010-12-08?11:50??旅游信息系統\旅游信息系統\SQl查詢.Designer.cs
?????文件????????5814??2010-12-08?11:50??旅游信息系統\旅游信息系統\SQl查詢.resx
?????文件????????2288??2010-12-07?18:30??旅游信息系統\旅游信息系統\右鍵屬性.cs
?????文件????????5089??2010-12-07?18:23??旅游信息系統\旅游信息系統\右鍵屬性.Designer.cs
?????文件????????5814??2010-12-07?18:23??旅游信息系統\旅游信息系統\右鍵屬性.resx
?????文件?????????509??2010-12-07?15:56??旅游信息系統\旅游信息系統\圖層屬性表.cs
?????文件????????2586??2010-12-07?15:56??旅游信息系統\旅游信息系統\圖層屬性表.Designer.cs
?????文件????????5814??2010-12-07?15:56??旅游信息系統\旅游信息系統\圖層屬性表.resx
?????文件????????3296??2010-12-07?13:48??旅游信息系統\旅游信息系統\圖查屬性.cs
?????文件????????3536??2010-12-07?13:42??旅游信息系統\旅游信息系統\圖查屬性.Designer.cs
?????文件????????5814??2010-12-07?13:42??旅游信息系統\旅游信息系統\圖查屬性.resx
?????文件????????5155??2010-12-07?19:02??旅游信息系統\旅游信息系統\屬性查圖.cs
?????文件????????8439??2010-12-07?13:10??旅游信息系統\旅游信息系統\屬性查圖.Designer.cs
?????文件????????5814??2010-12-07?13:10??旅游信息系統\旅游信息系統\屬性查圖.resx
............此處省略7個文件信息

評論

共有 條評論