在 Python 中使用 in_memory 工作空间,,在 Python 中
在 Python 中使用 in_memory 工作空间,,在 Python 中
在 Python 中使用 in_memory 工作空间
在 Python 脚本中,in_memory 工作空间仅对地理处理工具有效;它不是可以写入任何数据的通用虚拟目录。
您可以按以下代码示例所示使用 in_memory 工作空间。
import arcpy# Set the geoprocessing workspacearcpy.env.workspace = r"C:\Data\Habitat.gdb"# Buffer a Roads layer, writing output to in_memory arcpy.Buffer_analysis("Roads", "in_memory/Buffers", 1000)# Erase the buffers from a Vegetation layerarcpy.Erase_analysis("Vegetation", "in_memory/Buffers", "in_memory/Erased")# Dissolve the in_memory output of Erase to make a final outputarcpy.Dissolve_analysis("in_memory/Erased", "FinalOutput")
在 Python 中使用 in_memory 工作空间
相关内容
- Python网络编程03/ low版解决粘包问题,, 目录
- python操作数据库,, 目录
- python paramiko的使用介绍,,一:使用parami
- Python应用范围seo,,Python有许多O
- ansible报错Aborting, target uses selinux but python bindings (libse
- python修改文件的属性,,1、执行attrib
- 如何美观地打印 Python 对象?这个标准库可以简单实现
- python unrar 解压缩,,class UNRA
- python--多线程多进程,,一、进程 对于操作
- python3 调用 salt-api,,使用python3调
评论关闭