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

gisoracle

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

公告

随笔分类 -  ArcGIS Pro二次开发

上一页 1 ··· 4 5 6 7 8 9 10 下一页

ArcGIS Pro二次开发
ArcGIS Pro添加一个图片
摘要:// get the current mapview and point var mapView = MapView.Active; if (mapView == null) return; var pictureGraphic = new CIMPictureGraphic(); pictureG 阅读全文

posted @ 2020-03-18 20:58 gisai 阅读(1217) 评论(0) 推荐(0)

ArcGIS Pro获得地图选择记录数
摘要:map.SelectionCount() 阅读全文

posted @ 2020-03-18 20:51 gisai 阅读(276) 评论(0) 推荐(0)

List<T>转IEnumerable<T>
摘要:public static Polyline gettwoLine(double x1, double y1, double x2, double y2) { Coordinate2D p1 = new Coordinate2D(x1, y1); Coordinate2D p2 = new Coor 阅读全文

posted @ 2020-03-18 16:07 gisai 阅读(1394) 评论(0) 推荐(0)

ArcGIS Pro执行矩形选择
摘要:FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool"); // or use ICommand.Execute ICommand cmd = FrameworkApplication.GetPlug 阅读全文

posted @ 2020-03-18 14:54 gisai 阅读(442) 评论(0) 推荐(0)

ArcGIS Pro 屏幕上一点转换为地图上点
摘要:/* Copyright 2018 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License 阅读全文

posted @ 2020-03-18 14:48 gisai 阅读(281) 评论(0) 推荐(0)

ArcGIS Pro二次开发,定制开发,参考资料
摘要:ESRIwiki文档:https://github.com/esri/arcgis-pro-sdk/wiki#requirements ArcGIS Pro帮助文档:http://pro.arcgis.com/zh-cn/pro-app/sdk/ ArcGIS Pro API参考:http://pr 阅读全文

posted @ 2020-03-17 13:22 gisai 阅读(613) 评论(0) 推荐(0)

ArcGIS Pro二次开发--数据库篇
摘要:获得一个的要素的数据库: Geodatabase gdb = featureLayer.GetFeatureClass().GetDatastore() as Geodatabase; 表 var id = row.GetTable().GetID(); 打开数据库 Geodatabase file 阅读全文

posted @ 2020-03-17 09:23 gisai 阅读(816) 评论(0) 推荐(0)

ArcGIS Pro二次开发-插入文本,图例和指北针
摘要:// Add text for title Coordinate2D titleTxt_ll = new Coordinate2D(4.5, 9.5); CIMTextSymbol arial36bold = SymbolFactory.Instance.ConstructTextSymbol(Co 阅读全文

posted @ 2020-03-16 17:00 gisai 阅读(1816) 评论(0) 推荐(0)

ArcGIS Pro二次开发地图MapSeries序列设置
摘要:/* Copyright 2019 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License 阅读全文

posted @ 2020-03-16 15:32 gisai 阅读(368) 评论(0) 推荐(0)

ArcGIS Pro二次开发-获得Objectid字段
摘要:var oidName = featureClass.GetDefinition().GetObjectIDField(); 阅读全文

posted @ 2020-03-16 15:28 gisai 阅读(472) 评论(0) 推荐(0)

ArcGIS Pro定制和开发-执行GP环境变量的设置
摘要:var in_table = main_lyr; var out_table = Path.Combine(Project.Current.DefaultGeodatabasePath, GVar.FtrLyr + " Results"); var statistics_fields = [["Sh 阅读全文

posted @ 2020-03-15 10:37 gisai 阅读(602) 评论(0) 推荐(0)

ArcGIS Pro二次开发-按lyrx符号化图层
该文被密码保护。

posted @ 2020-03-14 15:35 gisai 阅读(0) 评论(0) 推荐(0)

ArcGIS Pro二次开发-图层标注
摘要:if (MapView.Active.GetSelectedLayers().Count != 1) { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("One feature layer must be selected in the Conte 阅读全文

posted @ 2020-03-14 15:01 gisai 阅读(615) 评论(0) 推荐(0)

ArcGIS Pro二次开发-获得一个要素的字段
摘要:var featLayer = MapView.Active.GetSelectedLayers().First() as FeatureLayer; QueuedTask.Run(() => { List<FieldDescription> pFieldList = featLayer.GetFi 阅读全文

posted @ 2020-03-14 14:32 gisai 阅读(411) 评论(0) 推荐(0)

ArcGIS Pro二次开发-点层符号化
摘要:public static void ApplySymbol(string symbolChoice) { QueuedTask.Run(() => { // Check for an active 2D mapview, if not, then prompt and exit. if (MapV 阅读全文

posted @ 2020-03-14 12:37 gisai 阅读(639) 评论(0) 推荐(0)

ArcGIS Pro二次开发-获得符号类别
摘要:var styles = Project.Current.GetItems<StyleProjectItem>(); foreach (StyleProjectItem pitem in styles) { MessageBox.Show(pitem.Name + ":" + pitem.ID + 阅读全文

posted @ 2020-03-14 12:31 gisai 阅读(252) 评论(0) 推荐(0)

ArcGIS Pro二次开发--提示系统信息
摘要:Notification notification = new Notification(); protected override void OnClick() { //ApplySymbol("graduated color"); try { if (Project.Current == nul 阅读全文

posted @ 2020-03-14 11:00 gisai 阅读(335) 评论(0) 推荐(0)

ArcGIS Pro二次开发-关闭目录
摘要:foreach (DockPane Pane in FrameworkApplication.DockPaneManager.DockPanes) { MessageBox.Show(Pane.Caption+":"+Pane.TabText+":"+Pane.Tooltip+":"+Pane.To 阅读全文

posted @ 2020-03-14 10:49 gisai 阅读(267) 评论(0) 推荐(0)

ArcGIS Pro二次开发-有用的ID
摘要:<toolPalette refID="esri_mapping_newMapPalette" /> 新建地图和 <button refID="esri_core_saveProjectButton" /> 保存工程 <button refID="esri_core_saveProjectAsBut 阅读全文

posted @ 2020-03-14 08:07 gisai 阅读(288) 评论(0) 推荐(0)

ArcGIS Pro二次开发-布局导出PDF
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Core.CIM; using ArcGI 阅读全文

posted @ 2020-03-14 07:59 gisai 阅读(925) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3