ArcGIS 点要素新增点
2024-08-23 10:24:20
IFeatureLayer layer = FrmMain.m_mapControl.get_Layer(0) as IFeatureLayer;
IFeatureClass featureClass = layer.FeatureClass;
IFeature feature = featureClass.CreateFeature();
IPoint point = new PointClass();
float H = float.Parse(txtX.Text.ToString());
float Z = float.Parse(txtY.Text.ToString());
point.PutCoords(H, Z);
feature.Shape = point;
feature.Store();
FrmMain.m_mapControl.ActiveView.Refresh();
最新文章
- 工作中那些提高你效率的神器(第二篇)_Listary
- 【CSS】创建布局
- listView获取item的Edit内容,listView中的edit内容在滚动时自动赋值了前面的内容
- [转载]Nginx如何处理一个请求
- Oracle11g安装完成后给用户解锁
- jQuery--效果和遍历
- 杭电 HDU 4608 I-number
- 允许mysql用户从远程登录
- DotNetCore跨平台~为Lind.DotNetCore框架添加单元测试的意义
- python 高阶函数之 map
- linux SWAP
- Leetcode Articles: Insert into a Cyclic Sorted List
- 编译问题:&#39;<;invalid-global-code>;&#39; does not contain a definition for &#39;Store&#39; and no extension method &#39;XXX&#39; accepting a first argument of type &#39;<;invalid-global-code>;&#39; could be found
- 解决selenium.common.exceptions.WebDriverException: Message: &#39;chromedriver&#39; executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
- Modeling Filters and Whitening Filters
- 【Java集合的详细研究4】Java中如何遍历Map对象的4种方法
- QQ企业邮箱+Spring+Javamail+ActiveMQ(发送企业邮件)
- asp.net控件拖不动。控件错误
- 【亲测有效】Nodepad++/Sublime Text3中Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level解决策略
- C# Newtonsoft.Json解析数组的小例子[转]