资源简介
arcgis engine实现叠加分析,用到Intersect,
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geodatabase;
//叠加分析
namespace InterSectAnalysis
{
public class IntSectAnalysis
{
public IFeatureClass Intsect(IFeatureClass _pFtClassIFeatureClass _pFtOverlaystring _FilePathstring _pFileName)
{
/*IFeature pFea = ((IFeaturelayer)pSellayer).FeatureClass.Search(qf false).NextFeature();
int numIndex = pFea.Fields.FindField(“aa“);
IDataset ds = (IDataset)((IFeaturelayer)pSellayer).FeatureClass;
IWorkspaceEdit pws = (IWorkspaceEdit)ds.Workspace;
pws.StartEditing(false);
pws.StartEditOperation();
pFea.set_Value(numIndex values[“aa“].ToString().Trim());
pFea.Store();
pws.StopEditing(true);
pws.StopEditOperation(); */
IFeatureClassName pOutPut = new FeatureClassNameClass();
pOutPut.ShapeType = _pFtClass.ShapeType;
pOutPut.ShapeFieldName = _pFtClass.ShapeFieldName;
pOutPut.FeatureType = esriFeatureType.esriFTSimple;
IWorkspaceName pWsN = new WorkspaceNameClass();
pWsN.WorkspaceFactoryProgID = “esriDataSourcesFile.ShapefileWorkspaceFactory“;
pWsN.PathName = _FilePath;
IDatasetName pDatasetName = pOutPut as IDatasetName;
pDatasetName.Name = _pFileName;
pDatasetName.WorkspaceName = pWsN;
IBasicGeoprocessor pBasicGeo = new BasicGeoprocessorClass();
IFeatureClass pFeatureClass = pBasicGeo.Intersect(_pFtClass as ITable false _pFtOverlay as ITablefalse0.1 pOutPut);
return pFeatureClass;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1366 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\Properties\AssemblyInfo.cs
文件 4379 2013-06-17 14:03 InterSectAnalysis\InterSectAnalysis\InterSectAnalysis.csproj
文件 5120 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\bin\Debug\InterSectAnalysis.dll
文件 11776 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\bin\Debug\InterSectAnalysis.pdb
文件 11776 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\obj\Debug\InterSectAnalysis.pdb
文件 5120 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\obj\Debug\InterSectAnalysis.dll
文件 544 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\obj\Debug\InterSectAnalysis.csproj.FileListAbsolute.txt
文件 1835 2013-06-18 10:49 InterSectAnalysis\InterSectAnalysis\InterSectAnalysis.cs
文件 615 2013-06-18 10:50 InterSectAnalysis\InterSectAnalysis\Intsectanlysis2.cs
文件 941 2013-06-13 17:42 InterSectAnalysis\InterSectAnalysis.sln
..A..H. 26112 2013-06-18 11:34 InterSectAnalysis\InterSectAnalysis.suo
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\obj\Debug\TempPE
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\obj\Debug\Refactor
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\bin\Debug
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\obj\Debug
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\Properties
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\bin
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis\obj
目录 0 2013-06-13 13:39 InterSectAnalysis\InterSectAnalysis
目录 0 2013-06-13 13:39 InterSectAnalysis
----------- --------- ---------- ----- ----
69584 20
相关资源
- FPGA视频处理 进行挖方框 字符叠加
- GIS软件应用实习材料-市区择房分析题
- FPGA 在图像中字符动态叠加
- 实验指导:ArcGIS缓冲区分析与叠加分
- IDL下矢量数据与影像叠加源码
- LABVIEW 课设 任意波形发生 白噪声叠加
- labview png叠加到jpg
- windows多拨软件网速叠加,无病毒。
- 创世_窗口叠加类库
- 网络叠加工具
- 不用虚拟机 双宽带叠加 10秒搞定 最新
- 基于FPGA的显示控制器多画面叠加技术
- 字符叠加及YUV420转RGB
- YUV图像OSD字幕信息叠加功能
- 瑞利噪声叠加到图像
- 在modis数据图像上叠加地图
- DirectShow Filter : 字幕叠加 带注释
- 压气机一维中径级叠加特性计算程序
- Opencv叠加透明图片包括旋转和缩放
- CactiEZ 流量叠加教程详细说明
- 天地图改版后的修改以及google无偏移
- Qt 窗口叠加透明,上面窗口可写文本
- 百度地图API详解之事件机制,闭包机
评论
共有 条评论