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

  • 大小: 1.66MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-26
  • 語言: 其他
  • 標簽: AE??柵格計算??

資源簡介

gis中實現柵格計算器的功能,對多個刪格圖層進行各種數學運算,ArcGIS Engine 開發平臺(gis achieve grid calculator function, a plurality of layers Raster various mathematical operations, ArcGIS Engine Development Platform),實現對重分類或者原有柵格數量的計算

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?ESRI.ArcGIS.Carto;
using?ESRI.ArcGIS.Geodatabase;
using?ESRI.ArcGIS.DataSourcesRaster;
using?ESRI.ArcGIS.Geometry;
using?ESRI.ArcGIS.SpatialAnalyst;
using?ESRI.ArcGIS.GeoAnalyst;

namespace?Math
{
????public?partial?class?FrmMath?:?Form
????{
????????public?FrmMath()
????????{
????????????InitializeComponent();
????????}

????????private?IGeoDataset?inGeodataset1;//輸入數據1
????????private?IGeoDataset?inGeodataset2;//輸入數據2
????????private?IGeoDataset?result;//返回結果

????????private?IMathOp?mathOp;//數學計算對象
????????private?ILogicalOp?logicalOp;//邏輯運算對象
????????private?ITrigOp?trigOp;//三角函數計算對象
????????private?IBitwiseOp?bitwiseOp;//按位計算對象
????????

????????#region?參數設置
????????private?void?cmbInputData1_MouseClick(object?sender?MouseEventArgs?e)
????????{
????????????ComboBox?c?=?sender?as?ComboBox;
????????????c.Items.Clear();

????????????IMap?map?=?axMapControl1.Map;
????????????if?(map?!=?null)
????????????{
????????????????for?(int?i?=?0;?i?yerCount;?i++)
????????????????{
????????????????????c.Items.Add(map.get_layer(i).Name);
????????????????}
????????????}
????????}
????????//設置輸入數據1?
????????private?void?cmbInputData1_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????ilayer?layer?=?getlayerFromName(cmbInputData1.SelectedItem.ToString());
????????????????IRasterlayer?rasterlayer?=?layer?as?IRasterlayer;

????????????????IRaster?raster?=?rasterlayer.Raster;
????????????????inGeodataset1?=?raster?as?IGeoDataset;
????????????}
????????????catch?{
????????????????MessageBox.Show(“請輸入柵格數據!“);
????????????};
????????}
????????//設置輸入數據2
????????private?void?cmbInputData2_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????ilayer?layer?=?getlayerFromName(cmbInputData2.SelectedItem.ToString());
????????????????IRasterlayer?rasterlayer?=?layer?as?IRasterlayer;

????????????????IRaster?raster?=?rasterlayer.Raster;
????????????????inGeodataset2?=?raster?as?IGeoDataset;
????????????}
????????????catch
????????????{
????????????????MessageBox.Show(“請輸入柵格數據!“);
????????????};
????????}
????????//對象實例化
????????private?void?FrmMath_Load(object?sender?EventArgs?e)
????????{
????????????mathOp?=?new?RasterMathOpsClass();
????????????logicalOp?=?new?RasterMathOpsClass();
????????????trigOp?=?new?RasterMathOpsClass();
????????????bitwiseOp?=?new?RasterMathOpsClass();
????????}
????????#endregion

????????#region?數學計算
????????private?void?btnPlus_Click(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????if?(cmbInputData1.SelectedItem?==?null?||?cmbInputData2.SelectedItem?==?null)
????????????????????return;
????????????????result?=?mathOp.Plus(inGeodataset1

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

?????文件??????31232??2015-01-29?11:43??柵格計算\code\Math\bin\Debug\Math.exe

?????文件??????69120??2015-01-29?11:43??柵格計算\code\Math\bin\Debug\Math.pdb

?????文件??????11608??2015-01-29?11:43??柵格計算\code\Math\bin\Debug\Math.vshost.exe

?????文件????????490??2010-03-17?22:39??柵格計算\code\Math\bin\Debug\Math.vshost.exe.manifest

?????文件??????30208??2015-01-29?11:42??柵格計算\code\Math\bin\Release\Math.exe

?????文件??????48640??2015-01-29?11:42??柵格計算\code\Math\bin\Release\Math.pdb

?????文件??????11608??2015-01-29?11:42??柵格計算\code\Math\bin\Release\Math.vshost.exe

?????文件????????490??2010-03-17?22:39??柵格計算\code\Math\bin\Release\Math.vshost.exe.manifest

?????文件??????????1??2015-01-23?21:22??柵格計算\code\Math\ClassDiagram1.cd

?????文件??????10700??2015-01-29?11:41??柵格計算\code\Math\FrmMath.cs

?????文件??????23678??2015-01-27?10:53??柵格計算\code\Math\FrmMath.Designer.cs

?????文件??????11637??2015-01-27?10:53??柵格計算\code\Math\FrmMath.resx

?????文件????????754??2015-01-23?21:22??柵格計算\code\Math\LicenseInitializer.cs

?????文件??????15234??2015-01-23?21:22??柵格計算\code\Math\LicenseInitializer.Designer.cs

?????文件???????9149??2015-01-23?21:22??柵格計算\code\Math\Math.csproj

?????文件????????452??2015-01-23?21:22??柵格計算\code\Math\Math.csproj.user

?????文件?????249347??2015-01-28?14:27??柵格計算\code\Math\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7277??2015-01-29?11:43??柵格計算\code\Math\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件???????2625??2015-01-29?11:43??柵格計算\code\Math\obj\x86\Debug\Math.csproj.FileListAbsolute.txt

?????文件????????977??2015-01-27?10:56??柵格計算\code\Math\obj\x86\Debug\Math.csproj.GenerateResource.Cache

?????文件?????262372??2015-01-28?21:16??柵格計算\code\Math\obj\x86\Debug\Math.csprojResolveAssemblyReference.cache

?????文件??????31232??2015-01-29?11:43??柵格計算\code\Math\obj\x86\Debug\Math.exe

?????文件???????4050??2015-01-27?10:56??柵格計算\code\Math\obj\x86\Debug\Math.FrmMath.resources

?????文件??????69120??2015-01-29?11:43??柵格計算\code\Math\obj\x86\Debug\Math.pdb

?????文件????????180??2015-01-23?21:22??柵格計算\code\Math\obj\x86\Debug\Math.Properties.Resources.resources

?????文件???????4608??2015-01-23?21:22??柵格計算\code\Math\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

?????文件?????124772??2015-01-29?11:10??柵格計算\code\Math\obj\x86\Release\DesignTimeResolveAssemblyReferences.cache

?????文件???????7281??2015-01-29?11:42??柵格計算\code\Math\obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache

?????文件????????780??2015-01-29?11:42??柵格計算\code\Math\obj\x86\Release\Math.csproj.FileListAbsolute.txt

?????文件????????977??2015-01-28?21:16??柵格計算\code\Math\obj\x86\Release\Math.csproj.GenerateResource.Cache

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

評論

共有 條評論