摘要:ArcGIS 提供了一个可写入输出要素类和表的内存工作空间。作为将地理处理输出写入磁盘上的某个位置或网络位置的备选方案,可将输出写入内存工作空间中。通常,将数据写入内存工作空间要明显快于写入其他格式(如 shapefile 或地理数据库要素类)。但写入内存工作空间的数据是临时性的,将在关闭应用程序时
阅读全文
摘要:注: 后台地理处理(64 位) 可用作 ArcGIS 10.1 for Desktop、Service Pack 1 及更高版本上的独立安装。只有在已安装 后台地理处理(64 位) 产品的情况下,以下信息才适用;否则,会以 32 位完成后台处理。 注: 后台地理处理(64 位) 可用作 ArcGIS
阅读全文
摘要:import arcpy arcpy.GetCount_management("c:/temp/streams.shp") arcpy.GetCount_management("c:\\temp\\streams.shp") arcpy.GetCount_management(r"c:\temp\s
阅读全文
摘要:ArcGIS超级工具SPTOOLS1.7升级说明
阅读全文
摘要:arcgis python 表属性转html
阅读全文
摘要:假设对图片上任意点(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) +
阅读全文
摘要:arcgis python 一个mxd打包mpk
阅读全文
摘要: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...
阅读全文
摘要: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
阅读全文
摘要: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:
阅读全文
摘要:arcpy.RefreshActiveView() 刷新地图和布局窗口 arcpy.RefreshTOC() 刷新内容列表 arcpy.RefreshCatalog(r"F:\tknew106\tool") 刷新目录树
阅读全文
摘要: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
阅读全文
摘要:# 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...
阅读全文
摘要:# 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 ...
阅读全文
摘要:arcgis python 布局中所有元素平移
阅读全文
摘要:isLicensed 方法是一种可选方法,用于检查 Python 工具箱中的工具是否具有执行许可。如果运行其他地理处理工具(由 Python 工具箱中的工具使用)所需的相应许可和扩展模块不可用,那么可使用该方法限制工具的运行。 如果 isLicensed 方法返回 False,则工具不能执行。如果该
阅读全文
摘要:arcgis python 把多个MXD批量导出一个PDF
阅读全文
摘要:arcgis python 列出一个表所有字段
阅读全文
摘要:arcgis python 删除一个数据库所有数据
阅读全文
摘要: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文件
阅读全文
摘要:与 ArcGIS Pro 结合使用 Python 的方式与包括 ArcGIS Desktop、ArcGIS Server 以及 ArcGIS Engine 在内的其他 ArcGIS 产品不同。 地理处理工具针对 Pro 分析工具可用于突出显示任何妨碍 Python 代码或基于 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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:mxd.pageSizePageSize(width=21.59004318008636, height=27.940055880111764)
阅读全文
摘要:python 数字转字符保留几位小数 by gisoracle
阅读全文