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

gisoracle

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

公告

08 2019 档案

了解有关 in_memory 工作空间的详细信息
摘要:ArcGIS 提供了一个可写入输出要素类和表的内存工作空间。作为将地理处理输出写入磁盘上的某个位置或网络位置的备选方案,可将输出写入内存工作空间中。通常,将数据写入内存工作空间要明显快于写入其他格式(如 shapefile 或地理数据库要素类)。但写入内存工作空间的数据是临时性的,将在关闭应用程序时 阅读全文

posted @ 2019-08-29 22:57 gisai 阅读(747) 评论(0) 推荐(0)

ArcGIS后台地理处理(64 位)
摘要:注: 后台地理处理(64 位) 可用作 ArcGIS 10.1 for Desktop、Service Pack 1 及更高版本上的独立安装。只有在已安装 后台地理处理(64 位) 产品的情况下,以下信息才适用;否则,会以 32 位完成后台处理。 注: 后台地理处理(64 位) 可用作 ArcGIS 阅读全文

posted @ 2019-08-29 21:49 gisai 阅读(2283) 评论(0) 推荐(0)

Python 中路径的有效使用
摘要:import arcpy arcpy.GetCount_management("c:/temp/streams.shp") arcpy.GetCount_management("c:\\temp\\streams.shp") arcpy.GetCount_management(r"c:\temp\s 阅读全文

posted @ 2019-08-29 21:12 gisai 阅读(283) 评论(0) 推荐(0)

ArcGIS超级工具SPTOOLS1.7升级说明
摘要:ArcGIS超级工具SPTOOLS1.7升级说明 阅读全文

posted @ 2019-08-26 09:38 gisai 阅读(990) 评论(0) 推荐(0)

arcgis python 表属性转html
摘要:arcgis python 表属性转html 阅读全文

posted @ 2019-08-22 18:42 gisai 阅读(305) 评论(0) 推荐(0)

在平面中,一个点绕任意点旋转θ度后的点的坐标
摘要:假设对图片上任意点(x,y),绕一个坐标点(rx0,ry0)逆时针旋转a角度后的新的坐标设为(x0, y0),有公式: x0= (x - rx0)*cos(a) - (y - ry0)*sin(a) + rx0 ; y0= (x - rx0)*sin(a) + (y - ry0)*cos(a) + 阅读全文

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

arcgis python 一个mxd打包mpk
摘要:arcgis python 一个mxd打包mpk 阅读全文

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

arcgis python 开启编辑会话和编辑操作、在表中创建行、停止编辑操作以及提交编辑会话。
摘要:import arcpy import os fc = 'Database Connections/Portland.sde/portland.jgp.schools' workspace = os.path.dirname(fc) # Start an edit session. Must provide the worksapce. edit = arcpy.da.Editor(work... 阅读全文

posted @ 2019-08-20 12:18 gisai 阅读(1010) 评论(0) 推荐(0)

ArcGIS超级工具1.6升级说明
摘要:ArcGIS超级工具1.6升级说明 阅读全文

posted @ 2019-08-19 18:28 gisai 阅读(1820) 评论(0) 推荐(2)

arcgis python 发送邮件
摘要:import arcgisscripting, smtplib, os, sys, traceback from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMAS 阅读全文

posted @ 2019-08-19 08:46 gisai 阅读(233) 评论(0) 推荐(0)

arcgis python 新生成的数据设置
摘要:try: # Update the spatial index(es) # r = arcpy.CalculateDefaultGridIndex_management(outFeatures) arcpy.AddSpatialIndex_management(outFeatures, r.getOutput(0), r.getOutput(1), r.getOutput(2)) except: 阅读全文

posted @ 2019-08-19 08:04 gisai 阅读(260) 评论(0) 推荐(0)

arcgis python 刷新
摘要:arcpy.RefreshActiveView() 刷新地图和布局窗口 arcpy.RefreshTOC() 刷新内容列表 arcpy.RefreshCatalog(r"F:\tknew106\tool") 刷新目录树 阅读全文

posted @ 2019-08-18 14:38 gisai 阅读(459) 评论(0) 推荐(0)

arcgis python 获得打印机
摘要:class ToolValidator: """Class for validating a tool's parameter values and controlling the behavior of the tool's dialog.""" def __init__(self): """Setup the Geoprocessor and the list of tool paramete 阅读全文

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

arcgis python 布局视图中文本查找替换
摘要:# Author: ESRI # Date: July 5, 2010 # Version: ArcGIS 10.0 # Purpose: This script will perform a search and replace on page layout text # elements. There are options to match case and/or... 阅读全文

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

arcgis python 布局中所有元素信息报告
摘要:# Author: ESRI # Date: July 5, 2010 # Version: ArcGIS 10.0 # Purpose: This script generates a report of each page layout element and its # associated properties. This script is intended ... 阅读全文

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

arcgis python 布局中所有元素平移
摘要:arcgis python 布局中所有元素平移 阅读全文

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

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

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

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

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

arcgis python 把多个MXD批量导出一个PDF
摘要:arcgis python 把多个MXD批量导出一个PDF 阅读全文

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

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

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

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

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

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

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

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

posted @ 2019-08-15 22:31 gisai 阅读(1786) 评论(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 阅读(1262) 评论(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 阅读(649) 评论(0) 推荐(0)

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

posted @ 2019-08-15 18:39 gisai 阅读(282) 评论(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 阅读(465) 评论(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 阅读(365) 评论(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 阅读(1187) 评论(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 阅读(380) 评论(0) 推荐(0)

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

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

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

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

我的新书,ArcGIS从0到1,京东接受预定,有160个视频,851分钟
摘要:ArcGIS从0到1 阅读全文

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

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

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

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