惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
Stack Overflow Blog
Stack Overflow Blog
博客园 - 三生石上(FineUI控件)
T
Threat Research - Cisco Blogs
S
SegmentFault 最新的问题
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Proofpoint News Feed
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
U
Unit 42
腾讯CDC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
H
Help Net Security
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
博客园 - 聂微东
S
Securelist
大猫的无限游戏
大猫的无限游戏
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog

博客园 - Brune

要素类属性内容全角换半角 初步完成ArcGIS Silverlight的数据源扩展 GPServer发布的一个怪问题 高焕堂Android應用框架原理與程式設計代码补遗(一) - Brune - 博客园 GMapViewer初具雏形 FileGeodatabase的一个发现 搞定3G上网 ArcGIS SDK for .Net咋就不能自动释放对象呢 Fluorine中的ORA-12640错误 在Sql Server 2008上安装SDE 9.3 终于可以通过Flex上传文件到数据库了 SqlServer 空间数据的初体验 Flex SDK 4.0I配置 Windows Server 2008中配置FluorineFx 庶民GIS的时代渐渐到来了 题外话 Flex下的ArcIMS开发──环境配置(上) ArcGIS Server Flex ADF 即将到来 新迭代的开始
批量Clip
Brune · 2013-11-21 · via 博客园 - Brune

没有建立对应dataset,直接生成featureclass,主要是工作中没几个dataset。

# -*- coding: utf-8 -*-
__author__ = 'tanshuai'

import arcpy
from arcpy import env

env.workspace = u"E:/工作文档/常州平台/政务版/数据/常州政务版成果整理/a_Map/CZDLG20130913.gdb"
output = u"E:/工作文档/常州平台/政务版/数据/clipdata.gdb"
clipFeature = u"E:/工作文档/常州平台/政务版/数据/clipFeature.shp"

datasetList = arcpy.ListDatasets(None,"Feature")
#for ds in datasetList:
fcList = arcpy.ListFeatureClasses(None, "All", u"植被与土质")
for fc in fcList:
print('begin clip '+fc)

# print(output+"/"+fc)
arcpy.Clip_analysis(fc,clipFeature, output+"/"+fc)
print('end clip '+ fc)
print ('finished')