ArcGIS obtains the total length of a river in each region of a province.

Source: Internet
Author: User

1. Load basic data

The river data is a single-line water system. SHP, and the boundary data is a region. SHP, as shown in:


2. Identify river data using regional data


With the preceding operations, the river is cut by region and a new layer (river_identity) is generated. Each river contains the attributes of the region layer. (Note: The clip tool cannot be used here, even if the area layer is selected, the effect cannot be achieved .)

3. Calculate the total length of rivers in each region

(1) OpenRiver_identity layer Attribute Table. The length field is used to calculate the river length.

(2) Right-click the length field → calculate geometry → length. (Note: The River layer must be in the projection coordinate system)

(3) The river length in each region is summarized. Toolbox: analysis tools →Statistics →Summary Statistics

 

4. Attribute Table connection

The preceding operation generates a new Attribute Table river_sum.dbf, which contains the total length of rivers in each region.Next, you only need to join the river_sum.dbf that contains the total length of the rivers in each region to the choropleth layer. SHP.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.