Lab 7. Regions, Network and Dynamic Segmentation

 

Follow the directions to finish all Tasks in Chapter 15 and Tasks 1 to 4 in Chapter 16. Answer and submit all questions listed at the end of this exercise.

 

Chapter 15 – Regions

 

Task 2 directions: You cannot edit coverages in ArcGIS 9 Editor, so the text directions will not work once you get to step 3.  Instead you will create a geodatabase. Editor will edit geodatabase feature classes. Follow these directions before beginning Task 2:

  1. Using ArcCatalog, create a geodatabase.
  2. Right click the geodatabase and select new feature dataset. Name it Landuse.
  3. This new feature dataset has no projection, so Edit and Import the projection from the landuse coverage.
  4. Right click the new feature class and select New Feature Class. Name it urbanregion. Accept all defaults.
  5. Import the landuse polygon to the landuse feature dataset.
  6. Ignore the ArcEdit commends and begin Task 2 from step 1, using the features in the geodatabase instead of the coverage.

 

Task 3: For a refresher on command for Arc command line, see the directions for Labs 2 & 3. Also, use ArcMap to see the subregion you create.

 

Task 4: Be sure to do everything in the directions – not just what is in the numbered steps. Also, take care that you are in the right mode for the directions – Arc or Tables. If you type a command without specifying any arguments under arc prompt, ArcInfo shows you the usage of that command. This is a good way to remind you the syntax of using an ArcInfo command. Here are brief descriptions of the REGIONDISSOLVE and REGIONQUERY commands. Look up the ArcDoc on-line help for more information.

 

Arc: regiondissolve fire # fire2 fire2

 

fire: input coverage.

#: indicating using default value. In this case, the command uses the input coverage as the output coverage.

fire2: The first fire2 is an arbitrary name you given to the output subclass.

fire2: The second fire2 is an item in the PAT that you use to create the region subclass.

 

Arc: regionquery fire # fire123 # # fire1 fire2 fire3

 

fire: input coverage.

# (first): indicating using default value. In this case, the command uses the input coverage as the output coverage.

fire123: An arbitrary name you given to the output subclass.

# (second): indicating not using a selection file, instead, the selection will be done interactively.

# (third): using the default value, i.e., NONCONTIGUOUS.

fire1 fire2 fire3: any items in the PAT of the input coverage that you want to copy to the PATregion of the output region subclass.

 

After finishing the steps in text, copy the data of fire.PATfire1, fire.PATfire12, and fire.PATfire123 shown on the screen and paste them to your answer. Click on the icon on the upper left corner of the command window, select “edit -> mark” and use the mouse cursor to mark the texts you want to copy, then hit “Enter”. This will copy the texts into Windows’ clipboard. Go to your text editor and paste them to your answers.

 

Task 5: After finishing the steps in text, copy the data of sfire.dat shown on the screen and paste them to your answer. Follow the steps below to do “region” overlay analysis in ArcMap.

  1. Create a new dataset, name it sfire, in the geodatabase you created in Task 2 and load the three region subclasses into sfire. Don’t forget to define projection for the new dataset.
  2. Open the “Union” tool under “Analysis Tools -> Overlay” in Arctoolbox. Select the 3 feature classes you just created as the input features. Specify the name of the output feature class. This can be a shape file or a feature class in the geodatabase. Click OK.
  3. Add the feature class just created to ArcMap and open its attribute table. Use this attribute table to fill the blanks in Question 3.

 

Chapter 16 – Network and Dynamic Segmentation

 

Task 1: Step 2 will not work with version 9. Instead, select Add Route Events from the  ArcMap Tools menu. In the Add Route Events dialog box, make sure that ‘moscowst route.bus’ is entered as the route reference with ‘Bus-ID’ as the Route Identifier. Choose ‘stations.txt’ as the Event Table with ‘Bus-ID’ as the Route Identifier. Make sure that the button identifies the events as point events. Select ‘measure’ for the Measure field.

Step 3 is not possible on a temporary object. Right click stations.textEvent, select Data and Export Data. Name the output ‘stations.shp.’

 

