Step 1 /
Start ArcView
Start ArcView.
Note: If you are running ArcView GIS 3.1, you see a Welcome to ArcView GIS dialog. Click Cancel to close this dialog.
If ArcView is already running, close any open projects.
Step 2 /
Open the project
From the File menu, choose Open Project. Navigate to the \NetworkAnalysis\exercise3\facilna\lesson01 folder and open the project l1_ex01.apr.
Note: If you are running ArcView GIS 3.1, you see an Update l1_ex01.apr message box. Click No to close this box.
When the project opens, you see a view with a line theme of Las Vegas city streets.
Step 3 /
Load the facilities theme
Click the Add Theme button and navigate to the facilna\lesson01 folder and select fire.shp. Click OK, and when the theme has finished loading, turn it on.
The Fire.shp theme contains the location of three fire stations.
Step 4 /
Open the problem definition dialog
Make the Vegas.shp theme active and from the Network menu, choose Find Closest Facility.
The problem definition dialog opens and a new theme, Fac1, is created in the view.
Step 5 /
Specify an event
Click the Add Location tool . Your mouse pointer will change to an arrow with a flag .
Click somewhere on the view, making sure that the spot where you click is on the network (on a street).
Step 6 /
Change how the name is displayed
In the problem definition dialog, the Event is now displayed as Graphic pick 1. This name is not very informative.
Click in the Event field inside the problem definition dialog and type House on fire! to describe the event.
Step 7 /
Change the cost units
Because it makes the most sense to find the shortest time it will take for the fire truck to reach the house, you'll change the cost units to minutes.
Click the Properties button in the problem definition dialog. In the Properties dialog, in the Cost field dropdown list, choose Drivetime.
The Cost units and the Working units fields update to read Minutes. Click OK.
Step 8 /
Solve the problem
Click the Solve button to find the closest facility.
Step 9 /
Close the project
From the File menu, choose Close. Again from the File menu, choose Close Project. Click No when you're prompted to save changes.
If you're doing the Challenge or continuing to the next exercise in this session, leave ArcView running. Otherwise, exit ArcView.
Lab 4 is due March 11th, 2005
Please bring me a hard copy of your answers to all questions.
Lab 4 Question 1 (Lab 4 has 3 questions)
Find the closest pizza restaurants
You've just learned how to find the closest facility to an event. Go to the facilna\lesson01 folder and open the project l1_ch01.apr.
You are the owner of Spencer's Catering Service, which organizes food for special events. You have just received a frantic call from the teachers at Creative Kids Elementary School. Their original food supplier was unable to deliver, and now they are desperate to feed the kids at the annual school party.
The teachers have requested that pizza be delivered to the school at 737 Columbus Avenue as quickly as possible. You decide that it would be best if several pizza restaurants filled the order, but you need to find out which pizza restaurants in town are closest to the school.
Lab 4 Question 1: List the four closest pizza restaurants to Creative Kids Elementary and also the driving time from each of them.
Find the closest facilities to a fire scene / In this exercise, you will find the closest facilities to the scene of a fire. You will create two different routes: one from a facility to an event, that a fire engine would travel going from the station to the fire, and one from an event to a facility, that an ambulance going from an accident scene would travel to a hospital.You will learn how to use ArcView's selection tools and a cutoff cost to find the facilities that are within a reasonable distance of the event. Finally, you will create and print a set of directions for the route Network Analyst creates between facility and event.
Step 1 /
Start ArcView
Start ArcView.
Note: If you are running ArcView GIS 3.1, you see a Welcome to ArcView GIS dialog. Click Cancel to close this dialog.
If ArcView is already running, close any open projects.
Step 2 /
Open the project
From the File menu, choose Open Project. Navigate to the facilna\lesson01 folder and open the project l1_ex02.apr.
Note: If you are running ArcView GIS 3.1, you see an Update l1_ex02.apr message box. Click No to close this box.
When the project opens, you see a view containing the streets of Las Vegas, as well as two point themes. Fire Stations represents the location of downtown Fire Stations, and Hospitals represents hospital locations. You will use both of these themes in this exercise.
Step 3 /
Open the problem definition dialog
Make the Vegas theme active by clicking on it in the Table of Contents, then from the Network menu, choose Find Closest Facility.
A problem definition dialog opens and an empty result theme (Fac1) appears in the view.
Step 4 /
Specify the facilities theme
In the Facilities dropdown list, Fire Stations should be chosen as the facilities theme. If it isn't, click on it to specify it as the facilities theme.
By specifying Fire Stations in the Facilities field, you are telling Network Analyst to use the point features in this theme to solve the problem. Network Analyst will calculate a route between each point in the facilities theme and the event.
Step 5 /
Specify the event
The fire is burning at 830 Bridger Ave. Make the result theme (Fac1) the active theme, then click the Add Location by Address button . Enter 830 Bridger Ave as the address.
Network Analyst places a graphic flag at the location you specified and the address appears in the Event field in the problem definition dialog.
Step 6 /
Specify the travel direction
Because you want to find the best route from the facility (the fire station) to the event (the fire), click the Travel to event option in the problem definition dialog.
When it calculates the routes, Network Analyst will use each of the facilities as the origin and the event as the destination.
Step 7 /
Specify the travel cost
Because the fire engines need to reach the fire quickly, you'll use time units for the travel cost.
Click the Properties button to open the Properties dialog. In the Cost field dropdown list, choose Drivetime. In the Working units dropdown list, choose hh:mm:ss.
Click OK to close the Properties dialog.
Step 8 /
Find the closest facility
Click the Solve button to find the closest fire station and display the route between it and the fire.
The problem definition dialog reports information about the closest facility. It should be Station 4 South, which is 2 minutes and 50 seconds away.
Step 9 /
Save the event
There are several ambulances at the fire scene and they need to be routed to nearby hospitals.
Because you will use the fire scene event again, in the problem definition dialog, click Save Events. In the Save Events dialog, change the filename to Scene.shp and save the file. When it asks you if you want to add the shapefile as theme to the view, click Yes.
Turn off the result theme (Fac1).
Step 10 /
Define another problem
Make the Vegas theme active. Open a new problem definition dialog by choosing Find Closest Facility from the Network menu.
A second result theme (Fac2) is created in the view.
You will now use the problem definition dialog to set the parameters for finding the closest hospitals to the fire scene.
Step 11 /
Set problem parameters
In this problem, you want to find the closest hospitals.
In the Facilities dropdown list, choose Hospitals.
There are many people injured by the fire, and several ambulances are at the scene. You need to route these ambulances to the nearest hospitals, and you decide that several hospitals may qualify to provide assistance.
In the Number of facilities to find dropdown list, choose 4.
Because you saved the fire scene event as a shapefile, you can use it again now.
Click Load Events and choose Scene.shp as the event theme.
Click OK.
In the problem definition dialog, the Event field shows the address of the fire: 830 Bridger Ave.
You need to find the closest hospital to the fire scene and the best route from the scene to the hospital. This means you will be traveling from the event to the facility.
Click the Travel from event option.
Network Analyst will use the event as the origin and each of the hospitals as the destination when it calculates and compares each route.
Step 12 /
Select nearby facilities
You can tell by looking at the view that one of the hospitals will not be the closest. It is the one to the far northwest of the city, in the upper-left corner of the view. You can exclude this hospital by selecting the ones you want Network Analyst to consider when solving the problem.
First, click on Hospitals in the Table of Contents to make it the active theme. Click the Select Feature tool , then click in the view and drag a box around the four closest hospitals to the fire scene.
The selected points are highlighted. Network Analyst will consider only these points when it solves the problem.
Step 13 /
Specify the travel cost and the cutoff cost
Time is important in getting the injured to the hospitals.
In the problem definition dialog, click the Properties button. In the Cost field dropdown list, choose Drivetime. In the Working units dropdown list, choose minutes.
Click OK.
In the Cutoff cost field, type 10. Network Analyst will not report or calculate the routes to any hospital more than 10 minutes from the fire.
Step 14 /
Solve the problem
Click the Solve button to find the closest hospitals.
The routes are displayed in the view, and the problem definition dialog is updated with information about the routes to the hospitals.
There are three hospitals within a 10-minute drive of the fire. The Wilson Clinic is 1.92 minutes away, the Peyton Clinic is 2.58 minutes away, and the Towne Medical Group is 3.12 minutes away.
Step 15 /
Create directions
Finally, you need to create directions for the drivers.
In the problem definition dialog, click the Directions button.
Notice that directions are created for all three of the routes, one set for each of the hospitals.
If you wanted directions to only one of the hospitals, you could select that hospital in the problem definition dialog, then click Directions again. When you create directions with one route selected in the problem definition dialog, only directions for that route are created.
Step 16 /
Customize the directions and print them
Customize the directions by clicking the Properties button in the Directions window. In the Street name fields scrolling list, click on the field St_type. Click the Add button to add this field to the list on the right.
Click OK.
To get a hard copy of the directions so that you can fax them to the ambulance drivers, click the Print button (if you have a printer connected to your computer).
When you are finished, click Done in the Directions window.
Step 17 /
Close the project
From the File menu, choose Close. Again from the File menu, choose Close Project. Click No when you're prompted to save your changes.
If you're doing the Challenge or taking the self test, leave ArcView running. Otherwise, exit ArcView.
Lab 4 Question 2 (Lab 4 has 3 questions)
Routing emergency services
Navigate to the facilna\lesson01 fodler and open the project l1_ch02.apr. When the project opens, you see a view containing a shoreline and streets theme, a hospitals theme, and an Ambulance Stations theme.
You are an ambulance dispatcher who has just received a call from the scene of an accident. The caller gave you the address "1089 Chestnut St" as the location. You need to find the closest ambulance station to the accident location and find the best way for the ambulance to get there. You then need to find the closest hospital within a 10-minute drive of the accident location and the best way to get there.
Lab 4 Question 2: Solve these two closest facility problems so you can first get to the accident victim and then get to the hospital. In your answer, please list the two closest facilities, and the driving time for each route.
Find areas out of service range / In this exercise, you will create service areas to determine whether there are any areas of the city that cannot be reached from ambulance dispatch centers within seven minutes. You will load sites from a point theme and specify the extent of the service area. After solving the network problem, you will be able to see which areas of town might need a new ambulance dispatch center.Step 1 /
Start ArcView
Start ArcView, if necessary.
Note: If you are running ArcView GIS 3.1, you see a Welcome to ArcView GIS dialog. Click Cancel to close this dialog.
If ArcView is already running, close any open projects.
Step 2 /
Open the project
From the File menu, choose Open Project. Navigate to your facilna\lesson02 folder and open the project l2_ex01.apr.
Note: If you are running ArcView GIS 3.1, you see an Update l2_ex01.apr message box. Click No.
When the project opens, you see a view containing a line theme representing the streets of San Bernardino, California.
Step 3 /
Load the sites theme
Add the sites theme to the view by clicking the Add Theme button and navigating to your facilna\lesson02 folder. Add stations.shp to the view.
Step 4 /
Open a problem definition dialog
Make sure that City Streets is the active theme, then from the Network Menu, choose Find Service Area.
The problem definition dialog opens. Notice that two result themes, Snet1 and Sarea1, have been created in the view. These themes will contain the service network and service area created by Network Analyst using the parameters you specify.
Step 5 /
Set the view's distance units
Because by default Network Analyst calculates a service area using the same units as the view's distance units, you need to check and see what the distance units are set to.
From the View menu, choose Properties. In the View Properties dialog, notice that both the map and distance units are set to unknown.
When the map and distance units show up as "unknown," it means that the data is stored in decimal degrees. The City Streets shapefile used in this exercise is in fact in decimal degrees.
In the Map units dropdown list, choose decimal degrees. In the Distance units dropdown list, choose kilometers.
Note: If you are using ArcView GIS 3.1, Network Analyst will convert the route units to miles when the source data is stored in decimal degrees. You can change the default route units by changing the distance units in the View Properties dialog.
Click OK.
Step 6 /
Set the problem parameters
Notice that the problem definition dialog now reports kilometers in the cost field. Because you are trying to find the area around the station in terms of time, click the Properties button to change the travel cost.
In the Properties dialog, in the Cost field dropdown list, choose Minutes. In the Working units dropdown list, also choose minutes.
Click OK.
Step 7 /
Specify the sites
You can specify sites interactively or by using a point theme of locations. This exercise comes with a theme representing sites, but feel free to experiment with the Add Location tool or the Add Location by Address Button to add sites to the view.
Click the Load Sites button. In the Load Sites dialog, specify Stations.shp and click OK.
The problem definition dialog is updated with a list of ambulance stations in the Label field. Notice that the minutes field has been updated with a default time of 4.47 minutes.
Step 8 /
Specify the extent of the service area
You need to tell Network Analyst the extent of the service area.
To do this, in the problem definition dialog, double-click in the minutes field next to the first ambulance station and type 10. Press Enter to have your cursor jump to the next record in the list. Type 10 again. Continue until all the stations have a value of 10.
You've now told Network Analyst to define the service area as anywhere within a 10-minute driving distance of each site.
Step 9 /
Solve the problem
Find the service areas by clicking the Solve button .
Notice that the problem definition dialog is updated with information on the area covered and the distance covered. These values represent the total land area covered by the service area and the total street distance covered by the service network. These numbers are always reported in the view's distance units.
Step 10 /
Close the project
From the File menu, choose Close. Again from the File menu, choose Close Project. Click No when you're prompted to save your changes.
If you're doing the Challenge or continuing to the next exercise in this session, leave ArcView running. Otherwise, exit ArcView.
Lab 4 Question 3 (Lab 4 has 3 questions)