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

  • 大小: 50KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-07-07
  • 語言: 其他
  • 標簽: ArcGIS??Routing.??

資源簡介

ArcGIS server 的最優路徑分析

資源截圖

代碼片段和文件信息

//?Copyright?2007?ESRI
//?
//?All?rights?reserved?under?the?copyright?laws?of?the?United?States
//?and?applicable?international?laws?treaties?and?conventions.
//?
//?You?may?freely?redistribute?and?use?this?sample?code?with?or
//?without?modification?provided?you?include?the?original?copyright
//?notice?and?use?restrictions.
//?
//?See?use?restrictions?at?/arcgis/developerkit/userestrictions.
//

using?System;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.xml;
using?System.Web;
using?System.Web.SessionState;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.HtmlControls;
using?ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer;
using?ESRI.ArcGIS.ADF.Web.Geocode;
using?ESRI.ArcGIS.ADF.Web.DataSources;

namespace?RouteFinder
{
public?partial?class?_Default?:?System.Web.UI.Page
{
protected?void?Page_Init(object?sender?EventArgs?e)
{
if?(Session.IsNewSession)
{
Session.Add(“ModifiedNAContextApplied“?false);
}
}

///?
///?Creates?an?array?of?xy?coordinates?for?the?passed?locationString.
///?

///?
private?void?GeocodeAddress(IGeocodeFunctionality?igf?string?address?string?zip?out?double?x?out?double?y)
{
x?=?Double.NaN;
y?=?Double.NaN;

System.Collections.Generic.List?avc?=?new?System.Collections.Generic.List();
AddressValue?av1?=?new?AddressValue(“STREET“?address);
AddressValue?av2?=?new?AddressValue(“ZONE“?zip);
avc.Add(av1);
avc.Add(av2);

ESRI.ArcGIS.ADF.Web.Geometry.Point?geocodedPoint?=?igf.GeocodeAddress(avc);
x?=?geocodedPoint.X;
y?=?geocodedPoint.Y;

return;
}

///?
///?Updates?the?form?elements?with?values?saved?in?session
///?


private?void?GetPreviousParameters()
{
if?(Session[“FromAddress“]?==?null)
return;

FromStreet.Value?=?Session[“FromAddress“].ToString();
FromZip.Value?=?Session[“FromZip“].ToString();
ToStreet.Value?=?Session[“ToAddress“].ToString();
ToZip.Value?=?Session[“ToZip“].ToString();
}

protected?void?btnGetDirections_Click(object?sender?System.EventArgs?e)
{
if?(!GeocodeResourceManager1.Initialized)
GeocodeResourceManager1.Initialize();

IGISResource?gisResource?=?GeocodeResourceManager1.GetResource(0);
if?(gisResource?==?null)
throw?new?Exception(“Error?getting?Geocode?resource.??Make?sure?you?have?set?up?the?identity?in?web.config“);

bool?supported?=?gisResource.SupportsFunctionality(typeof(ESRI.ArcGIS.ADF.Web.DataSources.IGeocodeFunctionality));

if?(supported)
{
IGeocodeFunctionality?igf?=?(IGeocodeFunctionality)gisResource.CreateFunctionality(typeof(IGeocodeFunctionality)?null);

double?fromX?fromY?toX?toY;

Session[“FromAddress“]?=?FromStreet.Value.ToString();
Session[“FromZip“]?=?FromZip.Value.ToStrin

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1733??2007-11-20?10:55??Global.asax.resx

?????文件???????2182??2007-11-20?10:55??PrintPage.aspx

?????文件???????1258??2008-01-18?17:57??PrintPage.aspx.cs

?????文件???????1733??2007-11-20?10:55??PrintPage.aspx.resx

?????文件???????1451??2007-11-20?10:55??styleSheet.css

?????文件???????6669??2007-11-20?10:55??Web.config

?????文件???????3197??2008-01-18?17:57??App_Code\AssemblyInfo.cs

?????文件???????3866??2008-01-18?17:57??App_Code\CustomTools.cs

?????文件???????2410??2008-01-18?17:57??App_Code\Global.asax.cs

?????文件???????1010??2008-01-18?17:57??App_Code\IbaseRouteFinderPage.cs

?????文件???????2012??2008-01-18?17:57??App_Code\NetworkAnalystRouteResult.cs

?????文件??????12608??2008-01-18?17:57??App_Code\NetworkAnalystUtility.cs

?????文件????????962??2007-11-20?10:55??images\fullroute.gif

?????文件???????1024??2007-11-20?10:55??images\fullrouteD.gif

?????文件???????1016??2007-11-20?10:55??images\fullrouteU.gif

?????文件????????950??2007-11-20?10:55??images\newroute.gif

?????文件????????914??2007-11-20?10:55??images\pan.gif

?????文件????????962??2007-11-20?10:55??images\panD.gif

?????文件????????965??2007-11-20?10:55??images\panU.gif

?????文件????????926??2007-11-20?10:55??images\print.gif

?????文件????????942??2007-11-20?10:55??images\reverseroute.gif

?????文件??????26112??2007-11-20?10:55??images\Thumbs.db

?????文件????????333??2007-11-20?10:55??images\working.gif

?????文件????????924??2007-11-20?10:55??images\zoomin.GIF

?????文件????????972??2007-11-20?10:55??images\zoominD.gif

?????文件????????968??2007-11-20?10:55??images\zoominU.gif

?????文件????????920??2007-11-20?10:55??images\zoomout.GIF

?????文件????????965??2007-11-20?10:55??images\zoomoutD.gif

?????文件????????965??2007-11-20?10:55??images\zoomoutU.gif

?????文件???????1520??2008-11-11?10:17??ArcGIS_Routing_CSharp.sln

............此處省略18個文件信息

評論

共有 條評論