ArcGIS Engine 向点要素集中插入数据
来源:互联网 发布:淘宝货源批发网 编辑:程序博客网 时间:2024/05/29 11:30
ArcGIS Engine C#向点要素集中插入数据
//连接Oracle的SDE数据源
IWorkspace pWkspace = DBConnOracle.DBConnWorkSpace();
IFeatureWorkspace FeatureWorkspace = pWkspace as ESRI.ArcGIS.Geodatabase.IFeatureWorkspace;FeatureClass = FeatureWorkspace.OpenFeatureClass("QGQXZD");//点要素名称 IFeature newLineFeature = FeatureClass.CreateFeature(); //字段索引值 int IndexBySTATION_ID = newLineFeature.Fields.FindField("STATION_ID"); int IndexBySTATION_NAME = newLineFeature.Fields.FindField("STATION_NAME"); int IndexByPROVINCE = newLineFeature.Fields.FindField("PROVINCE"); int IndexByLAT = newLineFeature.Fields.FindField("LAT"); int IndexByLON = newLineFeature.Fields.FindField("LON"); int IndexBySPI = newLineFeature.Fields.FindField("SPI"); int IndexByPDSI = newLineFeature.Fields.FindField("PDSI"); //设置字段值 newLineFeature.set_Value(IndexBySTATION_ID, 53602); newLineFeature.set_Value(IndexBySTATION_NAME, "阿拉善"); newLineFeature.set_Value(IndexByPROVINCE, "内蒙古"); newLineFeature.set_Value(IndexByLAT, 105.4); newLineFeature.set_Value(IndexByLON, 38.5); newLineFeature.set_Value(IndexBySPI, 120.2); newLineFeature.set_Value(IndexByPDSI, 12.22); //执行添加 newLineFeature.Store();
0 0
- ArcGIS Engine 向点要素集中插入数据
- ArcGIS Engine中如何往已有要素类中插入数据
- 向要素集中插入新要素
- Arcgis engine 指定图层创建点要素
- Arcgis engine 指定图层创建点要素
- Arcgis engine 指定图层创建点要素
- ArcGIS Engine检索要素集、要素类和要素
- Arcgis engine 创建点
- ArcGIS Desktop和Engine中对点要素图层Graduated Symbols渲染的实现
- ArcGis Engine 要素折点转点的代码实现
- c#+ArcGIS Engine-矢量要素赋值
- ArcGIS Engine加载数据
- ArcGIS Engine 数据渲染
- ArcGIS教程:3D 点要素
- Arcgis online如何制作与底图数据点匹配的要素图层?
- ArcGIS Engine中加载数据
- ArcGIS Engine中的数据访问
- ArcGIS Engine中的数据访问
- JSON Web Token - 在Web应用间安全地传递信息
- JVM性能调优监控工具jps、jstack、jmap、jhat、jstat、hprof使用详解
- QT--SQLite
- Oracle查询重复数据并删除,只保留一条记录
- Android面试一
- ArcGIS Engine 向点要素集中插入数据
- 建造者模式
- Android 开源框架Universal-Image-Loader的初次使用
- RabbitMQ使用场景练习:消息确认机制(十一)
- iptables 端口转发
- 4.5
- sql 时间相减 得到 毫秒/秒/分钟/小时/天等
- 评论中添加表情
- csdn如何转载别人的文章