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

gisoracle

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

公告

上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 159 下一页

2019年5月25日

Arcengine获得arcgis安装的版本

摘要: ESRI.ArcGIS.RuntimeManager.ActiveRuntime.Version //gsioracle MessageBox.Show(ESRI.ArcGIS.RuntimeManager.ActiveRuntime.Version); 阅读全文

posted @ 2019-05-25 21:30 gisai 阅读(478) 评论(0) 推荐(0)

python获得坐标系信息

摘要: # -*- coding: cp936 -*- ############################################################# import arcpy import os from arcpy import env import math env.overwriteOutput = True shp_sheet = arcpy.Get... 阅读全文

posted @ 2019-05-25 20:35 gisai 阅读(601) 评论(0) 推荐(0)

修复几何 (数据管理)原理

摘要: 如果几何存在问题,此工具将使用与检查几何工具相同的逻辑进行评估。 下面是几何问题和此工具将执行的相应修复的列表: 空几何:从要素类中删除记录。要保留具有空几何的记录,请取消选中工具对话选项删除几何为空的要素,或在脚本中将 delete_null 参数设置为 KEEP_NULL。 短线段:删除几何的短 阅读全文

posted @ 2019-05-25 19:53 gisai 阅读(885) 评论(0) 推荐(0)

Python获取指定目录下所有子目录、所有文件名

摘要: ArcGIS Pro学习加微信公众号 我的微信公众号 import os def file_name(file_dir): for root, dirs, files in os.walk(file_dir): print('root_dir:', root) # 当前目录路径 print('sub 阅读全文

posted @ 2019-05-25 19:34 gisai 阅读(7954) 评论(0) 推荐(0)

2019年5月24日

python的路径

摘要: import sysprint(sys.path) 阅读全文

posted @ 2019-05-24 23:32 gisai 阅读(136) 评论(0) 推荐(0)

用Python写一个将Python2代码转换成Python3代码的批处理工具

摘要: 之前写过一篇如何在windows操作系统上给.py文件添加一个快速处理的右键功能的文章:《一键将Python2代码自动转化为Python3》,作用就是为了将Python2的文件升级转换成Python3的文件。 之后,有朋友问,如果有很多文件需要转换,一个个的右键转换还是觉得麻烦!这个问题我非常喜欢, 阅读全文

posted @ 2019-05-24 08:19 gisai 阅读(235) 评论(0) 推荐(0)

使用 in_memory 工作空间的注意事项

摘要: 来自:https://pro.arcgis.com/zh-cn/pro-app/tool-reference/appendices/using-the-in-memory-output-workspace.htm 使用 in_memory 工作空间的注意事项 ArcGIS 应用程序、ArcGIS P 阅读全文

posted @ 2019-05-24 07:53 gisai 阅读(875) 评论(0) 推荐(0)

2019年5月21日

sql 查询存在一个表而不在另一个表中的数据

摘要: 方法一(效率底) select A.* from 办卡 A where A.namedh not in (select namedh from 银行) 方法二(效率中) 方法三(效率高) 阅读全文

posted @ 2019-05-21 07:08 gisai 阅读(1279) 评论(0) 推荐(0)

2019年5月14日

Arcgis python输出当前窗口

摘要: import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") mxdfile=arcpy.GetParameterAsText(0) dpi=arcpy.GetParameterAsText(1) arcpy.mapping.ExportToJPEG(mxd, mxdfile ,resolution=dpi) del mxd 阅读全文

posted @ 2019-05-14 16:46 gisai 阅读(292) 评论(0) 推荐(0)

ArcGIS Python 保存lyr

摘要: import arcpy ##################my = arcpy.GetParameterAsText(0)mylyrfile = arcpy.GetParameterAsText(1)if my== '#': my = "F:\\闫磊\\data\\Chinadata\\shp\ 阅读全文

posted @ 2019-05-14 16:44 gisai 阅读(507) 评论(0) 推荐(0)

上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 159 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3