• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 159 下一页

2022年3月23日

ArcGIS Pro二次开发添加字段

摘要: private async Task<bool> ExecuteAddFieldTool(BasicFeatureLayer theLayer, KeyValuePair<string, string> field, string fieldType, int? fieldLength = null 阅读全文

posted @ 2022-03-23 11:12 gisai 阅读(247) 评论(0) 推荐(0)

ArcGIS Pro删除一个字段

摘要: private async Task<bool> ExecuteDeleteFieldTool(BasicFeatureLayer theLayer, string fieldName) { try { return await ArcGIS.Desktop.Framework.Threading. 阅读全文

posted @ 2022-03-23 11:10 gisai 阅读(288) 评论(0) 推荐(0)

ArcGIS Pro获得一个数据源的路径

摘要: private async Task<string> GetDataSource(BasicFeatureLayer theLayer) { try { return await ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() = 阅读全文

posted @ 2022-03-23 11:09 gisai 阅读(177) 评论(0) 推荐(0)

2022年3月22日

ArcGIS Pro更新属性的Inspector

摘要: #region Business Logic // Create instances of the edit boxes for use in the UpdateValues method public AttributeNameToUseEditBox AttributeNameToUseEdi 阅读全文

posted @ 2022-03-22 13:12 gisai 阅读(157) 评论(0) 推荐(0)

ArcGIS Pro简化一个圆

摘要: SpatialReference previousSR = densifyPolygon.SpatialReference; //Need to get to WebMercator in order to get the circle the same densifyPolygon = Geome 阅读全文

posted @ 2022-03-22 12:57 gisai 阅读(75) 评论(0) 推荐(0)

ArcGIS Pro 删除记录时提示

摘要: protected override void OnClick() { QueuedTask.Run(() => { Table table = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrD 阅读全文

posted @ 2022-03-22 11:21 gisai 阅读(94) 评论(0) 推荐(0)

2022年3月21日

ArcGIS Pro获得一个字段值

摘要: ublic async Task<List<string>> LookupMukey() { var mukeys = new List<string>(); var MV = MapView.Active; int mukeyCount = 0; var SelectionLayer = MV.M 阅读全文

posted @ 2022-03-21 22:27 gisai 阅读(186) 评论(0) 推荐(0)

ArcGIS Pro lyrx使用

摘要: 创建图层从lyrx文件 Create layer from a lyrx file var lyrDocFromLyrxFile = new LayerDocument(@"d:\data\cities.lyrx"); var cimLyrDoc = lyrDocFromLyrxFile.GetCI 阅读全文

posted @ 2022-03-21 22:04 gisai 阅读(1011) 评论(0) 推荐(0)

ArcGIS Pro获得Polygon每一个部分

摘要: public void GetExteriorRings(Polygon inputPolygon) { if (inputPolygon == null || inputPolygon.IsEmpty) return; // polygon part count int partCount = i 阅读全文

posted @ 2022-03-21 21:25 gisai 阅读(141) 评论(0) 推荐(0)

ArcGIS Pro空间查询

摘要: SpatialQueryFilter filter = new SpatialQueryFilter(); filter.FilterGeometry = geometry; filter.SpatialRelationship = SpatialRelationship.Intersects; v 阅读全文

posted @ 2022-03-21 21:05 gisai 阅读(198) 评论(0) 推荐(0)

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 159 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3