Task 2: Step 2 requires that you use the Editor toolbar. Editor will not work on coverages. Import to a geodatabase as in Task 2 for Chapter 15. Add a new line feature class and name it “routebike2”. Polygon is the default feature type when creating new feature classes. You can change the feature type in the third dialog window (after clicking next twice). Click on the field name saying ‘SHAPE” and select “line” for the Geometry Type in the field properties table. Follow steps 1 to 4 in text to create a multipart line in the routebike2 feature class. Use the following instructions to create routes in ArcMap.

 

  1. Add the routebike2 into ArcMap and open its attribute table. Add a new field called “ROUTEID”. Right-click on the heading of ROUTEID and select “Calculate Values…”. Set the value of routeid to 1.
  2. Open the “Create routes” in the Linear Referencing Tools from Arctoolbox. Set routebike2 as the input line feature, ROUTEID as the route identifier field, and bike2 as the output route feature class. Click OK.

 

Tasks 3 and 4: The introductory paragraph says to convert the shapefiles to a coverage in ArcToolbox. This is no longer possible. Instead, use the SHAPEARC command in ArcInfo under the arc prompt to do the conversion.

 

Arc> w c:\temp\...  /* specify your workspace, i.e., where you put the shape files and coverages.

Arc> shapearc interstates.shp interstates /* used in Task 3

Arc> shapearc firestat.shp firestat /* used in Task 4

Arc> shapearc uscities.shp uscities

 

Task 4: The following instructions let you do shorteat-path analysis in ArcMap.

  1. Create a new dataset called interstates in your geodatabase. Make sure to import projections information when creating the dataset.
  2. Import interstates.shp and uscities.shp into the dataset.
  3. Right-click on the interstates dataset and select “new -> geometric network”. Select “Building a geometric network from existing features” and accept the default settings for the next couple dialog windows. When you are asked to assign weights to your network, select ‘Yes”, type in “minute” in weight name, and set type to “single” (i.e., single-precision floating point number). Click next and set the associated field to “MINUTES”. Click next and, then, finish to create the geometric network in the dataset.
  4. Now you have created two new feature classes in the dataset - interstates_Net and interstates_Net_Junctions. Add interstates_Net and uscities to ArcMap. Could you find interstates_Net in the ArcMap layer? No, instead, you will find interstates_arc and interstates_Net_Junctions. A geometric network is only a logical representation of edges (interstates_arc) and junctions (interstates_Net_Junctions).
  5. Add the “Utility Network Analyst” toolbar to ArcMap (see the picture below).

 

 

  1. Click “Analysis -> Options…” and set both edge weights to minute. Click OK to close the dialog window.
  2. Open the uscities attribute table and select the cities of “Raleigh” and “Helena”. These two cities are now highlighted on the map.
  3. Click on the “add edge flag tool” icon  and place edge flags in the interstate network that are the closest to the selected cities. Use zoom tools whenever necessary.
  4. Select “Find path” from the list of trace task and click “solve” icon to see the result.
  5. Use the items in the Analysis pull-down menu to clear flags and result.

 

 

Questions:

 

Chapter 15.

 

  1. Geodatabase uses multipart objects to represent and replace the region subclasses defined in coverage. How can you tell whether an object in Geodatabase is multipart?
  2. List the content of three region PAT tables (i.e., fire.PATfire1, fire.PATfire12, and fire.PATfire123) that you created in Task 4 here.
  3. List the content of sfire.dat here and fill the blanks in the table.

 

How big is the area that burned only in 1934?

 

How big is the area that burned in 1910, 29, and 34?

 

How big is the area that burned only in 1910 and 34?

 

How big is the area that burned only in 1929 and 34?

 

What is the percentage of area in area that burned in 1929 and 1934 but didn’t burn in 1910?

 

 

  1. What is the total area (in square meters) of the final sites selected in Task 6?

 

Chapter 16.

 

  1. Where are the starting and ending locations of the bus route? Write the map coordinates in the blanks in the table below. Hint: Using symbology to show the direction of the route.

 

Start (x, y)

 

End (x, y)

 

 

  1. Comparing the feature classes you created in Task 2, how do you know whether a line feature class containing routes?
  2. What is the total travel time from Raleigh to Helena calculated in Task 3?
  3. The output of the ALLOCATE command is stored in the route subclass (i.e., fire) specified in the NETCOVER command. How many routes were created in Task 4? What spatial information do these routes represent?