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

  • 大小: 9.19MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-12
  • 語言: C#
  • 標簽: C#??AE??空間分析??

資源簡介

基于AE條件下開發的C#程序,AE10.0許可,版本不同的需要重新加載

資源截圖

代碼片段和文件信息

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.esriSystem;

using?ESRI.ArcGIS.Geodatabase;
using?ESRI.ArcGIS.Carto;
using?ESRI.ArcGIS.DataSourcesFile;
using?ESRI.ArcGIS.Geometry;
using?ESRI.ArcGIS.DataSourcesRaster;
using?ESRI.ArcGIS.Display;
using?ESRI.ArcGIS.Controls;
using?ESRI.ArcGIS.SystemUI;
using?ESRI.ArcGIS.GeoAnalyst;
using?System.Collections;
using?ESRI.ArcGIS.SpatialAnalyst;

namespace?WindowsApplication1
{
????public?partial?class?Allocation?:?Form
????{
????????public?Allocation()
????????{
????????????InitializeComponent();
????????}

????????public?IMap?pMap;
????????public?int?layerIndex1?layerIndex2;
????????string?Filename;
????????public?IRasterlayer?pRasterlayer?=?new?RasterlayerClass();
????????private?void?Allocation_Load(object?sender?EventArgs?e)
????????{
????????????comboBox1.Items.Clear();
????????????comboBox2.Items.Clear();
????????????int?i?layCount;
????????????layCount?=?pMap.layerCount;
????????????for?(i?=?0;?i?????????????{
????????????????comboBox1.Items.Add(pMap.get_layer(i).Name);
????????????????comboBox2.Items.Add(pMap.get_layer(i).Name);
????????????}???????
????????}

????????private?void?comboBox1_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
????????????layerIndex1?=?comboBox1.SelectedIndex;
????????}

????????private?void?comboBox2_SelectedIndexChanged(object?sender?EventArgs?e)
????????{
????????????layerIndex2?=?comboBox2.SelectedIndex;
????????}

????????private?void?button3_Click(object?sender?EventArgs?e)
????????{
????????????saveFileDialog1.Filter?=?“IMAGINE|*.img“;
????????????saveFileDialog1.RestoreDirectory?=?true;

????????????if?(saveFileDialog1.ShowDialog()?==?DialogResult.OK)
????????????{
????????????????Filename?=?saveFileDialog1.FileName;
????????????????textBox1.Text?=?Filename;
????????????}
????????}
????????public?IRasterlayer?Allocation1(IRasterlayer?sourceRasterlayer?string?maxDistance?IFeaturelayer?extentlayer?string?outputFileName)
????????{
????????????if?(System.IO.File.Exists(outputFileName))
????????????{
????????????????System.IO.File.Delete(outputFileName);
????????????}

????????????IGeoDataset?sourceRaster?=?sourceRasterlayer.Raster?as?IGeoDataset;

????????????IGeoDataset?costRaster?=?extentlayer.FeatureClass?as?IGeoDataset;

????????????IDistanceOp2?distanceOp?=?new?RasterDistanceOpClass();
????????????IRasterAnalysisEnvironment?rasAnaEnv?=?distanceOp?as?IRasterAnalysisEnvironment;

????????????//設置生成圖層的工作空間
????????????IWorkspaceFactory?wsf?=?new?RasterWorkspaceFactoryClass();
????????????string?outputPath?=?System.IO.Path.GetDirectoryName(outputFileName);
????????????string?fileName?=?System.IO.Path.GetFileName(outputFileName);
????????????IWorkspace?ws?=?wsf.OpenFromFile(outputPath?0);
????????????rasAnaEnv.

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-06-16?01:18??演示數據1\
?????目錄???????????0??2013-06-16?01:17??演示數據1\cut_fill\
?????目錄???????????0??2013-06-16?01:17??演示數據1\cut_fill\14-tin1\
?????文件?????????861??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\metadata.xml
?????文件?????????104??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\tdenv.adf
?????文件???????75336??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\tedg.adf
?????文件?????????108??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\thul.adf
?????文件?????????896??2010-09-13?15:27??演示數據1\cut_fill\14-tin1\tmsk.adf
?????文件?????????116??2010-09-13?15:27??演示數據1\cut_fill\14-tin1\tmsx.adf
?????文件???????75336??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\tnod.adf
?????文件???????50272??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\tnxy.adf
?????文件???????12568??2004-08-21?14:51??演示數據1\cut_fill\14-tin1\tnz.adf
?????文件?????????225??2001-04-21?01:17??演示數據1\cut_fill\bound.dbf
?????文件?????????132??2004-06-21?16:24??演示數據1\cut_fill\bound.sbn
?????文件?????????116??2004-06-21?16:24??演示數據1\cut_fill\bound.sbx
?????文件?????????636??2004-06-21?16:24??演示數據1\cut_fill\bound.shp
?????文件?????????108??2004-06-21?16:24??演示數據1\cut_fill\bound.shx
?????文件????????2318??2006-02-07?16:21??演示數據1\cut_fill\cnt_dsn.dbf
?????文件?????????532??2004-06-21?16:24??演示數據1\cut_fill\cnt_dsn.sbn
?????文件?????????140??2004-06-21?16:24??演示數據1\cut_fill\cnt_dsn.sbx
?????文件???????77684??2006-02-07?16:21??演示數據1\cut_fill\cnt_dsn.shp
?????文件?????????452??2006-02-07?16:21??演示數據1\cut_fill\cnt_dsn.shx
?????文件????????3264??2006-02-07?16:21??演示數據1\cut_fill\cnt_ext.dbf
?????文件?????????812??2004-06-21?16:24??演示數據1\cut_fill\cnt_ext.sbn
?????文件?????????196??2004-06-21?16:24??演示數據1\cut_fill\cnt_ext.sbx
?????文件??????104660??2006-02-07?16:21??演示數據1\cut_fill\cnt_ext.shp
?????文件?????????628??2006-02-07?16:21??演示數據1\cut_fill\cnt_ext.shx
?????文件??????530432??2010-09-07?11:07??演示數據1\cut_fill\ex14.mxd
?????目錄???????????0??2013-06-16?01:17??演示數據1\cut_fill\temp\
?????目錄???????????0??2013-06-16?01:17??演示數據1\cut_fill\temp\cnt_design\
?????文件???????12800??2010-09-08?08:47??演示數據1\cut_fill\temp\cnt_design.lyr
............此處省略676個文件信息

評論

共有 條評論