memory是针对ArcGIS Pro开发的基于内存的新工作空间,支持输出要素类、表和栅格数据集。 要写入memory工作空间,请指定以memory\开头的输出数据集路径,并注意不要包含文件扩展名,例如memory\tempOutput。 您可以将memory数据集添加到ArcGIS Pro中的地图。 in_memory 旧版本: in_memor
内存工作空间位置 写入内存工作空间的表、要素类或栅格的源位置将为 GPInMemoryWorkspace,如下图所示。 GPInMemoryWorkspace 后面用大括号 {} 括起的长字符串是由 ArcGIS 创建和使用的唯一标识符。 在Python 中使用 in_memory 您也可以在 Python 中使用 in_memory 工作空间,如以下代码示例所示。 import arcpy tab...
3.设置输出路径:在选择输出路径时,如果不需要输出中间结果,可以将输出路径设置为“in_memory”,这样在文件夹中只会生成一个名为“in_memory”的文件,需要删除它以释放空间。如果中间文件名不输入“in_memory”,随便输入一个名称效果一样,如输入“a”。 对于模型中的元素,如变量,如果需要重命名,可以选择该元素并...
in-memory ワークスペースに書き込むには、in_memory/outputParcelsなど、in_memory で始まる出力データセット パスを指定します。 注意: in_memory ワークスペースは、サブタイプ、ドメイン、リプレゼンテーション、トポロジ、ジオメトリック ネットワーク、ネットワーク データセット...
通过使用`arcpy.env.scratchFolder`和`arcpy.env.scratchGDB`,或`%scratchFolder%`和`%scratchGDB%`,可以创建临时文件夹和数据库。若未设置,则默认存储在系统临时目录。内存空间(in_memory)提供了一个在内存中进行数据操作的空间,可以节省磁盘读写时间,提高程序效率。但其容量有限,不适合处理大...
outLine1 = arcpy.FeatureVerticesToPoints_management(inputLine, "in_memory/outline") arcpy.AddMessage(u'...河流线已经转换为点集...') #河流节点 riverPoints = [] # 获取河流的节点,以用作计算高差和河长 for row in arcpy.da.SearchCursor(outLine1, ["SHA...
in_memory The in_memory workspace—ArcGIS Pro | ArcGIS for Desktop returns a Result object Result—ArcPy Classes | ArcGIS for Desktop you got them, not go get them as in the code examples at the bottom of the last link ( ie getOutput, print etc) Reply 0 Kud...
Patch(importFC, outFC, 0.05) # Discard in-memory feature arcpy.management.Delete(importFC) dt_result = time_list() for dt in dt_result if dt == dt_result[0]: shadows = outShadows else: shadows = arcpy.CreateUnique('shadow, 'in_memory') arcpy.ddd.SunShadowVolume(outFC, dt,...
num=getCount(inFeature) mytemp=inFeatureifnum>1:#融合在一起mytemp="in_memory/gisoracle"arcpy.Dissolve_management(inFeature, mytemp,"","","MULTI_PART") desc=arcpy.Describe(mytemp) shapefieldname=desc.ShapeFieldName rows=arcpy.SearchCursor(mytemp)forrowinrows: ...
Manage an in-memory cache of credentials When a user is challenged and enters credentials which successfully allow access to the resource, those credentials are automatically added to the AuthenticationManager.CredentialCache. When secured resources from the same server and port are accessed subsequently...