ArcGIS GP地理處理相關資料收集整理
ESRI官方中文文件:
其他收藏整理連結如下:
----------------------------------------------------------------------------------------------------------------
ArcGIS Server GP服務使用常見錯誤總結 :
http://www.cnblogs.com/potential/archive/2012/05/18/GP.html
----------------------------------------------------------------------------------------------------------------
ESRI Help
http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geoprocessing/guide_-1963186772.htm
----------------------------------------------------------------------------------------------------------------
GP建立及釋出
http://uwmgisinfo.uwm.edu/Lists/Posts/Post.aspx?ID=20
-----------------------------------------------------------------------------------------------------------------
ESRI Help Document
------------------------------------------------------------------------------------------------------------------
GP Raster
http://blog.csdn.net/moofell/article/details/6101204
-------------------------------------------------------------------------------------------------------------------
Flex 呼叫GP服務
http://futureeye.iteye.com/blog/1066458
-------------------------------------------------------------------------------------------------------------------
CSDN部落格
http://blog.csdn.net/heyubingzju/article/category/703695
-------------------------------------------------------------------------------------------------------------------
GP繪製等值線
http://bbs.esrichina-bj.cn/ESRI/archiver/?tid-113584.html
-------------------------------------------------------------------------------------------------------------------
ESRI 中文幫助文件
-------------------------------------------------------------------------------------------------------------------
GP 工具使用
http://www.cnblogs.com/gisangela/archive/2011/01/06/1927702.html
-------------------------------------------------------------------------------------------------------------------
視訊教程
http://v.26vv.cn/video/mfzggz3jomqgo4bazlj4nnn5zsz4y
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ModelBuilder
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ArcGIS API for Silverlight呼叫GP程式
#region GP呼叫
Geoprocessor _geoprocessorTask;
public void GP()
{
_geoprocessorTask = new Geoprocessor("http://lius/ArcGIS/rest/services/gprater/GPServer/Model");
List<GPParameter> parameters = new List<GPParameter>();
parameters.Add(new GPFeatureRecordSetLayer("ZPts", "http://localhost/a.txt"));
_geoprocessorTask.SubmitJobAsync(parameters);
_geoprocessorTask.JobCompleted += new EventHandler<JobInfoEventArgs>(_geoprocessorTask_JobCompleted);
_geoprocessorTask.Failed += GeoprocessorTask_Failed;
}
private void _geoprocessorTask_JobCompleted(object sender, JobInfoEventArgs e)
{
Geoprocessor geoprocessorTask = sender as Geoprocessor;
geoprocessorTask.GetResultDataCompleted += GeoprocessorTask_GetResultDataCompleted;
geoprocessorTask.GetResultDataAsync(e.JobInfo.JobId, "output");
}
private void GeoprocessorTask_GetResultDataCompleted(object sender, GPParameterEventArgs e)
{
Geoprocessor geoprocessorTask = sender as Geoprocessor;
_geoprocessorTask.GetResultImageLayerAsync(geoprocessorTask.SubmitJobLastResult.JobId, e.Parameter.Name);
_geoprocessorTask.GetResultImageLayerCompleted += new EventHandler<GetResultImageLayerEventArgs>
(_geoprocessorTask_GetResultImageLayerCompleted);
}
void _geoprocessorTask_GetResultImageLayerCompleted(object sender, GetResultImageLayerEventArgs e)
{
GPResultImageLayer mGPResultImageLAyer = e.GPResultImageLayer;
myMap.Layers.Clear();
myMap.Layers.Add(mGPResultImageLAyer);
}
private void GeoprocessorTask_Failed(object sender, TaskFailedEventArgs e)
{
MessageBox.Show(e.Error.ToString());
}
#endregion
#region GP呼叫方式二
FeatureSet featureset = new FeatureSet();
Geoprocessor _Jobprocessor;
List<GPParameter> Jobgpparameter = new List<GPParameter>();
public MainPage()
{
InitializeComponent();
_Jobprocessor = new Geoprocessor
("http://192.168.0.104/ArcGIS/rest/services/CounterService/GPServer/Counter");
_Jobprocessor.UpdateDelay = 5000;
_Jobprocessor.OutputSpatialReference = myMap.SpatialReference;
_Jobprocessor.JobCompleted += new EventHandler<JobInfoEventArgs>(_Jobprocessor_JobCompleted);
_Jobprocessor.Failed += new EventHandler<TaskFailedEventArgs>(_Jobprocessor_Failed);
}
void _Jobprocessor_Failed(object sender, TaskFailedEventArgs e)
{
MessageBox.Show("錯誤:" + e.Error.ToString());
}
void _Jobprocessor_JobCompleted(object sender, JobInfoEventArgs e)
{
Geoprocessor geoprocessorTask = sender as Geoprocessor;
geoprocessorTask.GetResultDataCompleted += new EventHandler<GPParameterEventArgs>
(_geoprocessor_GetResultDataCompleted);
geoprocessorTask.GetResultDataAsync(e.JobInfo.JobId, "OutPut_shp");
}
void _geoprocessor_GetResultDataCompleted(object sender, GPParameterEventArgs e)
{
GraphicsLayer graphiclayer = myMap.Layers["CounterLayer"] as GraphicsLayer;
GPFeatureRecordSetLayer gplayer = e.Parameter as GPFeatureRecordSetLayer;
foreach (Graphic graphic in gplayer.FeatureSet.Features)
{
graphic.Symbol = LayoutRoot.Resources["CounterSymbol"] as ESRI.ArcGIS.Client.Symbols.Symbol;
graphiclayer.Graphics.Add(graphic);
}
}
private void Map_MouseClick(object sender, Map.MouseEventArgs e)
{
GraphicsLayer gplayer = myMap.Layers["MyGraphicLayer"] as GraphicsLayer;
Graphic[] gp = new Graphic[10];
for (int i = 0; i < gp.Length; i++)
{
gp[i] = new Graphic()
{
Geometry = new MapPoint(e.MapPoint.X + 100 * i, e.MapPoint.Y + 100 * i),
Symbol = new SimpleMarkerSymbol()
{
Size = 9,
Color = new SolidColorBrush(Colors.Red),
Style = SimpleMarkerSymbol.SimpleMarkerStyle.Circle
}
};
string Location = string.Format("x:{0},y:{1}", e.MapPoint.X + 100 * i, e.MapPoint.Y + 100 * i);
gp[i].Attributes.Add("Location", Location);
gp[i].Attributes.Add("PolutionC", i);
}
foreach (Graphic g in gp)
{
gplayer.Graphics.Add(g);
featureset.Features.Add(g);
}
}
private void button2_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show(featureset.Features.Count.ToString());
Jobgpparameter.Add(new GPFeatureRecordSetLayer("PollutionPoints", featureset));
Jobgpparameter.Add(new GPDouble("CounterSpacing", 1));
_Jobprocessor.SubmitJobAsync(Jobgpparameter);
}
#endregion
相關文章
- 影象識別及處理相關資料集介紹
- 使用ArcGIS連線瀚高資料庫與地理資訊的匯入資料庫
- opencv 視訊處理相關OpenCV
- 數學建模 資料處理模型之變數相關性類(灰色相關聯、相關性分析)模型變數
- ArcGIS Desktop 工具的並行處理並行
- webpack基礎–css相關處理WebCSS
- 關於一類資料處理
- Uber 開源地理視覺化工具 Ketoper.gl,加速資料處理視覺化
- Pandas多維特徵資料預處理及sklearn資料不均衡處理相關技術實踐-大資料ML樣本集案例實戰特徵大資料
- 數字影像處理相關練習
- Python資料處理(二):處理 Excel 資料PythonExcel
- 異常處理及其相關知識點
- 在ArcGIS Pro中對Revit的bim資料進行地理配準(平移、旋轉等)
- 資料處理
- 地理位置geo處理之mysql函式MySql函式
- ArcGIS10.5.1通過SDE直連Oracle 12c——建立企業級地理資料庫Oracle資料庫
- 關於 Eloquent ORM 對資料處理的思考ORM
- Camera開發系列之二 相機資料回撥處理
- MySQL 磁碟空間滿導致表空間相關資料檔案損壞故障處理MySql
- 海量資料處理
- python 處理資料Python
- springmvc 資料處理SpringMVC
- Panda資料處理
- 資料預處理
- Excel 資料處理Excel
- javascript - 資料處理JavaScript
- 醫學影像處理相關軟體及python包Python
- 資料分析--資料預處理
- 資料預處理-資料清理
- 資料清洗和資料處理
- 快手關於海量模型資料處理的實踐模型
- [20210722]資料庫異常關閉的處理.txt資料庫
- 第二章 相似性和相異性度量&資料&資料預處理
- Python資料處理(一):處理 JSON、XML、CSV 三種格式資料PythonJSONXML
- 幾個與文字處理相關的Linux命令總結Linux
- 專案常用JS方法封裝(三) [ 字串相關處理 ]JS封裝字串
- Linux下處理時間同步相關問題彙總Linux
- 『忘了再學』Shell基礎 — 31、字元處理相關命令字元
- 請求資料處理