Network_Analyst_Tutorial.pdf

(15851 KB) Pobierz
ArcGIS 9
®
ArcGIS Network Analyst Tutorial
Copyright © 2008 ESRI
All rights reserved.
Printed in the United States of America.
The information contained in this document is the exclusive property of ESRI. This work is protected under United States copyright law and the
copyright laws of the given countries of origin and applicable international laws, treaties, and/or conventions. No part of this work may be reproduced
or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or by any information storage or retrieval
system, except as expressly permitted in writing by ESRI. All requests should be sent to Attention: Contracts Manager, ESRI, 380 New York Street,
Redlands, CA 92373-8100, USA.
The information contained in this document is subject to change without notice.
DATA CREDITS
Shapefile and geodatabase data used to create and build Network Datasets in exercises 1, 4, 5, 8, and 9 supplied by TeleAtlas, Boston, Massachusetts,
and is used here with permission.
Geodatabase based street data used to create and build Network Datasets in exercises 2, 3, 6, and 7 supplied by NAVTEQ, Chicago, Illinois, and is used
here with permission.
Geodatabase based transit data used to create and build Network Datasets in exercises 3, 6, and 7 supplied by RATP from the city of Paris, and is used
here with permission.
CONTRIBUTING WRITERS
Deelesh Mandloi, Jay Sandhu, Tarun Chandrasekhar
U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTS
Any software, documentation, and/or data delivered hereunder is subject to the terms of the License Agreement. In no event shall the U.S. Government
acquire greater than RESTRICTED/LIMITED RIGHTS. At a minimum, use, duplication, or disclosure by the U.S. Government is subject to restrictions
as set forth in FAR §52.227-14 Alternates I, II, and III (JUN 1987); FAR §52.227-19 (JUN 1987) and/or FAR §12.211/12.212 (Commercial Technical
Data/Computer Software); and DFARS §252.227-7015 (NOV 1995) (Technical Data) and/or DFARS §227.7202 (Computer Software), as applicable.
Contractor/Manufacturer is ESRI, 380 New York Street, Redlands, CA 92373-8100, USA.
ESRI, ArcView, ArcInfo, ArcCatalog, ArcMap, ArcToolbox, ArcGIS are trademarks, registered trademarks, or service marks of ESRI in the United States,
the European Community, or certain other jurisdictions.
The names of other companies and products herein are trademarks or registered trademarks of their respective trademark owners.
ArcGIS Network Analyst Tutorial
IN THIS TUTORIAL
• Exercise 1: Creating a shapefile-
based network dataset
• Exercise 2: Creating a geodatabase
network dataset
• Exercise 3: Creating a multimodal
network dataset
• Exercise 4: Finding the best route
using a network dataset
• Exercise 5: Finding the closest fire
stations
• Exercise 6: Calculating service
area and creating an OD Cost
Matrix
• Exercise 7: Creating a model for
route analysis
• Exercise 8: Servicing a set of
orders with a fleet of vehicles
• Exercise 9: Finding best routes to
service a set of paired orders
1
ESRI
®
ArcGIS
®
Network Analyst extension allows you to build a network
dataset and perform analyses on a network dataset. The best way to learn
Network Analyst is to use it. In the exercises in this tutorial, you will:
• Use ArcCatalog™ to create and build a network dataset from a streets
shapefile.
• Use ArcCatalog to create and build a network dataset from feature
classes stored within a geodatabase.
• Define connectivity rules and network attributes for the network dataset.
• Perform various network analyses in ArcMap™ using the Network
Analyst toolbar.
• Learn how to use the Network Analyst tools in ArcToolbox™ to create
geoprocessing models that perform network analysis.
In order to use this tutorial, you need to have the Network Analyst extension
and ArcGIS installed and have the tutorial data installed on a local or shared
network drive on your system. Ask your system administrator for the
correct path to the tutorial data if you do not find it at the default installation
path (C:\ArcGIS\ArcTutor\Network_Analyst) as specified in the tutorial.
Exercise 1: Creating a shapefile-based network dataset
In this Exercise you will create a simple shapefile-based
network dataset from a single line feature class.
Creating a network dataset
1. Start ArcCatalog™ by either double-clicking a shortcut
installed on your desktop or using the programs list in
your Start menu.
2. Navigate to the C:\arcgis\ArcTutor\Network_Analyst
folder in the Catalog Tree. (This is the default install
location for this data.)
3. Click the Exercise1 folder to show its contents.
6. The name of the network dataset is set to Streets_ND
by default. Click Next to continue.
4. If the Network Analyst Extension is not enabled, on the
Tools menu, click Extensions, and in the Extensions
dialog box, click Network Analyst and close the
Extensions dialog box.
5. Right-click the Streets shapefile and choose New
Network Dataset. This shapefile contains street data for
downtown San Francisco.
Network Connectivity defines how features that
participate in a network connect to each other. The
default connectivity for a network dataset places all
sources in one connectivity group and assigns all edge
sources endpoint connectivity. In a shapefile based
network there is only one edge source, hence there is no
A
RC
GIS N
ETWORK
A
NALYST
T
UTORIAL
2
need for multiple connectivity groups. Also, we wish to
model streets with endpoint connectivity. (To see how
this is modeled, click the Connectivity button.)
7. To accept the default connectivity, click Next to
continue.
8. Click Next to accept the default elevation fields settings.
If ArcGIS Network Analyst finds elevation fields data in
your shapefile, it automatically chooses the Yes radio
button and assigns the appropriate fields.
Earlier versions of ArcView
®
GIS and ARC/INFO
support optional elevation fields to establish connectivity.
Each feature in a shapefile or a coverage would be
assigned two Z-elevation values, one for each endpoint.
If the endpoints of line features have the same Z-
elevation value, connectivity is established. If the values
are different, they do not connect (e.g., in the case of
bridges or tunnels).
The elevation field contains logical elevation values for
establishing connectivity only and does not provide
height information for the feature. ArcGIS
®
Network
Analyst can use Z-elevation values to further modify the
connectivity settings established in the previous step.
ArcGIS Network Analyst automatically searches and
maps the relevant fields.
A
RC
GIS N
ETWORK
A
NALYST
T
UTORIAL
ArcGIS Network Analyst supports turns in a shapefile
based network. Turn information (such as turning
restrictions and delays) enhance the quality of network
analysis. Earlier versions of ARC/INFO and ArcView
GIS used turn tables. These turn tables can be converted
into turn features and used in the network dataset. You
will use turn features in Exercise 2.
In addition, by default, Global Turns are selected. Global
Turns are rules that can be set, such as all left turns
have a delay of 15 seconds. Such a rule gives
preference to right turning movements. The advantage
of Global Turns is that you do not need to create
individual turn features for rules that apply to every turn
in the network.
3
Zgłoś jeśli naruszono regulamin