【转】Points To Line

简介:

原文地址

Python+Arcpy操作Points.shp)转换至Polyline.shp),仔细研读Points To Line (Data Management)说明,参数说明如下:

Input_Features: The point features to be converted into lines.

Output_Feature_Class:The line feature class which will be created from the input points.

以下参数对生成闭合Polyline尤为重要(Optional

Line_Field: Each feature in the output will be based on unique values in the Line Field.这里指出同一直线的各点应在某一Field下具有相同的数值,见图 1红框之内在Line1字段之下数值均为1,表示各点均在同一条Polyline

 1

Sort_Field: By default, points used to create each output line feature will be used in the order they are found. If a different order is desired, specify a Sort Field.

Close_Line: Specifies whether output line features should be closed. True or False.

举一个例子,从含有4points.shp转换为1条闭合的Polyline.shp)文件,转换输出如图 2

 2

 

没有整理与归纳的知识,一文不值!高度概括与梳理的知识,才是自己真正的知识与技能。 永远不要让自己的自由、好奇、充满创造力的想法被现实的框架所束缚,让创造力自由成长吧! 多花时间,关心他(她)人,正如别人所关心你的。理想的腾飞与实现,没有别人的支持与帮助,是万万不能的。





  本文转自wenglabs博客园博客,原文链接:http://www.cnblogs.com/arxive/p/5087243.html ,如需转载请自行联系原作者


相关文章
LeetCode 149. Max Points on a Line
给定一个二维平面,平面上有 n 个点,求最多有多少个点在同一条直线上。
78 0
LeetCode 149. Max Points on a Line
ValueError: Error when checking : expected input_1 to have 4 dimensions, but got array with shape
ValueError: Error when checking : expected input_1 to have 4 dimensions, but got array with shape
360 0
|
算法
Split Shape by Plane in OpenCASCADE
Split Shape by Plane in OpenCASCADE eryar@163.com Abstract. Sometimes you want to split a shape by plane or even split a shape by a B Spline surfac...
1653 0
|
SQL Oracle 关系型数据库
[20170603]12c Top Frequency histogram.txt
[20170603]12c Top Frequency histogram.txt --//个人对直方图了解很少,以前2种直方图类型对于目前的许多应用来讲已经足够,或者讲遇到的问题很少.
980 0