Lab 2: Building a Geodatabase, Creating Features, and ...
1 Lab 3| Creating and Editing Features
1
2 Introduction
This lab introduces how to create and edit spatial features and their attributes in ArcGIS. You will learn the following skills:
o Create and modify features
o Work with and create feature templates
o Work with editing tools and toolbars
o Edit feature attribute values
o Use the Field Calculator tool
o Geocode tabular data
3
4 Instructions
Based on the assigned readings for this week, answer questions in Part I of this lab. Then proceed to Parts II & III to complete hands-on exercises. Before working with the lab data, download it from the course website and save onto your flash drive.
5 Deliverables
Answer the questions marked in bold and produce the required outputs. Your lab document should be typed, well organized, and submitted according to the course “How To” guidelines.
PART I: Assigned Readings
Textbook – Bolstad (Chap. 4, pgs. 140-156)
1. What are two advantages of on-screen digitizing over hardcopy/scan digitizing?
2. Why would it be inappropriate to digitize a dot-density map as a point dataset?
3. What happens to map errors as the map scale becomes smaller?
4. Describe the difference between digitizing in “point mode” vs. “stream mode”.
5. How does snapping improve editing or digitizing?
6. In the context of scan digitizing, what is “skeletonizing”?
7. When editing geographic data, what are two methods to identify data errors?
ESRI ArcGIS 10 Online Help Files
8. What is the basic workflow for editing data in ArcMap?
9. What are two ways to start an edit session in ArcMap?
10. What are the two windows that you can use for editing attributes?
PART II: Editing In ArcGIS
The exercises you will complete in this section are modified from the online ESRI training module – Editing in ArcGIS Desktop 10. I have updated the materials to reflect some changes in version 10.3.
The exercise is focused on learning new editing tools by completing a variety of different tasks in and around a subdivision called Miller’s Ranch.
➢ Download the Lab3Data from the course website and unzip the file.
➢ In the Lab3Data (Part II) folder, open MillersRanch.mxd
➢ If necessary, change the scale to 1:2500.
The map shows a rural area just outside Manhattan, Kansas. It is currently centered over a lake located within Anneberg Park. In the table of contents, notice that two raster layers are currently displayed, while the city’s water systems, streets, and parcel layers are turned off.
➢ Turn on the Editor toolbar. You can do this on the standard toolbar and click on ‘Editor Toolbar’
[pic]
➢ Once the Editor toolbar appears, go to the ‘Editor’ dropdown menu and click on ‘start editing’
➢ The Start Editing dialog box opens. This is where you specify what layer you want to edit. Click on the Lakes layer to highlight it.
[pic]
➢ The pencil icon should now display next to the Lakes layer in the top pane and next to the path for the Planning.gdb layer in the lower pane (where the Lake layer is stored)
➢ Click OK
➢ The Create Features window should open and will list all the editable layers, as well as the corresponding map symbol next to each layer. These are known as feature templates.
[pic]
➢ In the Create Features window, click on the Lakes layer. This should make several construction tools appear on the lower portion of the Create Features window.
➢ Click on the Polygon tool (in the construction tools) and move the cursor into the map area. Click anywhere along the shoreline of the lake to add your first point.
➢ Continue digitizing the lake’s shorelines by click your mouse to add more vertices. When you are finished, right-click and choose Finish Sketch. Alternatively, you can double-click to finish your sketch or press F2 on your keyboard.
1. Take a screenshot of your map in data view with the newly created polygon and insert it into your lab document.
➢ Now, you will update the Name attribute for the lake feature. On the Editor Toolbar, click the Attribute button.
[pic]
➢ The Attributes window appears, docked in the same position as the Create Features window. In the Attribute window, right-click Lakes and open the layer properties for the Lakes layer.
➢ Click on the Display tab.
➢ Set the Field for the Display Expression to NAME and then click OK.
[pic]
➢ In the Attributes window, for Name type in Anneberg Lake and press Enter.
➢ On the Editor Toolbar, go to the Editor dropdown menu and click Save Edits.
2. Take a screenshot of the Attributes Window so I can see the name change and insert into your lab document.
➢ At the bottom of the Attributes window, you should see a table to toggle back to the Create Features window. Click on the Create Features tab.
➢ Click on the Organize Templates button in the top left corner.
[pic]
➢ In the Organize Templates dialog box, you can create new feature templates and make changes to existing ones. Click on Properties.
➢ In the lower portion of the dialog box, click next to the NAME attribute and type, Irrigation Pond, and press Enter.
➢ For the default tool, click the dropdown arrow and choose Freehand tool.
➢ Click OK.
➢ From the Bookmarks menu, choose Irrigation Pond.
➢ In the Create Features window, click the Lakes feature template. Notice that the Freehand tool is automatically selected in the bottom pane because you specified it as the default construction tool for the Lakes template.
➢ Move your mouse over the map area and click once on the upper-left corner of the irrigation pond.
[pic]
➢ Move your mouse without clicking around the pond’s shoreline, going South from the upper-left corner, around the bottom, and north up to the upper-right corner.
[pic]
➢ When you finish your line at the upper-right corner of the irrigation pond, the final segment is drawn between your start and end points.
➢ Save your edits.
3. Take a screenshot of the newly drawn Irrigation Pond and insert into your lab document.
➢ Next, you will edit new streets for a new subdivision known as Miller’s Ranch.
➢ Go to the Bookmark menu and click on Miller’s Ranch North.
➢ Turn on the Streets & Parcel layers. Turn off the Irrigation Pond & Anneberg Lake layers.
➢ At the top of the subdivision, notice the gap between the roads.
[pic]
➢ You will fix this gap by modifying the vertices of the road centerline. Right-click the Streets layer and choose Edit Features>Start Editing.
➢ Next, we will set the Snapping options. Snapping moves points or vertices to coincide exactly with the vertices, edges or end points of other features. Go to Customize>Toolbars>Snapping.
➢ Go to the Snapping dropdown menu and go to Options.
➢ Under the Snapping options dialog box, enter a Tolerance of 5 pixels.
[pic]
➢ Click Ok.
➢ Click on the Edit tool (on the Editing Toolbar).
[pic]
➢ Select the street centerline located on the west side of the Miller’s Ranch subdivision, shown below.
[pic]
➢ Right-click the selected centerline and choose Edit Vertices.
➢ The vertices along the line should appear and the Edit Vertices toolbar will automatically appear.
➢ On the Snapping Toolbar, shut off all snapping agents (the four buttons to the left of the dropdown menu) EXCEPT Vertex snapping.
[pic]
➢ Go back to the street centerline you have highlighted and hover your mouse over the northern-most vertex until it changes to a hollow diamond shape.
➢ Click and drag the vertex, snapping to the street’s vertex.
[pic]
➢ On the Edit Vertices toolbar, click on the Finish Sketch button.
➢ Save your edits.
4. Take a screenshot of the newly connected subdivision street and insert into your lab document.
➢ Now, we are going to use some editing tools that allow you to ‘trim’ and ‘extend’ line features. Go to the Bookmarks menu and click on Extend/Trim.
➢ Notice that some of the streets extend too far or are digitized too short to intersect the main centerline. You are going to fix these.
➢ Hold down the Shift key as you select the three roads that need to be extended, as shown below.
[pic]
➢ Zoom in to one of the selected streets so you can measure the distance that it needs to be extended.
➢ On the Snapping toolbar, turn on Edge Snapping.
➢ One the Tools toolbar, click the Measure Tool.
5. What is the gap distance between the centerline and each of the three streets?
➢ Go back to the Extend/Trim bookmark.
➢ Go to the Search window and type in Extend Line and click on it when the search results appear.
➢ The Extend Line tool opens. For Input Features, click the down arrow and choose streets. For Extend Length (optional), enter 40 feet. (Since you have the 3 lines selected, the tool will only work on the selected features). Click OK.
➢ The three streets should now extend to the main road.
➢ Near the center of the map, locate the street that is too long and needs to be trimmed. Click this street to select it.
➢ Use the Measure tool, determine the dangle length (length that it needs to be trimmed).
6. What is the dangle length?
➢ In the Search window, search for and open the Trim Line tool.
➢ Trim the features using the Streets layer and your pre-determined dangle length (your trim distance needs to be at least as long as your measurements). Click ok.
➢ Save your edits.
7. Take a screenshot of the extended/trimmed streets and insert into your lab document.
➢ Now, we will change straight lines into curved or Beizer curves. You can also change a curved segment to be straight.
➢ Go to the Bookmarks menu and click on Persimmon Circle. Persimmon Circle is the street in the center of your map.
[pic]
➢ With the Modify Sketch Vertices tool, double-click Persimmon Circle to display the vertices.
➢ Drag a box around the three middle vertices to select them all.
[pic]
➢ Right-click one of the selected vertices and choose Delete Vertex.
[pic]
➢ Click the Finish Sketch button (Edit Vertices toolbar). The street should now only be a two-part line.
➢ Double-click Persimmon Circle to select it, then right-click and choose Change Segment > Beizer. A beizer curve is distributed across the segment, as shown below.
[pic]
➢ Experiment moving the handles to see the effect on the curve as they are moved. Adjust the handles as needed to make Persimmon Circle a smooth curve that is centered within the road right-of-way.
➢ Save your edits and stop editing (On the Editing Toolbar, go to the Editor dropdown menu and click on Stop Editing).
8. Take a screenshot of Persimmon Circle with the new Beizer curve and insert into your lab document.
➢ The next step is to update the city boundary to include the new Miller’s Ranch subdivision, which was recently annexed. You will then use the updated line features to create a polygon for the map.
➢ Open the ArcCatalog tab (within ArcMap) and expand the Lab3data folder (Part II) and the Planning Geodatabase within it.
➢ Drag the City_Boundary feature class into your map.
➢ Change the symbol for the City_Boundary layer to a width of 2.
➢ Zoom to the extent of the City_boundary layer (right click on the layer in the TOC and go to Zoom to Layer).
➢ Turn off the Streets layer.
➢ Open the City_Boundary attribute table. You should see two lines – the original city boundary line and a new line, which includes the recently annexed Miller’s Ranch subdivision.
➢ Select each feature to view it on the map. In the next few steps, you will merge these features into one to represent the updated city boundary. Close the table.
➢ In order to prevent parcels being selected during this editing session, click on the List by Selection tab in the TOC (table of contents).
➢ Make the Parcel layer ‘Not Selectable’
➢ Go back to List by Drawing order.
➢ Start an editing session for the City_Boundary layer. The create features window should appear with a feature template for the city boundary. If this does not happen for some reason, go to Manage Template and create one.
➢ Right-click on the City_Boundary layer and choose Selection > Select All.
➢ From the Editor dropdown menu (Edit toolbar), select Merge.
[pic]
➢ The two features are listed in the Merge dialog box. Click OK to merge the lines into a single line feature and then save your edits.
➢ Now, you will create a new polygon of the updated city boundary.
➢ Drag the City_Area feature class into your map (Planning geodatabase) and create a Feature Template for the layer.
➢ Go to the Customize menu and choose Toolbars > Advanced Editing.
➢ On the Advanced Editing toolbar, click the Construct Polygons tool [pic].
➢ Make sure that the City_Area feature template is highlighted.
➢ Enter 0.5 for the Cluster Tolerance and click OK.
➢ A new polygon should appear! It is now in the City_area layer and was constructed from the City_Boundary line geometry.
➢ Clear your selection and save your edits.
9. Take a screenshot of the City_Area polygon and insert into your lab document.
➢ Next, you will create a new water line for the subdivision using a new tool to create your pipe parallel to the north parcel boundary.
➢ Turn off City_Area & City_Boundary and turn on Pipes & Streets.
➢ Go to the Catalpa Circle bookmark. Catalpa Circle is the small cul-de-sac near the center of your map.
[pic]
➢ Start an editing session for the Pipes layer.
➢ In the Create Features window, right-click the Pipes feature template and choose Properties.
➢ In the Properties, Set the Line_diameter to 4 and Line_Type to Lateral. This will change the defaults for any new features being added.
➢ Set snapping to Vertex & Edge snapping.
➢ Make sure the Pipes feature template is selected.
➢ Snap your cursor to the existing pipe vertex located just north of Catalapa Circle centerline, as shown below.
[pic]
➢ Click the Vertex to enter the first point of your new water line.
➢ On the Feature Construction toolbar, click on the Constrain Parallel tool [pic], then click the parcel edge as show below.
[pic]
➢ Move your cursor and notice that your sketch remains parallel to the parcel edge. Right-click and choose Length.
➢ Enter 125, press Enter and finish your sketch.
10. There is more than one way to finish your sketch. List at least two of these ways.
➢ Open the Attributes Window from the Editor toolbar and notice that the Line_diameter and Line_type are set to the default values.
➢ For the Install_Date click on the value and click on the down arrow. Choose today’s date.
➢ Clear your selection and save your edits.
11. Take a screenshot of the new pipeline in Catalpa Circle and insert into your lab document.
➢ The last thing you will do is move a hydrant that has been relocated. Turn on the Hydrants layer.
➢ With the Edit tool, select the Hydrant feature.
➢ With the Edit tool, move the hydrant to the junction of the new water line that you added above.
➢ Save your edits and stop editing.
12. Take a screenshot of the moved hydrant in Catalpa Circle and insert into your lab document.
PART III: Digitizing from an Aerial Photo
Problem Statement / Background:
You are working for the City of Portland and in charge of digitizing aerial photos to create GIS datasets of roads, buildings, and parks in Portland. Using the aerial photo image in the Lab2 data folder, you will create a new geodatabase and three features classes (roads, bldgs, parks).
**Be sure to save your edits often while working!!!!
➢ Start by creating a new File Geodatabase in ArcCatalog.
[pic]
➢ Within the geodatabase, create a new feature dataset named “Portland”. Choose the same projected coordinate system as the aerial photo image (NAD_1983_UTM_Zone_10N), and for the vertical coordinate system. Accept the default tolerance values, resolution and domain extent. Note that you set the projection for all the feature classes when you create the feature dataset.
➢ In the feature dataset, add a new feature class named “Buildings” that contains Point features. Add a new field named “type” and of Data Type “Text”. Click the Finish button to create the feature class and close the New Feature Class window.
➢ Create two additional feature classes: Parks (polygon) and Streets (line). No additional attributes are necessary for these two datasets.
➢ You need to make sure that your streets do not have any “dangles” (i.e. lines that hang over other lines). To prevent this, you are going to create a new topology layer.
➢ Right-click on the Portland feature dataset and go to New > Topology.
[pic]
➢ Go through the New Topology wizard and create a new topology layer for the Streets feature class. Name it “Portland_Topology” and use the rule called “must not have dangles” (make sure that the Topology Layer is added to your Table of contents).
➢ Open a new .MXD document. Add the aerial photo image (“Neighborhood.tif”) from the Lab3data (Part III) folder, the three new feature classes and the new topology layer. Make sure that the aerial photo image displays below all of the other layers.
➢ Start an editing session.
➢ By default, all snapping types are turned “on” (i.e. activated). For the sake of comparison, let’s start by creating features without using snapping.
➢ Go to the Customize menu > Toolbars > Snapping to activate the Snapping toolbar. Note that all of the snapping types (Point, End, Vertex and Edge) are highlighted, which means they are active. Click on each snapping type to turn them all “off”.
➢ Now let’s create some new street line features. Within the Create Features editor window, first select the “Streets” layer, then select a tool from the Construction Tools section.
[pic]
➢ Sketch several streets, and then check your topology.
➢ Add the Topology toolbar to ArcMap by going to Customize > Toolbars > Topology.
Click on the Validate Topology in Current Extent tool on the Topology toolbar. If any streets within the specified area contain dangles, then a small box will display at each dangle location.
[pic]
Validate Topology in Current Extent
➢ To correct the dangles, zoom in and use the Extend and Trim tools, which are found in ArcToolbox and on the Advanced Editing toolbar (go to Customize > Toolbars > Advanced Editing). Recall how to use these tools from the exercises that you completed for Part II of this lab.
➢ Now let’s improve your digitizing experience. On the Snapping toolbar, turn “on” the snapping function for vertices, edges, and ends.
➢ Continue sketching the remaining streets and validate the topology again.
1. Do you have any topology errors after turning on the snapping function?
➢ Using the Construction tools, digitize the park and building features on the image. Note: when you are creating the building features, be sure to enter in a “type” value (“commercial” or “residential”) for each one. Use the Attribute Table editing tool on the Editor toolbar (highlighted with a black box below).
[pic]
➢ After digitizing all three data sets, go to the Editor toolbar > Stop Editing to close out the editing session. Be sure to save all of your edits!
➢ Open the attribute table for the Parks feature class. You will see an “Area” attribute that has been automatically added (this is true for all feature classes within a geodatabase). The area units are most likely in square meters (because UTM is in meters). However, you’d like to know the area in acres. Let’s add a new field to the attribute table and calculate area in acres into the field.
➢ To add a new field to the attribute table, click on the Table Options button and select the Add Field… option.
[pic]
➢ Name the new field “acres” and set it to Type “Double” (which allows it to contain decimal values).
➢ Right-click on the “acres” field and select the Calculate Geometry option. Within the Calculate Geometry window, calculate the area in acres.
2. How many acres is the park in the map (approximately)?
3. When you are finished, create two maps (alternatively, you can choose to have one map with two data frames)- one with the aerial photo and one without. Both should have the three new datasets. Symbolize appropriately and add all necessary map elements for a presentation quality map. Symbolize the commercial and residential buildings differently. Export your map(s) as a .JPG and insert into your lab document along with your responses.
➢
PART IV: Basic Geocoding using the RLIS Locator and ArcGIS
The exercises you will complete in this section are designed to allow you to spatially-locate data using an address attribute. While it is possible to construct a custom address locator in ArcGIS, we will be using the pre-built functionality provided by Metro’s RLIS Address Locator tool.
Problem Statement / Background:
As a recent hire to Metro wastewater management team, you have been given the job of acquiring and mapping precipitation data points within the Portland city boundary. If this data proves to be useful, it will later be used to create a GIS dataset representing rainfall interpolated across every part of the city, data which will then help managers assess the capacity of the sewer pipe network.
Portland precipitation data is collected by a network operated by the City of Portland Bureau of Environmental Services, and may be found at the HYDRA Rainfall Network website.
➢ Examine the table of precipitation found at the HYDRA website.
1. What data do you think would be most useful for this project? Explain in detail how you would create a spreadsheet from the online tabular data.
➢ Now open the “Rain_geocode.xls” spreadsheet in Microsoft Excel. (Note that this spreadsheet has been pre-formatted to help speed-up the lab exercise. If you wish to try formatting your own version from the website table, feel free.)
2. Identify the attributes that did NOT originate from the HYDRA website table.
3. Explain the significance of the formatting of the attribute titles.
➢ Open a new ArcMap document and add the “Streets.shp” shapefile from the RLIS(STREETS folder. This sets the default coordinate system and projection for the map, as well as provides visual context for the geocoding process.
➢ Next, add the “Rain_geocode.xls” table (remembering that you will only see it in the “List by Source” pane of the Table of Contents).
➢ Finally, activate the RLIS Address Locator by going to File(Add Data(Geocoding(Address Locator Manager, and click the “Add” button.
➢ Navigate to the RLIS\LOCATORS folder and choose “RLIS_locator” from the list. Click the “Add” button.
[pic]
➢ Verify that the RLIS locator has been added to the list of options, and click “Close”.
➢ Open the “Streets.shp” attribute table and find the columns that pertain to information described in the information box at the end of this lab document.
4. List the attributes in the RLIS “Streets.shp” dataset that will be used to geocode the “Rain_geocode” addresses.
Now you will proceed to geocode as many of the addresses from the HYDRA website as possible.
➢ Right-click the “Rain_geocode” table, and choose “Geocode Addresses…”
➢ Select the RLIS_locator and click “Ok”
➢ Make sure the settings match the example below and select an appropriate output name and location.
[pic]
➢ Click “Ok” to start geocoding!
➢ After a few seconds, the likely result will be a window like this:
[pic]
➢ Notice that 7 of the 40 addresses are still listed as “Unmatched”.
Rematching Addresses by Editing
If you do not click “Close” you now have an opportunity to manually inspect and assist the locator, allowing you to find and edit addresses by hand.
➢ To attempt to rematch them (and to see what was wrong and figure out why they did not match the first time around) click on ”Rematch”. This will bring up the Interactive Rematch dialog.
TIP: You may want to expand the Interactive Rematch dialog by grabbing and dragging one of its corners to better work with it on the screen.
If you close the Rematch window, you may access it again at any time by choosing Properties(Data(Review/Rematch Addresses
[pic]
➢ The addresses will be listed at the top of the screen (you may need to scroll across the table to see all of the information). The Status column will show the results of the geocoding—“M” means matched, “T” means tied, and “U” means unmatched.
➢ We’ll examine the first address that was unmatched by choosing “Unmatched Addresses” under the “Show results” option. Locate the first record (Swan Island) in the Show results box and select it (so the record is highlighted in cyan).
[pic]
➢ The most efficient way to fix this record is by clicking “Pick Address from Map”.
➢ Find Swan Island in your ArcMap window. If you need to add a basemap layer to help find it, or consult Google Maps, feel free.
[pic]
➢ You will notice that your cursor is now represented as a small arrow with a dot at the end. Hover this cursor over Swan Island and right-click, seelecting the “Pick Address” option.
[pic]
➢ There is now a point feature associated with these spatial coordinates, and the address has changed from “Unmatched” to “Matched” in the table.
➢ Highlight the next unmatched address (Jantzen Beach). To jump quickly to the suspected location, you may click the “Zoom to Candidates” button.
[pic]
➢ The first thing to notice is the significant differences between the address from the table, and the candidate addresses that the locator has offered. The table address is 1740 N. JANTZEN BEACH CTR. On the other hand, all of the offered candidates look more like this: 11900 N JANTZEN BEACH AVE.
➢ One effective method for checking address results is to use Google Maps. If you enter the table address 1740 N. JANTZEN BEACH CTR. into the Google Maps search bar, the result looks like this:
[pic]
➢ Use the method you just learned to pick a point closer to the right location (remember, you can turn on labels on the Streets layer, or add a basemap for context).
➢ For the remaining unmatched addresses, use the information provided to get the best match results possible.
➢ For example: ObjectID 35 is listed as SW. Macadam Ave., but it doesn’t come up because there is no street number. Look at the name of the rain gage, and then use Google Maps to get a valid street number. Add it to the address field and click “Search”.
[pic]
5. How many of the addresses were you able to match? How many turned out to NOT be in Portland?
6. Export your matched address points to a permanent feature class, make a map for the Wastewater Dept. showing the “Water Year” numbers at each point. Export your map to 200 dpi jpeg and include a copy in your lab document.
How is a streets layer used as a reference database for geocoding in ArcgiS 10.3?
(--From Shellito, Discovering GIS & ArcGIS)
A geospatial layer that represents streets or roads will separate a street into a series of segments, each containing attributes that help in identifying the address-related information for a particular segment. The exact attributes and their names will vary depending on the source of the streets layer, but common attributes include:
• the name of the street,
• the prefix of the street (such as North or West),
• the suffix of the street (such as NW or East),
• the type of street (such as Avenue, Blvd, or Road),
• the range of address numbers on each side of the street (usually separated into four categories—the starting and ending addresses on the left side and the starting and ending addresses on the right side)
• the state and city of the segment, and
• the zip code of the segment (sometimes the zip code on the left side of the street and zip code on the right side of the street).
With this level of detail assigned to each segment, the streets layer can serve as reference data for the geocoding process, which will search for a particular segment to which to match an address. These types of street layers are usually referred to as street centerline files. They are line layers used in GIS, created to model each street as a series of line segments. Street centerline files are common forms of GIS data and are available from a variety of sources. Because they are used for geocoding, companies may have their own proprietary street centerline files commercially available, but there are several free alternatives as well. For instance, the roads file from The National Map you’re using in this chapter is derived from the U.S. Census TIGER/Line files (see Chapter 2 for more about U.S. Census GIS data).
TIGER (Topologically Integrated Geographic Encoded Referencing) files for streets are line layers that model streets as segments with attributes similar to those described above and are sources of reference data for geocoding. TIGER/Line files are created by the U.S. Census Bureau and are freely available.
Some sources of streets data for use in ArcGIS 10.3 include:
• TIGER/Line files of roads (at the county level) can be downloaded for free from the U.S. Census Bureau at line.html.
• Also, your local county or state GIS division may have street centerline may have street centerline files available for you to download or use.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- crm features and functionality
- crm features and benefits
- selling features and benefits
- features and benefits list
- features and benefits examples
- features and benefits selling transitions
- example of features and benefits
- features and benefits
- features and benefits marketing
- features and benefits selling
- difference between features and benefits
- features and benefits in sales