Create sanfrancisco network dataset of ArcGIS (network analysis data)
Source: Internet
Author: User
Create sanfrancisco network dataset of ArcGIS (network analysis data) Purpose:
1. Create sanfrancisco network dataset of ArcGIS,Network DatasetIs the basis of network analysis data.SanfranciscoCreate a network dataset based on data, althoughSanfranciscoA ready-made network dataset has been provided, but network analysis cannot be well understood with existing data.ProgramIt is really bad for the staff to do data on the drawing. Here we will create a network dataset to practice it.
Preparations:
1. Sanfrancisco data : Arctutor \ GP service examples \ drivetimepolygons .
Start:
1. Start arccatalog to create the drivetimepolygons file, and then create the scratch and tooldata folders in drivetimepolygons.
2. Create a new file Geodatabase type named scratch in the scratch folder. Tooldata folder Create File Geodatabase type name Sanfrancisco.
After completion, such:
3. In Sanfrancisco Create a new feature dataset named basemap and transportation. When setting the coordinate system (Coordinate System), use import from Arctutor \ GP service examples \ drivetimepolygons \ sanfrancisco. GDB imports the coordinate system of any layer selected. After completion, such:
4. Sanfrancisco data (Arctutor \ GP service examples \ drivetimepolygons \) Import to the newly createdBasemap and transportation. Import hwyst, lakes, majorst, parks, and shoreline layersBasemap, The streets layer is imported In transportation, after completion, it is as follows:
5. Start to create a network dataset, right-click Transportation Select New-> network dataset, enter the name streets_nd in the dialog box, click Next, and the following feature classes selection page appears. Here there is only one streets layer selected by default, just click Next.
6. Click Next to display the following interface. Pay attention to the connectivity button in the interface. Click Next to set the connectivity properties.
7. Click Connectivity buttons The interface for setting connection properties is as follows:
8. the data sources of network datasets are divided into edge data, intersection data, and turn data. In this example, it is simple to include only one streets edge dataset, so there is only one connection group, to set a connection policy, you only need to set an EDGE connection policy. An EDGE connection policy can be divided into an endpoint connection and any node connection. In this example, the endpoint connection is selected. For the connection policy settings of the point elements and multi-connection groups, refer to the ESRI network analysis help here. After setting, click OK to close the setting window and click Next To Go To The elevation field setting page:
9. the elevation field setting is also part of the connectivity settings. On the interface above, you can set whether an elevation field is required. The elevation field can express the height fluctuations of line elements, and you can use the elevation field to determine the edge connectivity, the elevation field is Numeric. When the elevation Field Values of the two edge points are connected at the same time, otherwise they are not connected. This is used when the high-rack line is crossed with the common principle. Here is Edge of streets For the end point, select f_zlevas the elevation field, and for the end point, select t_zlevas the elevation field. Click Next To Go To The turning data turns setting page:
10. Turns Turns are used to describe the Transformation Characteristics of two or more edge elements. For example, the turning rule setting in the traffic network allows you to create turn elements based on the line. Turn Element Use the default global turns. Default global turns There are unrestricted turning rules. Click Next by default.Network dataset property settings page:
11. Network dataset attribute settings control network attributes, such as direction (single line) and resistance value based on field properties. In this example, we set the following parameters. Click the Add button to add a dirvetime attribute as follows:
12. AddedDirvetime attributeDouble-click to set the fields as follows:
13. In the preceding settingsStreetsThe time cost of direct operation is ft_minutes, and the time cost of Retrograde isTf_minutes. Click OK.
14. meters attribute settings:
15. Set the hierarchy attribute (road level). The road level value is obtained by using the VB script code to determine the value of the disp_code field and the value of the cfcc field:
16. oneway attribute (single line) settings:
17.After setting all the attributes of the network dataset, see:
18. Go to the edge direction settings page. The default settings are as follows:
19. Click "Next" and click "finish" to create the network dataset. After the dataset is created, see:
20. Finally, test the network dataset In ArcMap and perform a service area analysis as follows:
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.