Arcgis应用(十三)根据图层字段属性值对图斑进行融合

Posted 空中旋转篮球

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Arcgis应用(十三)根据图层字段属性值对图斑进行融合相关的知识,希望对你有一定的参考价值。

1.数据和目标

使用数据:湖北省行政区数据 ;

实现目标:根据图层张的CITY字段(地级市编码)属性对地级市中更小一级区划进行合并。

使用工具:Arcgis中的Arctoolbox;

2.实现方法

(1)打开Arcgis中的arctoolbox

(2)依次打开工具箱Data Management Tools->Generalzation->Dissolve

 

(3)设置图层和参数

Dissolve_Field(s):融合依据字段;

Statistics Field(s):统计字段,比如这里选择面积字段,可以统计多项属性,比如总和、最大值、最小值和平均值等。

  • FIRST—Finds the first record in the Input Features and uses its specified field value.
  • LAST—Finds the last record in the Input Features and uses its specified field value.
  • SUM—Adds the total value for the specified field.
  • MEAN—Calculates the average for the specified field.
  • MIN—Finds the smallest value for all records of the specified field.
  • MAX—Finds the largest value for all records of the specified field.
  • RANGE—Finds the range of values (MAX–MIN) for the specified field.
  • STD—Finds the standard deviation on values in the specified field.
  • COUNT—Finds the number of values included in statistical calculations. This counts each value except null values. To determine the number of null values in a field, use the COUNT statistic on the field in question, and a COUNT statistic on a different field which does not contain nulls (for example, the OID if present), then subtract the two values.

Create Multipart Features(创建多部分要素,比如如果有多个相离的图斑也作为一个图斑):

Specifies whether multipart features are allowed in the output feature class.

  • Checked—Specifies multipart features are allowed. This is the default.(默认合并为多部分要素图斑)
  • Unchecked—Specifies multipart features are not allowed. Instead of creating multipart features, individual features will be created for each part.

Unsplit lines (optional):(是否融合边线,默认融合(或溶解)到图斑中)

Controls how line features are dissolved.

  • Unchecked—Lines are dissolved into a single feature. This is the default.
  • Checked—Lines are only dissolved when two lines have an end vertex in common.

(4)输出结果

按照以上图中设置参数输出结果(对比图)如下:

(5)属性查看

属性表中自动添加了面积字段,但同时也丢失了大部分原有的字段。

以上是关于Arcgis应用(十三)根据图层字段属性值对图斑进行融合的主要内容,如果未能解决你的问题,请参考以下文章

arcgis shp文件中,如何对图斑(polygon)统计/计算面积

arcgis9.3版本中,如何将图斑编号转成CAD文件呢?

ARCGIS面图层中,快速筛选出某个字段中的某些数数值的图斑

ARCGIS如何把相邻图斑的属性添加在某个字段中.doc

ArcGIS遇上PythonArcGIS Python按照指定字段批量筛选不同类型的图斑(以土地利用数据为例)

ArcGIS遇上PythonArcGIS Python按照指定字段批量筛选不同类型的图斑(以土地利用数据为例)