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

gisoracle

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

公告

随笔分类 -  ArcGIS Pro二次开发

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

ArcGIS Pro二次开发
ArcGIS Pro判断坐标系是否是1984
摘要:The easiest way is to check the well-known id. if (sr.Wkid == SpatialReferences.WGS84.Wkid) IsWGS84 = true; or you could use the hard-coded wkid = 432 阅读全文

posted @ 2020-04-02 19:10 gisai 阅读(347) 评论(0) 推荐(0)

ArcGIS Pro地图册操作
摘要:MapSeriesExportOptions MSExport_custom = new MapSeriesExportOptions() { ExportPages = ExportPages.Custom, CustomPages = "1-3, 5", ExportFileOptions = 阅读全文

posted @ 2020-04-02 13:05 gisai 阅读(469) 评论(0) 推荐(0)

ArcGIS Pro批量加字段测试代码,很慢
摘要:private async void BatchAddField() { MapView mapView = MapView.Active; if (mapView == null) { return; } FeatureLayer featureLayer = mapView.Map.Layers 阅读全文

posted @ 2020-03-31 16:35 gisai 阅读(299) 评论(0) 推荐(0)

ArcGIS Pro线延长
摘要:ExtendFlags含义0 Default = 0 // By default, extension considers both ends of parts. The old ends remain and new // points are added at the extended ends 阅读全文

posted @ 2020-03-29 19:34 gisai 阅读(789) 评论(0) 推荐(0)

ArcGIS Pro 屏幕画框矩形打印含四周注记
摘要:ArcGIS Pro 屏幕画框矩形打印含四周注记 阅读全文

posted @ 2020-03-29 09:35 gisai 阅读(298) 评论(0) 推荐(0)

ArcGIS Pro 地图刷新和布局刷新
摘要:MapView.Active.Redraw(true); await QueuedTask.Run(() => layoutView.Refresh()); 阅读全文

posted @ 2020-03-29 08:34 gisai 阅读(808) 评论(0) 推荐(0)

ArcGIS Pro Pagex保存和导入
摘要:await QueuedTask.Run(() => { layout.SaveAsFile(filePath); }); IProjectItem pagx = ItemFactory.Instance.Create(@"C:\Temp\gisoracle.pagx") as IProjectIt 阅读全文

posted @ 2020-03-27 08:05 gisai 阅读(378) 评论(0) 推荐(0)

ArcGIS Pro界面定义XML
摘要:<?xml version="1.0" encoding="UTF-8"?> <ArcGIS defaultAssembly="ArcGIS.Desktop.Layouts.dll" defaultNamespace="ArcGIS.Desktop.Layouts" xmlns="http://sc 阅读全文

posted @ 2020-03-27 07:55 gisai 阅读(641) 评论(0) 推荐(0)

Can annotations be created or edited in ArcGIS Pro?
摘要:No, annotations cannot be created or edited in ArcGIS Pro. Furthermore, the Convert Annotation to Text function in ArcMap is not currently available i 阅读全文

posted @ 2020-03-26 12:21 gisai 阅读(188) 评论(0) 推荐(0)

ArcGIS Pro 新建一个Aprx,导入Mxd
摘要:CreateProjectSettings projectSettings = new CreateProjectSettings() { //Sets the project's name Name = "New Project", //Path where new project will be 阅读全文

posted @ 2020-03-26 11:57 gisai 阅读(1586) 评论(0) 推荐(0)

ArcGIS Pro项目保存和数据编辑保存
摘要:await Project.Current.SaveAsAsync(@"C:\Data\MyProject1\MyNewProject1.aprx"); bool saveResult = await Project.Current.SaveEditsAsync(); 阅读全文

posted @ 2020-03-26 11:42 gisai 阅读(1322) 评论(0) 推荐(0)

ArcGIS Pro批量线分割面,也可以线分割线
摘要: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-26 11:21 gisai 阅读(1474) 评论(0) 推荐(0)

ArcGIS Pro 删除选择范围的数据和批量裁剪clip
摘要:protected override Task<bool> OnSketchCompleteAsync(Geometry geometry) { QueuedTask.Run(() => { var deleteFeatures = new EditOperation(); deleteFeatur 阅读全文

posted @ 2020-03-26 10:25 gisai 阅读(1100) 评论(0) 推荐(0)

ArcGIS Pro NearestVertex和NearestPoint
摘要:ArcGIS Pro NearestVertex和NearestPoint 阅读全文

posted @ 2020-03-26 10:06 gisai 阅读(375) 评论(0) 推荐(0)

ArcGIS Pro打印预览
摘要:ArcGIS Pro打印预览 阅读全文

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

ArcGIS Pro 二次开发添加连接,断开连接,导入mxd
摘要:#region AddFolderConnectionProjectItem /// Add a folder connection to a project Item folderToAdd = ItemFactory.Instance.Create(@"C:\gisoracle\Oregon\C 阅读全文

posted @ 2020-03-23 20:42 gisai 阅读(527) 评论(0) 推荐(0)

ArcGIS Pro 读写BLOB字段
摘要:public async Task WriteBlobField(Table table, string blobFieldName, string imageFileName) { await ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask. 阅读全文

posted @ 2020-03-23 14:19 gisai 阅读(654) 评论(0) 推荐(0)

ArcGIS Pro二次开发--增加数据到地图,打开影像
摘要:if (MapView.Active == null) return; Map map = MapView.Active.Map; if (map == null) return; try { string Layerurl = @"E:\ff\G48G082023.gdb\jfb10000注记"; 阅读全文

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

ArcGIS Pro标准分幅地图批量打印
摘要:ArcGIS Pro标准分幅地图批量打印 阅读全文

posted @ 2020-03-19 19:34 gisai 阅读(1352) 评论(0) 推荐(0)

ArcGIS Pro-二次开发,屏幕任意范围矩形打印
摘要:ArcGIS Pro-二次开发,屏幕任意范围矩形打印 阅读全文

posted @ 2020-03-19 19:19 gisai 阅读(448) 评论(0) 推荐(1)

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