当前位置:网站首页>How to count the total length of roads in the region and draw data histogram

How to count the total length of roads in the region and draw data histogram

2022-06-12 04:49:00 Geographic remote sensing ecological network

Transportation is of great significance to regional economic development , Many economic literatures have discussed this in depth , So how to be in ArcGIS The total length of internal traffic routes in the statistical area ? Taking the total length of main highways in all provinces of China as an example, this paper introduces the relevant ArcGIS And the operation of statistical histogram .

        Tools :

        Use ArcGIS in 【Identity】 Tool implementation . notes :① For statistics of highway length , The statistical operation must be carried out in the projection coordinate system , Cannot be performed in a geographic coordinate system .② There are many ways to count the roads in various provinces , This article only provides one way to use

        The experimental steps :

       1. Identify highway data

open ArcMap Software , Load the data of counties, districts and highways across the country . open 【Analysis Tools】|【overlay】|【Identify】, The input element is “ The main road .shp”, The identification element is “ Provincial administrative regions .shp”, Output elements are “marked_line.shp”, Other default . determine , Get the road data marked by the provincial division . notes : The same road data is divided at the boundary . The operation interface and output results are as follows .

     

 2. Create fields

        open marker_line  Of Attribute Table, single click Table Option, choice Add Field Button . Field name “ length ”, The type is “float”, And click OK . The operation interface is as follows .

       3. Record the road length value

        Right click “ length ” Field , choice Calculate Geometry Tools , The attribute is “ length ”, Other parameters default . determine , Get the length attribute value of each highway record . The operation interface is as follows .

       4. Count the length of highways in each province

        Right click “PROVINCE_” Field , choice summarize Tools . Select... In summary statistics “ length ” Field “ The sum of the ” attribute . determine , Get the statistical result table data . The operation interface is as follows .

       5. Draw statistical histogram

        open 【Menu Bar】|【View】|【Graph】|【Create Graph】, Set up “Layer/Table” by “sum_output”,Value Field Field is “sum_ length ”,X Field and X Label Field Field is “PROVINCE_”,Color Set to “Palette”; next step , General graph properties Title Set to “ The length of highways in each province ”, The left title in the axis attribute is changed to “ length ( rice )”, The next heading should read “ Province Code ”; Click on Finish. The operation interface is as follows .

       6. The final output result is shown in the figure below

原网站

版权声明
本文为[Geographic remote sensing ecological network]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010625009081.html