python 堆一堆传染媒介层数的垃圾Python由在arcgis的一个唯一传染媒介层数

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python 堆一堆传染媒介层数的垃圾Python由在arcgis的一个唯一传染媒介层数相关的知识,希望对你有一定的参考价值。

# This requires arcpy and having ArcGIS open
# Maybe this is the beginning of something useful
# Right now it's just conceptually something taht can be used to clip a bunch of layers by the same feature

import arcpy

layers = ["BRIDGE","MUNICIPAL","FENCE","HYDRO_LINE","RR","BUILDING","AUC","PARKING","ROADS","HYDRO_POLY","Parcels","Contours"]
clipper = "IndianCreekRd_1_buff100"

i = 0
while (i < len(layers))
    arcpy.Clip_analysis(layers[i],clipper, "IndianCreek_1_"+layers[i]
    print "Clipping " + layers[i]
    i += 1

以上是关于python 堆一堆传染媒介层数的垃圾Python由在arcgis的一个唯一传染媒介层数的主要内容,如果未能解决你的问题,请参考以下文章

c_cpp 字符串操作传染媒介

P1041 传染病控制——暴力遍历所有相同深度的节点

C#容器 - 传染媒介,。列表,队列,堆栈等

Python学习方法

初学python算法100例-案例23 输出菱形

Python于你于他,只差个学习方法