• 大小: 230KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-10-24
  • 语言: 其他
  • 标签: ArEngine  C#  路径分析  

资源简介

访问ArcGIS server服务的ArcEngine网络分析服务,包含路径分析以及路径分析信息展示,包含路径的道路信息以及路径的方向信息,比较全的导航信息。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
using System.xml;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.GISClient;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Location;
using ESRI.ArcGIS.NetworkAnalyst;
using System.Collections.Specialized;

namespace Route_GISClient
{
    public partial class Form1 : Form
    {
        private INAServer m_naServer;
        private IMapServer m_mapServer;
        private ArrayList m_layerIDs;
        public Form1()
        {
            
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            cboUturnPolicy.Items.Add(“Nowhere“);
            cboUturnPolicy.Items.Add(“Everywhere“);
            cboUturnPolicy.Items.Add(“Only at Dead Ends“);

            cboSnapToleranceUnits.Items.Add(“Unknown Units“);
            cboSnapToleranceUnits.Items.Add(“Inches“);
            cboSnapToleranceUnits.Items.Add(“Points“);
            cboSnapToleranceUnits.Items.Add(“Feet“);
            cboSnapToleranceUnits.Items.Add(“Yards“);
            cboSnapToleranceUnits.Items.Add(“Miles“);
            cboSnapToleranceUnits.Items.Add(“Nautical Miles“);
            cboSnapToleranceUnits.Items.Add(“Millimeters“);
            cboSnapToleranceUnits.Items.Add(“Centimeters“);
            cboSnapToleranceUnits.Items.Add(“Meters“);
            cboSnapToleranceUnits.Items.Add(“Kilometers“);
            cboSnapToleranceUnits.Items.Add(“DecimalDegrees“);
            cboSnapToleranceUnits.Items.Add(“Decimeters“);

            // Route
            cboRouteOutputLines.Items.Add(“None“);
            cboRouteOutputLines.Items.Add(“Straight Line“);
            cboRouteOutputLines.Items.Add(“True Shape“);
            cboRouteOutputLines.Items.Add(“True Shape With Ms“);

            cboRouteDirectionsLengthUnits.Items.Add(“Feet“);
            cboRouteDirectionsLengthUnits.Items.Add(“Yards“);
            cboRouteDirectionsLengthUnits.Items.Add(“Miles“);
            cboRouteDirectionsLengthUnits.Items.Add(“Meters“);
            cboRouteDirectionsLengthUnits.Items.Add(“Kilometers“);

            if (txtServer.Text != ““ && txtServer.Text != “
                && txtService.Text != ““ && txtService.Text != “ject>“)
            {
                ConnectToServer();
                GetNetworkAnalysislayers();
            }
        }
        /// 
/// This function
///     - sets the server and solver parameters
///     - populates the stops NALocations
///     - gets and displays the server results (map directions etc.)
/// 

  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     64512  2018-08-23 10:16  Route_GISClient\.vs\Route_GISClient\v14\.suo

     文件        189  2018-08-22 11:40  Route_GISClient\Route_GISClient\App.config

     文件     204288  2015-12-23 12:48  Route_GISClient\Route_GISClient\bin\Debug\ESRI.ArcGIS.System.dll

     文件    1002856  2015-12-13 09:32  Route_GISClient\Route_GISClient\bin\Debug\ESRI.ArcGIS.System.xml

     文件      14336  2015-12-23 12:18  Route_GISClient\Route_GISClient\bin\Debug\ESRI.ArcGIS.Version.dll

     文件      60928  2018-08-22 17:42  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.exe

     文件        189  2018-08-22 11:40  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.exe.config

     文件      58880  2018-08-22 17:42  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.pdb

     文件      22696  2018-08-23 08:37  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.vshost.exe

     文件        189  2018-08-22 11:40  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.vshost.exe.config

     文件        490  2017-03-19 05:00  Route_GISClient\Route_GISClient\bin\Debug\Route_GISClient.vshost.exe.manifest

     文件      42560  2018-08-22 17:42  Route_GISClient\Route_GISClient\Form1.cs

     文件      45702  2018-08-22 17:37  Route_GISClient\Route_GISClient\Form1.Designer.cs

     文件       5817  2018-08-22 17:37  Route_GISClient\Route_GISClient\Form1.resx

     文件      13218  2018-08-22 16:47  Route_GISClient\Route_GISClient\LicenseInitializer.cs

     文件       1464  2018-08-22 16:27  Route_GISClient\Route_GISClient\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       8231  2018-08-22 16:37  Route_GISClient\Route_GISClient\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1639  2018-08-23 08:37  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.csproj.FileListAbsolute.txt

     文件       1012  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.csproj.GenerateResource.Cache

     文件      15333  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.csprojResolveAssemblyReference.cache

     文件      60928  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.exe

     文件        180  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.Form1.resources

     文件      58880  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.pdb

     文件        180  2018-08-22 17:42  Route_GISClient\Route_GISClient\obj\Debug\Route_GISClient.Properties.Resources.resources

     文件          0  2018-08-22 11:40  Route_GISClient\Route_GISClient\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-08-22 11:40  Route_GISClient\Route_GISClient\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-08-22 11:40  Route_GISClient\Route_GISClient\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       1894  2018-08-22 16:47  Route_GISClient\Route_GISClient\Program.cs

     文件       1338  2018-08-22 11:40  Route_GISClient\Route_GISClient\Properties\AssemblyInfo.cs

     文件       2843  2018-08-22 11:40  Route_GISClient\Route_GISClient\Properties\Resources.Designer.cs

............此处省略19个文件信息

评论

共有 条评论