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

gisoracle

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

公告

2020年3月18日

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 阅读(1208) 评论(0) 推荐(0)

ArcGIS Pro获得地图选择记录数

摘要: map.SelectionCount() 阅读全文

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

ArcGIS Pro Arcpy获得图层选择的对象

摘要: aprx = arcpy.mp.ArcGISProject("CURRENT")m = aprx.activeMaplyrs = m.listLayers()for lyr in lyrs: if lyr.getSelectionSet(): print("{}: {}".format(lyr.na 阅读全文

posted @ 2020-03-18 17:17 gisai 阅读(694) 评论(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 阅读(1391) 评论(0) 推荐(0)

ArcGIS Pro执行矩形选择

摘要: FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool"); // or use ICommand.Execute ICommand cmd = FrameworkApplication.GetPlug 阅读全文

posted @ 2020-03-18 14:54 gisai 阅读(441) 评论(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 阅读(279) 评论(0) 推荐(0)

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