ArcMap computing Area

Source: Internet
Author: User
You can often see questions about how to calculate the area and length In ArcMap. In the past, I had a blog post about this. Article It is very clear that it is implemented using VBA. Here we describe the calculation process again. The SHP file of the prefecture-level cities in Guangdong province is used to calculate the area of each prefecture-level city and the length of Multi-deformation, paste the image in the step at the same time.

1. load data. Right-click the layer name and select Open attribute table from the shortcut menu to open the Attribute Table of the SHP file.

Right-click menu

Attribute Table

2. Click option in the lower right corner of the Attribute Table, select Add field in the pop-up menu, and add the area field and float type in the add field dialog box.

Add field menu

The area and length fields are added to the Attribute Table.

3. Select the start editing command in the editor editing tool (this step is optional)

4. Select area in the attribute table, right-click the pop-up menu, select field calculator, select advanced in the field calculator dialog box, and enter

Dim parea as iarea

Set parea = [shape]

Enter parea. Area in the text box below area =, and then OK to complete the attribute value calculation of the Area Field.

Select field Calculator

Calculated area in the field calculator dialog box

5. Select length in the attribute table, right-click the pop-up menu, select field calculator, select advanced in the field calculator dialog box, and enter

Dim pcurve as icurve

Set pcurve = [shape]

Enter pcurve. length in the text box below length =, and then OK to complete the attribute value calculation of the length field.

Calculate the length field

Computing Result Display

The above is my implementation process in the arcgis9.2desktop version. I would like to record it and hope to help you!

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.