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

gisoracle

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

公告

随笔分类 -  python

上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页

python
控制 Python 工具箱中的许可行为
摘要:isLicensed 方法是一种可选方法,用于检查 Python 工具箱中的工具是否具有执行许可。如果运行其他地理处理工具(由 Python 工具箱中的工具使用)所需的相应许可和扩展模块不可用,那么可使用该方法限制工具的运行。 如果 isLicensed 方法返回 False,则工具不能执行。如果该 阅读全文

posted @ 2019-08-17 12:27 gisai 阅读(359) 评论(0) 推荐(0)

arcgis python 参数验证
摘要:arcgis python 参数验证 阅读全文

posted @ 2019-08-16 17:26 gisai 阅读(524) 评论(0) 推荐(0)

arcgis python pdf合并
摘要:arcgis python pdf合并 阅读全文

posted @ 2019-08-16 10:56 gisai 阅读(327) 评论(0) 推荐(0)

arcgis python 列出一个表所有字段
摘要:arcgis python 列出一个表所有字段 阅读全文

posted @ 2019-08-16 09:08 gisai 阅读(1262) 评论(0) 推荐(0)

arcgis python 随机取部分数据
摘要:arcgis python 随机取部分数据 阅读全文

posted @ 2019-08-15 23:09 gisai 阅读(764) 评论(0) 推荐(0)

arcgis python 删除一个数据库所有数据
摘要:arcgis python 删除一个数据库所有数据 阅读全文

posted @ 2019-08-15 22:31 gisai 阅读(1776) 评论(1) 推荐(0)

python将py文件转换为pyc
摘要:python -m py_compile lib/ylpy.py python 一个.py文件如何调用另一个.py文件中的类和函数 A.py文件: def add(x,y): def add(x,y): print('和为:%d'%(x+y)) print('和为:%d'%(x+y)) B.py文件 阅读全文

posted @ 2019-08-15 21:36 gisai 阅读(1260) 评论(0) 推荐(0)

从 10.x 到 ArcGIS Pro 的 Python 迁移
摘要:与 ArcGIS Pro 结合使用 Python 的方式与包括 ArcGIS Desktop、ArcGIS Server 以及 ArcGIS Engine 在内的其他 ArcGIS 产品不同。 地理处理工具针对 Pro 分析工具可用于突出显示任何妨碍 Python 代码或基于 Python 的地理处 阅读全文

posted @ 2019-08-15 20:37 gisai 阅读(644) 评论(0) 推荐(0)

ArcGIS Python 文件扩展名过滤器设置
摘要:xls; xlsx 阅读全文

posted @ 2019-08-15 18:39 gisai 阅读(278) 评论(0) 推荐(0)

arcgis python获得别名
摘要:import arcpy # Create a Describe object from the GDB table. # desc = arcpy.Describe(r"C:\Users\dell\Documents\ArcGIS\Default.gdb\dltb") # Print GDB Table properties # print "%-22s %s" % ("AliasName... 阅读全文

posted @ 2019-08-14 22:52 gisai 阅读(460) 评论(0) 推荐(0)

arcgis python xlstoshp
摘要:import xlrd # must init xlrd import arcpy # param arcpy.env.workspace = r"F:\note\python\ArcPy" #workspace excelPath = r"test.xlsx" # excel file path excelTableIndex = 0 # excel's table index outNa... 阅读全文

posted @ 2019-08-14 21:52 gisai 阅读(362) 评论(0) 推荐(0)

arcgis python 标注
摘要:import arcpy mxd = arcpy.mapping.MapDocument("current") lyr = arcpy.mapping.ListLayers(mxd)[0] lyr.showLabels = True lyr.labelClasses[0].expression ="[Name]" arcpy.RefreshActiveView() arcpy.RefreshT... 阅读全文

posted @ 2019-08-14 21:28 gisai 阅读(1183) 评论(0) 推荐(0)

ArcGIS Python 唯一值专题
摘要:import arcpy mxd = arcpy.mapping.MapDocument("current") lyr = arcpy.mapping.ListLayers(mxd)[0] if lyr.symbologyType == "UNIQUE_VALUES": lyr.symbology.valueField = "NAME" lyr.symbology.addAllValu... 阅读全文

posted @ 2019-08-14 21:17 gisai 阅读(378) 评论(0) 推荐(0)

arcpy 获得是否为布局mxd.activeView
摘要:mxd.pageSizePageSize(width=21.59004318008636, height=27.940055880111764) 阅读全文

posted @ 2019-08-11 22:17 gisai 阅读(278) 评论(0) 推荐(0)

python 度分秒转度
摘要:python 度分秒转度 阅读全文

posted @ 2019-08-08 13:03 gisai 阅读(2964) 评论(0) 推荐(0)

python 数字转字符保留几位小数 by gisoracle
摘要:python 数字转字符保留几位小数 by gisoracle 阅读全文

posted @ 2019-08-04 07:41 gisai 阅读(1373) 评论(0) 推荐(0)

ArcGIS超级工具目录
摘要:ArcGIS超级工具目录 阅读全文

posted @ 2019-08-02 21:30 gisai 阅读(20) 评论(0) 推荐(0)

arcgis python 获得表字段的唯一值
摘要:arcgis python 获得表字段的唯一值 阅读全文

posted @ 2019-07-31 20:47 gisai 阅读(589) 评论(0) 推荐(0)

获得数据源和路径desc.catalogPath
摘要:workspace:C:\Users\dell\Documents\ArcGIS\Default.gdb\ddf inPath:c:\users\dell\documents\arcgis\default.gdb\ddf\szfile:szextension:baseName:szName:szda 阅读全文

posted @ 2019-07-27 07:07 gisai 阅读(313) 评论(0) 推荐(0)

Editor (arcpy.da)
只有注册用户登录后才能阅读该文。

posted @ 2019-07-27 06:38 gisai 阅读(4) 评论(0) 推荐(0)

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