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

gisoracle

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

公告

2020年3月13日

ArcGIS Pro二次开发获得符号库的符号

摘要: 1 string customStyleToAdd = @"F:\2020book\toolforpro\MyProject3\ed-fh.stylx"; 2 //AsyncMethod(customStyleToAdd); 3 4 5 StyleProjectItem style = Projec 阅读全文

posted @ 2020-03-13 23:48 gisai 阅读(970) 评论(1) 推荐(0)

ArcGIS Pro二次开发-条件查询

摘要: ArcGIS Pro学习加微信公众号 我的微信公众号 //searching and returning number of features where value in 'Class' field in 'city' QueryFilter qf = new QueryFilter() { Wh 阅读全文

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

ArcGIS Pro二次开发-获得地图的信息和打开图层

摘要: Map map = MapView.Active.Map; IEnumerable<Layer> layers = map.GetLayersAsFlattenedList(); //.Where(l => l.Name.Contains("world")) foreach (Layer lyr i 阅读全文

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

ArcGIS Pro二次开发-创建新的地图

摘要: // create custom basemap in your current project Map basemap = null; Task task = QueuedTask.Run(() => { basemap =MapFactory.Instance.CreateMap("gisora 阅读全文

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

ArcGIS Pro二次开发-打开已存在的地图

摘要: // open an existing map var mapProjectItems = Project.Current.GetItems<MapProjectItem>(); var mapProjectItem = mapProjectItems.FirstOrDefault(mpi => m 阅读全文

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

ArcGIS Pro设置当前地图的背景底图

摘要: Map map = MapView.Active.Map; QueuedTask.Run(() => { map.SetBasemapLayers(Basemap.Gray); }); 阅读全文

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

ArcGIS Pro二次开发属性更新,把所有选择的ID为1

摘要: public void UpdateValues() { // This sample is intended for use with a featureclass with a default text field named "Description". // You can replace 阅读全文

posted @ 2020-03-13 21:58 gisai 阅读(427) 评论(0) 推荐(0)

ArcGIS Pro二次开发-设置地图和第一图层的坐标系一致

摘要: SpatialReference spatialReference = MapView.Active.Map.Layers[0].GetSpatialReference(); MapView.Active.Map.SetSpatialReference(spatialReference); 阅读全文

posted @ 2020-03-13 21:41 gisai 阅读(458) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3