操作方法

操作方法:在 ArcMap 中计算线或面要素的折点数量

Last Published: January 31, 2024

摘要

Instructions provided describe how to populate a new field with the number of vertices for each feature in a polygon or line feature class.

Note:
The procedure below is for ArcGIS 10 and later versions. Please see the article in the Related Information section below for instructions for ArcGIS versions 9.3.1 and earlier. 

过程

  1. Right-click the layer to be evaluated in the Table of Contents and click Open Attribute Table.
  2. From the Table Options drop-down, click Add Field to add a new field to the table.
  3. Name the field VxCount and select Long Integer for the field type. Click OK.
  4. Right-click the heading of the new field and click Field Calculator.
Note:
The geoprocessing tool, Calculate Field, can also be used to populate the field.
  1. Under Parser, select Python.
  2. In the main expression box, set:
VxCount = !shape!.pointcount
[O-Image] Field Calculator
  1. Click OK.

文章 ID:000011230

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容