ArcGIS 9 Using ArcGIS Desktop i Copyright © 2006 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 other international copyright treaties and 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. U.S. GOVERNMENT RIGHTS IN DOCUMENTATION The information contained in this document is commercial computer software documentation. Pursuant to FAR Subpart 12.212, Computer Software, commercial computer software documentation is provided on the basis of rights or licensing that are customarily provided to the public. If delivered with ESRI software, commercial computer software documentation is provided under the terms of the ESRI commercial software license. All rights to the commercial computer software documentation not specifically granted in the license are reserved under the copyright laws of the United States. Contractor/Manufacturer is ESRI, 380 New York Street, Redlands, CA 92373-8100, USA. ESRI, Arc View, the ESRI globe logo, Arclnfo, ArcGIS, ArcIMS, ArcMap, ArcGlobe, ArcSDE, ArcEditor, ArcCatalog, ArcToolbox, AML, ArcScene, 3D Analyst, ArcPlot, ArcEdit, ArcScan, ArcReader, EDN, ModelBuilder, Maplex, ArcScripts, Geography Network, GIS by ESRI, the ArcGIS logo, www.esri.com, and www.geographynetwork.com are trademarks, registered trademarks, or service marks of ESRI in the United States, the European Community, or certain other jurisdictions. Other companies and products mentioned herein are trademarks or registered trademarks of their respective trademark owners. ] ! Contents 1 Introduction 1 ArcGIS Desktop quick tour............................2 The ArcGIS Desktop framework..................15 2 Geographic Data Management 63 GIS data concepts.......................................64 An overview of geographic data management................................................75 Finding and connecting to data...................85 Previewing data and maps..........................87 Searching for data and maps......................90 Organizing your data with ArcCatalog.........93 Documenting your database with metadata..............................................97 Creating a geodatabase............................102 Creating feature classes and tables..........107 ArcGIS Cornerstones.................................52 Getting help.................................................57 Ensuring spatial data integrity...................113 Ensuring attribute data integrity.................119 Building relationships between features and tables.....................124 Managing raster datasets in a geodatabase.......................................130 Adding specialized datasets to a geodatabase.......................................134 Maximizing the performance of your database........................................146 1 3 Data Compilation and Editing 151 An overview of data compilation and editing.................................................152 Collecting, importing, and converting GISdata....................................................160 Assigning locations using street addresses or routes.........................165 Starting and managing an edit session.....172 Creating and modifying features................176 Editing connected features........................181 Creating features from a printed or scanned map.........................................190 4 Mapping and Visualization 263 An overview of mapping and visualization........................................264 Adding data to a map................................273 Working with layers...................................277 Setting the map extent and scale..............279 Identifying and locating features................283 Symbolizing data.......................................288 Using attributes to symbolize features.......292 Saving and reusing symbol definitions......296 Creating and storing custom symbols.......298 Adding and editing attribute data...............201 Creating and editing annotation.................207 Creating and editing dimensions...............218 Editing routes and geometric networks.....222 Checking your data for errors....................230 Defining coordinate systems and projecting datasets.............................237 Adjusting and integrating datasets............240 Editing multiuser and distributed geodatabases............................................248 Labeling features.......................................300 Drawing graphics on a map.......................305 Creating a map layout...............................309 Adding and arranging map elements.........313 Creating a graph........................................318 Creating a report........................................321 Creating relief maps and perspective views...............................325 Creating dynamic views and animations ...328 Creating a time series animation...............333 5 Geographic Analysis 339 An overview of analysis in ArcGIS Desktop.....................................340 Working with tabular data..........................348 Adding fields and calculating attribute values.................352 Joining tables.............................................355 Selecting a subset of features...................360 Working with a selected set.......................365 Extracting a portion of a dataset................369 Overlaying geographic datasets................373 Measuring distances between features.....379 Calculating distance over a surface...........383 Additional Resources for Learning and Using ArcGIS Desktop........................423 Index..........................................................427 Creating paths and corridors.....................386 Allocating areas to centers........................391 Modeling flow.............................................395 Creating raster surfaces............................398 Creating a TIN surface..............................402 Deriving data from an elevation surface....404 Calculating surface volume.......................409 Analyzing visibility......................................412 Analyzing spatial distributions...................416 Identifying patterns and clusters................419 IV v Introduction ArcGIS® Desktop lets you perform the full range of GIS tasks—from geodatabase design and management to data editing, from map query to cartographic production and sophisticated geographic visualization and analysis. It is where the core work of GIS occurs. This book gives you an overview of the ArcGIS Desktop system and shows you how to access the basic functions of the software. This chapter introduces ArcMap™, ArcCatalog™, and ArcToolbox™—the basic framework of ArcGIS Desktop—including the structure of each, the functions each performs, and how they're used together. It also provides insight into the underlying design concepts of ArcGIS, and describes where to get help. Chapters 2 through 5 get you started with the specific tasks you'll perform as you use ArcGIS. They're organized around the major functional areas of the software. Each chapter contains an overview and then describes common tasks. The book covers the functions most people will use, plus a number of specialized tasks that you may need for specific applications. It illustrates the various tasks you can perform, shows where to access them in the user interface, and shows how to get started with a particular task using basic or default settings. The tasks presented here, plus many additional tasks and functions, are described in detail in the Desktop Help system (discussed at the end of this chapter). In addition to providing an overview of ArcGIS Desktop, this book can be used as a quick reference to the interface and to common tasks. The book includes functions available in Arclnfo®—the full-function ArcGIS Desktop product—as well as in the Arc View® and ArcEditor™ products (these products are described later in this chapter, as well as in the book What is ArcGIS 9.2?). Using ArcGIS Desktop 1 • Introduction ArcGIS Desktop quick tour Most of your G1S work will revolve around maps, so exploring a map is a good way to start getting familiar with the software. The following brief tour introduces the two main integrated ArcGIS Desktop applications—ArcMap and ArcCatalog—along with Arc Toolbox. You'll see what they look like and get a sense of what they do. ArcMap is the application you'll use to make maps, edit data, and display the results of your analysis. ArcCatalog is the application you'll use to search for, preview, and manage your geographic data. It's also used to build GIS databases. You'll use the tools in Arc Toolbox for processing geographic data—both to create databases and to perform geographic analysis. (The next section, 'The ArcGIS Desktop framework', describes ArcMap, ArcCatalog, and Arc Toolbox in more detail, and introduces the ArcGIS Desktop extension products.) ArcGIS uses a standard Windows* interface, for the most part—many buttons will be familiar, and many menu options are found where you'd expect them to be (Open, Save, and Print are found on the File menu, Copy and Paste are on the Edit menu). To begin the tour, select the ArcGIS program group from the Start menu, and select ArcMap. When prompted, click the option to open An existing map, select Browse for maps from the list, and click OK. Browse to the UsingArcGISDesktop folder under the tutorial data distributed with ArcGIS Desktop (the default location is C:\ArcGIS\ArcTutor). Select MexicoPopulationDensity.mxd and click Open. DtfyS 0 X i ■ - $ [HTÖ6ÖÖS »B0QQDO • «I»-3 Q B a ~3 J. * » a vr What you're looking at is a map layout view of the population density of Mexico (in 1990). Each state is color-coded based on the number of people per square mile. The rulers along the top and side of the view show you the size of the map were you to print it—in this case 8.5 x 11 inches. The map displayed on the screen is not a static image of a map (as a printed map would be), but rather is interactive—you can change the data that is displayed, change its appearance, change the scale of the map by zooming in or out, and more. Before continuing, if others in your organization will be running through this tour, make a copy of the map. Click the File menu and click Save As. Give the copy a different name— this is the map you'll be working with. The table of contents on the left side of the ArcMap window controls which map themes, or layers, are displayed on the map (right now the boxes all have check marks in them indicating all the layers are displayed). Layers higher in the table of contents are displayed on top of lower ones. Click the check box for Rivers to turn it off so it's easier to see population density. MM f t* lw S*i"n loot tt* 3iBI e > ■ • * |i warn 3 »BBOBO0 • .is-3 a b a Uncheck this box to turn off the layer The display window (the right-hand panel) is currently showing a layout view. Layout view is where you can see what a map will look like when it's printed. It's also where you add map elements, such as legends, scalebars, titles, and text, and create the map layout. The map is missing a north arrow. Click North Arrow on the Insert menu, select a north arrow from the panel that appears, and click OK. 10 -13 Select a north arrow from the palette.... + ESRI Not* 1 A ESRI North 2 ESRl North 4 N 1 I ESRI Ncvth 5 ESRI North 7 r ESRI North 8 ESRI North 3 N ESRI North E 'i f ESRI Norths N 2 3 80 Using ArcGIS Desktop 1 • Introduction The north arrow appears on the map, surrounded by a box—drag it above the legend at the left side of the map. -urn Drag the north arrow here To print the map. click Print on the File menu. To make sure the whole map fits on the page click Scale Map to fit Printer Paper. You may also need to click Setup to change the printer paper orientation to landscape. -•-. im JIB r I—3 I 3 CM* /wre -3 1=—3 JLSJ I 3 O *■*•'»• 3 I "-■—™ I I «•••»»»« off " "a and c/icfc here While layout view lets you add and arrange map elements in preparation for printing, much of the initial work with a map—such as which layers you display, and which color schemes and symbols you choose—is done more efficiently in data view. Data view lets you focus exclusively on the map body—the geographic data. To switch to data view, click Data View on the View menu. Switch to Data View Now the geographic features fill the screen and the map elements no longer appear. However, you can see that the data content from the layout view is all here. If you go back to layout view, all the map elements will still be present. Suppose you want to emphasize the country boundary. In the table of contents, right-click Mexico Bnd to display the context menu for that layer (this menu gives you options for working with the layer) and click Properties. The Layer Properties dialog box gives you options for how the layer is displayed. Right-click... B mmm 1 • n us » in-*- 2 im*^m>mm- ....and dick Properties 4 5 1 • Introduction Using ArcGIS Desktop Click .he Symbology tab. and click the button showing the current symbol. The Symbol Selector dialog box appears this is where you set and modify the symbols you use to draw features, such as line colors and widths, area fills, and so on. Set the outline width to .. then click Outline Color and pick a color that is easier to see. such as a dark red or brown. Click here to display Ihe Symbol Selector dialog box „ set tho width lo 2 .. then click here to display the color palette It would be helpful to show major roads on the map, but they"re not in the table of contents you have to find the roads dataset and add it to the map. If you knew exactly what the dataset is called and where it is located on disk, you could use the Add button and browse to the file. If you need to search, though, use AreCatalog. The Add button The AreCatalog button Click the AreCatalog button (or open AreCatalog from the ArcGIS program group on the Start menu). The AreCatalog window opens. In the Catalog tree view (the left-hand pane) navigate to Mexicodata under the Using_ ArcGIS Desktop folder. There are two possibilities listed: click mcx roads and click the Preview tab. This looks like too many roads to display for a map of the entire country. ClKktho mex_roads dataset -Hi j - a* - ... and click the Preview tab 6 7 Using ArcGIS Desktop Now preview the other dataset: roads. By clicking the Metadata tab you can view ; description of the dataset. The metadata confirms that thts is major roads. ft. 4 • %F X FS"*5 3 / f n *■ C/«tf me roads -I—f dafasof Major roach tn Moxko ■m)......■■ and click the Metadata tab To add roads to the map, drag the dataset name from the tree view in ArcCalalog and drop it anywhere on the map display in ArcMap. Click and drag the dataset horn ArcCalalog. .to ArcMap 1 • Introduction When you drag the roads onto the map they're drawn automatically, using a default symbol. Click the roads symbol in the ArcMap table of contents—this is a shortcut to the Symbol Selector dialog box. Set the line width to O.I and pick a color for the line from the color palette. (The default symbol color is different each time you add a dataset to a map so if you added roads again they would draw in a different color. Once you save the map. the symbol specifications are also saved.) Click to open the Symbol Selector - - - J - Md Change the line width to 0 1 Kach layer has an attribute table that contains the descriptive information associated with each feature. Open the attribute table for the states by right-clicking States in the table of contents (to open the context menu) and clicking Open Attribute Table. Right-click 8 9 Using ArcGIS Desktop 1 • Introduction The information in the table can be used to symbolize features (the states are color-coded on the map based on the values in the population density field). You can also explore and query the information in the attribute table as you would in a spreadsheet. You could, for example, get the mean population density for the states, and then find the states having a density greater than the mean. Scroll the table to the right, if necessary, right-click the column heading POP90SQMI (1990 population per square mile), and select Statistics. Right-click the field name. . ArcToolbox includes a wide variety of data management and analysis tools. Expand the Data Management Tools toolbox (by clicking the plus sign next to the toolbox) then expand the Layers and Table Views toolset. Open the Select Layer By Attribute tool by double-clicking it. J • «l 3 - - a 0 torgon 2 Parson 3 Peergon 4 »«.gon 5 Paygai 6 Pcrrgon 8 Pavson 9 Pompon ■ I .-■ecc: 322 27896191 10547 762 307X366 2110 7S1 11715793 4645 56S 6196664 22961 931 8291 706 5'235 Bm CeJTomje Kent Ban Caetarei Su Memo • jmi: eearlea Guarwjafc Oueretero ae Arteege rtsaego Mcfoecan oe OctffO Ofcdco OeMo Federal 16606S5 000000 62 317764 000000 11 624643000000 79 5 302669 tJUXlOO 170 719659000000 341 3982593 3X000 336 1O5123S00O0O0 236 i awej nnnron 235 3546199 000000 153 9815795 000000 1191 8235744 000000 14426 Recaa l«| 4 | 0 »|n| ShewfAf Saeeceed | Record! |0 cu a 32 Seemed) X Qjetet»H»ld The mean density for the states is about 633 people per square mile. Close the statistics box before going on. 11*1 Out 32 Hniun 11 20412 •un 14426.05 i 632949036 SKMDtWm 2487 800146 L1 Frequency DMIiltH.loii 11.2 3467 1 6923 0 103790 13634 9 Double-click to open Use the drop-down arrow to select States as the Layer Name. Use ArcToolbox to find the most densely populated states. Open ArcToolbox by clicking the "Show/Hide ArcToolbox Window" button. The ArcToolbox button 1» r— !— l^^^^^a^^^^^^^^^^^^^^ * B • B * |.sjat» 3 » Layer Name a Table Vow f OB <7 -oa* 0 Rrvers -- .»« -- -Vt: r.-.: - ' <7 Cereal Amenta 8nd ^ ISA end r 3 ! Cftc* and setecf tfje Scares /ayer I c— I & J | Shc~Hert>» | 10 11 Using ArcGIS Desktop Click the SQL button to open the Query Builder. Create a query to find states having a density greater than the mean by double-clicking "POP90 SQMI" in the Fields box. clicking the "greater than" (>) button, and typing 633. Double-click. ...then click >.. and type 633 Click OK to close the Query Builder—your expression appears in the box on the Select Layer By Attribute dialog box. When you click OK on the dialog box, a status box appears telling you the command has been completed (you can close this box) and the states having a population density greater than the mean of 633 people per square mile are highlighted in the attribute table. ™ \*m-- A«A | NAM POP1W4 |POPM SOM : z-s.-yr • Polygon 28002 325 Bm C«4lorr« Norte 27996191 Bna Catloma Su 1660855 000000 62 317764 000000 11 2 Polygon 4 Polygon 10547 762 Naytrf 3073638» '.Mm 2110 761 Agmn:4««nm o^*e*j uuuuuu /» 5302669 000000 170 719659000000 341 — - i Polygon 6 ^Ofygcr 11715713 Wu»m»««d 4645 915 OuanMroeSAftnga 3962593 000000 336 1051235000000 238 • =o*gcn S-SS84 *oago 22961 931 Wcnoacan He Oomo 1886366 000000 235 3546199000000 153 9 Polygon 8291 708 Usm 9815795000000 1191 10 ="»<*n 51205 CWoIMM 82357*4000000 14428 H 0 »|»l| ShoKfAT SabcMd Racer* 12 old 33 Sahdad) Many of the tools in Arc Toolbox are also available through other parts of the interface. (In ArcMap. if you click Select by Attributes on the Selection menu or click Options on the attribute table window and click Select By Attributes, you get a similar query builder dialog box.) Arc Toolbox collects all the tools in one place, and gives you a direct, common interface for using them. 1 • Introduction If necessary, click the refresh button on the ArcMap window to see the selected states highlighted on the map. At this point, you can close the ArcToolbox window and the attribute table window. The Refresh button To get a closer look, zoom to the selected states by right-clicking States in the table of contents, pointing to Selection, and clicking Zoom To Selected Features. ■nuu > 1» »■ t m> [«• gw as • * - .r~3 - - a Right-click.. click Selection ...and click Zoom To Selected Features 12 13 Using ArcGIS Desktop The map zooms in to the selected states—those with a population density greater than the mean. 9t 1» f »~l When you're done exploring the map, click File and click Exit. When prompted whether to save changes to this map, click No (unless you made a copy of the map as suggested earlier and want to save your changes). The goal of this overview tour was to introduce the core components of ArcGIS Desktop— ArcMap, ArcCatalog. and ArcToolbox—and show how they work together. You'll learn more about each of these in the next sections and in Chapters 2 through 5. Step-by-step tutorials for learning specific parts of the software are found in the Help system (in the -Getting more help' topic under "Getting Started'). See also 'Additional Resources for Learning and Using ArcGIS Desktop' at the end of this book. 1 • Introduction The ArcGIS Desktop framework ArcGIS Desktop is structured around ArcMap, ArcCatalog. and ArcToolbox. This section describes each in more detail, and presents the ArcGIS Desktop extension products. Using these together, you can perform the full range of GIS tasks including geographic data management, data compilation and editing, mapping and visualization, and geographic analysis. ArcMap ArcMap is the central application in ArcGIS Desktop for display and manipulation of geographic data, including mapping, query and selection, and editing. ArcMap lets you create and work with map documents. A map document is composed of data frames, layers, symbols, labels, and graphic objects. ArcMap has two main windows you use to work with map documents: the table of contents window, and the display window. The table of contents lets you specify the geographic data that will be drawn in the display window, and how the data will be drawn. The display window can show either a data view (just the geographic data) or a layout view (a page showing how the data and any map elements—such as legends—are arranged). You'll read more about these windows later in this section. Table of Contents Display Window Data Frame name-- Layer Symbol Graphic object Label 3F~3 ■ ' b a- a- J.- Map documents A map document is a file stored on disk. When you start ArcMap you either create a new map document or open an existing one. You add data, change the way the data is displayed, and create new data while working in the map document. When you save a new map document, a filename extension of .mxd is appended to the file name. When you reopen the map document, it looks as it did when you last saved and closed it. 14 15 Using ArcGIS Desktop 1 • Introduction 16 Data frames The container in a map document that holds data is called a data frame. You can think of a data frame as a "window" onto a patch of the earth's surface, scaled down to fit in the ArcMap display. You display and work with the data in a data frame in ground units, such as feet, meters, or kilometers. When you open a new map document, there is one data frame, named Layers. In many cases, your map will only need a single data frame. Complex maps may require several data frames. Data frames are both a way of grouping data in a map document and a way of showing multiple maps on a single layout page. One common use of this is to show different views of the same area. Another common use is to use one data frame to show a map of the area of interest and use another data frame to show a reference map of the wider area. You add data frames to a map document from the Insert menu. 0» 6« f" aeeaooe « bis "3 :/. *■ • q V lias— j>ai[i-2J«-2=r o ____ lam f*~. '--' + -3fio-3 ■ / d a- *- J.- A layout with two data frames showing two different views of the same area. Both data frames have the same map extent. a a g* □ q □ □ • •no~E bb a or Oat • k ;- u ' A . r.i> r- f. 1.1: t. r. 11:1««™'.«™««™! ~3* ' a &• *• J.- — • A layout with two data frames showing the area of interest and an inset area reference map. The data frames have different map extents. Layers Each data frame contains one or more layers that you create by adding datasets to a map document (a dataset being a file, or set of files, stored on disk containing GIS data—the basics of GIS data are discussed in Chapter 2. 'Geographic Data Management'). Each dataset. and hence each layer, contains geographic features of the same type—roads in one layer, rivers in another, county boundaries in a third, and so on. Layers you've created in a map document are stored with the document when you save it, and appear when you reopen the document. A layer contains information about how to display the dataset, but not the data itself. Rather, a layer references the underlying dataset wherever it is stored on disk, so ArcMap doesn't have to store a copy of the data in each map document the dataset is added to. Any changes to the underlying dataset automatically appear in any of the layers created from the dataset. You can create as many layers from the same dataset as you want in a single map document, in the same or in different data frames. For example, from a dataset of counties you could create one layer that shows the county boundaries with a thick red line and no fill color, and another layer showing the counties color-coded by population. You could add the same counties dataset to another map document to create a layer showing the counties in a solid green color. The two layers in the map above—County boundaries and County population—and the layer in the map to the right— County base—were all created from (and point to) the same counties dataset. You can also create layers that contain a subset of geographic features from the dataset (this is known as a selected set). For example, from a layer of roads, you could select just the major highways and create a layer showing these. Creating a selected set does not create a new dataset—it only marks the particular features in the underlying dataset as "selected." The layer created from the selected set contains the selection definition, so appears when you reopen the document. 17 Using ArcGIS Desktop A layer in a map document can be saved as a "layer file" (it's named with an extension of .lyr) that can be added to other map documents. A layer file is essentially a map document layer that has been saved to disk. As with a layer on a map. a layer file stores the name and location of the underlying dataset along with the symbol settings for drawing the layer and the definitions of any selected sets (it doesn't store the GIS data). Unlike adding a dataset to a map, when you add a layer file to another map document it appears the same as on the original map document from which it was created—the features are drawn using the same symbols, and any selected sets are implemented. (You can, of course, modify the layer once it's added to the new map document.) You can also export any layer in a map document to create a new dataset. You'd most likely do this if you've created a selected set of features and want to save only those features to a new dataset—perhaps to send to another ArcGIS user, or to use in analysis. Unlike a layer file, the new dataset contains the GIS data, but no symbol settings or selected set definitions. Layers have an associated attribute table that contains descriptive information (obtained from the underlying dataset) about the features in the layer—for example, the name of each park, its size, and which agency maintains it. Each layer has an associated attribute table that displays descriptive information about each feature in the layer. Symbols To display geographic data and to better communicate the information on the map. graphic symbols are used—lines, colors, patterns, and so on. Symbols are a set of properties that get applied to a particular feature or geographic object. 1 • Introduction You render the features in a layer by assigning symbols, such as blue lines for rivers and a green color fill for parks. You can also symbolize features based on descriptive information in the layer attribute table. For example, you could symbolize parcels by assignine a color to each landuse code: all residential parcels yellow, all commercial parcels red. all vacant parcels gray. 0 0» b • b * mm ■J. V -B. o • a - :: (#r=T "3 f»~E » / ■ a. - J. - Landuse can be mapped by assigning a different color symbol to each landuse category—parcels are drawn using the color for their assigned landuse value. When you add data to create a layer, or when you draw a graphic object, a default symbol is used. You can modify the properties of the default symbol or apply another predefined symbol from a palette (and then modify it if necessary). • • ■ • tax Ob A • Parugcnl • Hogor.1 • • o Ocugonl XndSiw.1 ■ A €> S*— 2 • • m d -liSil m poo (ox ar. mmm aaajaaa ■ :nesm ■ IIIITSBIIII '■■■■■■■■■■■a WCOIOmrBSB cats as cm 3» 220 O00O5CW5D5HS You choose symbols from the Symbol Selector dialog box. You can use a symbol as is, or modify it. You can add symbols to the palette by opening additional styles. ArcMap includes a number of styles. You can access these—and the symbols they contain—when you're making a map or when you're creating your own symbols. 18 19 Using ArcGIS Desktop I Predefined symbols are stored in styles. A style is a folder that contains other folders, one for each symbol type—all the line symbols in one folder, all the color symbols in another, all the marker symbols in a third. Many industries, such as forestry or real estate, use standard symbols on their maps, so styles are often specific to a particular industry. ArcMap provides a number of styles for various industries. You can save any symbols you modify in an existing or new style. You can also create new symbols entirely from scratch and store them in a style. T]*j _| Slmfani _| Lra Pacta. _| No»tao-i _J 5c*B«i _J SuklaB _J OaaRa*. _J Bactpmfc _|C*». _j nsm _| f—S^x* _J -»:•»: Ocugori2 HrdS«an2 il OcUgon3 RndS * * ".Li 5l«5 Vou access styles—and the symbols they contain—via the Style Manager. Labels You can modify any of the existing symbols, or create your own, using the Symbol Property Editor. Labels are used to identify geographic features on your map. such as labeling streets with their name. There are several ways to create labels in ArcMap: • You can label features with their name or other information from the layer attribute table by specifying a field in the table. Text labels are placed automatically and can't be moved or edited individually. • You can create annotation features. Annotation features are usually associated with individual geographic features and can be placed and edited individually. When you move a feature, the annotation automatically moves with it. Annotation can also be stored as a separate dataset and added to different maps. • You can label features using graphic text. Graphic text is placed and edited individually, but is not linked to features. It is often used to label one feature, or a few. Graphic text is stored only with the map document in which it was created. 20 1 • Introduction Feature labels (street names in this map) are created for each feature. They're placed automatically and can't be edited individually. * 3 "3 »—.• k Q« O' y» • Ch1c Center \ i : i. » / a a* »• J.- _L' Graphic text is used to quickly label individual features. It can also be used to create labels for general locations not represented by specific features, such as the civic center area shown on this map. Graphic objects Graphic objects, such as circles or boxes, are used to highlight the data that's displayed in the map document. Graph.c objects, along with graphic text, are also used to create map elements, such as t.tles. neatlines. legends, scalebars, and north arrows, that describe the information on your map. The title, north arrow, scalebar, and legend are all composed of graphic objects, as is the blue circle on the map. 21 Using ArcGIS Desktop 1 • Introduction The ArcMap interface The ArcMap interface consists of the two main windows—the table of contents and display windows—along with a number of standard and specialized toolbars and menus. The table of contents The table of contents lists the data frames and layers in the map document, and shows you the current symbols for each layer. Use the check boxes to turn layers on and off. Drag layers up or down in the table of contents to change the drawing order (layers higher in the list draw on top). b«a • ■* ° • J !/*•□« Click and drag a layer to change the order. □8 I, .. O- A- ■ 3Fö~3 a / g A- d. The table of contents is also where you control how layers are drawn, via context menus (right-click a layer name to display the menu). You can change the colors and patterns used to draw features, label features, and more. The tabs at the bottom of the table of contents window present different views of the layer list. The Display tab is the default, and is the one you'll use when displaying and querying data—it shows a simple list of all the layers, organized by data frame (group layers are used to manage several layers as a unit). The Source tab is useful when you're editing data—it shows the layers organized by where their underlying dataset is stored (either in a folder or a geodatabase). It also lets you see other nonlayer data stored with your map. such as tables not associated with a geographic dataset. The Selection tab gives you an overview of selected subsets of data that are currently active, and lets you set selectable layers. Data frame — \- mnm* Layer— Group Layer— - B fmuttrv a - b •ubk'acCM - B • - B vfj>w - B tmaujon» □ IC« □ U •<* now NC Folder Geodatabase The Display tab On** - : »:-«-«-> - B BöcJMgi • ■ Vjn.OutM - - 8 C;Mrt»rtl«Ti«rtSt - a The Source tab Checked box indicates in Si layer available for selection - - B ■ Bold indicates layer having - B »«*»_*•*!>«■«•<') a selected subset □-~-»*"» The Selection tab The display window The display window displays the layers and graphic objects in the map document. It has two views that you switch between: data view and layout view. Data view shows you one data frame at a time, including the currently displayed layers in that frame, along with any labels or graphic objects drawn inside the data frame. In data view, the display window is the data frame—the layers in the active data frame appear in the window. Layout view shows you all the data frames in the map document and their contents on a layout page along with map elements you've created, such as titles. legends, and scalebars. In layout view, the data frame is embedded on the page—the frame itself is treated as a graphic element, as reflected by the context menu for the data frame on the layout page. It can be moved, resized, and so on. Data View Data view is mainly where you do map display, query, and editing. You set the scale and map extent to control the geographic area that's displayed. You can interactively zoom in and out and pan the data (you can also set the map scale explicitly, in the scale window). You work with the contents of the data frame in ground units, such as feet or meters. Layout view is where you compose page layouts for printing and publishing. You work with the layout in page units—usually inches or centimeters. Layout view activates tools for navigating around the page, for adding standard map elements, such as legends and scale bars, and for arranging the map data and map elements on the page. Simple map elements, such as titles and neatlines, are associated with the map page. Other map elements, such as legends and scalebars, are associated with a data frame and are dynamic—they change to reflect the layers and the map scale displayed in the data frame. 23 22 99 Using ArcGIS Desktop When /n /ayour 2 * h < ^ w'ew. you can add map elements from the Insert menu. 3 rlMd'i. 2 > - □ KM _ ■a* ES m (M- iae qqdo b »l»~3 a a a -;—3—,....«—;—:-3 IFm ■ / 0 A- »- ^- — * While in layout view you can still work with the data that's displayed in a data frame just as you do in data view—zoom in and out. pan, turn layers on and off, change symbols, and even edit the data. Only one data frame is active at a time. The active data frame appears in bold in the table of contents. When you add layers to the map they're added to the active data frame. In layout view, the active data frame is outlined with a dashed box—you need to make a data frame active before you can work with the data in the frame. To make a data frame active, click it in layout view or right-click the data frame name in the table of contents and select Activate from the context menu. «_HJ«ji t» 1« f I« imam IM 9* c*am F7*> 3 .J *.«□ *? a a a q a o □ « -i»~3 am a Active data frame : 9» 1* <— trmn Jamr, loa »TO- DM □ * b « ■ ♦ PTS" aaa qqo□ • *f~~"3 ba a .j3j*j| 1 -J. V □ * A * e« The acf/Ve c/afa frame /s highlighted in bold in the table of contents and outlined with a dashed line on the layout page. OrMnvaMf "—» ««"« J- ... — 1Fö~3 a/o A- J.- ±- Click the data frame on the page to make it active, or right-click the data frame name and click Activate. 24 1 ' Introduction Toolbars and menus Arc Map has several standard toolbars you use to manage the map document and navigate the map display. These are displayed when you first open ArcMap. The Tools toolbar contains tools that let you zoom and pan the geographic data (the data contained in the data frame). It's active in both data view and layout view. The Layout toolbar contains tools for navigating the layout page—it's active only in layout view. 25 1 • Introduction Using ArcGIS Desktop A number of specialized toolbars are used for specific tasks. These are accessed from the View menu (point to Toolbars). -Old -- * |"« d *»- • => *7 —1 - - a •-- Each context menu includes a Properties option, displayed at the bottom of the menu. By clicking it you'll open a Properties dialog box. Symbols and labels are properties of a layer. Layers have other properties you can access and modify, using the various tabs on the properties dialog box (as do data frames and graphic objects). For example, transparency (on the Display tab) can be used to let layers drawn underneath show through. Additional toolbars are available from the View menu. You use context menus in ArcMap to access the setting, properties and otherations for data frames, layers, and graphic objects (for example, you open a layer s attribute table from the context menu). Right-click a data frame name or layer name in the table of contents to display the context menu. Right-click a graphic object ,n the display window to display its context menu. Right-click a component to display the context menu. Click Properties to display the properties dialog box. D »*»» p E—s-iinPii ■ " s 0« <*"• ** -JXn OK i__ S3 »»* ■MX «*♦> 1 ; ■ - i — ~ «*•»»*> • Properties dialog box for a layer mm/mm. -idjju 3. t« r—" yuan !«* own- 0* * * ■' ■■■ • • -I □ - - a - a *— Se( a transparency level for the flood zone to reveal parcels drawn underneath. .ijj«j ?bijEt^,^nifflB ^1 Gww*\SB|tjMi |l r Bm» H»Tc« Ijm i—i M. Ml S So»»ii^*«>«b«i»l»»mcn>i«»« ■ / a a ArcMap tasks ArcMap is used to display geographic data and create maps, interactively query and explore data, and edit geographic data. Display data and create maps To display geographic datasets, you'll add layers to and remove layers from the map document, change symbology and labels, zoom and pan on the map extent, and so on. This work will be done in data view. When you want to make a map for printing or publication, you'll switch to layout view, add map elements, such as titles and legends, arrange the data frames and map elements on the page, and then print the map or export it to a standard graphic format. Displaying data and making maps are discussed in Chapter 4. "Mapping and Visualization'. Query and explore geographic data A map document can be thought of as an interactive map that lets you not only display geographic data, but also get information about the features in the document. The Tools toolbar includes the Identify tool that lets you point to one or more features in the display window and list the descriptive information (contained in the layer attribute table) for those features. It also includes the Find tool that lets you find and zoom to specific features or locations. ArcMap includes several ways to select a subset of features—you can point to one or more features on a map or draw a box around them, you can select features based on their spatial relationship to other features, such as parcels within 100 feet of a park, or you can select features using their attributes—for example, you can select all the vacant parcels in a parcel layer. Query and selection is discussed in Chapter 4. "Mapping and Visualization', and Chapter 5. 'Geographic Analysis'. 27 26 1 • Introduction Using ArcGIS Desktop ArcCatalog The ArcCatalog application helps you manage your GIS information—G1S datasets, map documents, layer files, and much more. GIS data comes in a variety of data formats and file types. There is also associated descriptive information about the geographic features (stored in tables) and information about the datasets, such as when the data was collected, when it was updated, and how accurate it is. Much of this data and information you'll compile from various sources. ArcCatalog was designed to help you organize and manage your geographic data in all its various forms. ArcCatalog has two main windows in which you work: the catalog tree view, and the display window. The parcels within 100 feet of a park have been selected and are highlighted in blue on the map. Once selected, you can create a layer from the features or you can export the selected features to a new dataset. ArcMap also includes tools to summarize or get statistics on attribute values, such as the minimum and maximum parcel sizes. These tools are available on the layer's attribute table. Edit geographic data ArcMap is where you create new features in a dataset, or modify the shape or location of existing features. You also add and edit attributes in tables, and can create editable map text (annotation). Most of the time the data in the map document is essentially locked—you can change its appearance (via layers on a map) but not its shape or position. To delete features or move a feature's coordinates, you start an edit session. You open the edit session, specify the layer to edit, create or modify features, save them, and close the edit session when you're done. Even though you specify a layer on the map to edit, the edits are made to the underlying data source. Editing is discussed in Chapter 3, 'Data Compilation and Editing'. Use the Editor toolbar in ArcMap to start an edit session and interactively create or modify features. Catalog Tree Display Window _1T_ -11' Viewing data in ArcCatalog ArcCatalog displays folders, databases, and other items for which connections are currently established. When you open ArcCatalog. connections are automatically established to folders on your local disk drives. You can add connections to subfolders to make them easier to access. You can also add connections to databases on shared database servers or on the internet. Once a connection to a folder, GIS database, or GIS server is established, you can browse through its contents with ArcCatalog. You can look for the map you want to print, draw a dataset, examine the values in a table, and find out which coordinate system a raster uses or read its metadata document to learn about how it was created. When you close ArcCatalog. all the current connections are retained and are available the next time you open ArcCatalog. The connections are also available when browsing for data in ArcMap and Arc Toolbox—even if ArcCatalog isn't currently open. (You can also establish new connections when browsing for data in ArcMap and ArcToolbox.) The ArcCatalog interface The Catalog tree view shows the current connections in ArcCatalog. Add and remove connections using the Connect and Disconnect buttons. The tree view shows you how your data is organized in folders and subfolders. and lets you reorganize it. Right-click a top-layer folder, point to New, and click Folder to create a subfolder. The tree view is also where you perform basic data management tasks, such as moving, copying, deleting, or renaming datasets and files. 29 28 Using ArcGIS Desktop 1 • Introduction Right-click an entry in the tree to copy, delete, or rename it. Drag a tree entry to move the data to another folder. Connect Disconnect « < • o ft Right-click an entry to display the available options. Use the New option to create new Catalog tree entries. The Preview tab displays the geographic features or the table for the selected dataset. Use the drop-down menu at the bottom of the window to select which to display. Preview mode is useful for perusing datasets before adding them to a map in ArcMap or processing them using the tools in Arc Toolbox. It's also a quick way to view the resulting processed dataset. (Open ArcMap or Arc Toolbox directly from ArcCatalog using the buttons on the toolbar). The Preview tab The display window shows information about the currently selected entry in the catalog tree view. The information that appears is controlled by the three tabs at the top of the display window. The Contents tab displays the contents of a folder or geodatabase as a list, icons, or thumbnails of the datasets. In this mode. ArcCatalog lets you quickly browse and find particular datasets. Use the drop-down menu to specify the feature geography or the attribute table The Metadata tab displays the documentation for the currently selected dataset. including the geographic parameters, the source information and permissions for use. processing history, attribute value definitions, and so on. You can display the information using one of several standard metadata formats, or create a custom format. A set of buttons on the toolbar allows you to create and edit the metadata text. Select the metadata style Use these buttons to create and modify metadata text «j. **n >fl < t. • o « ■* pariujMlytoa Ska i •!«" '-"'■■■■■'•->■ 2 WWni.iilt«.*ntid«iMii»l 3 %»mi^l)n' 30 31 Using ArcGIS Desktop 1 • Introduction Why use ArcCatalog to manage ArcGIS data, and not Windows Explorer? Unlike other data (a photo or a Word document), geographic datasets often consist of a set of files, rather than a single file. When listed in Windows Explorer, the datasets appear as a list of system folders and files. ArcCatalog displays and manages the datasets as single entities. Accessing them directly in Explorer—for example to delete or copy them—or in another program can corrupt the datasets; use ArcCatalog to delete, copy, rename and otherwise work with the datasets. » I* *e- Se to* «*■»■ U* ft. ■\>gX'SfgHffi':ft;«l»PilpT « «5 I "3 4 £ rh \■ » - -y- ■ Hra =<•»— - <£> .agaurjor. a« a »6* baa**) .■( . ■ a-OO ♦ V «. *f" a—-« 9 iw>V_area.#e TJ] «' ConW. |tSr~- UMu| ♦ * IUL» /n ArcCatalog the datasets appear as single entities with identifying icons. •k cat mm '•"»«•• to* ft* J«ataa Jra-jtuoV ICOttV-WMROS I Cdtor I Geoccrong ll TracWg>n*« in* ;j bardrv aV ajbanlarr *m bn/vMrv fCn ajso^da-y #a i»-x «. jfl* HUUI.M _«a*> 3 «uoy.ara»on •ajcuBV.araa «r •jcuav.araa tan «j«u»/_»ee *» 3j«uoV.araa#eo aj«jcy.»»a«a •J-agtwe*' -. - I -3 •i abler*,) ©•»>—. /n Windows Explorer, the datasets appear as system folders and files. The icons in ArcCatalog show you at a glance what kind of dataset it is—for example, shapefile. coverage, or layer file. ArcCatalog also lets you preview the data, using thumbnails. Right-clicking a dataset in the Catalog tree provides additional operations not available in Windows Explorer, such as Export, and lets you access the dataset's properties. Et. b* I" 4° to* Bf"»- BK> ft. 4 * %PX ». ~ 1 &<■•□•)?«« • o ft - jMMm - -a —.- . - - i --J — ■w* 31 a) -oaoi - WW a ar< ■kM SI 9oN?or mm ;J krM*J| v-r e> elevelxri.*- a«".t« B "uh.araa «i SSonjtuoV TH ■actnacbl 43' aftCtot* - 4 I eWttvehpl =5 ArcCatalog lets you preview datasets as thumbnails. The Catalog tree shows the workspace structure and contents. Using ArcCatalog to compile data In addition to using ArcCatalog to organize, preview, and document data, you use ArcCatalog to implement database designs and compile G1S data. ArcCatalog is where you'll import datasets from other GIS formats. B» 6» »»- S» la* »»■ a* Hi*■! |C^»a»»«'u»rti«Ma.Si«t«o\fi.a«i.*.'J».'Ciii JuDe ,* ^1 -iOJ«J L/se ArcCatalog to import datasets. 32 33 Using ArcGIS Desktop 1 • Introduction ArcCatalog also lets you prepare datasets for editing and updating—you can set up rules so that edits to one feature class are reflected in another or that moving one feature moves associated or connected features; you can also define additional fields before adding attribute values when editing in ArcMap. You may also use ArcCatalog to assign the spatial reference for a dataset, so its coordinate system is defined. ArcToolbox Much of your GIS work will involve using ArcMap and ArcCatalog to manage, display. and query geographic data. A good deal of your work will also involve processing geographic data to create new datasets. known as geoprocessing. Geoprocessing is used in virtually all phases of GIS—for data automation, compilation, and data management; analysis and modeling; and for advanced cartography. A typical geoprocessing operation takes one or more input datasets. performs an operation, and returns the result of the operation as an output dataset. The Union tool, for example, combines features from separate datasets into a single dataset. Inputs to Union Output from Union Use the Properties dialog box in ArcCatalog (right-click a dataset and click Properties) to specify the spatial reference for a dataset or add fields to the dataset. You also use ArcCatalog to create new (empty) datasets before creating the geographic features themselves in the datasets (by importing or by editing in ArcMap). ArcCatalog lets you define parameters and rules to ensure data integrity for your database. Right-clicking an entry in the tree and clicking New displays the appropriate options for creating new databases or datasets, or for creating rules for the database. .. j - >r ««• o;a]~ I J ' ■ •IS: » 1 Land parcels Soil types Land parcels and soil types There are geoprocessing functions for spatial analysis operations, for converting data from one format to another, for simple data management operations such as copying datasets, for data integration operations such as appending map sheets, and many other operations. These geoprocessing functions are collected as tools in ArcToolbox. grouped by category in toolboxes and toolsets. Some of these same functions can also be accessed through toolbars, menus, and dialog boxes in ArcMap and ArcCatalog. Toolbox Toolset Tool t$ AicToobox B <^ Analysis Tools - ^ Extract ? Setect ? SpB /> Table Setect ♦ ^ Oveilay • ^ Proximity > ^ Statistics • ^ Cartography Toots ♦ <^ Conversion Tools ♦ ■ Data Management Toots 33 Geocodng Tools * ^ Lnear Refetenc«>g Tods i Spatial Statistics Toots Favorites | Index | Search | Additional geoprocessing toolsets come with many of the ArcGIS extensions (described later in this chapter), such as ArcGIS Spatial Analyst, which includes raster modeling tools, and ArcGIS 3D Analyst™, which includes terrain analysis tools. ArcGIS Geostatistical Analyst adds kriging and surface interpolation tools. When the extensions are installed, the tools appear as new toolsets in ArcToolbox. Some may also appear in menus or toolbars in ArcMap or ArcCatalog. Right-click a Catalog tree entry to begin defining new databases, datasets, or rules for ensuring data integrity. 34 Using ArcCatalog to build databases and compile GIS data is discussed in Chapter 2. 'Geographic Data Management", and Chapter 3. 'Data Compilation and Editing'. 35 Using ArcGIS Desktop 1 • Introduction & ~ '■ 21 & Rata Creetxxi - 9 Surf ace a* »n«t a* Cert a* a* Cento* Lot a* Curvature a»CuUFI a*r*»>eda a* Observer Ports MMned • & Zonal ■ t • |) Spebel Statutes To* I jocSnn « I c-"1 Opening the Slope tool from the Surface Toolbox opens a dialog box that prompts you for the tool parameters. ■M » Denary ... Irterpolate to Ratal » Cat Staoan.. Contour... fjorttofood Statmxi . &pect... Jonal StatMU... dhhada... Badaaaty... »a~«hed... cut/Fi... RetarCakUator... Convert » CJttm The S/ope foo/ can a/so be run from a similar dialog box opened from the Spatial Analyst toolbar. 11*1 1*1 Not all ArcToolbox tools create new datasets (and thereby perform geoprocessing, strictly speaking), but all allow you to at least manage or manipulate your data in some manner. Using ArcToolbox To open ArcToolbox, click the Show/Hide ArcToolbox Window button on the ArcMap or ArcCatalog toolbar, or click ArcToolbox in the Window menu. The ArcToolbox window is initially docked in the ArcMap or ArcCatalog window. You can drag it to dock it along any edge or have it float as a separate window. The ArcToolbox button Input rafter or feature tourea data When you open ArcToolbox click the plus sign next to a toolbox to see the available toolsets, and open a toolset to see the individual tools. You can also browse an alphabetical list or search for a tool by name (click the tabs at the bottom of the ArcToolbox window). Once you find the tool you want, use Locate to display the tool in the toolset—this is useful since you can see related tools in the toolset. £ Spatial inaiytt To* * 1 CorvJbonal Idanaty I Cutanea a* Comdor a* Coat Alocabon a* Coat Back unk a* Coat Cutanea a* Coat Path /* Ejdoaan Aaocabcn a* Euddoan Otacnon a* tuddeer Cutanea J a* Pa* Cutanea a* Paft Cutanea Mocet a* Pa* Cutanea tack U I Ganeratzaoon I OounoMater , __I J Fawaaulmda. | Se«rcn| TyptiMhakay-ordlolrtJ aueadMH Orap Item [are! EdtSc/vjueeliel Edt TIN [3dl Ekmaalatcl Earn, imanaganarii EowalToM EcualToFuewneaM Eiaaalanatua) Eiaaalacl Euc*c**rAIocaoon|ial EueadaanDtaceon u Eucedean D ounce (u| |*M •r1 li. ; Inda. IS-O.I Type 11 iha -o-dil 10 Match lor Toe. CoeOeunce Coat Pets EiddaanAlocahon EucadaanOiacton IP PeihDeianeeaJoeel Path Daunee Bee* Lr* Path Daunee nonlangti a__1 favorf | Inda. Se«ch Search for tool in ArcToolbox using the functional list, an alphabetical index, or by searching for a keyword. You run a tool from any of the tabs by double-clicking it (or right-clicking and clicking Open) to display a tool dialog box. The dialog box prompts you for the input data and output dataset. as well as any required or optional parameters. The required parameters are indicated by a green dot. Once you enter a valid parameter, the dot disappears. If the input you enter isn't valid—for example, if a dataset you enter doesn't exist—the dot turns red. If you've opened ArcToolbox from ArcMap. you can select the input data from the layers that are currently displayed on your map. using the drop-down menu on the dialog box. For optional parameters, ArcGIS often supplies default values, which you can use or change. Click OK to run the tool—a Status window shows you the progress of the tool and tells you whether the process completed successfully. O PyV-JTI Output d.«tjnc* r«tt' H*»muffl dutaW (opOoft«0 1 J*l Output oVecoon raiter (optional) 'A Snee.Hat>» I r Ooeaiheialog I■ ljtHaiiJiueoaaaXa> Executing- (EucBi»tence_ll : EucDietence Slvere -C:\arcMp aapi Scare Tim: Bon Kay 09 21:07:37 20OS Validating... Executing EucDietance... Proceeeing... Completed EucDiatancc. Executed (EucDiecence_l) aucceeexully. End Tims Ion lay 09 21:07:43 200S (Elepied Tim: 8.00 eecel Running a function from ArcToolbox opens a dialog box. When you run the tool, a status window appears—it tells you the progress of the operation and notifies you when it completes. 36 37 Using ArcGIS Desktop 1 • Introduction You can run any of the functions that appear as tools in ArcToolbox from a command line. This is an efficient way to run a function if you're already familiar with it—you type the function name, the input and output, and the parameters on a single line. To open the Command Line window, click the button on the ArcMap or ArcCatalog toolbar, or click Command Line on the Window menu. As with ArcToolbox. the Command Line window can float or be docked inside the ArcMap or ArcCatalog window. The Command Line button □ s* a a b ■■ • * Ms»» 3 -J. *- • o *7 ism eis a E&\&afs~3\am\ar~ 9 Nn4Wu J If you're working in ArcMap. results produced from running tools via the dialog box or command line will be added to your display by default (you can turn this off). In some cases, the result of a function is simply a chart that appears in its own window or a statistical value that appears in the status/results window. Customizing the toolbox You can create your own toolbox and add tools from other toolboxes—for example, you might collect tools you use often into one toolbox for easy access. To create a new toolbox, right-click anywhere in the ArcToolbox window and click New Toolbox. You can create toolsets inside a toolbox to further organize your tools (right-click the toolbox name, click New, and click Toolset). Click the Show/Hide Command Line Window button on the ArcMap toolbar; when you start typing in the window, an alphabetical list of functions is displayed. You type the command in the upper half of the window. As you type, the command usage is displayed. Press Enter to run the command—the status appears in the lower half of the window. i si a ■? i a S5 ■ ■ ■ • ; „S1 * ins« 3 a k? kite mum »_n*i' ■-'■» ) I a lutfer -J J I - a k- - - b / u A- »- J.- —' 0 ArcToobo« * « | JL> Analyst loots b AnaVstt Toots ftdd Toofaox... | Certoo/apny Tools k Convwaon Toots • « • 1 -« • « • I ^ Coverage Took fcDaU Management Toe | Geocodng Toots > GeostatMxal Anarvst I Linear Referencing To fcSpaoal Analyst Toots i Spaoal Scoostits Toots 1 v U* Looted Toots SeveSottnoj » loedSetOngi » Favorte. | Irrfe» I Search| To add a tool, right-click the toolbox or toolset name, click Add. and click Tool. In the dialog box that appears use the check boxes to specify which existing tools to add. < t% Analysis Tools I Cartography Tools I Conversion Toots I Coverage Toots I Custom Tools I Data Management Toots I GeocooVig Toots I Geostabstxal Analyst Tool t% Lnear Referenong Toots Q Spatial Analyst Tools : #k Spatial statutes Tools jus 5«t«e» to* to «» • xanaVstioofc 6*4» Took - is • - -efeOvoAff ^ Ireorwd ^ SMtaljon P SvaaMnul Mfaranco ^ •. t Rundet. ^ Copy B Paste X Remove Rename m » I Oeu IrarccarOty Took i Dau rsanagmar* look Goceodng Took I CMataoul «naV* Took kaotaTook b Lnaar Oafarancng Took taarva»Took h ttBtNork AnaVst Took kHarterTook | -«WWoJ Took t.ao*g*naVsttook In addition to adding existing tools to a toolset, you can add your own custom tools from type libraries, executable programs, and ActiveX controls. Use Add From File on the Add Tool dialog box. The command usage and other prompts are displayed as you type. 38 39 Using ArcGIS Desktop 1 • Introduction 40 Setting the geoprocessing environments Every tool dialog box has an Environments button. When geoprocessing tools are run. default environment settings set for the application are applied to all applicable tools. Examples of environment settings include the current workspace from which to take input data and place resulting datasets, or the geographic extent to apply to results. These setting can be changed in the Environment Settings dialog box. Automating multistep processes In many instances, the geoprocessing work that must be done is repetitive, involving a large number of datasets or large datasets with numerous records. In addition, many geoprocessing tasks involve a multistep process—you use the result of one function as input to the next. Complex tasks may involve many such operations. ArcGIS Desktop provides two ways to automate repetitive or multistep geoprocessing: scripts and models. Scripts are useful for batch processing multiple inputs, such as when converting multiple datasets to a different format. Models provide a graphic way of creating and expressing a multistep process or method, such as when performing spatial analysis. The scripts and models you create become tools in a toolbox (often a custom toolbox you create) and are run just like other tools—either through a dialog box or command line, or embedded in yet other scripts or models. Creating a script Scripts can be written in any Component Object Model (COM)-compliant scripting language, such as Python*, JScript\ or VBScript™, or they can be ARC Macro Language (AML™) scripts or executable files. Any of the functions in ArcToolbox can be included in a script. In fact, to include a function in a script you type it the same way you would if you were running it interactively in the Command Line window—the usage is the same. Functions can be embedded in other script statements including branching and iterative statements. Scripts can be run from within their scripting application, or they can be added to a toolbox and run like any other tool from a dialog box, the command line, a model, or another script. To add a script, right-click a toolbox or toolset, click Add, and click Script. This opens the Add Script dialog box, which prompts you for a name for the script and other descriptive information, as well as the name of the file containing the script. You also specify any required or optional input parameters. ej ArcToobor • Cfc 30 Analyst To* • ^ Cartography Toots • t% Conversion Tools • A Coverage Took • <% Dale Management Took • *■ Geocodng Tools • % Geosteosttal Antfyst Tools • % meat RelMemiig Tods 6) My Tods • CfeSpabaf* afe £opy X Barove EO» OorjFnertarJon... froparbjes... P lod.. 1 I 41 Using ArcGIS Desktop 1 • Introduction When you run the script in ArcTooIbox—the same way as with any other tool—a dialog box opens that prompts the user for the input and output datasets and any parameters. - " X Model E* **«**" *** g| g| 4>l ::lQl::l"l . •• • ••• i I iSpeOalS * Copy a** X Bamove Rename kaWaB add ► : USB Favortat I'nda. u* Ed« Oorynantaton *£p Properüe*... Modal Eck View WYiaW. Heb Click the Run button to run -=) the model. A window opens that displays the status of each process. Many GIS tasks—especially analysis tasks—are not individual operations but sequences where the result of one operation becomes input to the next. While you could run the individual operations (tools) one at a time, ModelBuilder gives you a way to connect the operations using a flow diagram and then run all the operations in sequence, at one time. The basic structure of a model is an input dataset connected to a function producing an output dataset. ? Ado Coded Valua To Daman P Auon&amanToWiM P Debt. Ceded vakj. Free, Oman J ^Delete Daman P Dornen to Tata P Rate* Danen From Feld #» Set IM For aanst Omen P TabeToDcman p FearmdeM tFaeux fe«ae.|lndai I Saatf,| Double-click a tool in the model to open its dialog box, then enter the parameters. Inout eorkuace |o wear SraaMnd: "Warna_ ■3 a Domain N IlüCOOC M tum topt°".ij Me,,. Mg .opwalj I of1 42 43 Using ArcGIS Desktop The parameters you define—including the domain codes, in this example—are stored with the model, so if you want to change them and re-create the domain, you just edit the model I and rerun it. Or, you can copy the model and modify it. Once the model is constructed, youj run it in the ModelBuilder window, or from within ArcToolbox as with any other tool. •■•.»:—*:«- MMm | * 4» »P X - i »»ii»hi' T2 : ... m mm ai m\ imm +i bidi::I:;I aioiiai »1^1 »i - - «j j3- Right-click a model in the Catalog tree and click Edit to display it in the ModelBuilder window and make changes. 2 Ctrl | «g» | t»c-H»» | Double-click a tool in the model to open its dialog box and display the current parameters. 1 • Introduction You can connect multiple inputs, functions, and outputs to create quite complex models. Models can include scripts, and even other models. Ml 1 »»| ain|::|::| ^-\mjm\ >l Gnatcatcher Habitat Suitability ■:i»Ti] S*+ct per*-** gcmh** lent* t. A 2 *v — «5 Cft Scripts and models are a good way to save your methods and procedures. A model can be exported as a graphic file or to a script for additional editing or for sharing with other GIS users. You export a model to a script from the Model menu on the ModelBuilder window. 44 45 Using ArcGIS Desktop 1 • Introduction ArcGIS Desktop ArcGIS Desktop extensions add specialized functionality for data compilation, cartographic Extensions production, and advanced geographic analysis. Any of the extension products can be started| from either ArcCatalog or ArcMap—you first need to enable the extension from the Tools menu, and then open the extension's toolbar from the View menu (click View and point to Toolbars). StbaaveuramrouMrtioun a AicSctn a Data imaroooaaaiy B GaoaWafcalAnafcat □ Mapa* B N«l»a*AnaV»< □ PvtfahB □ Schemata □ SmyAnay« a TiactagAnab* 30Ana»aia2[Dl u»m'"'I Coping* «1 9»2005 E SM Int Al Ri>*> Raaanad Pmidei look la ajtac* modeano and 3D vwababon mmem»| Oo. 1 7 To enable an extension, click Extensions on the Tools menu and check the extension you want to enable. Then open the extension's toolbar from the View menu. Some extensions add tools to Arc Toolbox; some add a toolbar to ArcMap or ArcCatalog: and some do both. Here is a brief description of each extension product. The licenses for the products are sold separately, except as noted below. Data Compilation Extensions • ArcScan for ArcGIS is used to generate data from scanned maps and manuscripts. It vectorizes features from raster data and includes integrated raster-vector editing tools. A complimentary ArcScan™ license is included with ArcEditor and Arclnfo. »*•»•■»•■< »»«■» iß» »«■ »•> ■I« *■(**- «■*(•>———. 3 «a*»i—3 fliax "3 um^ —. can M 2 d Creating parcel features from a scanned map ArcGIS Data Interoperability adds the ability to directly read, transform, and export more than sixty common GIS data formats. It also includes tools to build converters for complex or specialized data formats. r.ar* OaaMaaTi acoaai iwaaaaai ■m FUD ■ ■ nvt, ■ FN (aMaMa sol 5a*** wa« worn FUO.SOl ■ ■ r i..... -, . OCOnafNar*« lanaj GCONET i» r M ■ F*> 0M.v2 QML2 r r aT FaaOaaooiy opx OF* r r ■ Fat obis p r «* R FdaCvackyy HOC B ■ don cad dan caa V FMbOndoiy 60*211 60*211 r n 0« r lawScwfTHanaiFaai »»F. ** r p a ■ F*aO«aol>y LPcaOO CO ■ R afe ■ FaOnon •MaGuOaSX SOL p p ad ■ »*Oiw>> «apwo«F*aCi tar !■ f »• ■ FiaOaow, iiautaaTAfl iMPrfO at ■ ■ FaaCwaotay UaxaBrU? MCT ■ ■ dto ■ FMOacay WMWniDaua l*ar< U06 r r ■adb mmHaiciiDeay CDS aa-fci cm ■ FaaOiaotay Uoa*aaaa OaaOMakca n r p op cm ■ FwOmotny nuu r p ■ Hcnatm. noeco—iam«»«ja»iaa,i ccec ■ ■ r oao»'trau in ffamm ■ o» awatJ» r R r r..„. Ckao» MA DaaMH (<■ cm* cb*o£l.0e ■ ■ ■ ClaM niTaarmi OaaMSaMnM p p ■ PaaUnaOammi Ciaoa SpaBai (f>a**onaQ ■MaVa^BBBBBBal OWOE - - ■ naWiimClaWiliii Converting data between formats 46 47 Using ArcGIS Desktop 1 • Introduction ArcGIS Schematics generates database-driven schematic diagrams of GIS networks, such as electrical, water, or telecommunications networks. It lets you create multiple schematic representations of a network and place schematic views on maps and in documents. ■ Jglxt ____R.__srau__, [-♦♦♦Ol Creating a schematic diagram for a physical network Cartographic Production Extensions • Maplex for ArcGIS adds advanced label placement for cartographic production and simplifies the labor-intensive process of placing map text. It detects labels that overlar. and automatically moves them, and includes tools for custom label placement. A complimentary Maplex™ license is included with Arclnfo. Placing labels for production of a utility network map ArcGIS Publisher is used to publish data and maps for use with ArcReader™. It enables the creation of a published map file (PMF) format for any ArcMap document. PMFs are used in ArcReader. and allow you to freely share your ArcMap documents with any number of users. Publishing a map as a PMF file for display in ArcReader Geographic Analysis Extensions • ArcGIS Spatial Analyst provides advanced modeling and analysis for raster datasets. including terrain analysis (creating shaded relief, slope, and aspect from a Digital Elevation Model), creation of distance and cost surfaces, and raster overlay. 2 s* B m • > « -• *>JT5 3 3 :: **o« ill" J • / ■ A' ! Selecting the best location for a business 48 49 Using ArcGIS Desktop 1 • Introduction ArcGIS 3D Analyst enables visualization and analysis of surface data, including creation of perspective views. It provides advanced tools for three-dimensional modeling, such as cut-fill, line of sight, and terrain modeling. ArcGIS Network Analyst is used for transportation network analysis. It allows you to find the shortest path between two points, allocate resources to a center, or find the most efficient route between several stops. 1* A-^^W^ Creating a perspective view ArcGIS Geostatistical Analyst provides statistical tools for predicting values across a surface from a set of sample points. It includes exploratory spatial data analysis tools for identifying outliers, trends, and spatial autocorrelation. K»f=< - > O Ü ^—J* Laivia Z Creating a continuous surface of toxic exposure from a set of sample points Finding the best route through a set of stops ArcGIS Tracking Analyst allows you to view and analyze temporal data—you can track feature movement through time (such as the location of a hurricane over the course of a week) and track attribute values for features over time (such as population for a county over several decades). It also lets you create time-based animations. an Tracking the strength and location of a hurricane 50 51 Using ArcGIS Desktop 1 • Introduction ArcGIS Cornerstones A tiered product structure An extendable product There is a set of cornerstones underlying the design of ArcGIS. Understanding these cornerstones will help you understand how ArcGIS is built and, in turn, how to use the software effectively. ArcGIS Desktop is sold as three software products, each providing a higher level of functionality. • The first level of functionality, called Arc View, provides mapping, data use, and analysis tools along with simple editing and geoprocessing. • The second level, called ArcEditor. includes all the functionality of Arc View and adds [ advanced geographic data editing capabilities. • The highest level of functionality is Arclnfo. the full-function, flagship GIS Desktop product. It includes the functionality of both Arc View and ArcEditor. and extends it with tools for advanced data management and analysis. It also includes the legacy applications for Arclnfo Workstation (including ArcPlot™. ArcEdit™. and AML). The reason for the three products is that not everybody needs the full functionality of Arclnfo—at least initially. Your organization may have purchased one of the products, or some combination—for example, one Arclnfo license for advanced processing, and three Arc View licenses for people who mainly need to display and query geographic data. All three products include ArcMap. ArcCatalog. and ArcToolbox. The available functionality of each depends on the product you're using. For example, if you buy Arc View you get about 80 tools within ArcToolbox; ArcEdit provides over 90 tools; and if you buy Arclnfo you get about 250 tools within ArcToolbox. ArcGIS Desktop is designed around core functionality that can be extended for specialized! applications. The core functionality included in ArcMap, ArcCatalog. and ArcToolbox covers the tasks that the vast majority of users will need at some point in their GIS work. Because of the range of GIS applications and tasks, though, some users may never need the advanced functionality available in ArcGIS Desktop for particular tasks. For example, a water utility that uses GIS to build and maintain a database of its pipes and pumps, and perhaps its customers, will likely never need to use advanced raster analysis capabilities. Conversely, a forest research lab will likely never need to include schematic drawings of a utility network in its GIS. To allow for flexibility in building your GIS, ArcGIS Desktop includes extension products (described earlier) that provide advanced capability for data compilation, cartographic production, and advanced geographic analysis. That allows you to buy and install only the advanced functionality you'll use. A flexible user interface ArcGIS Desktop provides a flexible user interface that allows you to perform many of the same tasks in different ways, depending on the type of work you're doing and the framework you're using. For example, you can add a field to a table in either ArcCatalog. ArcMap, or ArcToolbox. That allows you to perform this common task whether you're using ArcCatalog to add a field while building a new dataset, you're using ArcMap to add a new field and calculate attribute values while doing analysis, or you need to add a field to a dataset while using ArcToolbox to build a model. at OK | Cw* Adding a Field to a table in ArcCatalog using the Properties dialog box. Adding a field from an attribute table in ArcMap. Adding a field using an ArcToolbox dialog box. '<*Mtm_ "3 •) ♦is--'- [TOT AOauHmgmrtTook I I > twin t CjnattEndttta ? c*>Mt>n*i } MKtFM t TrmpoMTtwnaoi •* M4UUH ^\ p«BPmc»on (apian*) »*d lc*» (apW) paaia^[opwa) B »*d UNJUeU (option*) r raw imm—a (opmmo >«BQO"»n(0pMaQ- "■»» I 52 53 Using ArcGIS Desktop 1 • Introduction Similarly, the interface often provides defaults you can use for particular functions. You a accept the defaults, or modify them. For example, when specifying what symbols to use draw features, such as the color and size you want points representing buildings to appear on your map. you can: • Use the default symbol assigned when the data is added to the map • Change some basic properties of the symbol, such as color and size • Access and modify any of the properties that make up the current symbol • Create your own symbol from scratch by defining the various properties =JSt! gt go* t" tor. saecoor loos yjtiB ~3 J. » You can use the default symbol... Oo»t Square! «B3HS '2 3>6883:9> _r»ro FVdSqware! Qro*2 Square? ...modify some basic properties of the default symbol or choose another predefined symbol using the Symbol Selector... 214 Typs |Sn(M UerUr Syrre» layer. *1 «I Sve I 3 XOU (0 0000 vote* (ooooo |] e UeeOaaM ClefceCoBr OaWSue |' 0000 *J ...or, you can access and modify all the properties of the symbol or create symbols from scratch using the Symbol Property Editor. ArcGIS Desktop provides a range of interface options that allow users at different skill levels to work efficiently—from wizards and dialog boxes to a command line interface. For example, tools in ArcToolbox can be run using a dialog box that prompts for inputs-helpful for less experienced users—or can be entered on a command line, a more direct way for advanced users to run the tools. - 6> Analysis Tools • t> Extract - Overlay A Erase /■ Identity A Intersect Symmetrical Dffrerenc /»E3 a*HDdate • & Proximity • Stjosocs fWfffr^ffl^W • % CartogractTy Tt sL__ Favor**, lotto. S« Output Feature dass |C\orc9et*xxl_pe>c» l-p JOTUttnButes (optional) (AH duller Toleranc» (opoonaO f> Gaps Aaowed (optional) FMama *'porceJl_por/OOn ^•ooO_poryrjor. Ranks ♦J -•J -3 a_polygon: flood_polygon flood_parcel ALL 0.1 GXP3J Running the Union tool using a dialog box. Running the Union tool using the command line. You can customize the interface, specifying which menus to display and which buttons to include, for example. Tootun I Coraeianrk | Optoral Toobn 1 Intel ArcPed AicSean CoraMMeru Dale Frame Took MfeeM bSeodatabaM Dm Edkx 2l*i _Tjxj Toobor. Coowr* I Opoorn I Shew con*n>indi cort anrxg I CormarxJ. X ine««! X>V— AdvancedEdr Toon Aranabon AiePed AicScan Arcloobo. ArcWab Sarve« V - CAD '1 HAdun ^CleaiLrraedAaijrenerrArea Edge Match j*ModryLe* Huk Dactecaran Lr*i ." Nan Daotacemenl Lrt □ f'l. .r. ES Nev. ümted AoMarmeni Aiea ODen Control PorO Fas 1 ~3 Myboard | AddrrotnB. | Ooee The ArcGIS Desktop interface is customizable (click Customize from the Tools menu in ArcMap orArcCatalog). Use the Toolbars tab to specify which toolbars to display, by default. Use the Commands tab to add buttons (commands) to the various toolbars. 54 55 Using ArcGIS Desktop 1 ' Introduction Flexible data Another cornerstone of ArcGIS Desktop is its ability to access GIS data in any format and support to support a range of database configurations. ArcGIS is designed to work with just about every type of geographic data, from a broad array of sources. Some data formats ArcGIS can read directly, such as geodatabase datasets, shapefiles, coverages, and many raster formats. Data in other GIS formats must be converted to an ArcGIS format before you can display and work with the data—ArcGIS Desktop includes converters for many standard GIS formats. Some data, such as CAD data, can be read and displayed by ArcGIS Desktop, but must be converted to an ArcGIS format to take advantage of the full functionality of the software. ArcGIS Desktop also lets you set up databases that will meet the needs of one person, a small department or workgroup, or an enterprise that requires that many people to be able to access and edit the database concurrently. If you already use a commercial DBMS—or need your GIS to work with such a system—you can take advantage of this by creating ArcSDE* geodatabases. Types of geographic data and how to manage data are discussed in Chapter 2. "Geographic Data Management'. A generic ArcGIS Desktop was designed to be used across a range of disciplines for a huge variety application of tasks. It is not industry or application specific. The software provides a comprehensive approach set of tools and functions that users combine in the way that best addresses the task at hand. Many users customize the application toolbars and menus to reflect the tasks and workflows they perform most frequently. ArcGIS Desktop can also be used with other ArcGIS applications in a way that allows GIS to be available on different hardware platforms and for a range of GIS users—from the general public to casual GIS users to GIS specialists. For example, maps created in ArcMapj can be published using the ArcGIS Publisher extension. The maps can be distributed on CD/DVD or over the Internet and read by non-GIS users using ArcReader™. a simple, standalone map display software application. The book What is ArcGIS? describes the complete ArcGIS system and how ArcGIS Desktop can be used with other ArcGIS applications to publish data and maps on the Internet, used by people throughout an organization to access a centralized GIS database, or| used in conjunction with handheld devices to collect and update data in the field. Getting help Desktop Help Chapters 2 through 5 describe the basics of a number of common tasks performed in ArcGIS Desktop. More information on these and other tasks is available in the ArcGIS Desktop Help system. The Help system contains both task-based (step-by-step) and conceptual information, and includes a GIS dictionary. There are also several online sources of help available. Help can be accessed from an ArcGIS application (ArcMap or ArcCatalog) via the Help menu on the Main menu, from the Start Programs menu, or by pressing the Fl key on the keyboard. The Help viewer contains a navigation pane—with Contents. Index. Favorites, and Search tabs—and a topic pane for viewing Help topics. «3 SjQI rta-Mbcr CgGrSOoaur, WWinaatnArcGrS Map cnmam ana coodnaaa i, h. . Haamg an) nuáuan Edn^artWacawlaaon GiohCmi and íkSOE Daiar»aj>aoaw—■OAiri'alaloQ CaaMcoflrAicGiS banka ♦ Saocodnc ana «awfaraja.au Welcome to ArcGIS Desktop Help About ArcGIS Desktop ArcGIS DMktoo ndudas < sua of nugracad appacaocins that «low yc to partOrm GIS Utks. from srnpla to ad»ancad. mdudrtg mapping, geographic analysis, data »ditmg and compiaooo. data managamant, nsuaiuacion, and gooprocossxg. ■•i-c- nie- ^-Mir • MM MMQajajaa „m ftp-aralnfl • Eflttno and data ramciunrn • SymDatemg data wtr. rarrasantannni Getting Started with ArcGIS Desktop • J'" tf-a furdan-a-taH nf a^-.ic. ltsK GIS concepts, ncmckng maps, ooordanau srscams, and raprasanmg and worttng nOi oaograprt MUM OSOBHi: A good starting pone for atamang ArcGIS Use the Contents to look up general topics. Conceptual topics in the contents list are indicated by a page icon. Task-based topics include step-by-step instructions and tips for performing specific tasks. They're indicated by an icon showing a page with a numbered list. Some of these topics also have short, animated tutorials available. You can scroll through the Index or search by entering keywords that identify your task. The Favorites tab lets you keep a list of often-visited topics. Use the Search tab to enter keywords, phrases, or complete sentences. Once you've entered your search, click the Ask button. The results are ranked and provide links to the topic. 56 57 Using ArcGIS Desktop 1 • Introduction The Help system also lets you get information about the buttons and menu commands you see on the interface. When you position the mouse pointer over a button for a second or two. the button's name pops up (this can be turned on or off on the Options tab of the Customize dialog box). After clicking the What's This? button on the standard toolbar, you can click any button or menu option to display a description of it. All ArcToolbox tools have associated help. The Show/Hide Help button on the tool dialog box displays (or hides) a Help panel with a description of the tool and information about the tool parameters. Clicking the Help button at the top of the panel takes you to the topic in the Desktop Help system where you'll find complete information about the tool. Click here to open the tool's topic in the Desktop Help system ^L...J.iJJ....I-Wlil ......Ii« j* — % Select By Location... Select By Attributes Select features from one of the layers in the active 1 data frame by specifying a query based on the attributes of its features. Set Selectable Layers... (2 Gear Selected Features Interactive Selection Method ► Options... * Inomraoairei * Output feature Clew otsmismsssssi_ When you click the Help button in the upper-right corner of a dialog box. then click an item, a description is displayed. Some dialog boxes also have a Help button on the bottom; clicking it opens a Help topic with detailed information about the particular task. g.W, Source S«%xto Id^I Syefcoiogyj r«*Ji | Danr*on Query | labeo | Jon I Relate* | Show aetacaed feature* Show or hide the Help panel Chck to choose which symbol you went features in this leyer that are selected to be drawn with. For example, if the layer contains polygon features end you would like them to be filled in with a particular color when they are selected, dick the symbol to display the Symbol Selector, and then chooie the fill symbol you want to use. ±1 ±1 <*l Miaim 13 Interject Computes the geometric Meneciion of the Input Features Features o> portion of features common to el layers and/or feature climi wi be «rtlen to Ina r*e ta» Bad • . -- »3 Cappcni rfr-srir Wtarine-riaioGIS e^Geangaeaw Map I Edang evj de>a ctrcaur < I »«tranr5l»m»t, ICeodaCawaandArcSOC I Oaunaraoem^lrcCxeoa I Daui luopol nAroSIS lEaanaom I Gaocoarx)» edd-eti rreneaarer« I Lrtear 'tfsnrc I Mamtanayaa I HotxeCIS Cudorwno a-4 davatopng «*h ArcGIS Gude to dale ant coma .am AroGis Ucananj and oeauop adnnaeaaon taGIS =«v. ArcToolbox Intersect (Analysis) Computes a oeometnc mtersecoori of the Input Features. Features or portions of features which cartas m ao layers and/or feature cesses will be wntten to the Output Feature Class » Illustration INPUT 58 59 Using ArcGIS Desktop 1 • Introduction Online Help In addition to the Desktop Help System, there are several online resources for getting help with the software. These can also be accessed from the Help menu. Online resources, including Desktop Help Online, a GIS Dictionary, the ESRI Support Center, training resources, and developer support are available from the Help menu. Desktop Help online The entire Desktop Help system is also available online. The online version features links to common tasks and to specific applications. * 2JB4 9 ArcGIS 9.2 Desktop Help «1 • o - o • o • o • o ■ a-*— • o - <* • © Welcome to ArcGIS 9.2 Desktop Help PIMM un the has «1 Ira tacts of conlrmu on the lafl to nevqete tha topes ai arcGIS 9 2 Desktop help, ruso 1 tasks or a.ren^om v..r, aaa - • i Geodetabase and *n.SO( :S ESRI Support Center This online site provides users with information and help for all of ESRI's software products. You can access it directly from http://support.esri.com, or you can launch it from the Help menu in ArcGIS. The site includes: • The Knowledge Base, which lets you search ESRI's database of technical articles, white papers, system requirements, and product documentation. • Downloads of the latest software updates, service packs, samples, user-contributed ArcScriptsSM. data models, geoprocessing models and scripts, and evaluation software. • User forums for ESRI's community of GIS professionals to browse and post focused questions, or actively help others. Mian Ml A ESRI Support Center Saarcfc OwrUta Knowledge Base ESAIs Knowtadoa ftewe MCi rou fnC o*ia rtformation row naaa bf im7>«] ESfU'i Omtabtf of known bugv "now- •m* massaiotK *or a* x* our toft*.** » rou natM atdottorwj. support to raw*-* m issu*. otias* Itii v» hgv. i,. .j ..I „0 art «vr >UMtrt >«c t*ifaoia»o*JWir 12. XC6 «•»**• t**a our short survar «rid natp at ureoarstjivj -Cttntsr far rou a ■ ■-.* -c '.: Ml ■ i or tr* ArcGIS D»s*tDD Developer Help The ESRI" Developer Network (EDNSM) at edn.esri.com provides information about creating your own user interfaces, tools, and special applications. This site contains sample code, technical documents, downloads of developer tools and add-ins. and discussion forums for ESRI's developer community, r IIUL'lliTtTTlJI Til. If H,,, ,E=Safa-aa«»Ma».M^ ett 3 "3D* ft- [J|\| ISM Developer Network Welcome to EDN... ai'Wwit loofcmg for art offocfrro -»r to bnr>g voogretofir ana. m chtrBbami.il and oocfa»mor*look. aai a"'< to |D«urnant.t»ori Library «j i-a frwrern HMmam ,^.t,is>i«y« c^r.^|»ir..c.ra>X 60 61 Geographic I Management GIS data concepts • 64 An overview of geographic data management • 75 Finding and connecting to data • 85 Establishing a data connection Database and server connections Previewing data and maps • 87 Previewing what's in a folder or geodatabase Previewing a feature's geography or attributes Reviewing a dataset's characteristics Creating a thumbnail Searching for data and maps • 90 Organizing your data with ArcCatalog • 93 Creating a new workspace Managing workspaces and datasets Exploring an item's properties Managing the ArcCatalog display Documenting your database with metadata • 97 Selecting the metadata stylesheet Printing metadata Editing metadata documentation Importing and exporting metadata Creating a geodatabase • 102 Creating a geodatabase using ArcCatalog tools Creating a geodatabase by copying a template Creating feature classes and tables «107 Creating a feature class Creating a standalone table Specifying additional fields Modifying a feature class or table definition Ensuring spatial data integrity • 113 Creating a feature dataset Getting data into a feature dataset Creating a geodatabase topology Managing a topology Ensuring attribute data integrity • 119 Assigning default values to fields Using domains to ensure valid attribute values Using subtypes to assign default values and domains Building relationships between features and tables • 124 Creating a relationship class Specifying the number of allowed linked records Managing a relationship class Accessing table relationships in ArcMap Managing raster datasets in a geodatabase • 130 Loading rasters into a geodatabase Creating a raster catalog Adding specialized datasets to a geodatabase «134 Creating a terrain dataset for surface modeling Creating a network dataset for transportation applications Creating a geometric network for utilities applications Creating an address locator for geocoding Creating a route dataset for linear referencing Maximizing the performance of your database • 146 Defining or modifying a spatial index Creating an attribute index Creating raster pyramids Compacting and compressing geodatabases Using ArcGIS Desktop 2 • Geographic Data Management GIS data concepts What is GIS data? Underpinning all your GIS work, no matter what it is. are geographic datasets that contain the data you need to build databases, make maps, and perform analyses. One of the main roles of ArcGIS Desktop is to help you organize and manage this geographic data efficiently. First, though, it's useful to review some of the basics of GIS data. While similar in some respects to data created and stored in a database program or graphics software. GISJ data has some unique characteristics. GIS data is a digital representation—or model—of features or phenomena that occur on or near the earth's surface. Many types of geographic features and phenomena can be modeledl in ArcGIS and stored as GIS data, including: • A physical object—either natural or man-made—such as a stream, or a light pole. Some objects are stationary while others are mobile, such as a delivery truck or an animal with a radio transmitter. • A defined object that isn't necessarily visible on the ground, but that can be displayed on a map. Areas defined by boundaries, such as a county boundary, are a prime example. Many boundaries are legally defined, such as parcel or congressional district boundaries, while some are formed by physical features, such as the boundary of a watershed. • An event that occurs for some relatively short period of time, such as a burglary, or an earthquake. While the event itself is ephemeral, the location—and date and time—of the occurrence can be captured and stored. • A locator, such as a street address, or a milepost on a highway. The locator doesn't represent a physical object—simply a location that is important or useful to identify. Locators are often used to fix the location of events or mobile objects—for example, a street address is often used to identify the location of a burglary or to identify the location of customers or students (people move around, but in GIS their location is usually fixed to their home address). • A spatial network representing linkages between objects or events. Often the network is defined on top of other geographic objects, such as a bus route which is a geographic feature defined from a set of streets and stops, themselves geographic features. • A phenomenon that can be measured at any given location, such as elevation above se level, soil moisture in the ground, or the concentration of ozone in the air. What these geographic entities all have in common—from a GIS standpoint—is that they have a location that can be captured and stored, and they have properties, termed attributes in ArcGIS. The attributes might be descriptions—such as the zoning code of a parcel or the name of a stream, or they might be measurements—such as the population of a county or the magnitude of an earthquake. Linking the location of the object or event with its attributes makes it possible to create highly customized maps, to perform spatial queries, and to perform analyses that take into account the spatial relationships between objects. How do you represent feature qeography in a GIS? There are a number of models for representing this variety of geographic entities, however two in particular are the most common. One represents geographic entities as geometric shapes (feature classes): the other represents them as cell values (rasters). Typical representations of feature classes are points (such as wells), lines (such as roads), and polygons (such as census tracts). Feature classes are stored as coordinate pairs that reference locations on the earth's surface. A well, for example, might be represented as a point in a features class, with coordinates as 119 degrees west longitude and 34 degrees north latitude. A line or polygon can be represented as a series of coordinate pairs that can be connected to draw the feature. This approach views features as discrete objects on the earth's surface, and the representation is referred to as vector data. Points Lines Polygons < Building location points, street centerlines, and park boundary polygons are examples of feature classes. In contrast, rasters represent geographic features by dividing the world into discrete square or rectangular cells laid out in a grid. Each cell describes the phenomenon being observed. For example, the cell values in a vegetation raster represent the dominant vegetation type in each particular cell. A raster of vegetation types. Cell values can also be any measured or calculated value, such as elevation, slope, rainfall, vegetation type, or temperature. The raster data structure is commonly used for continuous categorical data (such as land cover), digital elevation models, and photo and satellite images. 64 65 Using ArcGIS Desktop 2 • Geographic Data Management While most geographic features can be represented using either of these approaches, using one or the other is often more appropriate. For example, linear features, such as roads, are often represented using feature classes. Phenomena that occur everywhere and are measured on a continuous numeric scale—such as elevation or air quality—are usually represented as rasters. Quite often you'll work with both types of data simultaneously when creating a map or when performing analysis. ArcGIS includes tools that allow you to convert data between features classes and raster data, if necessary. This map display was created by drawing feature classes of cities, country boundaries, rivers, and waterbodies on top of a raster dataset of shaded relief. Features of a similar type within a designated area are stored in a single dataset. Datasets are homogeneous collections of geographic elements. Roads in a town would be stored in one dataset. landuse zones in another, census tract boundaries in a third, buildings in a fourth, and so on. The various datasets are often thought of—and portrayed—as layers of information for that place. Each dataset represents a type of information for a place. During mapping and 3D visualization, datasets are symbolized, labeled, and displayed as map layers. □ ata« • •> *> ■ »F ~3 U v This map display includes four datasets: a polygon dataset of lakes, line datasets of roads and streams, and a raster dataset of elevation. In geoprocessing, operators are applied to datasets to create new datasets—for example, to create a dataset of 30 meter buffer polygons around road centerlines. You apply geoprocessing operators to datasets to create derived datasets. Datasets are also the most common way of sharing data among GIS users. Cites Feature Class Thu 9 23 2004 3:54 PM CiöesAnno Feature Class Thu 9,23/2004 11:06 AM Roads Feature Class Mon 10 4/2004 10:55 AM RoadsAnno Feature Class Thu 9/30/2004 8:58 AM :äl ParkBoundanes Feature Class Tue 9/28/2004 8:56 AM States Feature Class Thu 9/23/2004 3:54 PM £9 Streams Feature Class Thu 9/23.2004 11:06 AM J UtahRelief Raster Dataset Mon 10,4/2004 10:55 AM -J l50mNaturalColor Raster Dataset Thu 9/30/2004 8:58 AM Datasets can be listed in ArcCatalog, and can be copied and distributed to other GIS users. 66 67 Using ArcGIS Desktop 2 • Geographic Data Management You also work with the individual data elements contained in each dataset—the individual parcels, wells, or buildings—and their associated attributes. For example, you can list the descriptive attributes and properties of an individual building by pointing at it on a map. Text labels can be used to annotate selected buildings. J*a»» IB* »Wo» B» d a a *• > •-• - ♦ FTm * * ■■ • *r ~3 4 *.*a v Ou - MmHiiW Um W) Iva« Fe s '■'«w Pom WHI PHi......» .»i HWIEWHC IS How do you reference the location of a dataset on the Earth's surface? When you identify a building by pointing at it, you're working with the individual data elements in a dataset. During editing, you edit the geometric shapes of individual parcels—for example, dragging a corner to expand the boundary of a park. Spatial selection allows you to graphically select a group of features on the map—for example, the parcels that are within a quarter mile of a freeway. -iql-l 3 '-it If; "3(5-3 ■ / b a- *• J.- J.- You work with individual data elements when you edit features, in this case, a park boundary. A key concept of GIS data is that geographic datasets represent a location on or near the Earth's surface. This sets GIS data apart from graphics software where objects are simply stored in page units. Because the data is tied to an actual location on the surface of the earth, you can't just create it from scratch, as you would when creating a drawing on a blank page in a graphics program. (While you could draw a map on a blank page, the length or shape of features, and the distances between them, would likely not be accurate.) Datasets are stored using coordinates that correspond to positions on the Earth's surface. The coordinates should accurately represent these positions to ensure that the feature shapes and their relationships to other features reflect actual conditions on the ground. Describing the correct location of features requires a framework for defining real-world locations. This process is called georeferencing. Georeferencing is accomplished by specifying a coordinate system for the dataset. Georeferencing allows you to display on a single map various datasets—from different sources—and have them register correctly, or to combine datasets representing information about the same location to derive new data and information. If datasets were only in page units, two datasets representing the same location likely wouldn't register, depending on where they happened to appear on the page. Once georeferenced, the datasets refer to the same location on the ground, and register correctly. Each GIS dataset has a set of properties that define the specific details about its coordinate system. Once specified, the coordinate system definition is maintained with the dataset. One coordinate system for describing the position of geographic locations on the Earth's surface uses spherical measures of latitude and longitude. Latitude and longitude are measures of the angles (in degrees) from the center of the Earth to a point on the Earth's surface. This reference system is often referred to as a geographic coordinate system. 68 69 2 • Geographie Data Management Using ArcGIS Desktop Althoueh lonaitude and latitude can locate exact positions on the surface of the globe this coordinate system doesn't allow you to measure distances or areas accurately or display the data easily on a flat computer screen or map. Typical units of measure in projected coordinate systems are feet or meters. So. in fact, the coordinate values are often six or seven digits—especially since the origin of the coordinate system may be far from your study area. Each feature's coordinates are stored in these geographic units: points as x.y pairs; lines as a series of x.y pairs that define the shape of the line: the same for polygons. For raster datasets. the coordinates of the origin of the grid (usually the upper left or lower left corner) are stored, along with the cell size. Thus the extent of the raster and the geographic location of each value for individual cells can be calculated. The GIS displays-on a flat computer screen or map-geographic features that occur on the surface of the spherical Earth. To appear correctly on a screen or map page, the features have to be transformed to a flat plane. Projected coordinate systems include this transformation and specify the origin and units of the coordinates (feet or meters, usually). This much earth surface has to fit onto this much map surface. Projection Plane Projected coordinate systems use two axes: one horizontal (x), representing east-west, am one vertical (y). representing north-south (Cartesian coordinates). The point at which the axes intersect is called the origin. Locations of geographic objects are defined relative to the origin, using the notation (x.y). where x refers to the distance along the horizontal axis, and y refers to the distance along the vertical axis. The ongin is defined as (0,0). (0.0) (x=2.y=V -> • x-axis 9> tl* f tmn Jana» La* BW- O* O E*b<* f - -> • * F"~ "1 - □ «jap These buildings (represented as points) are labeled with their x.y coordinate values. The distance between them (about 82 feet) can be calculated in the GIS by storing the geographic coordinate values instead of the page units. Projected coordinates can be defined for both 2D (x,y) and 3D (x,y,z) datasets, where x,y measurements represent the location on the Earth's surface and z would represent height above or below a point of reference such as mean sea level. Unlike a geographic coordinate system (latitude-longitude), a projected coordinate system has constant lengths, angles, and areas across the two dimensions. However, all map projections representing the Earth's surface as a flat map. create distortions in some aspect of distance, area, shape, or direction. Many map projections are designed for specific purposes. One map projection might be used for preserving shape while another might be used for preserving the area (conformal versus equal area). In any case, the distortions are primarily an issue if your study area covers a large part of the globe (a country or continent), or the entire globe itself. If your study area is a county or city, these effects are small. Many standard coordinate systems are established for the globe or for various regions—the UTM (Universal Transverse Mercator) system, for example, has a defined coordinate system for each 6-degree swath of longitude around the globe. UTM is used worldwide; in the United States, the State Plane system is another commonly used coordinate system. Other countries and regions often have their own local systems that use a local set of geographic controls. 71 70 Using ArcGIS Desktop A coordinate system specifies a datum, in addition to a map projection. A datum is a mathematical representation of the shape of the Earth's surface. A datum is defined by a spheroid, which approximates the shape of the Earth and the spheroid's position relative to the center of the Earth. A local datum aligns its spheroid to closely fit the Earth's surface in a particular area: its origin point is located on the surface of the Earth. The coordinates of the origin point are fixed, and all other points are calculated from this control point. More than one coordinate system can become a standard for data from a specific region, and other coordinate systems may also be used. So, you may face the prospect of dealing with various datasets for the same location but that are in different coordinate systems. By recording and storing the coordinate system properties for each dataset (the map projection, datum, spheroid, and geographic units), ArcGIS can automatically transform the locations of GIS datasets on the fly into any appropriate coordinate system (the coordinate system of the dataset stored on disk is not changed). It's then possible to map and combine information from multiple datasets regardless of their coordinate system. Alternatively, you can transform a dataset to create a new dataset in the specified coordinate system, using tools in ArcToolbox. You can see a dataset's coordinate system by viewing its metadata in ArcCatalog or ArcMap, or by viewing its properties in ArcCatalog. See 'Defining coordiniate systems and projecting datasets' in Chapter 3 for more on assigning coordinate systems. 2 • Geographic Data Management How do you represent feature attributes in a GIS? -jfli-j 0» t* » % e x « e e o * Roads within the park Pwml CeoDatabata Feature Ctoii Dwcrtpbon KSI AOributM Horirontel coordinate »y«em Aryacred coon*»fl» tyttmm nam* »00_lW7J/r*tjron*_l2N Gaoorapnc fcOPfUWef» iyttten name CCS_North_*un»nc»n_lKi Grid Coordinate Sytl-wn «Mm«: vmttM Trarawna MartatO' Trentvene Mercator Projection Sca*> Ktttm if CBnrr* ■ Mt/m 0 999600 Longrtuda of Carxrat 'tafwJan. 'in 000000 L#»furJ» of fttyac rxr> Cnpr. 0000000 Parcels Road.d ^ Sysvarves ^ Tares Transmaro <^ WaterNet Jjttcm J Map. 3 waterman ejoodetabase • -V Landbase ■y water Jj DotOam id ttostimans Vj -- < • r,;-. Hydrants '■'I Sysvarves 23 Tares Ü Transmans • ^laterals III o~ners.dat This typical workspace contains folders to contain layer files and maps as well as a geodatabase to contain geographic datasets and relationships. A geodatabase is a collection of geographic datasets of various types used for representing features, images and tabular and other data types. While you can set up workspaces without geodatabases—containing only shapefiles. coverages, rasters, and so on—creating a geodatabase to store and organize your GIS data has several advantages: • You can specify rules and create specialized datasets that more closely mimic the behavior of geographic entities, such as creating a geometric network to model the flow of water through a system of pipes and valves. • A geodatabase lets you set up a structure that ensures relationships between datasets are made explicit and are maintained. You can make sure that datasets referencing the same location on the Earth's surface spatially register with each other correctly. In addition, you can specify that when you edit features in a geodatabase. all related features are also edited (so if you move a junction box, the connected electrical lines also move). • You can also set up rules to ensure data integrity (for example, a rule might state that parcel boundaries cannot cross—any that do are flagged as errors). • Storing data in a geodatabase is an efficient way to manage related datasets as a single unit. The three most common dataset types are feature classes, raster datasets, and attribute tables. You'll typically start by building a number of these fundamental dataset types. You'll have a set of feature classes (roads, streams, boundaries, and so on). Most of the time, you'll also have a set of imagery and raster datasets to work with (an elevation surface, orthophotos, or satellite images). And you'll have a number of tables, such as dBASE™ files, Microsoft* Access™ tables. Excel* spreadsheets, and so forth. 76 77 Using ArcGIS Desktop 2 • Geographic Data Management Fundamentally, all geodatabases will contain this same kind of content. This collection of datasets can be thought of as the starting point for your geodatabase. Then, as necessary, you'll extend your geodatabase with specialized capabilities to model how geographic features "behave" in the real world, to maintain data integrity, and to work with spatial relationships. These extended datasets are built from existing datasets plus rules and properties that define behavior or relationships. The three primary datasets in the geodatabase (feature classes, raster datasets, and attribute tables) as well as other geodatabase datasets are stored using tables. Vector and raster geometries are stored and managed in attribute columns along with traditional attribute fields. (This is unlike shapefiles and coverages, where the geometry is stored in a set of files and the attributes are stored in a related table.) The extended functions that define feature behavior, data integrity, and spatial relationships are also stored in the database. Basic geodatabase datasets Feature classes are homogeneous collections of common features, each having the same spatial representation, such as points, lines, or polygons, and a common set of attribute columns—for example, a line feature class for representing road centerlines. Feature classes are similar to shapefiles or coverages in that they represent geographic features as points, lines, and polygons. Raster datasets are commonly used for representing and managing imagery, digital elevation models, and other spatially continuous phenomena. Tables are used to store all the properties of geographic objects (these are referred to as feature attribute tables). This includes holding and managing feature geometry in a '"Shape' column. Tables also store attributes in related tables that can be linked to the feature class or raster (these are referred to as standalone tables). Extending your geodatabase On top of building the basic datasets in your geodatabase, you can add datasets to ensure data integrity, manage the relationships between geographic features and between tables, and allow for specialized data types. Ensuring spatial data integrity with feature datasets and topologies A "feature dataset" is a specific element in a geodatabase (not to be confused with the generic term "dataset") that holds one or more feature classes (sort of like a folder holds files). When you define a feature dataset, you specify the coordinate system. Any feature classes must have this same coordinate system, so you ensure that they register correctly (if they're not in the right coordinate system, you'll have to transform them first—see 'Defining coordinate systems and projecting datasets' in Chapter 3). A topology is a set of rules you specify that defines spatial relationships between adjacent or connected features in a feature class, or between feature classes (for example, you'd specify that census tracts share common boundaries and that they nest within counties— that ensures that boundaries don't overlap). Topologies define explicitly in the GIS relationships you can see by looking at a map. By defining a topology, you ensure these spatial relationships are maintained. Topologies are created within feature datasets. Types of geodatabases Ensuring attribute data integrity with domains and subtypes Attribute domains are used to specify a list of values, or a range of numeric values, for attributes. This ensures that only valid attribute values are assigned to features and avoids misspellings and other data entry errors. Subtypes are used to specify default attribute values for categories within a feature class. For example, for a roads feature class you could use a Road Type attribute to assign default speed limit values (25 mph for residential streets, 45 mph for major roads, and so on). When you assign the Road Type value for a feature, the Speed Limit value is automatically assigned. This ensures that the different classes of road are assigned the correct speed limit. Subtypes can also be used to define behavior for categories of features. Building relationships between features and tables Relationship classes are used to build tabular relationships between feature classes and other tables using a common key. For example, you could build a relationship class between a feature class of parcels and a table of parcel owners. The parcel owner information is stored and maintained in a separate table, for efficiency (some owners may own more than one parcel—if you need to update the information, you only need to edit one record). When necessary, you can retrieve the owner information by selecting a parcel, or find all the parcels owned by someone by selecting the owner in the related table. You can build relationship classes between any two tables. The owner table could in rum be related to a table of property tax information. Adding specialized datasets to your geodatabase You can add a number of specialized datasets to your geodatabase to use in specific applications, such as surface modeling or network analysis: Terrains—used for modeling triangulated irregular networks (TINs) and for managing large LiDAR and sonar point collections. Network Dataset—used for modeling connectivity and flow for a transportation network, such as roads or rail. Geometric Network—used for modeling outage and flows for a utilities network, such as electrical, water, or telecommunications. Address Locator—used for assigning locations to a set of street addresses. Linear Referencing—used for locating events along linear features with measurements, such as a highway with mile markers. All of these datasets are discussed later in this chapter. ArcGIS provides three types of geodatabases. designed for different work environments— from people using GIS by themselves, to small workgroups where several people need to access GIS data for various tasks, to large corporations or agencies (known as enterprises) that have many people accessing and editing GIS data, and where the GIS is integrated into other applications and databases. 78 79 Using ArcGIS Desktop File and personal geodatabases are designed for use by one or a few people. They support the full information model of the geodatabase, including topologies, raster catalogs, network datasets, terrain datasets, address locators, and so on. File and personal geodatabases can be edited by one person at a time—they do not support having multiple versions of a geodatabase that can be worked on by different people simultaneously. The file geodatabase is a new geodatabase type released in ArcGIS 9.2. Personal geodatabases, which were introduced in ArcGIS 8, use the Microsoft Access data file structure (the .mdb file). 2 • Geographic Data Management The process for designing and building a geodatabase ArcSDE geodatabases are designed to be accessed and edited simultaneously by many users. In addition to the capabilities of file and personal geodatabases. ArcSDE geodatabases can handle transactions that occur over a long period (such as continuous updating), can manage simultaneous editing and updating by many users, and can track the changes in the database over time, through versioning. ArcSDE geodatabases are primaril used in workgroup, department, and enterprise settings. The Personal and Workgroup editions of ArcSDE use SqlExpress. The Enterprise edition of ArcSDE allows you to create geodatabases that work with a variety of DBMS storage models (IBM" DB2 *. Informix . Oracle", and Microsoft SQL Server). Comparison of geodatabase types Storage Notes File geodatabase A file system folder containing a system file for each dataset Single-user editing, multiple readers Each dataset can be up to 1 TB in size No versioning support Personal geodatabase All contents held in a single Microsoft Access database file (.mdb) Single-user editing, multiple readers 2 GB size limit for each Access database (effective size for performance is 250MB to 500MB) No versioning support ArcSDE geodatabase Any of a number of relational databases: • Oracle • Microsoft SQL Server • IBM DB2 • IBM Informix Requires ArcSDE Multiuser editing, scales to many users Supports versioning and long transactions Size and number of users up to DBMS limits ArcGIS provides for flexibility in storing datasets. You can load datasets stored in a file system geodatabase into a multiuser or personal DBMS geodatabase, and can export from a DBMS geodatabase. You can also work with datasets stored in both file system and DBMS geodatabases simultaneously. One way to build a geodatabase is to create datasets and load data into the geodatabase as needed during your GIS projects. It's often more efficient, though, to spend some time and thought designing your geodatabase ahead of time and collecting as much of the required data as possible before beginning your project. This will save time and effort later when you're doing analysis and making maps. If you have experience designing large relational databases, you already have the background you need to set up a workgroup or enterprise geodatabase. The specific tasks for building a geodatabase are described later in this chapter. If you're new to database design and you're designing a single-user or small workgroup geodatabase, a process you can follow is outlined below, to get you started. There are also a couple books on geodatabase design published by ESRI Press, as well as additional resources in the Help system and at ESRI's Web site. These are listed in the appendix. Designing a geodatabase consists of identifying the types of information products you'll create with the GIS, listing the data themes required to create these products, and defining the specifications for each data theme. These specifications are implemented as datasets in the geodatabase (feature classes, rasters, topologies, relationship classes, and so on). You will probably want to prototype the design before fully implementing it, and regardless, you'll definitely want to document your design. Here, in brief, are the major steps in the process. Identify the products you'll create and manage using the GIS Your geodatabase design should reflect the work of your organization. When designing a geodatabase. you'll have a set of applications in mind—the maps, analytical models, web mapping applications, data flows, database reports, 3D views, and other products you'll create with ArcGIS Desktop. Defining what these products are helps determine the data themes you'll need in the database, and how they're represented. For example, there are numerous alternatives for representing surface elevation—as contour lines and spot height locations (hilltops, peaks, and so on), as a continuous terrain surface (a TIN), or as shaded relief. Contour lines as height locations would be appropriate for a topographic map. while a continuous terrain surface would be appropriate for an engineering or hydrology application. Identify the data themes needed to create the products Next, list the themes you'll need for your applications. For each product, list all of the input data themes that are required. These are the geographic features and phenomena that will comprise the geodatabase. and allow you to create your products. If your application is to create a topographic map, you'll need elevation, hydrology (streams, rivers, lakes, wetlands), transportation (roads, trails, rail lines, ferry routes), transmission lines, and so forth. A good place to start is by listing all the data themes you currently use in your applications, and their sources. It might also help to organize the themes by broader categories—transportation, hydrology, land surface, and so on. ESRI and its user community have developed a series of geodatabase data model templates that provide a jump start on your geodatabase designs. These designs are described and documented at http://support.esri.com/datamodels. At this stage of the design process you can use them as a checklist to make sure you're including all the data themes you'll need. They also include the detailed specifications for each data theme (see the next step), so you can use them as examples of how to define the various themes. When it's time to build your geodatabase, you can download the applicable templates, modify them per your own geodatabase design, and then populate the geodatabase with your data, saving you the effort of creating the geodatabase structure from scratch. 80 81 Using ArcGIS Desktop 2 • Geographic Data Management Here is an example description of a data theme for ownership parcels in a cadastral application. r^rj Simple feature class OwnerParcel Geometry Polygon Contains M vafuesNo Contains Z vatuesA/o OBJECTID Shape -PaT^TO-] ParcelLocalLabel ParcelName OwnerClassrftcation ManagingAgency Area AreaType ShapeLength Shape Area -PaTT"" Allow Default Data type nulls value Object ID Geometry Yes Siring String String String String Double String Double Double ype |Long integer Yes 3C 64 Ownership- ' o m ■M 20 0 0 0 0 0 1 Subtypes of OwnerParcel Subtype field ParcelType List of defined default values and Default subtype 1 domains 'or subtypes in this class Subtype Subtype Code Description I Field name Default valui Domai NO mkN * Ml No values set No values set Relationship class *T OwnerParcelHasOwner Type Simple Forward Cardinality Many to many label Owner Notification None Backward label OwnerParcel n Table ==l Owner Allov Prec- Field name Data type null: ision Scale Length OBJECTID Object ID OwnerlD I Siring 60 OwnerName Siring Yes 60 PercentOwned Long integer 'fes 0 OwnershipRole Stnng Yes Create the specifications for individual data themes Once you have identified and described the thematic layers in your design, the next step is to develop specifications, or schema, for representing the contents of each thematic layer in the physical database. The description of each thematic layer will result in a specification of geodatabase datasets, such as feature classes, tables, relationship classes, raster datasets, subtypes, topologies, domains, and so on. These then become the individual geodatabase datasets you create in ArcCatalog (or that you copy from a data model and modify). Then you import the actual data into each feature class, or create new data by digitizing or scanning features in the feature class. Here are the characteristics of each data theme that you'll want to define: • The coordinate system—this may be predetermined by local or regional standards, or by data that you're already using. You may use different coordinate systems for different applications (and geodatabases). • How the data themes will be represented geographically—some may be simple feature classes (wells represented as point features); some may require special datasets (an elevation surface represented as a terrain, or utilities as a geometric network). The map 82 scale is also an issue for the geographic representation of features. You might want to represent buildings as point features when zoomed out, and as polygons (the building footprint) when zoomed in. In this case you'll need to create two feature classes for the data theme. • The attributes of each data theme—the fields (column names), the data type for each (whether numeric or character, the field length, and so on), and the valid values or value ranges. You'll also want to define the table structure for each data theme— whether all the attributes are held in the theme's attribute table, or whether there are related tables and, if so, which fields will be used as the common keys for building relationships. • The relationships with other features. Consider how each map layer will be displayed in an integrated fashion with other layers. For modeling and analysis, consider how information will be used with other datasets (that is, how they are combined and integrated). This will help you to identify key spatial relationships and data integrity rules, to be implemented as feature datasets and topologies. Here's a simple example for a parcels geodatabase. Feature Class Representation Notes Street centerlines Line Street segments split at each intersection. Usually contain address ranges and network properties. Soil types Polygon Usually have many descriptive attributes in related tables. Parcels Polygon Topologically integrated with parcel boundaries and corners. Parcel boundaries Line Has coordinate geometry and dimension attributes. Participates in a topology with parcels and corners. Parcel corners Point Surveyed corners of parcels. Participates in a topology with parcel polygons and boundaries. Parcel annotation Annotation Provides text labels for lot dimensions, taxation, and legal description information. Building footprints Polygon Contains outlines of building and structures. Specify editing workflows and map display properties If your GIS work will involve data editing or updating data on an ongoing basis, it's useful to define up front the editing procedures and integrity rules—for example, you'd specify that all streets are split where they intersect other streets, street segments connect at endpoints. and so on. You can ensure that these rules are implemented in the geodatabase. It's also useful to define display properties for maps and 3D views, such as symbology, standard map scales, and text fonts. These will be used to define map layers. Build and test a prototype design If you're building a large, multiuser database, you'll want to test your prototype design. Build a sample geodatabase copy of your proposed design using a file geodatabase or a personal geodatabase. Load a subset of data and build maps, run key applications, and perform editing operations to test the design's utility. You can then make changes to the design before loading all the data. 83 Using ArcGIS Desktop 2 • Geographic Data Management The process of implementing your geodatabase design involves building the geodatabase structure, and then populating it with your data. There are two ways to build the geodatabase structure. • Use ArcCatalog tools to create the various geodatabase datasets. There are a number of tools in ArcCatalog that let you create new feature datasets. feature classes, tables, relationship classes, topologies and other geodatabase datasets. These tools are discussed as separate topics later in this chapter. • Use an existing geodatabase data model template. This can be one (or more) of the data models available at the ESRI Web site (http://support.esri.com/dalamodels), or a template that someone else provides to you. That saves you the step of defining the geodatabase structure using the ArcCatalog tools. You'll likely use the tools, though, to modify the templates to match your design. The process for importing and modifying a geodatabase data model template is discussed as a separate topic later in this chapter. Importing data to a geodatabase and editing are discussed in Chapter 3, 'Data Compilation and Editing'. Document your geodatabase design Once you've solidified your geodatabase design, you'll want to document it for reference. Various methods can be used to describe your database design and decisions: drawings, map layer examples, schema diagrams, reports, and metadata documents. The data models section at http://support.esri.com/datamodels has sample geodatabase documentation from a variety of industries. ESS*1 —jpg - Finding and connecting to data ArcCatalog lets you find and connect to data stored on your computer or another computer on your network, on a CD or DVD, in a database management system, or on a GIS server on your local network or the Internet. Once connected, you can browse or search for data across the connections. Establishing a data connection While you can add data directly to a map from your local disk drive without setting up a connection, establishing the connection allows you to preview the data, review the metadata, and more easily manage your data sources. The Connect to Folder button lets you create a connection to data stored on a local disk or network (Connect to Folder is also available from the File menu) Omm rht foa> a -net, vou _|o*u • .J wtet Ii*» Double-click Add Database Server to connect to a Personal or Workgroup ArcSDE geodatabase. Hsl ~3 You manage all the data connections from ArcCatalog (M E* 50 look ttrdy 3* \ • jf C'Wcgk • j§CIC\OS Protect Wor fit* _ef Artweb Se .JriCoordrvjte %vm CBoeHneieC BUetelllll i *•"*» eflGtSSer.er OeubeMi lii Inter opera1 •■■Scalar Rate ■ ; . ©kSeerd --. afrlcobo.es Iß Tr aderig Ci QUO» Pi. i>M_ Moo«* im 1 1 CPU 06 P*vda Honral Ml < 0 OLi N Pravrer Hcreeet OLE Dt Piovder I» hm MMeaj Merea* OLE Ot Pnvdr ta CMC Dereaj MoomR OLE Ofl PlrMdv tat OLAP Severn ttoejeejUM Pravear ler Oreoe «.:•:.«• n : I karar Fanale MSOaaShax OLE M Pie»e*> o Mooe* Oeeoory Servo* -IlSJ OmeaendUh tralokMrgeanMOD «■•erax^eeiaed pot DEFAULT 0««A. I O SMKlnev -Zl-1 1 J OK 1 Cereal j Double-click an option under Database Connections to add a connection to an OLE database or data stored in an RDBMS. The mmi guars rau Oroar. I» nra MevjecaracBOritoenAn-SHServer reuran ether create e »er earieUM>roeerieotgs whemUveuBeteaer f laeSDSarvoa «nass Servo. 1 -» 1 1 Double-click an option under GIS Servers to add a connection to an ArcGIS Server, an ArclMS Server, a web mapping server (WMS), or a server on the Geography Network. A sample geodatabase data model document showing the various datasets and associated attributes, as well as the links between tables. 84 85 2999999 Using ArcGIS Desktop Some connections may be established once, for databases you access on an ongoing basis: others may be connections you set up on an as-needed basis to access data for a particular map. If the connection is not currently valid (the data has moved or the server is unavailable), a small red x will appear next to the connection's name. You can have more than one connection to the same data source—for example, a connection to a CD at the highest level and additional connections to folders and subfolders on the CD. ( 4>CA - ^CWK Protect Workspace - _j Ann** Prolect • J water Seodar abase odb • I Corridor Project » _J Roedl Prolect • *o\ - put _Q Acwob Series - ji Coordriete Systems - .0 Database Corracoom - _J DOM Servers OJ feM M«« ier.» - J Ar^mW^JUDOWSS.g* • 2 Airaa.o^ectout (DBO offPUT) - *5 Anm> .snared (EKXCMUT) - OS Servers 3 Add ArcGIS Server 3, Add ArcIMS Server AddWtejServer - 6# Geography Netnort Servces hosted By ESB: J ABa«.*aure.. *bee_abe» «te.ConoCatioa jAMs.Ca™ •> Adas .Park-ayi.Seine_R*e.i At»s_Preop«eoon AOasJiaeroeds AtlasJ>oao» •) ArJes.Stetes.CoLnbBs MUt.TMann _-J e> Catalog • : • |M • E:\canede • ^ £ \canaoatbacAgro\nl • _q Database CuriwBore: • 9 Address Locators You can set up multiple connections to the same source—in this case, data * stored on a CD Once you're done accessing the data or no longer need the connection, you can disconnect by right-clicking the connection and selecting Disconnect Folder. The established connections appear in the Catalog tree t, Catalog - .e»C\ • 4»D:\ • j» E:\canacattack»™«! • _£| Database Corracbons • $ Adores* Locators f • Jt Cocrdnete Systems • M OS Servers ■ I Search Restats • 4) Tootmes • £/ Tracktig Cornscoorls Right-click the connection and select Disconnect Folder Database and server connections Storing geographic data in a relational database management system lets many people within an organization access the same set of data. Storing data on an ArcGIS or ArcIMS* server lets people both inside and outside an organization access the data. These connections are often established by a GIS or database system administrator. One special server connection is to the Geography Network™, a clearinghouse for GIS data supplied by users worldwide. When you connect to the Geography Network you get a list of currently available images and feature data you can preview, and add to your map. -10LHJ a. a * f x •. E ■ 88 **•)□«•<« • O * 1 in \sa ta~»ya»e»» a—, w. «*~ 1 3-4'S Geography Network Services lets you access images and features and services 86 Previewing data and maps Using ArcCatalog, you can preview data from any source you've connected to. Previewing what's in a folder or geodatabase Use the Contents tab to see what's in a folder or geodatabase containing geographic datasets. You can view the contents as a list or as thumbnails, among other options. Use this button to view a list of datasets £2 9» («•«-§• tree aw- 9» 'dr. ■e.cfn <,n»«efj\afcutj Use this button to view thumbnails r Previewing a feature's geography or attributes iew tab. Then specify whether you want to preview the Select a feature class in the tree view and select the Previ feature's geography or attribute table. When previewing geography, you can point to a feature with the Identify tool to list that features attributes. Use the drop-down list to specify whether to preview a datasets geography or attribute table. 87 Using ArcGIS Desktop You can preview an attribute table associated with a feature class or another data table in a compatible format—for example, .dbf. You can explore the table to make sure, for example, that it's the most current version. i«l«rX ESj* «1 »C *r f t. to*. ^•3 1 r! 4) C UrroW«'JW«^*TF«.JUft« ■|~—! ii I ssn-1 -rTr-»• «■<» 2 • Geographic Data Management Creating a thumbnail Before you can display a dataset as a thumbnail when previewing a folder or geodatabase you need to create a thumbna.l for the dataset. With the Preview tab selected, click the Create Thumbnail button Creafe Thumbnail Right-click a field name to sort or get summary statistics for the field. ■A Click Options and Find to search for a specific feature record, by attribute value. Reviewing a dataset's characteristics Metadata is useful for confirming the version of the data, its source and processing history, and the spatial reference system it's in. (Your metadata may not look like this—there are many different standard and custom formats. See "Documenting your database with metadata' in this chapter for more information.) |lSDCt«0 "3 / f rt •, P"'"1 foljlon r..«».nli» ..i.d ,.j 2 WWw i.nk«M».iioci 0.0.1. wntwi' 3 Bow itcana | ||||||' 1 l»>WKh>>>l>MI TAie Metadata tab displays myriad information about a dataset. 88 89 Using ArcGIS Desktop Searching for data and maps The ArcCatalog Search tool will look on disks, in databases, and on GIS servers for data that matches criteria you specify. Your search is saved in ArcCatalog. As data is found that satisfies your criteria, shortcuts to those data sources are added to the search's list of results. You can modify the search's criteria and run the search again. The Search tool uses metadata to evaluate whether a data source satisfies your criteria. Having good metadata documentation is essential for finding useful data. Right-click a folder or drive in the Catalog tree and click Search to open the Search dialog box. 2 • Geographic Data Management °" 1 aaoMS haolW-n itaMSHiinii Poo—« J Remove the current box ci »m»|p— 1'»null _ 1 Hh 1 | j *l -j bl« L. . - ta08D?4B 112BMC1 IW01C5? So* 1 r FrtiMm -i.mii.tii -^■"■^■^I^E Choose the map to display — JJKJ L/se f/?e A/ame & location tab to specify the name of a dataset (wildcards can be used); the specific data type, or types, you're searching for, such as shapefiles or rasters; and the location to search. Use the Geography tab to define the geographic area in which to search. Draw a box on the map (by clicking and dragging the cursor). Use the buttons to zoom and pan the display. Alternatively, enter the coordinates of the bounding box. Refine your search by choosing a location from within the box, using the drop-down arrow. Use the Date tab to search for data created or published before or after a given date or within a date range. ~3 ft"*" ««'<»— j JJ»J| Use the Advanced tab to search other entnes in the metadata, such as keywords, the data theme type, or the source. Use the dropdown arrows to create a query; then add it to the list. When you've entered all your criteria, enter a name for the search (the default is My Search). Then click Find Now (available from any of the tabs) to begin the search. 90 91 58 58 Using ArcGIS Desktop When you click Find Now in the Search dialog box. your search is saved in the Search Results folder and automatically selected in the Catalog tree. When an item is found that matches your search criteria, a shortcut to that item is added to the Search Results list. Once you've found the item that you want to use, you can work with the shortcut as if you were working with the item itself. You can preview the item's data and metadata in the appropriate tabs. You can drag and drop a shortcut onto a map or an ArcToolbox tool. When you delete a shortcut you delete the shortcut itself, not the actual item. ft. 4* * * x ««'•Oft ':-« r =.-.Ji To select the actual item in the Catalog tree, nght-click the shortcut and click Go To Target. fan • * ! • aftCWta. • * • *«> MM I Jt CoorOhatt 5nM» • ajiasservtn . $A tn«aj«*l> Carvacaors - 0. StanhRatUtl \ rvs-ro. — The search £Z_T results ■ «-3D .J M f> 6* »e» fit took «ndo. a* < « • o * *J.*k-»=r..-. QfPr cut* 4*C».T»J« X QOBtO aXSoTottro* ff» E -» orAOjcTii . i I-3 Gerat* Souc. | [ax | Dace* I StMaborl Takk ! Jot>>Um| CdkeetXY) U .im» iiiiISo» SoucT*. Pwaltte Ute* 3D. 30 EM N tugtHnl laMi _J«nTub> • _J WmW • _J Art«». eo oouTderr «hp h UM» a —».«. 6) «uov.tree «x lfJia>_ttuoV m JM«M" • _J Date_lrttroDW**y • _J tju^wwiiOiLqs • _J Idto • _J Ceooadng Right-click a shortcut to access the item's Properties dialog box. You can delete or rename searches the same way you would delete or rename any other item in ArcCatalog. To see the criteria for a search, select it and select the metadata tab. To rerun a search, or to modify the criteria and then rerun it, ; right-click the search and click Properties—that opens the Search dialog box. F> &» *~ So look urn-, a* ft.O»*PX ::&*•□«? :««"• o:*| locator! |Seert* O^JiNM, Saar* IMMM I'ooctsn -j ' f I » , My Search Search Result' Right-click the search name in the Catalog tree and click Properties to open the search so you can modify or rerun it. JiSJ I De. Ii Geooreprtc cntena Data located Witten the fo*ow«*) i search Mraiua» -125.970095 t: 35 023764 X: -10S 79*831 • 51 >JMSM lko»«SMMSarwa MM IMMbbI • "-■ tadMS Mann«! Seneca ~ Ml - :-<«*jr llaoa*eCo»awneteMateiCfctti Temporal crnana Data darscitinq the tana penod t> :-*tS0621 -* be retrieved by tr« whose metadata satisfies the ft ase-sensitrve. wal be retnevec I equals "Bevation and derived i Caaantkeal Staadt |CeMoo Laak at (C \acpavkcTiaoi 92 2 • Geographic Data Management Organizing your data with ArcCatalog ArcCatalog lets you organize your datasets in workspaces, manage datasets and workspaces, and manage how the data is displayed in the Catalog tree. Creating a new workspace Right-click any existing folder in the Catalog tree to add a new folder. You can then create new datasets in the workspace, or copy them in from other locations. You can also add subfolders to further organize your data. To create a new workspace, right-click an entry in the _ Catalog tree, select New. and click Folder. A folder „. ,. . „ i. „„w«.r ..m. «,„ » - tu Right-click the new workspace to add subfolders or to create new GIS datasets is added under the entry, with the default name New . ». _ ' „ in the workspace Folder—type over the name to rename it. Managing workspaces and datasets Right-click a workspace or dataset to copy, delete, or rename it (when you delete a workspace, all its contents are also deleted). To move a workspace, simply drag it to a new location. 93 Using ArcGIS Desktop To copy a dataset into your workspace, navigate to the folder containing the dataset. Right-click the dataset name and click Copy. Then right-click your workspace name in the Catalog tree and click Paste. You can also copy a dataset by holding down the Ctrl key while dragging and dropping. (Without the Ctrl key. dragging and dropping moves the dataset.) «. 4 • ~ ■ 88 « € • O jb Right-click the dataset and click Copy.. ...then right-click the workspace name and click Paste. Exploring an item's properties To learn more about a dataset or other item, right-click it to open its Properties dialog box. You can. for example, display the source information for the dataset. view its coordinate system parameters, and display a list of its attributed fields. Different data formats have different properties dialog boxes. as fee* CH« x 0— n OM>Ue» • TT) 2 • Geographic Data Management Properties dialog box for a raster. Managing the ArcCatalog display You can customize ArcCatalog to show only the folders and items with which you want to work. When you first start ArcCatalog, the Database Connections. Database Servers, GIS Servers, Address Locators. Search Results, and Toolboxes folders are visible. If you don't use data that is stored in a remote database or provided by a GIS server, you can hide those folders, for example. Similarly, you might only want to see the shapefiles in a folder, not the coverages and CAD drawings. ■ 'M COOTtBMttSill— j5 TiKMngCorracan •wr>»tctt>g. t£.SMrcMIMjU * AkGIS S«rvw Corraonra : la* »•» tee «. a* »r x!"» 5 1 « « • e * |C\6B Paalrwaa Pnaad Wi»a>aoi\OttMm «X • * * jfClaxd - 4f» - _l« Ka« • * a ■ m I jaCaadttetaSraraa I ta.CBSar.ai .*"»*«— , ü It. Boundary of Yellowstone National Park Bhapeflle Keyword! Thema: part, boundary Thame: bound ana* Ptaca: veacMione Njtaxuji Part, u S Oaaaa to «taanaat rau -a< as aaa t» «aa • Use the Stylesheet drop-down anow to select the metadata stylesheet to use. The information in the metadata remains the same—only the way it is displayed changes. The Stylesheet drop-down arrow is active when you select the Metadata tab. To change the default stylesheet, use the Options dialog box on the Tools menu. You won't see the change until the next time you start ArcCatalog. ft. 3 * *(■"••>•» ■ ■■■ a UUMa »««Caan llU Ii Imlrmnj "»?-: aataMajoa •ao. ««->* -<» i hana aaHi — aaaaakaroy.axt.ait. car. cnarga taj aau a oaafct»oulBiaaa.Hiaai •ad«»««» ■a lab llainaiEaai |iSOWaao 3 ' Paaa ta Co» bjaan r, t» lla.laa «n«ia la an» tu ajn Use Options on the Tools menu to set the default stylesheet (on the Metadata tab). Your selection will be the default the next time you open ArcCatalog. Select the default stylesheet 96 97 Using ArcGIS Desktop Stylesheets with filenames that begin with "FGDC" present metadata stored in the XML elements defined by the Federal Geographic Data Committee (FGDC) Content Standard for Digital Geospatial Metadata. « * ' • • o * Boundary of Yellowstone National Park Wiwual: Shaw» FB* or tab*, name: ooundanr aJBlül FGDC and ESRI Metadata: • raentrftction IrtenaaMBn .* ai«»'« «w *t a- . The FGDC Cfessfc stylesheet provides a set of links to quickly jump to the pertinent section of the metadata. -■.m*l »«• !* I— V» 1"" If"*- 5« «. a* aaa>x a! • □ It? * « • 0 * JOHFI JC "ÄS PaaaaetarlWMaji -Vwcl WaatapaV d HafjBafiaf:: /•*•'«• ■ t Cjufco • Sum Sa«* »■**» - «V Content Citation TMto Ol Cot.M. Publlihvr PubbcaOon Pl.t*. PebucatJo. Date Ro.oel.-* of Y#lk>»»*T»f.. N«tk.n«l Par* CCa-^tO-r34Ö« DelU v-jlo-rßor*» fetOOfteW P*»» t«low«on« r**tx»%* c*r., w-omng. USA 1996 ■ as -• --' • aJ3 We»apa» ataaTr ClMWW« »>*»**■* • P**aa» , jMtCan Content Ueecription caauoi laaaeenj no iwa recnxeno the txxnun dermo reaowftone Neoonei Part and (he *"»• «» tfiaoeMe o .tended to be utedlet part of M AfoCetatog Qu** nan; cuconal The tutonal can be found *> chapter 1 of time Period ol Content Date: Content Status The FGDC FAQ stylesheet presents a set of frequently asked questions so you can jump right to the infonvation you need. It's useful for datasets accessed by many users. The FGDC Geography Network stylesheet is used at the Geography Network data clearinghouse. It uses a citation fonvat so users can quickly see if the dataset will be useful for their purposes. Stylesheets beginning with ISO present metadata stored in the XML elements defined by the ISO standard 19115, Geographic Information-Metadata. In addition to the existing stylesheets, you can customize the metadata stylesheets provided by ESRI and add your own XSLT stylesheets to ArcCatalog. 98 2 • Geographic Data Management Printing metadata When you print a copy of a dataset's metadata in ArcCatalog, the metadata will print exactly as you see it in the Metadata tab. If you're using the FGDC ESRI stylesheet, click the appropriate tab on the metadata page and expand the appropriate headings so that you can see the information you want to print. a* •> Ma «*■*» !>* 6. <» *» n •? «: « • O * Boundary of Yellowstone National Park Shap.'ile Spjfiil Attribut.! Thawna: &x*»xJeV>»r» Marcs: ••io-.toot HilonS u.S Description snaotrV« rwprttajrif. (he bcwUt, cttrWig »»lowjtora« * With the Metadata tab selected, choose Print Metadata from the File menu. Editing metadata documentation Metadata consists of properties and documentation. Properties, such as the extent of a shapefile's features, are derived by ArcCatalog and added to the metadata. Documentation is descriptive information you enter using a metadata editor—for example, legal information about using the resource. Two metadata editors are provided with ArcCatalog. One lets you create complete documentation following the FGDC's Content Standard for Digital Geospatial Metadata. The other editor lets you document your data following the ISO standard 19115, Geographic Information—Metadata: it supports only the core metadata elements as defined by that standard. Use the Metadata tab on the Options dialog box to select the editor you want to use. HSU Beopreomng 1 Trtaa | Raaar | CAB | Dae Ganse | Far Tepn | Com I i>«i«iWiMmn s»iei;«crraci»dte.»ii.a»K Da»at»«»a>aal | FGDC E SOI 3 DaafaJaiaMHa ■ naujdee daunt ekMCV AioCalabg c*i oaa I ha rou & Aune^aVemaM.ihtMmantanh.CeAc coireA*cC*eogQue* *muon* the* ~3 -J .T3 _J |S»t»ES«Ul«.l'tf.a^ttD«i»aW.Mreei«Tjl.Mrai on I, itlii i T>..»CTD«j.r«iii«ii«,iTlMi|»rJ.L»iJ».»i-»- J Keywords Thame: park, boundary Theme: boundaries Plan: vaeowsTane National Part. US alfcruaiatVrVgo-iiOOOV Naa-Da.S.^äJS- n50Bual?l3SSa><«jPaJi«.ESHI*irf ««roll 072? The ISO editor is presented as a wizard. You can step through the panels using the Next button, or click a topic on the list to jump to that panel. One, a—a aaari rani nil e»aderaarJ.e1aie>>ie irra a r Baiabagn-^aaraooVcaonpaga t>-n I Canal 2 • Geographic Data Management Importing and exporting metadata If you have metadata that was created outside of ArcCatalog, you can import it if it's stored in one of the input formats supported by the FGDC's metadata parser utility. You might export metadata to publish it on a data clearinghouse website. Exporting to HTML format creates a file that represents the selected item's metadata exactly as you see it in the Metadata tab. Exporting to XML format creates an exact copy of the item's metadata in a new XML file: this lets you work with metadata for geodatabase items outside ArcCatalog. • *J> Irtaropwebatr Corocrjcre • »3. Saar* touts • «Toabm • j3 TreJerjCarreoxia Keywords Thame,: part Boundary Theme: boundaries Piece: »eeowstone National Part. us Use the buttons on the Metadata toolbar to import a datasets metadata from (or export it to) one of several standard fomiats. Before you start writing documentation, you need to decide which metadata standard you're going to follow. If you don't have any metadata yet and don't need to create metadata according to a specific standard, the ISO editor might be right for you. If you have a requirement to create FGDC metadata, if you already have FGDC metadata, or if you want to create detailed metadata, the FGDC editor would be a good choice. Once you've decided which metadata standard you're going to follow, use the editor that corresponds to that standard. Whichever editor you use. the information you enter will still appear in any of the style sheets. A metadata document in ArcCatalog can contain both FGDC and ISO content. These two standards can exist in parallel in the same metadata document because they each use a completely different set of XML tags to store their information. Therefore, if you provide a title using the FGDC editor and you later switch to the ISO editor, the information you previously added won't appear in the editor. 100 101 Using ArcGIS Desktop Select Schema Only, and type the name of the XML file (or browse to locate it). This same wizard is used to load an entire exported geodatabase, including the data. After renaming the new geodatabase. right-click it, click Import, and click XML Wori - x .straij . « «am«» — E«—........—■ __ - ' ■■ ■ ^ -1 jX" ' * i • * XZ3 sir Once the date is toaded, the feature class now contains features. The feature geography can be previewed in ArcCatalog, and the features can be added to a map in ArcMap The feature attribute table contains the attribute values for each feature. Another way to copy the schema of a geodatabase is to use the Extract Data wizard in ArcMap. It allows you to modify the spatial reference of the new schema you create and to set a map extent for the data you want to copy into your geodatabase. This is useful because the spatial reference requirements of your new geodatabase will probably be different from those of the source geodatabase. 2 • Geographic Data Management Creating feature classes and tables Feature classes and tables are two of the basic datasets in a geodatabase. Feature classes store geographic features of the same type and their associated attributes—for example, you'd create one feature class for roads, another for streams, and a third for parcels. Standalone tables store additional descriptive information that can be related to the geographic features. When building a geodatabase structure (or schema) from a design, after creating the geodatabase you'll create and define the empty feature classes and tables. You first create the empty feature class or table. You then define any additional fields containing descriptive data. Later you'll add data to the datasets by importing or editing. Creating a feature class Feature classes contain both the geometric shapes of each feature as well as their descriptive attributes. *, 4» «"■* = ft i m • o i «r i« « • o * od am e > - • ♦ F*» 3 J *-ft° w « • - *l 3 - ■ a im , 4 To create a feature class, right-click the geodatabase in the Catalog tree, point to New, and click Feature Class. • 0 * • *] _ |C W5« The Extract Data Wizard is available from the Distributed Geodatabase toolbar in ArcMap. To open the toolbar, click the view menu and point to toolbars. Enter a name for the table or feature class, and an optional alias Then define the type of feature. Define the coordinate system for the feature class. Select a predefined coordinate system, import one from an existing dataset. or define a new one. ArcGIS uses the tolerance to evaluate if features connect or overlap. X. Y coordinates within the tolerance distance are considered to be coincident. The default tolerance is an effective choice in most cases. Configuration keywords are used to handle special data storage needs. For example, if your database will be larger than 1GB or if you need to store attributes containing Chinese or Japanese characters, you'd specify the appropriate keyword (these are specific to each DBMS). Otherwise, choosing Default is a suitable option. New feature classes have a default ObjectID field and a Shape field that specifies the type of feature (point, line, or polygon). This dialog box is where you specify additional fields, by typing the name and data type in an empty row. 106 107 Using ArcGIS Desktop Feature classes store features in vector format. Vector data is often used to represent features that have a discrete location in space—such as wells, streets, rivers, states borders, and parcel boundaries—as opposed to being continuous across space, such as elevation or rainfall, often represented using rasters (see "Managing raster datasets in a geodatabase' in this chapter). The most common vector types are points, lines, polygons. Annotation, which is used to label features, is also stored as feature classes (see 'Creating and editing annotation' in Chapter 3). Multipoints are often used to manage arrays of very large point collections, such as LiDAR data. Multipatches are a 3D geometry used to represent the outer surface of buildings or other objects having volume. You can also specify whether the feature class includes Z or M values. Z values are most commonly used to represent elevations, but they can represent other surface measures. M values are used to interpolate distances along linear features, such as along roads, streams, or pipelines. A common example is a highway milepost measurement system. The coordinate system for each dataset is for georeferencing. It can be imported from an existing dataset, or you can create a custom coordinate system by defining its properties (you'll likely either import a coordinate system or select a predefined one). Most organizations use one coordinate system—appropriate for their geographic location—for all their data. Feature classes can also be created within a feature dataset in the geodatabase (see the next section. 'Ensuring spatial data integrity'). In this case, the spatial reference will be defined for the feature dataset. so you don't need to specify it. • Jt CoMrarU . . ■ Saar« 6 <* • Ji** • IE SW.FV. Use the Import option to assign the feature class the coordinate system of an existing dataset. Use the New option to define the parameters of a geographic or projected coordinate system. 2 • Geographic Data Management Creating a standalone table The process for creating a standalone table containing only tabular data is similar to the process for creating a feature class conta.n.ng geographic features. The main difference is that you don't specify a coordinate system, tolerance or teature type. IIS Enter a name and alias for the table. To create a table. right J Fr«K I Cad | 110 111 Using ArcGIS Desktop Once you press Finish, the fields and their properties are saved. You can modify some of the properties by opening the feature class or table properties dialog box (right-click the feature class or table in the Catalog tree and click Properties). On the General tab. you can change the alias. On the Fields tab you can delete a field you've added (as described above) or change the alias or default value for a field by typing in the appropriate box. You cannot modify the feature class geometry, or field types or lengths. You can add new fields by typing in an empty row. «. 4 a « ■ • x £.<••□«?«• • o ♦. JJKJ I Sow I rWanrfOT I ilpaun 0—Tyw |j cane 3*« Right-click a feature class or table and click Properties to open the Properties dialog box. You can add or delete fields, or modify some field properties. «laa uro» a» 1 D*> '*» oáMr, n Oram NrrtNf« Äse—« 1 C*o» I ««■> You can also delete and add fields when previewing a table in ArcCatalog, as well as when viewing a table in ArcMap (see "Adding fields and calculating attribute values' in Chapter 5). •-■.» — «■•.. ..... B* «. a * Hi »' X ii J • □ iff « « • o "3_ ■3 i * ft« Se/ecf /he feature class or table in the Catalog tree, select the Preview tab. and select Preview: Table from the drop-down box at the bottom of the ArcCatalog window. Right-click a column heading to delete that field; use the Options button to add a field. — r If you've defined many fields and then find—after you've finished creating the feature class or table—that you need to modify the type or length of one or a few fields, you can delete the field and then add a new one. Or. you can create a new feature or class or table and then import the fields from the original one—once you've imported the fields you can modify the ones you need to. up to the point you click the Finish button. 2 • Geographic Data Management Ensuring spatial data integrity ArcGIS stores information about a place as layers of data (each represented by a dataset). You need to ensure that the datasets are coincident and register with each other correctly. Adding what's known as a "feature dataset" to your geodatabase ensures that feature classes for the same geographic area have the same coordinate system and therefore register correctly. You also need to ensure that features within a dataset. and between datasets. relate the way the features they're representing do in the real world—-for example, that parcels don't overlap. Adding a topology dataset to your geodatabase makes these spatial relationships explicit and ensures they're implemented and maintained. Creating a feature dataset Sometimes different datasets that cover the same geographic area are in different coordinate systems and won't register correctly when you display them on a map or combine them when performing geographic analysis. This is often true if you collect existing datasets from various sources. A feature dataset. which contains feature classes and related geodatabase datasets, ensures that all the related datasets are in the same coordinate system and register correctly. ...»-,••-..... o* a. 4» »J • X •. El l>™ —3 ■ Ii.««*» To create a feature dataset. right-click the geodatabase in the Catalog tree, point to New. and click Feature Dataset. 1 aa r^-i-i^j Enter a name for the feature dataset. As when creating a feature class, you can specify the coordinate system for a feature dataset by selecting a predefined one. importing a coordinate system from another dataset. or creating a custom coordinate system. Specify a vertical coordinate system if your dataset will include feature classes that have Z values (heights or depths). Again as when creating a feature class, you specify an XY tolerance to define the distance within which coordinate pairs are considered to be coincident. Once you've defined the feature dataset, it appears in the geodatabase. 112 113 Using ArcGIS Desktop 2 • Geographic Data Management When you define a feature dataset, you specify its spatial reference. This includes its coordinate system and the coordinate domains—the minimum x-, y-, z-« and m-values and their precision. All feature classes in the dataset use the same coordinate system, and all coordinates in all features in all feature classes must fall within the coordinate domains. Any new feature classes you create within the feature dataset are automatically in that coordinate system. Any datasets you want to import to the feature dataset have to be transformed or projected into the coordinate system before you add them. When defining the coordinate system, you can choose a predefined coordinate system, import it from an existing feature dataset. or define a custom coordinate system. Feature datasets are primarily used for storing feature classes that will participate in a topology, network, or other specialized dataset. These datasets can only be created within a feature dataset, the reason being that all participating feature classes must have the same spatial reference (otherwise, it would be impossible to build the dataset). which the feature dataset ensures. Getting data into a feature dataset When you first create a feature dataset. it's empty. There are several ways to add feature classes to the feature dataset. One easy way is to—within ArcCatalog—simply drag and drop a feature class from elsewhere in the geodatabase, or from another geodatabase. Another way to add a feature class is to import it to the feature dataset. Importing lets you modify the incoming feature class, to some extent. tv 4 9 n v « « «Oft »« 4 Cures» «f * jlrm»na - _J Comoar trove! - *5 C»r«r CmMm gee A" mi .a) «r«ee Svxti jf Coo-otoaraSr** Ute». one Ort.« **- n • 0a»(angk>.-l»»"C»<»Ml J — a : 1015 ftoncri 0.wr~«*»»•£■ «.-0'»rn.ale>Ce H±A af.1 CM» IVgiWi. PgpaSWM. G«mW»fu.» mdb -1 *] *l ♦I |C SSI5 ftoaettlCorirt. PxmNMn GecflaUba»» «b\ -JflJ»J IrcUfasUti_ |C NOIS Piwcr Wokné»Wrar PrcfacAWaur Gaceuü" | Cstj OjpuUxahm___ |C 10IS Plead WratajacaUjanoO P-ccrsCt»»*« Gaocu fijf| i NAME (TM| * I-De .'Short! ■i +1 u I &rod«t«b*»f Settings (optional) Carat Enwmni Sh»Hek>> To import data, right-click the feature dataset in the Catalog tree, point to Import, and click Feature Class (single) or (multiple). The (single) option imports one feature class at a time, and lets you specify the input parameters. The (multiple) option lets you import several feature classes at once, but they are imported as-is. You can also define a new, empty feature class within the feature dataset. The process for defining the feature class is the same as for creating a feature class at the geodatabase level (see 'Creating feature classes and tables' in this chapter). M. t* 4» I"* tern- a* Wi-or, ■ a e. 4 • □ x? « «t • o * "3 jí J C rÄProweiVratapaoi . _J amtiPfaaa - _JCOTrtar»roaKt *tV_K^_ Be— ^McaNCirrao »ir—i To creaře a feature class within a feature dataset. right-click the feature dataset, point to New, and click Feature Class. As you develop the geodatabase. you may add topologies, relationship classes, and specialized datasets to the feature dataset. Creating a geodatabase topology Besides referencing the same location on the Earth's surface, datasets for the same place often have spatial relationships with each other. These are relationships you can see when looking at a map and are often intuitively obvious, but they must be made explicit in the G1S. For example, streets must connect at intersections; parcel boundaries cannot overlap: parcels nest within block boundaries; and so on. A geodatabase topology is a set of rules that specify how points, lines, and polygons share geometry. The rules can apply to features within a single feature class—for example, one topology rule would ensure that adjacent features, such as two counties, will share a common edge, so county boundaries don't overlap. The rules can also apply to features in different feature classes. For example, county boundaries (one feature class) must completely nest within states (another feature class), and share edges along state boundaries. A topology is created within a feature dataset, and applies to one or more feature classes in the dataset (so if you want to create a topology in your geodatabase, you must first create a feature dataset and add the pertinent feature classes to it). Only feature classes in the same dataset can participate in a topology, but not all the feature classes in a dataset are required to participate in the topology. And a feature class can only participate in one topology at a time. When you validate a topology, ArcGIS checks the rules you've established. To ensure the rules are not broken, ArcGIS will, if necessary, snap feature vertices together to make them coincident. For example, if two street centerlines are supposed to connect but don't quite meet. ArcGIS will snap the end points of the lines together. Specify a cluster tolerance to control how far features are allowed to move during snapping (the default cluster tolerance is the minimum possible). The cluster tolerance should be small, so only close vertices are snapped together. A typical cluster tolerance is at least an order of magnitude smaller than the accuracy of your data. For example, if your features are accurate to 2 meters, your cluster tolerance should be no more than 0.2 meters. You'll want the less reliable features to snap to the more reliable ones. Ranks are used to implement this. Vertices of lower-ranking features within the cluster tolerance will be snapped to nearby vertices of higher-ranking features. 114 115 Using ArcGIS Desktop 2 • Geographic Data Management To create a topology, right-click the feature dataset. point to New, and click Topology. That opens the New Topology wizard. 11*1 i-:- BBJI ■nav*.** ton te Mariin Tha htfa» ■ -"a-_Lü*-L Si MWI !-4 4*1 I ft. alas -a ft* an but a ra> apabca * aaxagr aaaa fou a aoM ta ajeeaiBaeaarfeSBal »i toMa S«ara>raA«atg aaaeani tora pacaa o Kri Specify the number of ranks, and use the drop-down menus in the Ranks column to assign each feature class a rank. Features having a lower rank will snap to those having a higher one. Click Add Rule to add rules—use the dropdown menus on the Add Rule dialog box to construct the rules. Enter a name for the topology, and specify a cluster tolerance (or accept the default value). urn rttsrti'anc-Thaaaaa.** ahaaeaalaali CkM «a*a aj .aaraaadaoM* daaottnuaa r^n ^ i SaaaV ta nia a> N aaobar Add a// the rules you need to the list. You can save the rule list to use with topologies in other feature datasets and geodatabases. Select the feature classes that will participate in this topology—you can have more than one topology in a feature dataset. but each feature class can participate in only one topology. XWLW- usl SaaalaaeUaa Bil-"—■a.'aoa HB I.....\m 3lSl i dana an.«cum I i«* *■*- a* l««n«:;0|ax| ■■— 1 J / 0 __:___j : i» 1 i Click anywhere in the row to select the field After creating a domain, associate it with a field by accessing the properties for the feature class or table. Right-click the feature class in the Catalog tree, click Properties, and select the Fields tab. Click this box to select the domain from the list 2 • Geographic Data Management Domains are created at the geodatabase level (for the entire geodatabase rather than for a feature dataset or individual feature class) so they can be assigned to any of the feature classes or tables in the geodatabase. For example, a single paving type domain could be assigned to both a Pavingtype attribute in a highways feature class and a Surfacetype attribute in a streets feature class. Domains are managed using the Domains property page, which can be accessed from the geodatabase's properties dialog box, or from the Feature Class or Table Properties dialog box. The Domains property page can be used to delete an attribute domain from the geodatabase or modify an existing domain. Code domains constrain the values you can enter when editing attributes in ArcMap—a drop-down menu lets you choose from the valid attribute values. A range domain doesn't constrain the value that can be entered, but when you validate your edits, any values that are outside the range will generate a warning so you can fix the error (see 'Checking your data for errors* in Chapter 3). p. ta f »—t Ian* i* 4* «. »far3!»«;« p I.,.-. SB IS ail "3 / ß n o n—TT17 X tasdsssüisssi a a m a jj i.r k e □ * A • j|.o J » / o A* * • jZ- i* Without the domain, values have to be typed in. Not only does the domain save time, it also helps prevent data entry errors. When editing a field with a code domain (in ArcMap), the attribute value is selected from a drop-down list. Using subtypes to assign default values and domains Subtypes are based on categories or classes within a feature class or table, and are a way of assigning default values and attribute domains without having to create separate feature classes or tables for each category. For example, in a water network, it may be that transmission water mains can have a pressure between 40 and 100 psi, while distribution water mains can have a pressure between 50 and 75 psi. Rather than creating separate feature classes for transmission and distribution water mains, you'd create two subtypes—"transmission mains" and "distribution mains"—within the water mains feature class. You could then assign different range domains for the water pressure field to each. Subtypes can also be used to assign different topology rules to different types of features within a feature class (see the previous section. 'Ensuring spatial data integrity'). The subtype for a feature in a feature class or a record in a table is determined by its subtype code value. The field you're using to define subtypes must be short or long integer. If the values are currently stored as text attributes in the table (as category values often are), you'll need to add an integer field to the table and assign a numeric code to each category value (see 'Adding fields and calculating attribute values' in Chapter 5). For example, if you're creating subtypes for a parcel feature class using a general landuse code, and the categories are "residential," "non-residential," and "undeveloped," you'd need to add a new field to the feature class and assign an integer value to each feature based on its landuse category—say 0, 1, and 2. respectively. You'd then use this new field to create the subtypes. 120 121 Using ArcGIS Desktop 2 • Geographic Data Management |C\Ui lUnAn. »«»<*wa. Maa» ^rn.u«ti»«>wr J * t DaJeJSiaajpE MaaVatatard 1 ««- — a I *** " USf .CLASS 3j as_ «MCOdM J Se/ecf toe fie/d from i/ie fearure class attrit table or standalone table to use to define the subtypes. For each subtype, enter the code (the value from the subtype field) and a description. The description will appear—instead of the original] code—whenever you view or display the table. Each subtype can have its own default values I and domains. Select a subtype by clicking its I row in the upper box. then click in the Default Values or Domains box for a field to enter a j default value or assign a domain. ■-- - .. '----- To create a subtype, right-click the feature class in the Catalog tree and click Properties; then select the Subtypes tab on the dialog box. For convenience, you can also create a domain from the subtype dialog box—it becomes one of the geodatabase domains, available to all other feature classes in the geodatabase. mm mmm ••*• 'f 'oa ~3 PataaiTyaa jCajaavaaat MftW IPllajtVaaaj HaraB poaci Cafaa • aut CocMValaa ., Oaten im W _ 2 T * ar —-□ li-fir- 1 i J _Is Subtypes can be modified or deleted using the Subtypes tab. To delete an individual subtype, click the box at the beginning of the subtype's row and press the Delete key on your keyboard. To delete all the subtypes, click the Subt Field drop-down arrow and select . Once created, subtypes are used in several places in ArcGIS Desktop. When you view the feature class table or standalone table in ArcCatalog or ArcMap. the subtype name appears in the field, rather than the original value the subtype is based on. The original codes for the Development Code field. When you preview the feature class in ArcCatalog, the features are symbolized by subtype-normally they're all drawn using a single symbol. Similarly, when you add the feature class to a map in ArcMap. the features are automatically symbolized by subtype. ' ». 4 * »x -aa + oiŕ? q q r> • • a aJDljS) F -5 c—* ^l"^-! ä -i -'^y - _|Oaa - 3 When you preview a feature class that has subtypes, the features are displayed using a different color for each subtype. When you edit attributes in ArcMap. the subtype names are displayed in the field. Any default values or domains you ve defined are active. If you change the subtype, any default values are automatically applied and any domains automatically become available. After the subtypes are created, the subtype descriptions are displayed. When editing the attributes of a feature in ArcMap, the subtype descriptions are listed. If you change a features subtype, any default values or domains associated with the new subtype are immediately applied. 122 123 Using ArcGIS Desktop 2 • Geographic Data Management Building relationships between features and tables A feature class stores the geometry of geographic features and their attributes. In many cases, you'll be able to store all the descriptive information for the features in the feature class. There may be cases, though where it's more efficient to store information about the features in a separate table, and relate the records in this table to the features in the feature class, using a common field. One way to do this in ArcGIS Desktop is to create a relationship class in your geodatabase. The relationship class defines the relationship between the feature class and the related table, or between two standalone tables. For example, you may want to store information about the owner for each parcel in a feature class (the owner's mailing address, phone numbers, tax ID, and so on). One person might own several parcels; it would be redundant to store all that information in the feature class for every parcel that the person owns. Conversely, a parcel might be owned by several people: it would be difficult to store their names (let alone their other information) in the record for that parcel—you'd have to have multiple fields (ownerl. owner2, owner3. and so on). To solve this dilemma, you'd create a relationship class between the feature class of parcels and a table of owners. Each parcel and each owner is listed once, in their respective tables. A common field in the two tables acts as a key to relate records—in this example, you'd likely use the parcel ID. When you point at a parcel on a map in ArcMap to see who owns it, ArcMap uses the relationship class to select and display the related owner records for that parcel. When you select an owner in the owner table. ArcMap will display all the parcels owned by that person. Relationship classes are often used to maintain descriptions of category codes. For example, each parcel may have a landuse code, with the detailed description of the code stored in a related table having one record for each code. If you need to change or update a particular code description, you just edit the record in the related table. Relationship classes are also useful if related tables are maintained and updated separately, or if the attributes you need in a feature class are already stored in another feature class. For example, you may have a feature class of counties, with the health statistics for each county stored in a separate table that is updated monthly. Rather than continuously updating the attributes in the counties feature class, you simply create a relationship class to relate the counties to the health statistics table. Attribute relationships can also be created using joins and relates in ArcMap (see 'Joining tables' in Chapter 5). These relationships are stored only with the map in which they are created. Relationships created in the geodatabase are available for any map and throughout ArcGIS. Setting up a relationship class in the geodatabase has several other advantages. A relationship class can be set up so when you modify a feature, related features update automatically. This can involve moving or deleting related features, or updating an attribute. For example, you could set up a relationship such that whenever you move a utility pole, attached lines and transformers move with it. By setting rules, a relationship class can restrict the type of relations that are valid. For example, you can specify that a pole may support a maximum of three transformers. Creating a relationship class You can create a relationship class at the geodatabase level or the feature dataset level—either way, all the feature classes and tables in the entire geodatabase are available for the relationship; the only difference is where the relationship class will reside. Right-click a geodatabase or feature dataset. point to New, and click Relationship Class. The wizard will prompt you for a name for the relationship class and the participating feature classes or tables, as well as other properties. You can create a relationship class between a feature class and a standalone table, two feature classes, or two standalone tables in your geodatabase. Enter a name for the relationship class, and select the origin and destination feature classesAables. In general, the destination is the feature class/table you're relating the associated table to. In this example, a table of owners is related to parcels—Owners is the origin and Parcels the destination. Specify either a simple or composite relationship. In a composite relationship, if a record in the origin is deleted, the related records in the destination are also deleted. In a simple relationship this is not the case. To create a relationship class, right-click a geodatabase or feature dataset in the Catalog tree, point to New. and click Relationship Class. The process is the same either way—the only difference is where the relationship class will be stored (under the geodatabase. or under the feature dataset). Use messages to enable automatic update of records between the feature classes/tables. You can later set up rules to specify when and how updates will occur (for example, when you move a feature you can have features in a related feature class move with it). 124 125 Using ArcGIS Desktop 2 • Geographic Data Management Specify whether one record in the origin relates to only one record in the destination; one record can relate to more than one record in the destination; or multiple records in the origin can relate to multiple records in the destination. Hi Specify whether the relationship | class will have attributes—that I is, whether each linked pair of records has associated fields, such as the percentage of a parcel owned by a particular owner. If Yes, an intermediary table is created, and the Next button displays a dialog box in which you define the fields. Each record in the table represents a linked pair of records. Lastly, specify the fields in the origin and destination feature class/table containing the common values used to relate records. These are known as keys. r**- ■-» I I c—» I The final panel displays a summary of the options you specified. Click Back to make changes, or Finish to create the relationship class. If you specified that the relationship class contain attributes or you specified a many-to-many relate, or both, an intermediary table is created. In addition to the origin and destination keys, you specify the field(s) in the intermediary table that correspond to the origin and destination keys. On the first panel of the wizard, you choose one feature class table to be the origin and another to be the destination. An edit made to the origin will affect the destination. For example, in the landuse code example above, you'd set the code table as the origin and the parcel feature class as the destination. Deleting a parcel (a destination object) will have no effect on the code table, and deleting a landuse code (an origin object) will set the value of the code field in the matching parcel records to Null, which is as it should be, because they no longer have a matching code table record. If you set the parcels as the origin, deleting a parcel would set the value for that code to Null in the code table; all other parcels having that code would no longer have a match in the code table. When you create a relationship class, you specify whether it is simple or composite. In a simple relationship class, if you delete a record in the origin table, the value for the corresponding record in the related table is set to Null. In a composite relationship, destination objects can't exist independently of origin objects, so when the origin is deleted, the related destination objects are also deleted. You can have origin and destination objects send messages to notify one another when they are changed, allowing related objects to update appropriately. For example, updating an origin can require related destination objects to update. If updating an origin requires related destination objects to update, set the message notification direction to Forward; specify Backward for the reverse. Or, specify Both. Once you've created the relationship, you must then set up rules for the objects that receive the messages so they can respond. The type of relate—one-to-one, one-to-many, or many-to-many—is known as cardinality. The parcel/owner example earlier describes a many-to-many relate (one or more parcels can relate to one or more owners); the landuse code example is a one-to-many relate (one landuse code relates to many parcels); and the county health statistics example is a one-to-one relate (each county in the feature class has a corresponding record in the health statistics table). The common fields that relate the feature classes/tables are called keys. The key field in the origin class of a relationship is called the primary key; the key field in the destination class is called the foreign key. It contains values that match those of the primary key field in the origin class. The key fields may have different names but must be of the same data type and contain the same kind of information, such as parcel IDs. In one-to-one and one-to-many relationships, values in the primary key of the origin class directly relate to values in the foreign key of the destination class. Many-to-many relationships, on the other hand, create an intermediate table to map the associations. When the intermediate table is created, only the fields are generated for you. ArcGIS does not know which origin objects are associated with which destination objects, so you must manually create the rows. Each row associates one origin object with one destination object. The intermediate table of a many-to-many relationship can optionally serve a second purpose—storing attributes of the relationship itself. For example, in a parcel database you may have a relationship class between parcels and owners, where owners own parcels and parcels are owned by owners. An attribute of each relationship could be the percentage of ownership. If you need to store such attributes, you can add them to the intermediate table when you create the relationship or anytime after. When you're setting up a one-to-one or one-to-many relationship, you may have the same need to store attributes of the relationship. If this is the case, you must specify this when you create the relationship so an intermediate table is created for you. Specifying the number of allowed linked records Once you've created the relationship, you can specify rules to refine the cardinality. In a relationship of parcels and buildings, for example, you might specify that each building must be associated with a parcel, or that a parcel can contain a maximum of three buildings. This prevents a user from forgetting to associate a building to a parcel or from associating too many buildings to a parcel when editing data, and ensures the integrity of the relationships between feature classes and tables. 126 127 Using ArcGIS Desktop 2 • Geographic Data Management In ArcCatalog. right-click an existing relationship class to display its Relationship Class Properties dialog box and click the Rules tab. If the origin or destination has subtypes, click the subtype you want to apply the rule to. If there are no subtypes, the relationship rule will apply to all features. Check the boxes for the origin and destination cardinality. Set the appropriate Min and Max cardinalities for the rule. tax 1 taovU 0 M 1 Plftkc mm* Hn Hat p—i i- i Ca» lOa***» I mil—iriii m a SeaDbtaiawa-aaaaaM Ql »»■■■ ummm rnarn Hn «« !°-H P jj Select the origin subtype to participate in the rule, then select the destination subtype (make sure the box is checked). Then specify the number of allowed linked records. In this one-to-many relate, one private parcel owner can be linked to anywhere from Oto 5 non-residential properties. Set the Max first, since the Min must be less than the Max. Accessing table relationships in ArcMap You can use ArcMap to explore the relationships established by the relationship class. When you identify a feature in your map. you can see the features or records related to that feature in the Identify results dialog box. ■E lecnon 1155.4792» XUMVmmm ' ►aB IVea» - • " .'V. SHAPE PaMon PROPER TV J 3166 lANDUSE.CO 1 Z0MM6 1 PARCajO «523 Rai Ka>ftaBMa 2cnrc_iao» naUoral SHAPE_L.ro». 2354 21566 SHAPE Aie» 34150011» After identifying a feature, expand the tree associated with the feature, then click the ID of the related record to display the attributes in the related table. - Cacaa Expand levels-1-- S Omnm Select an. otucac EUHAOon PROPERTY.c 31ES (>AEP.NAM( OTY OWMER.PISCOII 0 OCEOJMTE 15sb1128 0D0O0C OWW.C 66815 MSU» 1*71 OWN TYPE Pvdc d A" ~3 ■ / D A - » • JL • J. - To create a relationship class rule, right-click the _I °* I _c*Ml I *■* relationship class in the catalog tree, and click Properties, then select the Rules tab on the dialog box. After you've set up the rules, you can test them in ArcMap with the Validate Features command. Managing a relationship class Once you've created the relationship class, it appears in the Catalog tree, and you can inspect—but not change—its properties by right-clicking it and clicking Properties. You can. however, set and change relationship rules on the Rules tab. When you delete a feature class or table in ArcCatalog, if that feature class or table participates in a relationship class, the relationship class is also deleted. When you select one or more rows or features in a table, you can open the related table and select the related objects. Right-click a relationship class to rename or delete it. 128 To view the attributes in a related table for a selected set of features, open the feature attribute table, point to Related Tables and select the related table from the list. The related table opens in a new window. Click the Selected button at the bottom of the window to show the records for the selected features. 129 Using ArcGIS Desktop 2 • Geographic Data Management Managing raster datasets in a geodatabase Rasters store geographic data as a continuous grid of cells, each assigned a value. They are most often used for continuous phenomena that can be measured at any location, such as rainfall, elevation, or the concentration of ozone in the air. However, discrete features—such as roads or wells—can also be stored as rasters (the cell value indicates the presence or absence of a feature). Typically, raster datasets are stored in workspaces, along with other files. You can load them into a geodatabase if you want all your data stored in one database. Storing rasters in a geodatabase may also make managing multiple raster datasets easier and more efficient—you can ensure the datasets are in the same coordinate system, for example. Also, storing very large rasters in a geodatabase enables them to display on the screen rapidly. A geodatabase raster is cut up into smaller tiles (referred to as "blocks"). When you zoom in, only the blocks for the current map extent need to be fetched, instead of the entire image. One way of managing rasters in a geodatabase is to create a raster dataset from one or more existing rasters. This approach is particularly good for combining adjacent rasters and creating a single dataset (such as combining several adjacent elevation surfaces to create a single elevation surface for your study area). The other way to manage rasters in a geodatabase is to create a raster catalog and then load multiple rasters into it. A raster catalog is good for storing and managing individual rasters as a collection, such as storing coincident rasters representing different themes (elevation, slope, soil moisture) for a city or county. Loading rasters into a geodatabase There are two ways to create a raster dataset in a geodatabase. One way is to create an empty raster dataset and define its properties, such as cell size and coordinate system, then load one or more rasters into it. You'd typically use this approach when implementing a geodatabase design and populating the geodatabase with data. To create an empty raster dataset. right-click the geodatabase, point to New, and click Raster Dataset. EE A. a * «i f x n a s w. a » n •.? !«•»•• o » x Bat fptOctSM J V £ J, »j; 9 1 7b create an empty raster dataset, right-click the geodatabase name in the Catalog tree, point to New. and click Raster Dataset. Define the properties for the new raster dataset in the dialog box. You can then load the data—either a single raster, or multiple rasters that you want to "mosaic" into a single dataset. You specify how to handle overlaps, what value to use for "no data," and so on. CSGIS PioK»\£c<-aa Picacftounfl C \filS P*aeo\Ccarta P«j«oSoj«C C \as PKwaisCon*» f*was»«o C sg15 Piaecn'imto PicaclSQUaM aJDlJil +1 ♦ I After creating the empty raster dataset, right-click it, point to Load, and click Load Data. Browse to the dataset to add or to the multiple datasets to mosaic together. You can also specify how overlapping input datasets are to be handled, what value to assign "no data" cells, and so on. The result is a single raster stored within the geodatabase. ICduiPrBrci^Ca won* vvk* (< (last Mo>«c CoWap pSST »»(•»IX WOB» Hn> & 4* x e, a « □ ..? r Convert 1 bit NkHacMo Toltr. — 1 - -I B _J CarndBPWaO S 3 Carxto roi.iaaiwawli ■ B amen ■IWaM • • a o—Ji - a «c •i-. a mac* - je«. -•ill'A arartojrfncr, - _. ■ »...- - .Jouwuav 2j -•--». il-u~«.>oo. - -Jr1 TinperUOon Another, more ad hoc, approach is to import one or more existing raster datasets directly into the geodatabase. Import assigns the properties of the output raster dataset using the properties of the input rasters, rather than allowing you to define them. There are two options for importing rasters. Both are accessed by right-clicking the geodatabase and clicking Import. If you want to mosaic several adjacent rasters into a single dataset, choose "Raster Datasets (mosaic).' As with loading multiple datasets (described above), you can specify how to handle overlaps, assign "no data" values, and so on. To import a raster, or to mosaic several rasters, without first creating an empty raster dataset in the geodatabase and defining its properties, right-click the geodatabase, point to Import, and click Raster Datasets (mosaic). Properties of the output dataset are derived from the input raster(s). 130 131 Using ArcGIS Desktop 2 • Geographic Data Management If you want to import a single raster dataset, or import several datasets at one time but continue to store them as individual datasets (rather than mosaicking them into a single dataset), choose the "Raster Datasets" option. b» 6» r— «• :■» »•«*■ b» o «• » r x •,==■* t\ «1 • n «? e « • o »• - laaae» |ca«i»i«Ti»«iin»iifri< t Catalog - 4 C:\GBProtKtJ • _J Annex Protect * I fiiwafsskbPnyext - ifgmipT.i - 3 Corndor (Uodalabase net S^Roeds • ■ etev.aspect • I QeveOon - ^vegetetxn • B dtnOC • _J Gfoenvekrr *: P« \\aestor\n e§ \VMetro\dOta_maes _4j Arcweb Serwes Coordrvate Systems _Q Database Connections _J Der abase Servers 4)| GIS Servers fjt Interoperabaty Connections eoj Scalar Peferences 0, Search Results - J0 Tooboxes fr*, Tfacfcrxj Convections To import one or more rasters into a geodatabase as individual raster datasets. right-click the geodatabase. point to Import, and click Raster Datasets. The rasters are stored individually in the geodatabase. Creating a raster catalog A raster catalog lets you manage a group of individual rasters as a collection. The rasters could be a tiled image—such as all aerial photos for a county—that you want to maintain as separate tiles (rather than mosaicking them into a single dataset); a set of coincident rasters for a location (such as layers for soil type, elevation, rainfall, and so on); a time series for a location (such as urban versus rural landuse for each decade); or any other collection of rasters you want to keep together, such as all the output rasters from a GIS analysis project. You first create and define the raster catalog. Right-click a geodatabase. point to New. and click Raster Catalog. eiOIJSl [a 1« I" » I* a**» »• «. o • « e x •a»aB*«j*>ai? « « • o * x To create a raster catalog, nght-click the geodatabase name in the Catalog tree, point to New. and click Raster Catalog. In the dialog box. name the catalog, and specify any additional parameters. f>av«Si^6*1|aPa°r«« aaatf^eaailasaenal CK I Card I ir^enaerai After creating the catalog, you load raster datasets into it. B» 1« »•» i* fr* «*>*- 9» 4. 4* * »* * H ■ 38 « « n«,0 *x| Hi m i |C MSS Pvmca^om ^omcrZanx, ^•orkutea TSV* »..5*«* d Säe— 1 J ' c—i'—i»—i i 3 +J x| U *l After creating the empty raster catalog, nght-click it, point to Load, and click Load Data. Browse to the rasters to add. and add them to the list. When you create a raster catalog, a table is created that lists each raster. You can display the table by selecting the catalog in the Catalog tree, selecting the Preview tab. and clicking the Table option at the bottom of the window. You can add fields to the table (such as source, creation date, and so on) to track the rasters. Right-click the catalog, click Properties, and select the Fields tab. Then enter the additional fields as you would for any other table (see 'Creating feature classes and tables' earlier in this chapter). ,'OIMI 6» K> *e» (a laaa BT"*- 3» i«a«r xIsp ■ 8g e XT I-"—I* »I « e • o a 3 Csr-Jor ■ 9jmS J I- _| Cra»»aa-, - -J-r»TO »92* vlajar»,j«re - -J»j*ua*r 2fl peta» joVsn" 9» l* »a- Sa la* see- rj* «.4a. «PX e.at*ow _«.«.'-• 0 *x| Li.am |C \CIS *o»QlVj»ae rWnCa»»» Co^Ca. •avxav.s^ai -j «**- I'--•■' J ' •' • ' . The input rasters are stored as individual datasets within the raster catalog—you can access the properties for a dataset by right-clicking it. 9*o "9 - -y ■ Mi va»v J»oVso-P aavaa« IvVrien you preview the table for the raster catalog you can see that each raster dataset is stored as a record in the table. You can add fields to the table, such as the creation date, the source, and so on, to manage the raster datasets more efficiently. You can also perform searches to query the raster catalog. You might do this to find only rasters of a specific date or having a low percentage of cloud cover on an image. You can search by geography to view only those rasters that coincide with your area of interest. (See 'Searching for data and maps' earlier in this chapter.) 132 133 Using ArcGIS Desktop Adding specialized datasets to a geodatabase In addition to the basic geodatabase data types of feature classes, tables, and rasters, you can extend your geodatabase with datasets that are used for specific applications, such as surface modeling and analysis: modeling the flow of people, goods, or resources over networks; or locating features or incidents along a street or highway network. Usually, these datasets are built from feature classes and tables that already exist in your geodatabase. While this section describes how to define these datasets in your geodatabase. Chapter 3, 'Data Compilation and Editing*, contains information on how to create and edit the features that the datasets contain. Creating a terrain dataset for surface modeling A terrain dataset is used to model surfaces using TIN structures within a geodatabase (see also 'Creating a TIN surface' in Chapter 5). Terrains are also used to manage massive 3D point collections—for example, billion point LiDAR collections. You define and build the terrain dataset from existing feature classes stored in a feature dataset. You can also specify scales at which to display the terrain at a lower resolution, so it will draw faster. r> to * to* S! 0*_____ ■ « ü «■ «* n Iff £>m%PimmaWi+mm**m&P*mKrCmwm*amiMmimma*tim*_m* I—-3 ' ■• ■ _ 1 • * - mttmwmmmmmm ■ _l «»•. «•«•«! - _i Cm-am »ihm - JMU«. - -ym.^1 4 Mt! _ <■' - • •ymm w< To create a Terrain, right-click the feature dataset containing the feature classes that will be used to build the surface, point to New. and click Terrain. Select the feature classes that will be used to build the Terrain. These include spot elevations, contour lines, and breaklines (such as streams or graded roadbeds). Specify how the feature classes will be used for building the Tenain (or accept the defaults). ma Specify the number of pyramid levels. Pyramids are used to draw the Terrain more quickly (but with lower resolution) when zoomed out. RS aimmmmm. l Wim tta lurvMroi >«n it* i i Hi ' ■» • ' m-T- " \r -r Ä_ 30 _L The final panel summarizes the settings—click Finish to build the Terrain (or Back to make changes). 2 • Geographic Data Management 134 Using ArcGIS Desktop Creating a network dataset for transportation applications A network dataset is a collection of edges (any line feature that participates in the network), junctions (where edges connect), and turns, through which you can model navigation and the flow of people, objects, goods, or resources. Each network has a set of navigation properties. These include the cost (such as distance or time) to travel along each edge and to transfer onto another edge; the ability to model one-way, left turn, and other travel restrictions; and the ability to model "multi-modal" networks (modeling trips that use a combination of an automobile, a bus, and walking, for example). A network dataset uses feature classes as data sources for edges, junctions, and turns. You specify the role each feature class will play in the network along with its navigation properties. The feature classes that participate in a network must be in the same feature dataset, and a feature class can participate in only one network dataset at a time. ft. 4 * «1 P X a e. 4 • □ w !• la* : j A £ '' fc 'k m I MS] Click the Connectivity button to specify where lines (edges) will connect and network junctions will be created. r V« tefnt M.<.MMM...*M»H. 136 Enter a name for the network dataset. Specify which feature classes will be used to build the network. It can be as simple as a single street feature class, with streets forming the edges and intersections forming the junctions. Or it can include multiple modes, such as rail lines, stations, bus routes, bus stops, and so on. Specify—for each feature class—where features in the netwon\ can connect. The default is end points, but you can have lines connect to each other at any vertex. Specify an elevation field if multiple edges meet at a junction, but you want to limit which other edges they connect to—only edges with the same value in the elevation field will be considered connected in the network. 2 • Geographic Data Management You can model turns in the netwon\ to—for example— prohibit turns from one street onto another or to assign a longer wait time to a left turn versus a right turn. Turns are created as a separate feature class in the feature dataset. Attributes are most often used to assign cost (in terms of distance, time, or money) for travel over the netwon\. You first add an attribute, and then use the Evaluator to specify where the values come from (for example, a length field for edges). mmmmmmmBmhmmmmBmmBW "-* I —• I sb! I l-« Iff Z3J urn KM J 3 ~ l_~L You can have the results of your network analyses include travel directions. Use the directions properties dialog box to change the default settings for directions. The final panel summarizes the netwon\ settings. Click Finish to create the network dataset. or Back to make changes. If you don't specify any attributes when prompted, the wizard will ask if you want to add one based on the length of the feature. The wizard also recognizes fields with certain names in the feature classes you're building the network from and automatically associates them with the network attributes (if you add a network attribute named "meters" it will automatically be associated with a "meters" field in a line feature class, if it exists). 137 Using ArcGIS Desktop 2 • Geographic Data Management After the network is created (defined), a prompt appears, asking if you want to build it. (You can always build it later by right-clicking it in ArcCatalog. You might do this if you redefine the network at a later time.) Tt» nw» netwrk daunt tm bean created woJd rcu t» to tuk) t w Click Yes when prompted to go ahead and build the network dataset. The network is added to the feature dataset in which it was created. You can preview it and access its properties by nght-clicking the network dataset name in ArcCatalog. The properties dialog box lets you add or remove feature classes or attributes, change the driving direction parameters, and so on. The network junctions are also added as a separate feature class in the feature dataset. °*»« 5=—| : Ion fin Iß* ' DotBtf f > " ■ t * * - -I 1 • - Sk ~3 it v Add the geometric networii (in this case, an electric network) to a map in ArcMap, then use the Utility Netwon\ Analyst toolbar to trace flow over the netwon\ (click Toolbars on the View menu). In this example, the map displays the portions of the network downstream from an outage 138 139 Using ArcGIS Desktop 2 • Geographic Data Management You can build a geometric network from existing feature classes (the most common approach) or define the parameters of the network and load data into it later. Geometric networks are created within a feature dataset so you must have defined and created a feature dataset before creating a geometric network. All feature classes participating in the network must have the same spatial reference, which a feature dataset ensures. Feature classes can belong to only one geometric network at a time. . j — —«. SB-Urn 1 v -.- 1 CanoJ 1 •caMiMldMMW "mm I iirjUi»c«rtowlji.t.rr.r»Mc»lMtii«liif. 140 Use toe Build Geometric Network Wizard to create a geometric network. Specify whether you're building a network from existing feature classes, or you're building an empty network that you'll load data into later (in which case the next five panels are skipped). Select the feature classes that will participate in the network (a feature class can participate in only one network at a time). The Enabled field (set to either true or false) is added to each feature class in the network to specify whether specific features can participate in tracing flow over the network. The value is initially set to True—you can change this by editing the feature class later. This panel is presented when one or more of the feature classes already has an attribute field called Enabled (it may have previously participated in a network). Specify whether to use or overwrite these values. .n w» *«1 <*rma f tm•>«««•» •>■■> ■MB f r m mi.; * *t*r . ...... > . . rta r * *• Add a row nniMifrii^iMkiiw —»«— Int. I*»J»»»J. 1 DJ rüg» a : ■t* I <••* I k»> I cam I Specify whether to build complex edges. If No, line features (edges) will act as simple edges and will connect only at endpoints. If Yes. you can specify which line feature classes will have complex edges and will connect at endpoints or where edges intersect (do this if you want to maintain certain features as single entities, even if they're intersected by other features). Accept the default to snap features, unless you've already edited all the participating features classes to ensure line ends and junctions are connected. Specify whether any of the point feature classes in the network represent sources or sinks. You'd include sources and sinks if you'll be modeling flow through the networi<. Assign any weights that will be used when modeling flow through the networi<. These represent the cost of traversing an edge (or junction) in the network. You can then associate weights with fields in the appropriate feature class (by accessing the feature class properties and selecting the Weight Association tab). The values in the field are used as weights. The final panel displays a summary of the options you specified. Click Back to make changes, or Finish to create the geometric network. The geometric network is added to the feature dataset. To see the list of participating feature classes and their role in the network— along with connectivity rules and weights you've assigned—right-click the geometric network and click Properties. 141 Using ArcGIS Desktop Creating an address locator for geocoding A common way of locating geographic entities is to use street addresses. This is often done for tables of customers, students, or any other entities that have an associated street address, such as crimes. The process of assigning coordinates to street addresses is called geocoding. To assist in geocoding. you add an address locator to your geodatabase. A locator is a combination of one of more feature classes containing addressable features, such as address range information for street centerlines. and a set of address styles and parameters that direct the matching process. Each locator dataset is used as the source for matching a single address or a large file of addresses in order to find address locations. See 'Assigning locations using street addresses or routes' in Chapter 3 for more on geocoding. •a b* t- fe l»* «m~ ■>* ä 6 ItD W ««'• tnv*aa* 'St p=- >r> ml»*.. CUWSaaa CaoaVaHSfM bnSaa ■UO.iat^SlaaTa^W.Caalvi.rpS.IM.f. Specify the location and name of the new route. Once the route has been created, you can add it to a map in ArcMap to display and query it—for example, you can point at a location on a route and get the measurement at that point. You can also assign geographic locations to events—such as accidents—that have route measurements rather than street addresses or geographic coordinates. The events can then be displayed on a map. This is a common reason for creating routes. See 'Assigning locations using street addresses or routes' in Chapter 3 for more on adding route events to a map. teat Jana»*- la* S«*~ rjac d t*b«v' i'ijy i«> •;♦ - -I JTJ2J Dm Bike. »imj ■ ■wniiiani biaa .>,.-.«, - aaa |bt. | «« ■HOUU'-oO J J Qa 1 *• 1 W J L> 1 l> J a Wra a>a**Va* Pnai nffnaa g etaMiOaa CV»» laaaaa ROUtfl • KB**" mm >a*rfaa*9aaaaa CvgrvaaiW^aainvniiiairaaiLrnijaaa You can create the route using all features in the input feature class, or use the Query Builder to select a subset of features. You'd use a subset, for example, to exclude features that are not part of a route (as shown here—features with a route ID not equal to 0), or to create routes using only certain route IDs, or to create routes from another selected set (such as a particular road type—only highways, for example). The final panel summarizes the route parameters. Click Finish to create the route, or Back to make changes. Routes can be used to assign geographic locations to events stored in a table (such as road accidents). The events need to have a route ID field and a measurement Held (such as a milepost number). Mt^.':. ... : ajfli«j leraiai | «ccrm | anccai | «atatnai | mum | sag» | ^1 Raa» J^jjj " »|n) S»[~«r Salnaad| P<•>• Undur. 1 Po u Click the Add button to open the dialog box. Enter a name for the index, then use the arrows to add the fields you want to index to the list. These would be the ones you search or query frequently. Creating raster pyramids Pyramids are reduced resolution representations of your raster dataset used to improve display performance. With pyramids, a lower-resolution copy of the data displays when drawing the entire dataset. Using lower-resolution data allows the dataset to draw quickly, while display quality is not noticeably worse. As you zoom in. higher-resolution data is displayed: performance is maintained because you're drawing successively smaller areas. ArcGIS chooses the most appropriate pyramid level automatically based on the scale of the map. Pyramids only need to be built once per raster dataset: after that, they will be accessed each time the raster dataset is viewed. When you display a raster for which pyramids have not been built, you're prompted to build them. It's a good idea to do this. You can also build pyramids for a raster dataset at any time by right-clicking the raster in the Catalog tree and clicking Build Pyramids. Right-click the raster in the Catalog tree and click Build Pyramids. This opens the Build Pyramids tool—click OK to build the pyramids. 146 Although you are not able to build pyramids on raster catalogs, it is possible to build pyramids for each raster dataset within the raster catalog. «147 Using ArcGIS Desktop 2 • Geographic Data Management Compacting and compressing geodatabases A file geodatabase is stored as a folder of files on disk, while a personal geodatabase is stored in a single Microsoft Access (.mdb) file. When you first add data to either of these geodatabases. the data within each file occupies a continuous space on disk and is accessed efficiently by the software. However, as you delete and add data over time, the data within each file breaks into increasingly smaller, scattered fragments as data is removed and new data is added elsewhere in the file. This causes the software to perform more data-seeking operations within each file, slowing the rate at which the data is accessed. Compacting rearranges how the data is stored in each file, consolidating the data so that it occupies a single, contiguous space. Compacting also reduces the size of each file—it's possible to be able to reduce the size of a geodatabase by half or more. If you frequently add and delete data, you should compact your file or personal geodatabase on a monthly basis. You should also compact a geodatabase after any large-scale change, such as deleting a number of datasets. -SMI -3' -■ ■ To compact a personal or file geodatabase. right-click the geodatabase and click Compact Database. File geodatabases can also be compressed to make them smaller. Compressing a geodatabase (especially a large one) can yield significant storage savings, which can be helpful when you're pressed for disk space or are trying to fit data onto a CD or DVD. Once compressed, a dataset looks the same in ArcCatalog and ArcMap as when it was uncompressed. The compressed data is a direct access format, so you do not have to uncompress it each time you access it—ArcGIS reads it directly. A compressed dataset, however, is read-only and therefore cannot be edited or modified, except for changing its name and modifying attribute indexes and metadata. Compression is best suited for datasets that do not require further editing. If required, a compressed geodatabase can be uncompressed to return it to its original, read-rite format. To compress a file geodatabase. right-click the geodatabase and click Compress File Geodatabase. In addition to compacting or compressing a geodatabase, you should also run the Windows disk defragmenter on an occasional basis to maintain overall file system performance. File and personal geodatabase performance can benefit from this operation just like other types of files can. The performance of an ArcSDE geodatabase can also become degraded over time as you add and delete features. That's because features that are deleted remain as rows in the geodatabase, but are only marked as "deleted" (so they can be undeleted, if necessary). To remove the deleted rows—and improve performance—you need to compress the database (any deleted rows can no longer be undeleted after the database is compressed). To compress an ArcSDE geodatabase. right-click the geodatabase. point to Administration, and click Compress Database. Data Compilation and Editing An overview of data compilation and editing • 152 Collecting, importing, and converting GIS data • 160 Collecting data in an ArcGIS format Compiling GIS data in other formats Compiling raw coordinate data Assigning locations using street addresses or routes • 165 Geocoding street addresses Linear referencing Starting and managing an edit session • 172 Starting the edit session Managing the edit session Creating and modifying features • 176 Creating features Modifying the shape of a feature Changing the position of a feature Editing connected features • 181 Connecting line features Extending a line Creating an adjacent polygon Editing features that share a vertex or border Creating features from a printed or scanned map • 190 Digitizing over a background image Digitizing from a printed map Creating features using vectorization Adding and editing attribute data • 201 Using the Attributes dialog box Using an attribute table to add or edit attributes Editing attributes for datasets having table relationships Adding fields to a table Creating and editing annotation • 207 Editing map document annotation Creating and editing geodatabase annotation Creating and editing dimensions • 218 Editing routes and geometric networks • 222 Editing a route dataset Editing a geometric network Checking your data for errors • 230 Validating attribute values Validating relationship classes and network connectivity Validating topology rules Defining coordinate systems and projecting datasets • 237 Adjusting and integrating datasets • 240 Transforming, rubber sheeting, and edge matching datasets Copying attributes from one feature to another Combining datasets into a single dataset Editing multiuser and distributed geodatabases • 248 Editing an ArcSDE geodatabase using nonversioned data Editing using versioned data Creating and editing multiple geodatabase versions Creating geodatabase replicas for distributed editing Using ArcGIS Desktop 3 • Data Compilation and Editing An overview of data compilation and editing Once you've designed your GIS database, you need to collect the data that it will contain. The data you collect may be the most valuable asset in your GIS, since it underlies all the maps you'll make and analyses you'll undertake. While it's time consuming to collect data from various sources or create the data from raw information—not to mention making sure the data is as accurate and current as possible—the effort will ensure that your data, and the products you create from it, are sound. You may also need to process some of the data you collect—either before or after you put it in your database—to make sure you can use it to make maps and do analysis. You may need to correct or add individual features, add fields, update attribute values, change the coordinate system of a dataset, combine adjacent datasets into a single one, make sure coincident datasets register correctly, and so on. There are a variety of ways to collect the data that will go into your GIS database. In the course of your GIS projects—even for a single project—you'll likely use all of them. GIS data sources Get existing data in an ArcGIS format GIS data formats that ArcGIS can read directly include geodatabases, shapefiles, and coverages. You might get this from other ArcGIS users, download them from a GIS data clearinghouse, or buy them from a commercial data provider. You can copy this data right into your database in ArcCatalog, add it to a map in ArcMap, or use it for analysis with Arc Toolbox tools (although you'll first want to verify the quality and usefulness of the data for your purposes—see 'The process for compiling GIS data' in this section). ArcGIS also recognizes a range of raster data formats (used for digital elevation models, orthophotos, and satellite images) you can load into your database or add to a map. EC So U* »m 40 10* «Mo- 9* a. 4* x »3. »/? _ - _IO«, • ".:».. • .J/"JO* OJttt* ■ -y-jut-jat. =iBtOD HI oon.orr«. tbt -Š2S5T I -i ♦ — Um Iii crma _|Or_*m • -jo-0» - JM a _l --.Mt,.**. i _i .<»..•.-... ArcGIS datasets you're likely to acquire include geodatabases, shapefiles, images, layer files, and even map documents, all listed here in ArcCatalog. Get digital GIS data in another format and import or convert it While there is a huge amount of data available in an ArcGIS format, you may also come across GIS data that is in another data format. This might be data created in another GIS program, data from a related application such as CAD software, or data in a standard format used by a government agency or other organization (such as the digital line graph, or DLG. format used by the U.S. Geological Survey). ArcGIS includes tools that recognize many standard formats and let you import the data into a geodatabase. You can even create your own tool to import custom formats. CAD data, including AutoCAD* drawing files (such as the building footprints, parcels, and road casings shown here) and MicroStation design files, can be imported to ArcGIS. Convert tabular data to GIS data Some of the data you'll need may be for features that have a geographic location, but have not yet been assigned geographic coordinates so they can be mapped. Examples include a table of customers or students with a home address, a table of crimes with a street address or intersection, or a list of traffic accidents with a milepost marker. ArcGIS includes tools to read a street address or a measure along a route (such as mileposts), assign geographic coordinates, and create a feature class or shapefile from the data. You might also receive data as a list of features with associated coordinates, such as a table of earthquakes with a latitude/longitude coordinate, or a list of coordinates transmitted by a wolf wearing a GPS receiver and a radio transmitter. ArcGIS lets you import tables of coordinates—in various formats—and create a dataset you can store in your database and display on a map. ■JlNWi-i«! loa» 0«, M gw°- 3» tog* jJoaěČTO NAME 1 Act Marten 2 Andrew! Geaotne • 4 Allane Market 5 Bom end Sluf 6 BJ| Skj Grocenet 7 EnkM n Ailanta 8 Bodl Gat Station 9 Came Semce Slation 10 Central Petroleum it Chart* Cote «c 13 C«c Food Market t3 Oemerty» 14 Croaaroaot Theater 15 Otmar Seiet 16 Den« Toco Emoormrn 17 :«•:.! Market 16 Dream Ice Cream 19 Eattem Eipreil 20 Fleth • the Pan 11 Food Man 22 Foodmart . retro, Ott and 24 Henry i Deb and krnportl 25 Hometoom Plaza 26 Huoh't Seneca Station 27hja 28 Lett'i Supermarket 29 U Cab MONESS 1171 PfřOMONT AVE reS 1670 W PEACHTREE ST NE 455 BEVERLY HO NE 241 16THSTNW 1233 PEACHTREE ST* 360 FORTUNE ST NE 161 ALDEN AVE NW 200 CORLEY ST NE 16S HUNMCUTT ST NW 1100 CENTER ST NW 400 EIGHTH ST NW 501 ETHEL ST WW 421 SPRfeG ST WrV 120 MEMORIAL OR SE 368 7TH ST HE 1032 CENTER ST NW 1001 CENTER ST NW 77 MLLS ST NW 1506THSTNE 101 BAKER ST r4W 67010THSTNW 20 WIUAMS ST NW 7S2ARG0r*\EAVENE 1260 FRANCIS ST NW 500 RAMON ST NE 299MUSSTNW 701 JJMPER STNE 191 15THSTNE 566 I0TH STNE 30309 30318 30312 30309 30312 30313 30318 30318 30318 30312 3O308 30318 30318 30308 30318 30318 30313 "1U_ TYPE Store Store Store Cak Store -err.'*-' Semce Station SemceStatcn Semce Station RettaurM Store Store Momo Theater Semce Station Rett euren Cak Stcra Memo Theater BaiwM Reetauren Sura Cab 59811 70 10943 40 160911 00 5S71900 7342510 47896 30 33958 90 2988820 34219 40 55130 40 4546890 5566690 55305 90 30117 70 5S51B0D 55243 40 St 55574 10 54649 90 9001550 34195 60 54812 00 56776 70 SS2S130 34253 20 S492210 65895 00 58552 90 Features stored in tables (such as this Excel table) and having a street address or other locator can be assigned coordinates and displayed on a map in ArcGIS. 152 153 Using ArcGIS Desktop 3 • Data Compilation and Editing Create GIS data from scratch in ArcGIS If you haven't been able to get the data you need in a digital format, you can create the datasets. In most cases, you'll draw features right on the screen in ArcGIS. using existing data (such as an aerial photo or satellite image) as a backdrop, guide, and spatial reference. For example, to create a dataset of streets as line features from an aerial photo stored as an image on your computer, you'd display the photo and trace over the streets to create the lines. If the information is on an existing printed map. you can trace over its features on a digitizing tablet to create a GIS dataset. This was the main method of data compilation in the early days of GIS. when most geographic information was in the form of paper maps. Now it's mainly used to fill in holes in your database when the data isn't available from any other source—such as for local historical data. Printed maps and aerial photos can also be scanned and then automatically converted to vector GIS datasets. «uns B> UM f- r—t iBjoa» loo. tfnru- B* Da«B«»l IMX!"\i* I ___ * * . i\ 3 • • a "3 -J. f —3 ■• 1 IT / *> •—•»«•- Sil • !P O. H I * - e — - m a * i -_ X I O) 02. y- You can create features in ArcGIS by digitizing. In this example, the ArcScan for ArcGIS extension is used in an ArcMap edit session to create features (blue line) by tracing over a scanned parcel map. Make new data from existing GIS data Some of the data you'll require can be constructed or derived from datasets you've already loaded into your database. This might be a specialized dataset built from a collection of other features, such as a transportation network constructed from streets, highways, intersections, bus stops, and so on. Or, it may be a dataset you derive by processing an existing dataset—you might clip streams for your study area out of a larger dataset of streams, or you might process an elevation surface to create a raster dataset of slope steepness (see Chapter 5, 'Geographic Analysis', for more on processing datasets to create new ones). DtffBf ' B> - * j J. «v%0 Iff 4 4 A surface showing steepness of slopes (below) can be derived from an elevation surface (left), using tools in ArcGIS. ^^mWmWmmmWkWmWLWLmmmmWmWLmmWmOt ^oisi - I * — too* Ta* jff «•'•' •"«—' a.....----- geodata.gov is a U.S. government clearinghouse where you can search for. and download, data and maps. Local or regional agencies Many local government agencies are willing to share their GIS data if you contact them directly. Some data you may have to purchase, usually at a relatively low price that covers the distribution costs. Once you start building your own GIS datasets you may find that agencies are willing to exchange data they have for data they need. A good way to find data is through local and regional ESRI user groups, many of whom hold regular meetings. 156 Commercial data providers There are many companies that sell GIS data. Sometimes this is public domain data that a company has updated or corrected with newer or more accurate information (streets are a good example); or sometimes the company has compiled information from various sources in one dataset and used it to create new information, such as retail lifestyle categories for ZIP Codes. They may also process the data or use models to make predictions, such as projected population growth for counties. Some data you can buy is from companies that go out and collect raw data, such as satellite imagery or aerial photography. Commercial sources can be found at some of the clearinghouses, in GIS magazines and other publications, at GIS conferences, and by searching on the internet. Regardless of the source, you'll want to make sure you get information about the data: • The coordinate system it's in • The date it was collected, and when it was updated • For attributes, the descriptions of category codes and the units of measurement for numeric fields • The resolution of the data (the appropriate scale at which it can be displayed) • The owner of the data (if not the provider) and any restrictions on its use This is usually in the metadata documentation that either comes with the data or is available at the clearinghouse. But in some cases you'll get data without documentation, so make sure the provider gives you at least these basic details. Import or convert existing datasets, as necessary In many cases, the data you obtain will already be in one of the formats ArcGIS can directly read and use (a geodatabase, a shapefile, an Arclnfo coverage, or a supported raster format). However, you'll probably get at least some data that is another GIS format, some other digital format, in a table with a geographic locator (such as a street address), or otherwise needing to be converted or imported before you can add it to your database and use it with ArcGIS. B» t* »•» t» Irak 1»«- trap ■MM aJHIJÜ «v 4 * * f X », = « £ e. :-. am- a* «. « *» *. P X ::«l*Dt? !«•.*; •!•!«! Locskn [C 'SIS Pgwct wawawri Prawa Once you've connected to a data source, or downloaded data from the Internet, copy the data into your project workspace or geodatabase. Right-click a dataset and click Copy, then right-click the destination and click Paste. - 4jD*ubaaiS*«vs Shapefiles. tables, and images can't be directly copied into a geodatabase. but rather must be imported. Conversely, data held in a geodatabase can't be copied to a folder, but must be exported to another format (for example, you'd export a geodatabase feature class to a shapefile). 160 3 • Data Compilation and Editing -JD1»J Right-click a geodatabase to import a shapefile (use the Feature Class option), table, or raster. The "multiple" options let you create a list of datasets to Import at one time. ■ laixi Right-click a feature class or other geodatabase dataset to export it to a format outside the geodatabase (or to another geodatabase). You can also export shapefiles, tables, and rasters to other formats by right-clicking them in the Catalog tree. Arc Toolbox contains a number of tools that also perform these (plus other) import and export operations to convert ArcGIS and related data between formats. For example, you may want to convert a dataset of soil type polygons to a raster dataset to use in analysis. The tools are particularly useful for converting data within a script or model. The Conversion Tools toolbox contains toolsets for converting between a variety of feature and raster formats. 161 Using ArcGIS Desktop 3 • Data Compilation and Editing Compiling GIS data in other formats ArcGIS Desktop lets you work directly with a number of other. non-ESRI geographic data formats. You can add a wide range of image formats to your ArcCatalog workspaces and can add the data to a map in ArcMap to display it. These include common raster formats such as DEM (used for digital elevation models), various ERDAS* formats (used for satellite images), and MrSID* (a compressed raster format often used for very large datasets). as well as common graphic formats including BMR TIFF. JPEG, and GIF. A complete list can be found in the 'Data Support in ArcGIS' section of the Desktop Help. ArcCatalog recognizes and displays image data, such as this satellite image in ERDAS format (above) and an aerial photo in TIFF format. These images can also be added to maps in ArcMap and displayed with other data, with no data conversion required. Similarly, ArcGIS Desktop recognizes several common CAD formats, including AutoCAD DXF and DWG formats, and MicroStation*- DGN formats. You can manage the CAD drawing in ArcCatalog, display it on a map in ArcMap, or use it with many of the tools in the toolbox for analysis or other geoprocessing tasks (however, it can't be edited in ArcGIS unless you import it into a geodatabase feature class or shapefile). Each layer in the drawing is displayed as a separate layer in ArcGIS Desktop (even though they're part of a single entity—the CAD drawing). In some cases, you may want to convert a single layer in the drawing to an ArcGIS dataset (shapefile or feature class)—you may only need that layer for your maps or you may need to edit it for use in analysis. Right-click the layer in the Catalog tree, point to Export, then click the format you want to export to (geodatabase feature class or shapefile). Alternatively, you can use the conversion tools in ArcToolbox. 162 g, (at a- if I«- *• - a» -lnl»l ft. 4 * *. a 6. « • d >ff ^jtri |C «SS <*cma Wo. BaoW Pwrfra-rarvPnak >ca**Mw gab . 3 "ansa a* IB KCdtTt ±f Q» U* V* a—caa" Icon SRte. 0* • -- u => f • « ■ ♦ I ~1 -J. «V * D c*tre*ne Paed Write E-enaor, Coed Sy, Typ. BCM06P MC€P BCMoFDecarjv Submission Fcamof-A ESF_/>BR p F F p r F r p ftavtaaCBrr _J arc ba\ or r Fee Fa»A>ao««y tKMoFEkH»T>racSobrr.a»«»Fc«mal-F ESF_FTA F F gmt «ml. 9 B FaaAVeoory BC MoF f>c»orac Sutvrassxai Formal - B ESF.BESU.TS F F ... ,.. . r FJe/DaaOory camMrx scoot caxse F F F r F r favfterpr CTC Data TrarrsaB*Fcrm«(ClF) Foe QLF F p olqlgit r FaataatJory CornGropho Dora EttJvmoa Forma (CGC CGOEF F (7 p ajdet r r- FrtayOreclory Comma Saportatd Value CSV DamnOSFL DSFL F r cav.ava. dates p FaeA>recft>y Fee DomhUFO UFO F P uki r FaeOreoBry DBZSpoaal OKSPATtAL F r r OeaabaaauOeta F (* ffä r On the Specify Input Data Source dialog box. click the ellipses next to the Format box to open the Formats Gallery. Choose the format from the list, then, on the dialog box, enter the input dataset name (or browse to it). 163 Using ArcGIS Desktop 3 • Data Compilation and Editing Compiling raw coordinate data Some GIS data may be in tabular or list form, but have geographic coordinates associated with the features. Often this is data that has been directly captured in the field using GPS or another device. GPS units calculate their position using signals from satellites (and sometimes base stations). If you have a table of point features with associated x,y coordinates, you can import the data to a layer in ArcMap. and then create a dataset by exporting the layer (see 'Adding data to a map' in Chapter 4). You can also stream coordinate data directly to ArcMap via a GPS connected to a laptop computer or Tablet PC running ArcGIS Desktop. By capturing the streamed coordinates in a log, you can save them as point or line features in a geodatabase feature class or shapefile. Use the GPS toolbar in ArcMap to input data directly from a GPS unit (click View, point to Toolbars, and click GPS). _ t* e* *— rmti »*>» i»* urn o» q c* y a x i •»••>! 4> lis™ 1 -J. «v • a w UV»»! Ad-re-,, I The GPS Position window shows you your real-time position, altitude, speed, and heading using the GPS input. Ü ' * 9«ü»«ar,Sr*. fB garnr.rva-<»t -31^-3 ■ / a A- »- J.' 2.' Spec*YGPS(W»~w |GCS.WOS.19B4 <" SeruVi.t«cerra*aon gars raw »e»d«a 14» Mrmt | 3 —3 -3BJ Use the GPS Connection Setup dialog box to specify the communication parameters for the GPS receiver. 21*1 ,»,ou..r«ioe>»«neeb3' Oco» tot» » epeeane. eg HI 3 QUr<>ud> QMtu0> a - B'~ BSpat"il"ilHH Utjvj • tog ha rau arte SPS dala r Ciwvibg Opweneaaeigbgl Whan rau reeen d«i»«log yaj cjr. J» I r Sera*c,Rea> r MraauaSear*K>rtatraeal»ean Porta P Mrr»aj.Oe>jcam■ r *t*m* "fSi AU» *Vf ft Buffi OmSMon 200 CCflLEY ST •£ 9 C*TO SMD-i 1« HJ#*TJmJ StorfTT Sa*oaa| Rao* lOoJof 50Sa»r This table of customers includes a street address that can be used to assign coordinates and create point features. The features can then be displayed on a map or used in analysis. omcnrl I l.f.abo | | »Jjm | K1Jm | aarro \ m nrr | Pordre »Bwrlra l aar»» SCO ■z- •array »aar aare, aar», immure, HUM 33!" J0J-. 13-. J0JI« XOIt 30J1» J3MS '3CS18 J0J19 3CJ18 '30J18 X019 >|m| Sha»räT Sa»aad| Racooi Poja-JOtCSaraaadl Oraora -| This dataset of streets has been prepared for use in geocoding. The elements of the address have been placed in separate fields, and include the address range for each street segment for the left and right sides of the street, the prefix direction, prefix type, the name itself, the street type, suffix direction, and the ZIP Code on both the left and the right side of the street. All these elements are used to find as close a match as possible for each street address in the customer table. An address locator specifies the reference data to use, as well as parameters and queries that direct the matching process. For each address in the table, ArcGIS attempts to find the best match against the reference street features stored in the address locator. When it finds a match, it assigns coordinates to a new feature in the output dataset. The coordinates locate the feature to the correct side of the street and in the best estimated location based on the street number and the range of addresses for that street segment. So an address of 150 W Elm St. would be located halfway along the 100-200 block of West Elm Street. {CuNorar locate* füss» .tjj5j K 0» Sura ZIP and ana *W,UB.|««,M.MUB,| |CV0IS P»d WcaasecelCuaarariVUarH ndbMorari f$| NaMaaFraraLr* Haoal.LaK: P»».0raoJcn •a* Ina SvafcOtacarx laftO* la* ZIP Cad. |u-f>00 3 Mjoo 3 |r_f_«do 3 |b.t.aod A |phefk 3 |poe_t>pe 3 ihme d |tvpe. d |suffw 21 |om A |otvb j isiate.aBSS d 1» A Seta ZIP 15"......I... . P~« -r leaeeaior.ia.ity. ipasa..«-l».r • duirai 3 r XardVccctdnaM r RafcaarcaaaalO The Address Locator specifies the reference data (street dataset) and the names of the fields in the dataset containing the various address elements. It also lets you set the matching options and additional output fields in the output dataset. Address locators can be created in a folder (workspace) or within a geodatabase, and can be used with shapefiles or feature classes. 165 Using ArcGIS Desktop You can geocode in either ArcCatalog or ArcMap. Right-click the table containing the addresses in the Catalog tree (ArcCatalog) or the table of contents (ArcMap). To geocode in ArcCatalog, in the Catalog tree right-click the table containing the addresses, then specify the address locator to use. In the dialog box. specify the field in the table that contains the street address (if it's a standard name— such as ADDRESS—it will be selected automatically). Also specify the name and location of the output dataset that will be created. Click OK when you're ready to geocode the addresses._ There may be more than one possible match for an address. Each potential matching street candidate is assigned a score based on how closely it matches the address, and the address is then matched to the candidate with the best score. The more complete the addresses in the table (with correct prefixes, street types, name spellings, and so on) and the more accurate your streets dataset, the better the results. After running a first pass you have the option of relaxing the parameters and re-geocoding the addresses that didn't match, or matching addresses interactively. "3*1 JADCWCSS 15- m. I M 1 0*u jC \G(S °raect Wj*wttC«r«iCÄp».fl»il re 1 J V-rnxml 3«r»T-, Isar. 1 SeecoanoOe*em j H» 1 « 1 CM 1 iAJtHfjASHSE.' »B e-ejj jual MacftrcOeem riec>He«MeiT>bm I .15": 15"; MM W~t -I..... To geocode addresses in ArcMap, add the table containing the addresses to be geocoded, and the streets (optional) to your map. Right-click the table (select the Source tab to see it in the table of contents) and click Geocode Addresses. Use the Add button on the dialog box to specify the address locator to use. r XtrdYo ■ Mnra>«MC ZD. 3 • Data Compilation and Editing When the geocoding is complete, the Review/Rematch Addresses dialog box is displayed (in ArcMap. the new features are also added to the map). The dialog box tells you how many of the addresses in the table were able to be matched. It also lets you modify the geocoding options (click Geocoding Options) and rematch the addresses that didn't match the first time. - —• -X -CJ*- 1 tmCJmm 1 ... 1 -YHeMflWtVDfllC KM UMCm wii'*i*i'« mm ■ ■i • •-PS"_I FMtik.ll om -1 -1 H SMeHMv 2xrm jCYPRCSS ST NE I 3RD ST NC -pas- mm» 1 iiCTFmtifTiicii mi tii «i not .'CendoBM Sc» 1 Mi 1 »«0.1 I «.W In«—l Tipn 1 tuCKri 1 u«Ml I RtfCaX i NOri 1 ralmi 1 U mmmmt | T„W I toTM 1 li CM 1 0-M lm*t j 1 Sea* j Haw j M| Ca» j Use the Geocoding Options dialog box to temporarily override the settings in the address locator, if necessary. 166 167 Using ArcGIS Desktop 3 • Data Compilation and Editing You can also rematch addresses .ate, ,n either ArcMap or ArcCata.og. To rematch in ArcMap use the Tools menu, or right-click the results in the table of contents. t» t* *»• rat" l—™1 1« «M» 0« . -1—3 - B «ran ■ cm. •at*. g ci»iM>>ia< <"«"» - B ca».ra<* AC—S» «tt > a*. ArcCauta ar*a > O' A' Soac»,».i«»cor«atwigO« out Choc a Ulli tat a* aap a berat Caritas. I •=■«*« - ~ « MB IIWUICI-I rttASURE I MIFtUMl AtXTVPtl iPttD\ lata» a»JUI|Y[ Mult ytjH |J joaoooi] ZHXSta xmou 2DMQkä 10» 1098 1098 imU r_j]Hj mmm Deem Mlltii n< BolA.Hi till J ROUTE 1 Choot fa ket« avaru la Uta centre r» PcrlEae Oceu pracatDcaacr r 1M1 Choc— la •aaeaa Ud In pott a "3 *j "3 C Waaat«lait.t»ga)ara1raa in in i let n at. laltj A point event table contains the route ID, the measure along the route, and any other attributes associated with the event-in this example, the events are automobile accidents that occurred along highways. In the dialog box, specify the route dataset and field containing the route ID. Then specify the event table and the fields containing the route ID and route measure. 169 Using ArcGIS Desktop Once added, the route events are stored with the map document. To save the events as permanent features, export them to a dataset. The events (accidents) are added as points on the map. along the routes. To save them as features in a dataset. right-click the events layer in the table of contents, point to Data, and click Export Data. Line events must have fields containing the start point and an end point, in addition to the route ID. In the example below, the start and end points are represented by a "from milepost" field and a "to milepost" field. Events can also be added by right-clicking the event table in the table of contents and clicking Display Route Events. G at y • ■ r > «o-n».i .■ -.-./. Ma |k«JIf i liable 1 j*| rwueiai ■» |routei ItaNwilranhuiainn <~ PonCoa Ocaj « • o»c—>>c«o* «er, . •> uneE<*ea DMii>aKup«>clii •nPlnite |ENO_Mi OaMtaiMWEwiwhaWWtaii Ad^rcadOobor. I To add line events, specify Line Events as the type, and enter the fields containing the start and end points. Line event tables must contain fields for the start and end points (milepost markers, in this example), as well as the route ID. 170 3 • Data Compilation and Editing The line events are added to the map as a new layer. Export the events to save them as a dataset. The route events (representing sections of highway with poor paving condition, in this example) are added to the map. The Make Route Event Layer tool in the Linear Referencing Tools toolbox performs the same function as the Add Route Events tool in ArcMap. It's useful for assigning locations to events within a script or model. The Linear Referencing toolbox contains a number of other tools for working with routes and route events. B ArcTootoi * Ar-aMt Took • t% Arvryss Took • % CortographY Took • 9 Convernon Took • a) Data lnteraper«b*Y Took • % : « a Manegernent Took • A Gaotodng Took - 9 inear Raferanong Took > CafcrateRoutet e> Create Routes f I»)c»ve Route Events e* Locate Features Along RoubM flWWWWWWBi f Overlay Route Events f Transform Route Everts • 1% 5oat>ai Analyst Took fewak» linoea 1 Saajohl Make Route Event Layer is found in the Linear Referencing toolbox in ArcToolbox. inpu Roue Faauei - (routes Jwry RcuaKkranrrao —J |boutei beut Eva* Tatar * <»i d *| EventTaakPus 1111 rVju.lj.M. '-c |BOUTEl J E«Tioa poari f «" ToataaaeeFeal 1 J OawFetlioobn' 1 r tJanawaaaaolatr^angaacn w_ i OK J Cancel | Emaa •m. 1 SheeHato 171 Using ArcGIS Desktop Starting and managing an edit session At some point in building and maintaining your database, you'll need either to correct errors you discover in the data or update the existing data with newer information. For example, you may need to modify the shape of a road that's recently been surveyed, or update a parcel that's been split. You do this by editing the geographic features interactively in ArcMap. Many of the same editing tools are also used for creating new features—either in a new, empty dataset or in a dataset containing features, such as adding a new subdivision to a parcel dataset. The editing tools and settings are located on the Editor toolbar—you need to open the toolbar in ArcMap before editing. You use the toolbar to start an edit session, add or modify features, save your edits, and end the session. During the edit session, other ArcMap functions are still available—adding layers to the map, zooming, panning, changing symbology of features, and so on. The only difference is that layers are available for editing, as long as the edit session is open. As you edit the data, even though the data appears as a layer in ArcMap, you're actually editing the underlying data source. After you close the edit session the layers can no longer be modified until the next time you open an edit session. Starting the edit session Once you have added the data you want to edit to a map in ArcMap. you'll open the Editor toolbar and start an edit session. Editor Toolbar button MlOiSl E» La |r—i IM» V* cnb. o* □ a« e « ♦ frsr *. m »r 3 • • ~3 J *r .0-ra.r~r._rod. - D -t-™-..« - & a»aet_er. - B oralijoVonP f> - a o To start an edit session, click the Editor Toolbar button to display the Editor toolbar. Then click the Editor drop-down list and click Start Editing. tan • ■MBMHabfl -3 .•-33 '-SO-, loldrj a X ra. . nsl 3 LZirfl •WSnoaub. P»»cnal Gaodeltaeia The Iron am utter, -i m mfcea toedan] I« z - A - 1 11*1 Ih.U^r^«r..drW eccuacyrjotaarc Ida, a Mamtjgjf** it Km_ (CABS Pa>ar»\a.arMla»\r«\r»^ala*e nhentaiaap r Donl-arnaeepaai You might see one or both of these windows when you start editing. You'll see the one on the left if the datasets you've added to ArcMap reside in different geodatabases or folders. You can only edit the data in one workspace (geodatabase or folder) at a time (you can still display and snap to all the layers on the map). You'll see the window on the right if the coordinate system of any of the datasets you're editing is undefined or does not match that of the map (defined by default as the coordinate system of the first dataset you add to the map). Next you'll choose the workspace and data frame (if more than one) containing the datasets you want to edit, and choose the target layer (the one you'll be working on) using the Target drop-down list—you can switch between targets during a single edit session. You'll probably also want to set the snapping environment, to make sure new (or modified) features snap to existing ones—this ensures features connect to each other correctly. 172 layar <* Ur, End •Met.arc paroaa^orfoori -ar»raiat».arc bua*o>_pon □ c □ I . tol aaxdi «arooM W*aRTiedgei Panr>üuuarta»atcf> Tceotoor Daraartl 'WrJaau 3 • Data Compilation and Editing Use the Target drop-down list to select the dataset to which the edits will be applied (the list contains only those datasets in the geodatabase or folder you specified). You can switch between layers during an edit The Snapping Environment dialog box lets you specify which layers can be snapped to as you're creating or modifying features. All the layers on the map are available for snapping. Use the check boxes to specify for each whether features can be snapped to vertices, edges (lines or polygon borders), or end points of existing features. Features will snap to existing features in the same layer or another layer. You can access and change the snapping settings anytime during an edit session. The Source tab on the table of contents is useful if your map contains datasets stored in different folders or geodatabases—it shows you which layers are in which. During the edit session, you can use the Undo button (on the Standard toolbar) to undo your last action. Use the Editor drop-down menu to save your edits. Just saving a map document does not save the edits to the features—you need to specifically save the edits in your edit session. You can choose to quit an edit session without saving your changes. Managing the edit session ArcMap includes several options for making your edit session more efficient. Open a magnifier window to get a closer view of a small area without changing the map extent. Click and drag the window over the area you want to magnify. To open a magnifier window, click Magnifier on the Window menu. Click the title bar and drag the magnifier window—center the crosshairs over the area you want to magnify. When you release the mouse button the area under the window is magnified. 173 Using ArcGIS Desktop When you release the mouse button, the area under the window is magnified, centered on the crosshair. You can move the magnifier window and drag it while holding on to the same sketch or modification already in progress. Use the dropdown menu to change the magnification level. You can also set the window to magnify as you drag it—select Update While Dragging from the pull-right menu. In this mode, the magnifier window is like moving a magnifying glass over the map. Use the drop-down menu to change the magnification. Click Update While Dragging to use the magnifier window like a magnifying glass. Many editing functions have keyboard shortcuts associated with them, including those on the context menus. These can minimize the use of your mouse and speed up your edits. For example, with the Sketch tool active, you can press the F6 key to quickly enter the coordinate location of the point or vertex you want to place. See 'Getting started with editing' in the Desktop Help for a list of keyboard shortcuts. Sometimes you may need to enter lengths or other measurements in units different from your map units. In many dialog boxes throughout the editing environment that require you to enter a distance value, you can specify values in a different unit of measure by simply typing a unit abbreviation after the number. For example, if your map units are feet, by default, ArcMap will assume any distance values you enter are in feet. However, you can simply add "m" after your input value so ArcMap knows you the value you entered is actually in meters. -jdj-j □ cf a a a > " ■ ♦ Fšs-> * .-'B!»»MT3iga 1 J. *.%o w If you need to enter distances in a measurement unit other than the one the map is in. simply type an abbreviation for the unit after the distance value. In this example, the map units are meters, and the distance is entered in feet (ft.). ArcMap does the conversion on-the-fly. The options for adding segments and vertices can also be accessed using keyboard shortcuts (such as Ctrt+L to enter a length). Shortcuts can be more efficient than using the menu, especially if you're entenng many vertices by typing angles and distances. 3 • Data Compilation and Editing Click Options on the Editor drop-down menu to access settings for the edit session. You can set the snapping tolerance, specify the symbol to use to highlight selected features, or customize the Tasks list, and so on. «jqjjli 2 a* a # e > « - ♦ F*šš *. é 33:3 »I 3 - - a ■y »ä Mora - r •J C MB **ua**rrm m* - □ ■BE V .»TT.- mm z - a • :-: [*i»r ~3U°~B ■ / b A- »-iE- _l- Click Options on the Editor menu to access the settings for the edit session. 11X1 11*1 Pan Coon I opotoa/ E baanli Smtxk* BIQ Onom tornám w*3 tůonm* mm GcnaHil To?ekj9t| Vtnonrgf Untj £* tt*. mtmU »•*««• Eaw [MlaU ■, Eat T««fc »»| I ^ I -Li J-Í5*. The General tab lets you specify the snapping tolerance, in pixels or map units. Make the tolerance larger if you're having trouble snapping to any feature: make it smaller if you're having trouble snapping to the correct feature. The Topology tab lets you specify the symbol to use for selected topology elements—click a symbol on the tab and use the Symbol Selector dialog box to change the color and size of the symbol (see Chapter 4 for more on map symbols). The Edit Tasks tab lets you rearrange or remove tasks from the Task list on the Editor toolbar. If you specify a sticky tolerance distance (on the General tab), when you move a selected feature, the feature will stay put until the cursor has moved the specified distance—this helps you avoid inadvertently moving a feature. 174 175 Using ArcGIS Desktop Creating and modifying features There are many different editing tasks you'll need to perform, and there are often several ways to complete the same task. This section presents a few of the most common ways to create new features, modify the shape of an existing feature, or reposition features. See the Desktop Help for additional tasks and a full discussion of editing options. Creating features To create either point, line, or polygon features you set the Task to Create New Features. The type of feature you're editing is determined by the Target layer—the dataset you're creating the new feature within. »««•IM »••■» l«* D*P "1 J. *> as a 3F~3 » / ■ A- ** J.- -1- The Task drop-down menu lists the most common editing tasks you'll do. Specify Create New Features to add features to an existing dataset or to a new, empty dataset. For point features, you'll click the Sketch tool on the toolbar, and then click on the map to enter the location of the point. To create a point feature, click the Sketch tool, then click where you want to place the point. The point feature you created is the currently selected feature—right-click it for options. 3 • Data Compilation and Editing Creating line and polygon features involves creating a "sketch" which is a temporary representation of the feature showing the segments and vertices. When you create the vertices in a sketch (typically, by clicking with your mouse), the segments between vertices are added for you automatically. Once you're satisfied with the shape of the sketch, you need to finish the sketch to complete the feature's geometry and actually create the feature. There are several ways that vou can finish a sketch, including double-clicking with your mouse, choosing the command from a context menu, and using a keyboard shortcut (F2). There are also a variety of options for entering vertices, in addition to clicking with the mouse. To add a line feature, click the Sketch tool, then click the location of the start point. Click to add each vertex and define the shape of the line. The segments between vertices are drawn automatically. The last vertex you added is shown in red. ga ti* r*- »»•« D -*H • j... _...... 11 '~r- —a all o a Start point —• <•*•* ChM j-.;- d .■ D - a - a k — IPÖ-3 » / a A- Right-click while adding vertices to a line or polygon and you get options for adding the next segment or vertex, as well as for finishing (or deleting) the line. The same menu can be displayed for point features, but most of the options are not available. These options let you add a segment or vertex by entering a distance, angle, x.y coordinate pair, and so on. Type the values, then press the Enter key to add the vertex. These options let you add a segment parallel or perpendicular to a selected feature. Use these options to delete the current sketch or finish it and create the feature. 3F5~3 » 1 a A- •>• . an " ' fcOabfct •»*» nmwm______ It To create a polygon feature, click the Sketch tool, click a starting point, and add vertices to define the shape of the polygon. As you add vertices, a segment rubberbands from the last vertex added to the start point to maintain the closed shape. When creating polygons or lines, right-clicking a vertex will display more options. To finish the polygon, right-click and click Finish Sketch, or just double-click. 176 177 Using ArcGIS Desktop In addition to the Sketch tool, other tools are available from the Editor toolbar to add point features or line vertices and segments using arcs, distance, and so on. You can switch tools at any time while creating a sketch. The Sketch tool lets you add a point or vertex by clicking a location. The dropdown menu next to the tool displays the Sketch Tool Palette, which lets you select other tools for creating points and vertices. [tdetor^^ a Edtof- ► & p Task; Create New Feettre '1 Target: | street_«rc Zi ■ ' <=) BS □ Intersection Midpoint Distance-Distance Direction-Distance The tools let you create curved segments; create a segment by tracing over an existing feature (with an optional offset distance—useful for creating parallel lines): place a vertex at the midpoint of a line you draw, or at the intersection of two lines; or create a vertex at a given distance and direction. Modifying the shape of a feature To modify the shape of a feature, the feature must be currently selected—use the Edit tool to select the feature. To modify the shape by moving a vertex, set the Task to Modify Feature. (Double-clicking a feature selects it and sets the Task to Modify Feature so you can start editing vertices—one of many editing shortcuts.) 7b move or delete a vertex, use the Edit tool to select the feature you want to modify, and set the task to Modify Feature. Click and drag a vertex to move it, or right-click it and click Delete. To insert a vertex, place the cursor where you want to add the vertex, right-click to display the context menu, and click Insert Vertex. 3 • Data Compilation and Editing You can also reshape a line or polygon using a sketch. Set the Task to Reshape Feature. Make sure the first and last segments of the sketch intersect the feature you're reshaping. Vertices will be added where the sketch intersects the feature, and the sketch segments you draw will replace the segment(s) of the feature between these vertices. □ Ire» to length. Metajaccn OrWOeet. ► • Te* I ao#«c. >„rjr~ "3 '•»«= |=«t»J«~»»n d □ - When you click Finish Sketch, the segments you drew are added to reshape the feature. To use a sketch to modify a feature, use the Edit Tool to select the feature, and set the task to Reshape Feature. Click the Sketch tool (or any of the sketch options) and add vertices, making sure the first and last segments intersect the feature you're reshaping. Changing the position of a feature To move, copy, delete or rotate a feature, first select it using the Edit tool. To move it, click and drag it to a new-location. To copy a feature, right-click it and select Copy, then right-click again and click Paste (or use the Windows standard Ctrl+C and Ctrl+V). The copy is placed on top of the original feature, but is currently selected—drag it to a new location. To delete a selected feature, right-click and click Delete, or press the Delete key on your keyboard. To rotate a selected feature, click the Rotate tool on the Editor toolbar. Then click and drag the cursor—the feature rotates around its center. Je*» loo. »o« reo 2?am xe-ex - • # pus 3 -j *.mn *r * * i « -I 3;* »;aj _iOI»l ► .«• • reo, |p,#«.f. ~3 '-°*r- ~3 X« es n Edit tool . A-: To move a feature, select it using the Edit tool, then click and drag it. 178 179 Using ArcGIS Desktop 3 • Data Compilation and Editing DafO« .»«X ■- Right-click a selected feature to delete it, or to copy and paste (feature attributes are also copied). To copy and paste between layers, set the Target to the layer you're copying from, and Copy: then set the Target to the layer you're pasting into, and Paste. DafB« x **e.x « • ♦ h"* *»«••.• - »1 3 - - a --'-3 Rotate Click the Rotate tool, then drag the cursor to rotate a selected feature around its center, or press A on your keyboard to enter a specific angle. You can drag a box to select multiple features, or hold the Shift key while clicking. You can then move. copy, or delete the selected features. Editing connected features Whether you're creating features in a new dataset or adding features to an existing one, at some point you'll likely need to edit lines that connect (or should connect)—such as connecting a new road to an existing one—or to create adjacent polygons that share a border—such as parcels or administrative boundaries. You might also need to move a shared vertex or border, thereby moving or reshaping the connected features. You perform these tasks in an edit session in ArcMap. Connecting line features To add a line that connects two existing lines, you snap the end points of the new line to the existing lines (either at a vertex or anywhere along the edge). You may also need to split the existing lines where the new line connects, to create intersections (for example, if you'll be using a dataset of streets for routing delivery trucks). Make sure the task is set to Create New Feature and the Sketch tool is active. This end of the line connects to a vertex on the existing line—move the cursor over (or near) the vertex, right-click, point to Snap To Feature, and click Vertex. 9, 10 fm. tm c nam * * "3 J. *■ • a n? 777e other end of the new line connects to an existing line where there is no vertex. Place the cursor over the line, right-click, point to Snap to Feature, and specify Edge as the feature to snap to. (Alternatively, you could set the snapping environment to Vertex and Edge for the streets layer; then the new line will snap automatically, which is more efficient if you're adding many lines.) Using ArcGIS Desktop 3 • Data Compilation and Editing tan* :™ an> ok □ at h « * * ■ X « • ♦ pTS i :ü t- • d W Right-click the vertex you added and click Finish Sketch to finish the new line. - e oawajaygon ..El D a? b • »*< 4 a ~3 =/ «v • □ v tmm\ » jf .*♦••«•= I cm»»". ► "3! 3 s& n □ ASS .o e.jj Mat" !?► .*• • >■ Ic*a>■. _ 3j When you se/ec/ /he //ne on /he r/'gh/. you can see that the original line has indeed been split. You'd split the first line that the new line connects to in a similar manner. Extending a line You can extend a line to connect to another line. One way to do this is using the Extend tool on the Advanced Editing toolbar. D - a - I» «~ IK3 • PawrdotatoOata. Topooor Ekaarts Next you'll split the existing line where you connected. First, set snapping to Vertex and Edge for the streets layer. That will ensure the line gets split at the right place—right at the vertex where the new line connects. aiflii »Wi" »aal Mam [oat ««- ra» :»au?;b b aeiB»i5S-3is "3 J *v%n *? Click the Editor drop-down list, point to More Editing Tools, and click Advanced Editing. Click the Split tool on the toolbar, place the cursor over the vertex, and click to split the line. (You could also have split the line first, then specified Endpoint when using Snap To Feature to add the new line.) 182 183 Using ArcGIS Desktop 3 • Data Compilation and Editing *J»3I a *a* - -m - • a "3 ••-»i~--< -3 / <=-. I o 0nh-t do » . = - A- T=. 3P^~3 » ' B A' *' J.' .-' Se/ecf the line you want to extend the other lines to, using the Edit tool on the Editor toolbar. When you do, the tools on the Advanced Editing toolbar become available. ■ a » Data* Ilix in • * pTÄ 3 ,/ a- « □ ft « « - »1 3 * • a Extend Tool ■"» I. II ■ ,«J-BBBBBMBB«B«l'aj em-i v- >r«r OO] k z • A • "3FT3 ■ / h A- *« J.' —• Click the Extend Tool button, and click the line you want to extend. TO—11 • " j * B 4 ► d z - a - + 1 *• «r «r OO "3FT3 • ' 1 A* The line extends and snaps to the selected line. Point to any other lines you want to extend (you can keep extending lines as long as the Extend tool is active). To stop, select another tool, or select the Edit tool (on the Editor toolbar). Creating an adjacent polygon To add a polygon adjacent to an existing polygon, you simply make sure the sketch for the new polygon crosses the existing polygon at least twice. Make sure the task is set to Auto-Complete Polygon, and set snapping to Vertex for the polygon layer you're editing. Click to stan- Add vertex Add vertex Click to end Click the Sketch tool and click the vertex on the existing polygon where you want the new polygon to connect. Continue adding vertices using the Sketch tool (or any of the other options for adding vertices), then click a vertex on the existing polygon to close the new polygon. Double-click the vertex to finish the sketch (or right-click and click Finish Sketch). The shared border is automatically added to the new polygon to complete it. 184 185 Using ArcGIS Desktop Editing features that share a vertex or border If you want to move a vertex at which two or more features connect and have them all adjust accordingly, you need to establish a topology. A topology makes explicit the connection between features. This allows you to move a vertex to which several lines connect (known as a node) and have all the line end points move with the node—without the topology, moving the vertex would move only the end point of the selected line while the endpoints of the other lines remained in place. One way to establish a topology is within a geodatabase. usually as part of the geodatabase building process, as described in Chapter 2 (see "Ensuring spatial data integrity'). A geodatabase topology is stored with the data and is in effect on any map the data is added to. Sometimes—even if a geodatabase topology doesn't exist for a dataset—you want to be able to make a topological edit for that dataset. If a geodatabase topology has not been defined for the dataset, you can create what is known as a "map topology" in ArcMap. The map topology is stored only with the current map—not with the data. 3 • Data Compilation and Editing To use map topology to edit connected features, point to More Editing Tools on the Editor toolbar, and click Topology. The Topology toolbar opens. Click the Map Topology button, and check the boxes for the layers you want to add to the topology. If the data« you re editing does have a geodatabase topology defined, you add the topology to your map. and then use the tools on he Topology toolbar to edit the connected features. Editing connected features in a geodatabase ZT» the same as for a map topology-for lines connected a. a node, click the Edit Topology tool, select a node, and drag h o To edit connected features using a geodatabase topology, add the topology to your map. You'll be prompted to add to the map the feature classes that participate in the topology—click Yes. When you open the Topology toolbar, you'll see that the topology you added is listed. You'll also notice that additional tools are active that are not available for map topology—specifically, tools that let you validate your geodatabase topology rules (these tools are discussed later in this chapter). Click the Topology Edit tool on the Topology toolbar, then click the node you want to move, to select it. Click and drag the node to its new location. The end points of the connected lines move with the node, but the other vertices of the lines stay put. 186 187 Using ArcGIS Desktop You also use the Topology Edit tool to move or reshape a shared boundary between two polygons that participate in a topology (either a map or geodatabase topology). While the shared boundary looks like a single line, that line is. in fact, stored with each polygon. If you moved the boundary' without having created a topology, only one of the lines would move, creating either a gap or an overlap. a mam e ■ - ♦ |<"» zj j. «v»n v . * . -i 3 - - a 3 • Data Compilation and Editing When you're done modifying the border, right-click a vertex and click Finish Sketch. l) *P|««j«- When you finish the sketch, the new shared border is displayed. If you select the polygon, you can see its new shape. You can use map topologies and geodatabase topologies concurrently. The active topologies appear in the drop-down list on the Topology toolbar; you can switch between them during an edit session. Click the Topology Edit tool and select the border you want to modify. The Show Shared Features button displays a list of features that share the border. Click a feature on the list to flash it on the map and confirm it's the one you want to edit (the check boxes determine which features participate in topology edits). si a 188 189 Using ArcGIS Desktop Creating features from a printed or scanned map You'll likely obtain most of your GIS data already in an ArcGIS format, or by importing it or interactively creating it on-screen. However, in some cases, the data you need may only be available on an image, such as an orthophoto. satellite image, or scanned map. While the image is in raster data format (pixels), what you may want to create are vector features—points, lines, or polygons. ArcGIS contains tools for tracing over an image on-screen to create geographic features—a process known as digitizing. In other cases, you may need to create features in the GIS from a printed map. You can digitize the map using a digitizing tablet, or scan the map and automatically create geographic features. These tasks are all performed in ArcMap. Digitizing over a background image You can use a scanned map or drawing, aerial photo, orthophotograph. or satellite image as a background in ArcMap, and create features (such as streams, roads, or building footprints) by tracing over the objects in the image. Some aerial photos and satellite images are already spatially referenced—that is, the extent of the image in geographic space is known. If this is the case, you can simply use the editing tools described in the previous sections to trace over the image and create features—the new features will be stored in x,y coordinates in geographic space. On the other hand, if the image is in page or screen units—likely the case for a scanned map or drawing—you need to place it in geographic space (see 'GIS data concepts' in Chapter 2). This is known as georeferencing, and is performed by associating locations on the image (control points) with the corresponding coordinates in geographic space. You can type the coordinates (if known) or create a link between a control point on the image and the corresponding location on an existing spatially referenced dataset. There is a range of situations you might encounter when georeferencing an image. Here's the process if the image has control points marked on it, the control points are labeled with their x,y coordinates, and the coordinates are in the same coordinate system as the existing dataset. -jdj»j r> i* ►» • -I D "1 J. w Add the image to the map, along with the dataset you'll be adding features to. If you zoom to the image (right-click it in the table of contents and click Zoom To Layer), you won't see the existing features, since the image is still in page units, and the features are in map units. 190 3 • Data Compilation and Editing Now zoom to the location on the existing parcels layer corresponding to the location of the image. To add links and transform the image, you'll use the Georeferencing toolbar. Click the View menu, point to Toolbars, and click Georeferencing. Use Fit To Display to show the image in roughly the same location as the existing features—that will make it easier to work as you add links. 191 Using ArcGIS Desktop Add Control Points Using a magnifier window makes it easier to see the control points on the image (see 'Creating and modifying features'). Click the Add Control Points button. To add a link, click the control point on the image.... 3 • Data Compilation and Editing ....then right-click to enter the x and y coordinates for that control point. The image adjusts as you add links. To review the links you've created, click the View Link Table button. You can remove errant links by selecting them in the table and clicking the X button. When you're satisfied with the registration of the image to the existing features, click Update Georeferencing on the Georeferencing drop-down menu. 192 You can then draw the new features by tracing over the image using any of the editing tools described earlier in the chapter. If the coordinates on the image are in a different coordinate system than the existing dataset, you'd create a new point feature class or shapefile in that coordinate system, create the control points as point features in this new dataset at the x.y locations indicated on the image, and then project the dataset to the coordinate system you're using. You'd then be able to link the control points on the image to the control point feature class in the correct coordinate system and transform the image. You'd click the control point on the image, as shown below, then—rather than entering the x.y coordinates to create the link—you'd click the corresponding control point feature. -KM □ ata« e ■ •- ■ * I ■■'■3{»»i«r3 "3 J. «v%a ¥? 7b enter links using a layer of control points, after clicking the Enter Control Points button on the Georeferencing toolbar, click the control point marked on the image, then click the corresponding point feature on the control points layer. - Click here first then click here In some cases there may be control points on the image, but no coordinates indicated. Hopefully, the control points will be at recognizable features, such as street intersections, or the peak of a hill. You'd then find the corresponding features in your dataset. create the links, and transform the image. If there are no control points on the image, you'll have to try to identify features on the image that you can link to corresponding features on a dataset you have. Streets and street intersections—if any—are good candidates. 193 Using ArcGIS Desktop Digitizing from a printed map To digitize directly from a printed map, you use a digitizing table connected to your computer. ArcGIS converts positions on the table surface into digital x,y coordinates as you trace them with a handheld puck (a pen or mouse-like device). As with creating features interactively or on-screen digitizing, you use a digitizing table within an edit session. With a digitizing table installed, the Digitizer tab is available on the Editing Options dialog box. The digitizing puck is initially in mouse mode—you can click menus and buttons on the computer screen. You can still use a mouse connected to your computer as you normally would, as well—having the digitizing table in mouse mode just allows you to access the ArcMap interface using the digitizing puck. Set the Enabled option to put the digitizing table in "digitize" mode. The first step is to register the map—which is in page units on the digitizing table—to geographic space. Your map must have control points drawn on it for which you know the x,y coordinates. To register the map, you enter the point on the digitizing tablet, then type in the x,y coordinates for that point. Strata! DotOT J torjOocff | Vfrarmg | UnB | E<* Tarts | ArreUbor, | 1 :1 " v lYMto iE«. 1 1 1169 5tC8 115D7 : 5300 5007 713030 3 5301 13ES 713040 1 till 1394 711900 943420 S43420 942430 942430 0 3985 039B0 03924 03929 The Enabled option I^Erabted ,)„ | Load 1 1 When you install a digitizing table, the Digitizer tab appears on the Editing Options dialog box. Check the Enabled box to set the digitizer to 'digitize" mode. BS4 I-' map trati reran Dqtn teuton, XYl 1111 To register a map. click a control point on the map—the location (in page units) will appear. Type the corresponding geographic x,y coordinate values in the X Map and Y Map columns: an RMS error for that control point will appear. As you add points, a cumulative RMS error is displayed. After you've entered the control points and their coordinates, ArcMap displays an error report. The error report includes two error calculations: a point-by-point error and a root mean square (RMS) error. The point-by-point error represents the distance deviation between the transformation of each input control point and the corresponding point in map coordinates. The RMS error is an average of those deviations. ArcMap reports the point-by-point error in current map units. The RMS error is reported in both current map units and digitizer inches. If the RMS error is too high, you can re-enter the appropriate control points. To maintain highly accurate data, your RMS error should be less than 0.004 digitizer units (often inches or centimeters) or the equivalent scaled distance in map units—the ground units in which the coordinates are stored. For less accurate data, the value can be as high as 0.008 digitizer units. 3 • Data Compilation and Editing To start digitizing features, select the Sketch tool on the Editor toolbar. Since you're creating the features by tracing, the other options for entering vertices are unavailable (such as creating a curve or entering a direction and distance). You can. however, use snapping to have vertices you enter snap to existing features displayed on the screen. To digitize, you trace over the printed map. by either clicking points on the puck (point mode) or by simply moving the puck over the feature you want to digitize—without clicking—and having ArcMap automatically add vertices (stream mode). The stream tolerance specifies the distance interval between vertices added in stream mode. You can also specify that points be grouped when added-—when you undo or delete the previous entry, the whole group of points will be deleted (not just the last one entered). That way you don't have to delete the points individually to erase a line segment. 9> lot f ft >korr. loo. eras- rjrt □ of B 0 B * = » * *. - -I 3 • ■ ~3 J. ě. % o v tJDJJU _ tat« • ► «* • ti* I Ott» >» (mot "3 ItratEluonr. o n 11*1 - " Varaanngl 1Mb | EatTaau I all an | I-ř|i=-3 315-3 ■ , ■aba kMÉK mm HaJ To use the digitizer in stream mode, first click the General tab on the Editing Options dialog box. and enter a stream tolerance (in map units) and the number of points to group. »W!«lt« i*oaor. loot »Mar. grt> □ d a m e > «1 • ♦ tt tt . »r~3 ' • ~3 :/•*-•□■ " • * - -i : T"ŠT7" 1 J. *- • □ V First set the snapping tolerance (in pixels) on the Raster Snapping Options dialog box (click the button on the ArcScan toolbar). -jdj«1 1 :£ a- % O **? mm ail ES □ ! urn cm MM ■ •* Ctrortrat I Ml J Md si iř Then set raster snapping on the Snapping Environment dialog box. 196 197 Using ArcGIS Desktop To trace over the lines on the image, use the Trace tool on the ArcScan toolbar. The Editor toolbar must also be displayed, and an edit session must be open—click Start Editing on the Editor toolbar, and select the Target dataset to create the features within. Click the Trace tool, then click on a raster line to start tracing; as you click along the line, vertices are added. Right-click and click Finish Sketch to create the vector line. The line you just created is the currently selected feature, and you can continue to edit it using any of the other editing tools. Or, continue tracing with the Trace tool. 3 • Data Compilation and Editing To use automatic vectorization, you'll first want to remove any extraneous pixels, such as text or other graphics on the image. -ja«! ^ivx—;— 1 -J f- -o rt ... ,'001 i Is 002"-V>-: t 003 11 o i 004 005 006 " m . C2: 021 : 022 :22 IwWMCa ^ I- 9 Sätet« Cafe O ftara* m ,__ Use the Raster Painting tools to interactively delete unwanted pixels, such as text. Or. use Cell Selection to create a query statement that selects all the unwanted cells at one time. Then use the Erase Selected Cells option on the Raster Cleanup menu to delete the cells. 198 199 Using ArcGIS Desktop Then preview the vectorization, and use the Generate Features option to create the lines or polygons. You can preview the vectorization to make sure you removed all the unwanted cells. Use the Generate Features option to perform the vectorization and create the features. -iai«j •>&»*>- mmn arte» loo. tavte. O* o s* h • p > - • ♦ i 3 it w . * •-r 3 • • a «um - B - □ ~3 as □ I "3 53 The rest//, is a dataset of lines or polygons. 200 4: 3 • Data Compilation and Editing Adding and editing attribute data Attributes store descriptive information for geographic features. They're used to symbolize and label features on a map. to create reports and graphs, and for analysis. A large part of data compilation involves adding attribute values to features either in a new dataset you're creating or updating the values in an existing dataset. You use the same tools for both—all within ArcMap. You can enter specific values, or calculate values using a mathematical expression. If necessary, you can also add fields to a table while editing. Using the Attributes dialog box The Attributes dialog box is designed for quickly adding or editing one or more attributes for features. It is available within an edit session, and is accessed from the Editor toolbar (see "Creating and modifying features' earlier in this chapter). Click the Attributes button to open the dialog box. The box is initially empty, until you select a feature (or features) to edit, using the Edit tool on the toolbar. ■« i» -~ r—* iaaa* I—» «*•»«» so "3 «-»»|t»«J«*oq" □ jsj 10 * • -J "3I»~3 a / g A- J.- To edit attributes using the Attributes dialog box. open the Editing toolbar, start an edit session, and click the Attributes button on the toolbar. The box is empty until you select a feature, or features, to edit. The selected features are listed in the left panel; click a feature to display and edit its attributes in the right panel. r> ut •»- r—• <_» ~3 i •? za -3 «—r; —5. -3 a o a MVA i-i am 12.1.752 II □ - A * . . When you select a feature (using the Edit tool on the Editing toolbar), its attributes appear in the box. Select and type over a value to change it (grayed-out attributes are controlled by ArcGIS and can't be edited). When you select an attribute for which domains or subtypes have been defined, a drop-down list allows you to select the value. hi Jd 201 Using ArcGIS Desktop To select several features and display them in the box simultaneously, press the Shift key while selecting, or drag a box using the Edit tool. When you click a feature in the list, it flashes red on the map. tm 9» 6» »- 0 etB4 rax i—arv [eat t J f X 1 -J. A • O H? ITS - □ t - D ■ - a ■ sO I ? ■ -5 Sil "3 (s) im a am Unix ~3n^-3 » / b A - * - -i• -i■ 0.« mmnamtmt To select several features and add them to the dialog box. press the Shift key while selecting. Click a feature in the list (left panel) to view and edit its attributes. 3 • Data Compilation and Editing To assign a value to all the selected features, click the layer name at the top of the list. You can then click the Value field next to the attribute and enter the value—all the features in the list will be assigned this value. mm 1» i* *- r-*i s*«» □ st am t ■»*■ "1 il t- • o *> - O I - □ . «- 3 « HD.I FB MOA "ERWETDl 'JSC.OASS I LJTCkM IT A- 3 [ö*»» "3P»~3 ■ / b A- *' Jl' •nur»«: nun m To assign the same attribute value to all the selected features, click the layer name. The values column is blank, but when you click next to an attribute, you can enter the value. Use the Fields tab on the Layer Properties dialog box to set the Primary Display Field—features are listed by the values in that field (you'll usually use a name or unique identifier). Right-click a feature in the list to flash it on the map or zoom to it. Use the Fields tab on the Layer Properties dialog box to specify which attribute to use to identify features in the Attributes dialog box. Select the attribute values that will appear in the list using the Primary Display Field drop-down list. ■ .a OmJmU ■■■■KTi FBJ ■ • RD too AMA :•>• r. PEMCTOl HW U5t_OAS5 4 Ljnajic Srtfpv.LanQtM W.«W •Mna jtjjsj When you select a feature in the list, it flashes on the map. You can also right-click to highlight a feature, or zoom to it. If you're adding attribute values for newly created features, the values for each field are set to . except for fields for which default values have been defined or fields calculated and maintained by ArcGIS (shown in gray in the dialog box). Type over the to enter a valid value. Use the drop-down menus to assign values to fields for which domains or subtypes have been defined. IUI"!" DttBi X •»*• x ^ ■ * F"5" "1 I- * - 5> □» A - |7ZT ECMMTOI U5E.OAS5 UndüM lo^äansty SMMJkM «770 » ---- ■-- • - — • • * - _pav»r. ■W» 1 »*. 1 - 2298 noj nc M0 PtWCTBl use.a«S5 «Mb aM> «M> «U> una*. DmbpjaM ladi value setting to change the value. Domain values and subtypes are available from drop-down menus when you click in the Value column for that attribute. 202 203 Using ArcGIS Desktop 3 ' Data Compilation and Editing Using an attribute table to add or edit attributes You can also assign values using the attribute table for a layer (to open the table, right-click the layer in the table of contents and click Open Attribute Table). When viewing a table outside an edit session, the column headings have a gray background. If the table is open during an edit session, the fields available for editing have a white background for the column heading, while the fields maintained by ArcGIS and which can't be edited maintain a gray column heading. Also, the editing icon (pencil) appears at the bottom of the table, next to the Options button, to indicate an edit session is open. To edit a value, simply click the value you want to change in the table and type over it. .. -ini«i To open an attribute table, right-click the layer in the table of contents and click Open Attribute Table. Right-click the gray box at the beginning of a row to highlight that feature on the map. or to zoom or pan to it. An advantage of using the attribute table is that you can calculate values for multiple features at one time—either for all features, or a selected set. (The Show Selected button at the bottom of the table window displays only the selected features, if any, making it easier to see the features you're calculating values for.) To do this, you create an expression using a combination of constants, mathematical or logical operators, and values in other fields in the table. For example, you might calculate the value per square foot of parcels by dividing the assessed value of each by its area. Right-click the field column heading and use the Field Calculator to create the expression and calculate the values (the value you're calculating can be of any type—numeric, text, and so on). To calculate values for all features (or a selected set) for a field, right-click the column heading for the field and open the Field Calculator. Complete the expression in the lower box. QBr^Q2^B^pB^pB^pBJPJpBJPJPJPJpBflfJPJPBJ^i JJ.5J perimeter use class Ladae Dat On r Sbrg r dm JS lo- 1 s~. 1 204 You can edit values in the attribute table outside an edit session, but only by using the Field Calculator—not by entering individual values in a column. When you calculate values outside an edit session you'll get a warning message telling you the Undo button is unavailable. You am about to do a cefciAaa outage of an eok tetaon Thn method a lostet than cataiabng r, an edt ;«ran. but there a no way to undo yout retuftl once It* cataioteri beans Do you »«xh to cortrue'' When you use the Field Calculator outside of an edit session, you'll receive this warning message. If you want to undo your edits, you'll need to recalculate new values, or delete the field and add it again. Use the Fields tab on the Layer Properties dialog box to control which fields appear in the table (this is useful if the table contains many fields, and you're only editing one or a few of them). Mi Saucel Seaskai Ctaoarl SfMabo, Faai |De^auayiUba>|Jar.lRala> -1 Paw (yepee feet |hoj j aaiuUrhäaioaeeatleaatanUl Kaa. 1 Abb 1 !*• 1 Lara, i Paoaon i Sea. 1 NuabaFaa - M m AREA ABU PERIMETER PERaeTTER V USE.OASS USfJLASS I IX« Deuba Lang •"Levla. Larctae Sera SIvee.Lenge. Sraptjjnjr. Douba Sraprhea Shepejeai Deuba •TM-.Caoi DMIopaaiLadeShoa Vlnmrj AiaaoeVaur Long Nuaac Nu»ex Muaex OaaAl I Before, all fields are visible in the table. After setting the visible fields, only the specified fields are displayed. To open the Layer Properties dialog box, right-click a layer in the table of contents, and click Properties. On the Fields tab, select the fields you want to be visible in the table. You can also hide a field by right-clicking the column heading and clicking Turn Field Off. To show the field again, check it on the Layer Properties dialog box, or click Options on the table and click Turn All Fields On (this will, of course, show all hidden fields). Hide a field from the table by right-clicking the column heading and clicking Turn Field Off. Editing attributes for datasets having table relationships If you're editing an attribute table that has a related table (that is, a relationship class has been defined—see 'Building relationships between features and tables' in Chapter 2), you can access and edit the records in the related table from the original table. For example, if you have a table of landowners that is related to a parcel feature class, you can select a parcel feature, use the relationship class to find the owner of that parcel, then edit the attributes in the owner table. You can edit a related table using either the Attributes dialog box or the attribute table. Some relationship classes have rules that control how features can be related. After you edit related geodatabase features or tables that have relationship rules, you can validate your edits to check that the related objects still conform to the relationship rules (see 'Checking your data for errors' in this chapter). 205 Using ArcGIS Desktop 3 ' Data Compilation and Editing .VII rra zn> tm miirjii i ■at Znra*a_aKni HOOK D 3t06 MM -1 Ova** KfOXI 1 DOPJaUl iwijt tmo m5u» 7b ecffl a related table using the Attributes dialog box. click the plus sign next to a feature to list any related tables. When you click the related table for a feature, the related record is displayed. You can edit the values as you would for the feature attribute table. To open a related table when editing using the table window, click Options, point to Related Tables, and click the name of the related table you want to edit. Qj-B.5 3 5*»s The related table opens: you can edit the values as you would in the feature attribute table—by entering a value in a column, or right-clicking a column heading and using the Field Calculator. pffofinrv o- 1§7 UJCYfO» ne* mutsfuo 0 I45GC2-COXOO00 0 IftS&CS-O' XXX o itswn-i'ooxoo 0 >*KKB.17XXO0 0 -'. -"'i.- 0 IÍSMS-2 oooooo 0 I9SOJ*V10XXX SK-pÜ" SainJaa | "acaOi POtua-ZOlimct** Adding fields to a table If you need to add a field to the table, use the Options menu. You cannot do this while in an edit session save your edits, stop editing, add the field, and then restart the edit session). See also 'Adding fields and attribute values' in Chapter 5. (if necessary, calculating To add a field to a table, click Options, and click Add Field. Define the field properties in the Add Field dialog box.___ Q • ~ ■• * • «m-•*- 9 ate* Nana ^~~S I- -q '«*» jlfrgaaapi —--- Ban. Data* Cott» MC Baatadlaaai ■ » Mow NUi. valaa WUvaa >n O Ci»«ra»t«rL. :c»*an •ddlataibiLaml •J PataSOcb» I OK 1 Canal | CS«.. ► 206 Creating and editing annotation ArcGIS provides several options for displaying text on a map to describe particular features or add general information io the map. One simple option is to use map labels which are created from feature attribute values and are placed automatically (see 'Labeling features' in Chapter 4). Another option is to create annotation. With annotation, the position, text string, and display properties of text can all be edited. Using annotation allows you to select and position individual pieces of text. This provides flexibility in the appearance and placement of your map text. Annotation can be stored with a specific map ("map document annotation") or stored in a geodatabase. enabling the same map text to be placed on different maps ("geodatabase annotation"). Editing map document annotation Map document annotation can be quickly created by converting labels on your map (see 'Labeling features' in Chapter 4). It is stored in the map in w hich it was created. You edit map annotation using the tools on the Draw toolbar, as you would other graphics (you can use these same tools to create map document annotation). To edit an individual annotation, select it using the Select Elements tool. You can then drag it to a new position or rotate it using the Rotate tool. Press the Delete key to delete the annotation, or right-click and click Delete. Select map annotation using the Select Elements tool. Select Elements » L« r— r—" iaMar, laai van. ran □ EfB* la(X - - * |T= 3 if «V»0 *7 Drag selected map annotation to reposition it. Use the Rotate tool to rotate it around its center point. 207 Using ArcGIS Desktop 3 • Data Compilation and Editing To change the font, size, or color of the annotation, use the tools on the Draw toolbar. Ch U> <■> t»i >•«•»■ !«• ■»•«■ t*» QafBA ' ■'■ ■ > «i • * Text fon. Text size Text color Right-clicking displays additional options. •» I* t~ tmw »acta. I«. am- 9« □ oft)« x*ex »> • ♦ - □ kaum - □ petei_»ove» »—x - □ - a - s [e~i-r Walnut 4? iaalandll X 04 OHM OK X 0— DM OB»? ► fa » «t- ► •«•<,.. ► taBae* ► antra. JHK-..ral Right-click a selected annotation to display editing options. Creating and editing geodatabase annotation Geodatabase annotation is stored as a feature class in a geodatabase. Because of this, it can be added to different maps and accessed by anyone in your organization who has access to the geodatabase. Geodatabase annotation also has a wider range of editing options than does map annotation. There are two types of geodatabase annotation—standard and feature linked. Standard annotation is independent of features in the geodatabase. For example, you might have a piece of standard annotation that labels a mountain range or a neighborhood in a city—the annotation simply marks the general area on the map. Feature-linked annotation is associated with the feature it is describing. The text reflects the value of a field or fields from the feature to which it's linked—if an attribute value is updated, the linked annotation is also updated. You might use feature-linked annotation to identify particular features like streets, buildings, or rivers. If you move, copy, or delete a feature, the annotation is moved, copied, or deleted with it. In addition, with feature-linked annotation, as you create new features annotation will be created automatically. A quick way to create geodatabase annotation is to convert existing labels on a map in ArcMap. the same way you would when creating map document annotation. By default, the annotation is feature linked (since you're creating it from labels associated with the features) but you can uncheck the box to make it standard annotation. When you create geodatabase annotation you specify a reference scale. This is the map scale at which the annotation will appear at its assigned font size (the size will increase when you zoom in and decrease when you zoom out on the map). On the dialog box. select the option to store annotation in a database. By default, annotation is feature linked. The annotation feature class will be created in the same geodatabase or feature dataset as the feature class you're creating annotation from. To create geodatabase annotation from map labels, right-click the layer you want to create annotation for and click Convert Labels to Annotation. You'll Tirst want to make sure the labels are the size you want for the scale they're displayed at (this becomes the reference scale). 208 The annotation is added as a new layer to the map (it initially looks the same as the labels it was created from, but you can now select and edit individual text). Another way of creating geodatabase annotation is to create an empty feature class, in ArcCatalog, and then create annotation within the feature class using ArcMap. You'd use this method when creating a structure for your geodatabase as pan of the geodatabase design process as described in Chapter 2. Creating an annotation feature class is described on the next page. 209 Using ArcGIS Desktop 3 • Data Compilation and Editing us Enter a name and (optionally) an alias for the feature class. From the drop-down list, specify the type as Annotation Features. To create an empty annotation feature class in ArcCatalog, right-click a feature dataset (as shown here) or a geodatabase, point to New. and click Feature Class. The new annotation feature class (Streetanno) appears in the Catalog tree, in the feature dataset it was created in. At this point, there are no annotation features—you need to edit the feature class in ArcMap to add them. 4V J9 D»»r>— CarracBgm ajaSMrar. 210 -_l_S=ä_lf) Specify the reference scale for the annotation. You can specify more than one class for the annotation—you might create one class for major roads and another for local streets if the annotation symbols will be different for each class. You also specify the symbol for each class here. -u«: The required fields are automatically created, so just click Finish to create the annotation feature class. After you specify the feature class type as annotation, you're given the option of making it feature linked, and specifying the feature class to link it to. If you do create feature-linked annotation, you'll be given additional options for specifying editing behavior and annotation placement. If you create annotation at the geodatabase level you'll be presented with additional panels prompting you to specify the coordinate system for the annotation, and the x.y tolerance. And if you're creating annotation in a file or ArcSDE geodatabase. you'll be given the option of entering a configuration keyword. See "Creating feature classes and tables' in Chapter 2 for more on these settings. You edit geodatabase annotation in an edit session in ArcMap (see 'Starting and managing an edit session' earlier in this chapter). Once you've added the annotation feature class to your map. open the Editor toolbar and start the edit session. You can use the Editor toolbar to perform some basic editing on existing annotation. Use the Edit tool to select the annotation to edit. You can then drag to move it, or use the Rotate tool to rotate it. As with any edit session, the Undo and Redo buttons are active. Rotate tool Use the Edit tool on the Editor toolbar to select and move geodatabase annotation. Use the Rotate tool on the toolbar to rotate selected annotation around its center point. □ - A - [i^i Right-click the annotation to display more options, including Copy and Delete. Click the Attributes option (or click the Attributes button on the toolbar) to change the appearance of the annotation, or to change the text (by typing in the box). Data« l «J f x « - * ~3 J. «v%o v "3 . o d a Right-click selected annotation to display more options. Click the Attributes option or the Attributes button on the toolbar to change the annotation text and symbol. Mmmmmmmmmmmmmmmli d ~ 1 Cr»mS»»«1 J B-l Bl_ _S. 1'°°» d |7=-31^ 3 ■ •I .|/|B| m[*m\m\ 1- » D - A - J 1FT3 1 u A- J.- 211 19 Using ArcGIS Desktop For additional editing options, or to create new annotation, open the Annotation toolbar from the Editor drop-down list. Point to More Editing Tools, and click Annotation. siz, "3 ^ ♦••o w Open toe Annotation toolbar by clicking More Editing Tools, then Annotation on the Editor drop-down list. When you select annotation using the Edit Annotation tool on the Annotation toolbar, a blue box (known as the bounding box) appears around the annotation. The box provides several options for interactively editing the annotation. Click and drag the lower left or lower right corner of the box to rotate the annotation (the annotation pivots around the opposite corner). »«•■»« Hmmm }mm Wr+m, tM> "3 J. *v*o v -Oxu - □ «.dp BS - 1 . ' fl 8 □ The bounding box around the annotation lets you rotate the text—click either small arc that appears in the lower left and right comers and drag to rotate the box. When you release the mouse button the text is rotated. a k * "3 — f=" 3 e "3F~3 ■ / B A- a- J.- J.- 3 • Date Compilation and Editing Click the red triangle at the top of the box and drag the cursor up or down to interactively increase or decrease the text sl/c Click the crosshair in the center of the box and drag the cursor to move the text. wmms _«.»!— f* i*Om I** BT"**" B* 2 Uta mi x ■»»* x •» «■ * F^j" ia.*»31BJ "3 J. ♦.♦>□ H7 • -I 3 * • a Uu. - t .¥> - l«dc |ow.«r-*Mtr« ■I "3 .' « as a Wtoen you select the red triangle in the box. the cursor changes to a vertical line with arrowheads. Drag the cursor up to increase the text size; drag it down to decrease the text size. K A K A c— nrmwtM ■Sil ■ml" 1"- 1 • 0 * .Jj J >»k □ - A • |«*- 31" 3 mi D A- »-**•- .1- m.iw.1 uwiiuiw Right-click to display more options, including changing the curvature of the annotation—you can change it from straight (that is, straight-line at any angle) to horizontal or curved, for example. -ja«! 0 g* B 4 x •» «" x *i r. $ ;.r. d A W t * •• • mV^~2 - «• a "3 '«*( LS* fgfc>>«u.>*di Right-click selected annotation to display a context menu with additional options. The Curvature setting lets you change the annotation type. Edit Annotation tool 212 213 Using ArcGIS Desktop To create new annotation, first make sure the Target on the Editor toolbar is set to the layer to receive the annotation. Then select the Construction type from the drop-down list on the Annotation toolbar. To create annotation, first choose the annotation Construction type from the drop-down list. Type the annotation text in the Text box. then click the Sketch tool on the Editor toolbar and place the annotation on the map. Each time you click, annotation is placed on the map (so you can place the same annotation text in multiple locations). To stop placing annotation, click any tool on the Editor toolbar or on the Annotation toolbar. Sketch tool Type the text for the annotation in the Text box. then select the Sketch tool. Use the cursor to place the annotation in the correct location—the text is previewed as you drag it. For Horizontal annotation, the text is placed when you click the cursor. You can continue placing the same annotation text in other locations. 3 • Data Compilation and Editing For Horizontal. Straight, and Leader Line you can also click the appropriate button at the left end of the Annotation toolbar to place the annotation. Each type of construction works slightly differently. When placing Straight annotation, click to place the center point, then drag around the center point to the desired angle, and click again to place the annotation. Curved annotation lets you enter the vertices of a line along which the annotation will be placed. For the Follow Feature construction, click a feature the annotation will be parallel to. then click again to locate the annotation along that feature. For Leader Line, click the location of the leader line end point, then drag to place the annotation—the leader line stretches to the annotation as you drag it. To place Leader Line annotation, click near the feature the annotation is for, then drag the text to the desired location—the leader line stretches as you drag the text. Click to place the annotation text. Type the text here 214 215 Using ArcGIS Desktop The text symbol used for the annotation is one of the symbols specified when you created the annotation feature class. Right-click an annotation to change the text symbol or leader line for that specific annotation. These symbols are stored in what's known as the annotation symbol collection. ■nam f» V* 9m h*t imam Ism *n»- 3*. D a* b a i«ex •- • ♦ pv" i * - »r 3 - * a ~3 -J. A*a xf To modify the symbol for a particular piece of annotation, select the annotation using the Edit tool on the Editor toolbar, right-click, and click Attributes. Choose another symbol from the symbol collection using the drop-down list in the Attributes dialog box or use the buttons to change the font, size, and so on. Click the Leader button to modify the leader line. ■ Mot hq n 1 J 1 Lj |«~ ■J "LiJjÜ dl> ij - 1 s— 1 ___ Click the Symbol button on the Editor dialog box to open the Symbol Selector and specify the leader line color and thickness. Map Real UmmS—m DanSaaai RaadanUSaaac Rakoa) ___ "3 Unta I Pom P—3 |!50QX aj r «ocarllar 5** : rQ *ß r^ ffgrt=rpc uagra La» [cocejo jj T« (orxnj jj ReK |ooooo jj laa |oocoo jj Use (he Editor box to se/ /he gap be/ween the leader line and the text, the leader line type, and other options. You set the symbol for leader line annotation—along with other properties of the annotation—on the Annotation tab of the Attributes dialog box (existing leader line annotation won't change). 216 3 • Data Compilation and Editing Click Options on the Editor drop-down list to specify the annotation settings, including the leader line symbol to be used for annotation you're adding. On the Annotation tab. click the Leader button to open the Editor dialog box and set the leader line properties for leader line annotation you add. list Sana*I Dcaaa| Ioeobg,| Uaaoraal Um. | tmtmk, Anoaaon | aaajaa. | O SlK.aaaaaM.aWe.naKa. ° annaaraj lahalaladtafcaluai r AuMaac^loleakaadpargDnMua. LaadaSaaM •aaewix Lae ePallaaSahDMaS Cfcaaa no. a*aae aa* a) 231 'l»»|laaCatoJ •- aai ~3 tM> I P°n> jj«i -3 1 OtJD jj •aatanyzz laaaelaaanoe JISHD) ij O Laak. r ecea ■-J-a^rhr^rjrr La» pan) jj la* (orjrjrjD aj 1*0» JOODOD j] tetaa IG am M You can add new annotation symbols to the symbol collection at any time in ArcCatalog. Right-click the annotation feature class in the Catalog tree and click Properties. Then click New on the Annotation tab. Caa-a, |ai 3 jtüd aatvyti AiflbYyZz Caaeal -■ Ab BbYyZz Caaa*} AaBbYyZz Caaae,] s- la j mémWímm CaaM Ku 1 M—s-e* .| mmrflj 1 — 1 1 m 1 c— 1 L/se /he Symbol Selector to choose a new text symbol to add to the annotation symbol collection. 217 Using ArcGIS Desktop Creating and editing dimensions Dimension features are a specialized type of geodatabase annotation for showing lengths or distances on a map. A dimension may indicate the length of a side of a building or land parcel, or it may indicate the distance between two features, such as a fire hydrant and the comer of a building. Dimension features are stored in dimension feature classes in a geodatabase. You need to create a dimension feature class before creating the dimension features themselves. «10JJSJ • us* • t? To create an empty dimension feature class in ArcCatalog. right-click a feature dataset or geodatabase. point to New. and click Feature Class. If you select the option to create a style, click the New Style button on the wizard panel to open the Dimension Style Properties dialog box. Specify the symbols and spacing for the dimension and extension lines, the dimension text symbol, and so on. Enter a name and (optionally) an alias for the feature class. From the drop-down list, specify the type as Dimension Features. Specify the reference scale for the dimensions. This is the map scale at which the dimensions will appear at their assigned font size (the size will increase when you zoom in and decrease when you zoom out on the map). Also specify whether to accept the default style, create one. or import one from an existing dimensions feature class. If you're creating a We orArcSDE geodatabase. at this point you'll be given the option of entering a configuration keyword (see 'Creating feature classes and tables' in Chapter 2). The required fields are automatically created, so just click Finish to create the dimensions feature class. It is added as a new feature class in the feature dataset you created it in. (You can also create dimension feature classes at the geodatabase level.) 218 Dimension features are added to a dimension feature class in ArcMap. within an edit session. First, add the dimensions feature class to your map, along with the features for which you're adding dimensions (the parcels, streets, buildings, or other features). Then open the Editor toolbar, and start an edit session. Specify the Task as Create New Feature, and specify the Target layer as the dimensions feature class: you'll also want to set the snapping environment to the vertices of the features you're dimensioning. Then open the Dimensioning toolbar which contains tools for creating dimension features. 3 • Data Compilation and Editing .1 ' "1 - I«SU» tM+m*msqm. ] To open the Dimensioning toolbar, click the Editor drop-down menu, point to More Editing Tools, and click Dimensioning. The options on the toolbar are active only during an edit session. Click Snapping on the Editor drop-down menu to set the snapping environment. Check the box under Vertex for the layer you're creating dimensions for or other layers you want to snap to. Use the Construction drop-down list on the Dimensioning toolbar to specify the dimension type. -IOl»l Sil m a Specify the type of dimension from the Construction dropdown list. 219 Using ArcGIS Desktop The dimension features are based on points that you input with the Sketch tool. An "aligned" dimension, for example, requires three points: the start point, the end point, and an offset point. Select the Sketch tool on the Editor toolbar, then enter the points on the map to create the dimension. As you move the mouse, you will see that the new dimension dynamically draws itself with the cursor location as the end dimension point. When you click the final point, the dimension position and text are fixed. Data* ■> "> * * • *f 11 J. * • n v To create an aligned dimension feature, click the vertex corresponding to the beginning of the dimension line; click the vertex corresponding to the end of the line; then move the cursor perpendicular to the line to set an offset and click to finish the dimension feature. You can create aligned, simple aligned, horizontal linear, vertical linear, or rotated linear dimension features. 9.5' Aligned Simple aligned Horizontal linear Vertical linear Rotated linear There are several tools on the toolbar that allow you to create new dimension features from a selected feature (these are available from the Autodimension palette). You select the dimension type, then select the feature—the dimension is created automatically. 3 • Data Compilation and Editing If more than one style is defined for the dimension feature class, select the one to use from the drop-down menu on the Dimensioning toolbar. To override the current dimension style for a particular dimension feature, right-click the feature and click Attributes. The dialog box lets you change the dimension style. * * ■ ■ ■ - -I 3 • • a H J. *.%U V g Pmrm - O «—«-•« - q pw*» JAW" \ '»Oe» b vKI OiUC X L—. ft-...** MI«™ "J >.—,.. mmmm . s\ "3 .' p) m a I B A- >. v. A* To override the default style for a selected dimension feature, right-click the feature and click Attributes. Then change the settings in the Attributes dialog box. You can add more styles at any time in ArcCatalog (except when the dimensions are being edited in an edit session in ArcMap). Right-click the dimension feature class in the Catalog tree, and click Properties. On the Dimensions tab, click New to open the Dimension Style Properties dialog box, and define the properties of the new style. To create a new dimension style for a dimension feature class, right-click the feature class in the Catalog tree, click Properties, and click the Dimensions tab. Click New. After entering a name for the style, the Dimension Style Properties dialog box will open. ] jj»j 1 1 EMajaM 220 221 Using ArcGIS Desktop 3 • Data Compilation and Editing Editing routes and geometric networks Routes and geometric networks are collections of line features and junctions, or intersections, used to represent transportation and utility networks. You create both types of datasets using ArcCatalog (see "Adding specialized datasets to a geodatabase' in Chapter 2). ArcMap contains tools for interactively editing the datasets to add or delete features. Editing a route dataset Routes are collections of linear features built from existing features such as roads or pipelines. They're often used to manage subsections of an existing line dataset—for example, to indicate different pavement conditions along stretches of a highway. They are also used to assign geographic locations to events stored in a table (see "Assigning locations using street addresses or routes' earlier in this chapter). You can modify an existing route dataset—or add features to an empty dataset you created in ArcCatalog—using tools in ArcMap. Routes are edited within an edit session, using tools on the Editor toolbar and the Route Editing toolbar. First, add the route dataset to your map. Then open the Editor toolbar and click Start Editing on the Editor drop-down menu. Set the Target layer to be the route dataset. You can use the Edit tool to select a route, then right-click to delete the route or click Attributes to modify its attributes (such as the route ID). If you're adding features to the route (as opposed to merely deleting them or modifying their properties) you'll want to also add the dataset containing the base features (such as a streets dataset). Set the Task to Create New Feature. Then open the Route Editing toolbar—point to More Editing Tools on the Editor drop-down menu, and click Route Editing. 6» I* *»> »-» *T 1mm KM— Data» X »«ax " - ♦ * a . -i i - - a To create a new route, select the base features that will comprise the route using the Edit tool on the Editor toolbar. Press and hold the Shift key to select multiple features. Once you've selected all the features to include in the route, click the Make Route button on the Route Editing toolbar. 3 J. «.%□ V ~3 . « a □ Make Route To create a route, use the Edit tool to select the features that will comprise the route. Then click the Make Route button on the Route Editing toolbar. 3 ■ / g A- »- J.- J.- In the Make Route dialog box. specify the start point of the route (where the measuring will start from) and how the distance will be obtained (the default is to use the distances calculated from the geometry of the features in the route). An easy way to specify the start point is to simply click on the map. First, click the arrow button in the dialog box. >—x - 1» □ • A - • 01 JI I To open the Route Editing toolbar, click the Editor dropdown menu, point to More Editing Tools, and click Route Editing. The options on the toolbar are active only during an edit session. • - » fSm 3 J. A • □ W *r 3 - - a Ojick tc •JŮ _ J The Make Route dialog box lets you specify the staň point of the route and how measures will be obtained (calculated from the feature geometry, using a field associated with each feature, or using values you enter). You can also specify a conversion factor and a start measure other than zero, if necessary. Using ArcGIS Desktop You're prompted to click near the end point of the selected base feature that defines the start of the route. When you move the cursor near the point on the map. it will snap to the point. To enter the start point of the route (the point from which measures will be calculated) move the cursor near the start point—the cursor will snap to the point—then click. 3Pö~3 ■ / o a* After you've specified the start point, the dialog box reappears. Set any other parameters in the dialog box (or accept the defaults) and click Make Route at the bottom of the dialog box. u»b«l»«X- ~* F»™ 3 :£ A ft □ tr • A 7*15! i (•It .! □ • A - 31^3 ' » a' u to. «Mir«. • /After setting the start point, the Make Route dialog box reappears—set any other parameters, then click the Make Route button on the dialog box to create the route. 3 • Data Compilation and Editing Once the new route has been created in the target feature class, the selected set of input linear features will become unselected and the new route will become selected. This is so you can set the attributes, such as the route identifier. The route identifier is used when locating events along the route—each event in the event table includes the route identifier so it can be assigned to the correct route. To assign the route identifier (and any other attributes), right-click the selected route and click Attributes. Type in the box next to the route identifier field to assign the route identifier. -lami Right-click the newly created route, which is currently selected, and click Attributes. In the dialog box. enter the route ID (the field must already exist). - n.tmj*wr AOUTCI 1 •0001201 9v*e_urvj C \\mmm. The Linear Referencing toolbox in Arc Toolbox contains tools for building routes and locating events. The Create Routes tool, for example, lets you create a route dataset. The tools are useful when building routes and locating events within a script or model, but they can also be used on their own. I AftToOfJCti ft 3D Arwrrst Tools ft ArWrss Tools ft Cartography Toots ft Converpon Tec* ft Date trteropereteTty Tor* ft Date MarvagerrarT Toots CraOCOoVVJ Took ft Lraar Refenrnong Tocfc e» c«t»«tt Poutos /* Deisotve Pout. Events e* locate Features Along Route* ,* Mate Route Event layer /• Overlay Route Events f Trensrorm Route Events % Speael Analyst Took rqee. Ilnde. I Soarcr,| The Create Routes tool in the Linear Referencing toolbox lets you create routes from a set of base features by entering the input and output datasets. along with other parameters, in a dialog box. -1qj*j 3*| |C v&S Ptarc Won en^tilniani.. rr. ~3 Teeleora».EM|areanea; ümkjm **mHm>» 1 224 225 Using ArcGIS Desktop 3 • Data Compilation and Editing Editing a geometric network Geometric networks are used to represent utility networks such as electrical networks or water systems. They are built in ArcCatalog. using existing features—for example, transmission lines, capacitors, transformers, and so on, for an electrical network (see 'Adding specialized datasets to a geodatabase' in Chapter 2). A defining characteristic of a geometric network is that it stores and maintains the connectivity between the various features in the network. Geometric networks are edited in an edit session in ArcMap. Add the network to your map (when you do. all the feature classes that comprise the network are added to the map). You can delete features or modify the attributes for a feature in the network as you would any other feature. Select the feature using the Edit tool on the Editor toolbar. Right-click to delete or copy it (keeping in mind that deleting a feature may impact the connectivity of the network). Click Attributes to modify its attribute values. Because the connectivity between features in the network is inherent, when you move a feature, the features to which it is connected move with it to maintain the connectivity. There may be cases where you need to move a feature without changing the position of features it's connected to (for example, to move the position of a transmission line without moving the position of the pole it's connected to). To do this, you need to first disconnect the feature. Open the Geometric Network Editing toolbar from the Editor drop-down menu. Then select the feature to disconnect—using the Edit tool on the Editor toolbar—and click the Disconnect button. - — »—> ***** -°* «t~- 9» acta* i*bx ■ ~ * * * * " *M*1 »■» (et ftp- fmm yimam look %mk»- •*•*> ' i u 4 ' J - >' - + F5 ~3 J. *- • □ V To disconnect a feature from the network, open the Geometric Network Editing toolbar (click the Editor drop-down menu and point to More Editing Tools). To edit a geometric network, open the Editor toolbar, and click Start Editing on the Editor drop-down menu. Use the Edit tool on the toolbar to select the feature to work with. •p 'ja fmm jfmm jmtam look WmSj- *. * - » "3 J. *- • o v 1.MD» raamunfM With the feature selected, click the Disconnect button on the toolbar. When you drag to move a feature, the junction at which the feature connects to other features moves with it. and the connected features stretch accordingly. 226 227 Using ArcGIS Desktop Now when you move the feature, the connected features stay put. To reconnect the feature to the network, snap an end to a feature on the network, and click the Connect button on the toolbar. -;al»l tfc t* *» a a a j * a 9 • t—' S*o=. »• CMC ~3 J. a m a of - B I - B *M)Ua 31 Mt, . ► 1 f - Trek |3 ea a ♦ • ^ v. n H r,\a~ „ - k □ - a - 3|iT3 ■ / g A.- *- J.' J.' When you move the disconnected feature, it floats free of the network. !« b* I». m_i iu> le* «M». o* o.gt X •» B X ^ ^ # (n» ZZj----" q ' "3 J. k? r. • :: »■ ■■ r * - B P-*tt«rC»~r4»r. - B uuv O M - B nuiMi.iju. - B erew*r. - OWM1. UTMar i .r b—it □ - a - . [Vm-7 To reconnect a feature to the network (or connect a new feature), snap the feature to an existing networi< edge or junction, and click the Connect button on the toolbar. 3USWI07 in'— 3 • Data Compilation and Editing When adding a feature to a geometric network, you'll want to set the snapping environment so that all layers in the network have snapping on. That will ensure new features snap to existing ones, thus maintaining network connectivity. g. V» »» »■■"• J***" 10* a**- o* > ^ • -r 3 - - a B %ar«>to-wte« - 2 :<9uccr«v« 3 >ctaacrC*«c*bmr* ■» o » o N "3 Tare* |5,t«»«r. -. b h r; 3 v n • • ji j ~3F°"~3 ■ • n 1*1» fart* to* &d Car*rta«ar« y I'anafO'T.epor* il ».guueirter» 5ar**.oce0on •» Oes«« ^encrCrnis«. a Seu» Feeder Bam _>JCT Prrraenuie 3ecor«3eryUie e* - Recer 1 Hnrelanor«» J Wfien adding features to a geometric nelworit, set snapping on for the networtt layers. Point features should have Vertex checked; line features should have Vertex and End checked (as well as Edge, if required). 228 229 Using ArcGIS Desktop 3 • Data Compilation and Editing Checking your data for errors ArcGIS Desktop contains several tools to help you check for errors in your geodatabase that may have been introduced during editing or when importing data. These validation tools work within an edit session in ArcMap (see 'Starting and managing an edit session* earlier in this chapter for a discussion of starting an edit session). The Validate Features tool checks for invalid values for subtypes or attribute domains, as well as invalid relationship classes and broken network connectivity. The Topology toolbar lets you check and verify any topology rules you've established for specific datasets. Validating attribute values The Validate Features tool on the Editor toolbar checks the values of domains and subtypes to make sure they're valid (see 'Ensuring attribute data integrity' in Chapter 2 for a discussion of creating domains and subtypes). When editing subtypes and coded value domains using the Attributes dialog box. a drop-down menu lets you select from a list of valid values to ensure that acceptable values are entered (see 'Adding and editing attribute data' earlier in this chapter). However, it may be the case that there are attribute values in a field that pre-date the creation of the coded value domain or subtype. Also, values entered using the field calculator in the table window are not restricted to those defined in the coded value domain or subtype, so errors may creep in if values are entered using this method. For range domains, the values that can be entered—using either the Attributes dialog box or the field calculator in the table window—are not restricted when you enter them, so, again, errors may occur. The Validate Features tool finds any invalid domain or subtype values that occur in the table, for the selected feature(s). and displays a message. After starting an edit session, use the Edit tool to select the feature(s) to be validated. Then click the Editor drop-down menu and click Validate Features. If a single feature is selected, the message indicates the nature of the problem. Right-click the feature to open its attribute dialog box and correct the value. WWM u\ 3 ■ <*s us n Right-click the selected feature and click Attributes to correct the invalid value. no ou> «KA <*J> ■CRJtirot oaj> la.OASS ou> .«am. SNeajkM iwa Ol »trm iMru If more than one feature is selected, the message tells you how many features have invalid values; only those features rema.n selected. Select one of these features and run Validate Features again to get an explanation of why the feature U invalid (or just open the Attributes dialog box for the feature and see for yourself). To check for invalid subtypes or attribute domain values, open an edit session and use the Edit tool to select the feature to check. Then select Validate Features on the Editor drop-down menu. A message is displayed indicating the error. If there are no errors, the message indicates that all features are valid. 230 You can select multiple features before running Validate Features. The message will indicate how many features have invalid values. Features with no errors are unselected, leaving selected only the features having invalid values. 231 Using ArcGIS Desktop To open the Attributes dialog box, click the Attributes button on the toolbar, or right-click one of the selected features and click Attributes. The selected features are listed in the left panel; click a feature in the list to display and edit its attributes. Select a feature from the list in the left panel of the Attributes dialog box to display the feature's attributes and correct any errors. Validate Features checks for the different types of errors sequentially, so if a feature has errors of more than one type it will generate a message if you run it again. For example, if a feature has an invalid subtype and an invalid domain value, It will generate an error when the invalid subtype is encountered. If you fix the error and re-run Validate Features, a message will be generated when the invalid domain value is encountered. Validating relationship classes and network connectivity Validate Features will check to make sure any relationship class rules you've set up in your geodatabase are not broken. For example, in an electric network, there may be a relationship class between substations and feeders, with a rule that a substation cannot have more than two feeders. Validate Features will check to ensure there are no violations of the rule (a substation has no more than two feeders associated with it). Select the feature or features to validate, then click Validate Features on the Editor drop-down menu. Validate Features displays a message indicating that all features are valid, or that it has found a rule that has been broken, and the cause. In this case, the tables or features would have to be edited to modify the relationships between the features. Validate Features can be used to check for relationship class rules that have been broken. In an edit session, select the feature to validate (using the Edit tool on the Editor toolbar). Then select Validate Features on the Editor dropdown menu. In this example, four feeders are connected to a substation, when a maximum of two are allowed. 3 ' Data Compilation and Editing Similarly, Validate Features will evaluate connectivity for a geometric network. In an electric network, for example, a substation might be able to connect only to a primary line. If a substation is added and connected to a secondary line, running the Validate Features tool will reveal this, and display a message. To correct the error, the feature would have to be deleted or moved to connect to a different—primary—line. J. hi 21 ra a a i Use Validate Features to check the correct connectivity between feature classes in a geometric network (in this example, a substation on an electrical network is connected to the wrong type of transmission line). SobaaOon Mxtjor, feature («*>►»: Sutatabrjn) 3F°~3 » I b A- »- ^- _l- Validating topology rules A topology is a set of rules that define the spatial relationships between features. The rules ensure, for example, that parcels don't overlap or that census tracts completely nest within counties. If you've made edits to a feature that participates in a topology, you need to validate the topology to identify any violations of the rules that have been defined for the topology. ArcMap includes tools for validating geodatabase topology. (The tools are not available for map topology. For more on geodatabase topology see 'Ensuring spatial data integrity' in Chapter 2. For more on map topology, see 'Editing connected features' in this chapter.) Topology validation occurs within an edit session in ArcMap, using the Topology toolbar. After starting an edit session, click the Editor drop-down menu, point to More Editing Tools, and click Topology. Open the Topology toolbar in ArcMap to validate geodatabase topology. Using ArcGIS Desktop If there is more than one geodatabase topology on your map. use the drop-down list to select the one you want to validate. The toolbar includes three buttons that let you validate topology—they vary only in the extent of features they will validate. You can validate feature topology within a selected area on the map. within the current extent of your map. or the entire topology. When you click one of the three Validate Topology buttons. ArcMap checks the features against the topology rules in the geodatabase. Any features that violate the rules are highlighted in red on the map. After validating, use the Error Inspector to list the errors—click the button on the toolbar to open the Error Inspector window. Use the drop-down list to specify which errors to search for and list (based on the rule that's been broken), or select Errors from all rules. Then click the Search Now button on the window. 3 ' Data Compilation and Editing Click one of the Validate Topology buttons on the toolbar to validate the selected topology. Errors are highlighted in red. In this example, there are two parcel overlap errors, a street overlap, a pseudo node (a vertex that connects two line segments—it may be unnecessary), and several dangles (a dangle is a vertex at the end of a line segment—some of these might be acceptable and should be marked as exceptions). Click the Error Inspector button on the toolbar to open the Error Inspector window. Then select the topology rules from the drop-down list. 9mm Hat at uro» Th«< Oats Tear ata M>a'UIB(Ma> partakjanr Ha. Not C*»ao ttraal jMaa - Hal Not Haan Dnvja* lraaM.2 Iteaa» I When you select an error in the list, the corresponding feature is highlighted in black on the map. You can use the Error Inspector to manage the errors—you can sort the errors by any of the fields in the table so you can work with all the errors of a given type. You can also limit the errors shown in the table to errors of a given type, errors that occur in the currently visible map extent, or errors that have been marked as exceptions (that is. are acceptable, even though they violate a topology rule). • k □ - A - CC !(*a3" mhftm la-, iFaaual 1 Paaaaa? iLsaatan 1 Port zm *JB to n*** ÜHTtfn oartjanr Por< zm *--.r to CNwtap zm Paar patakjnra »aVenn zra zm *aka Kutf toHr-*tk«rx»n toaaljaa. Port 17» 'ara «Baal Jan. Part 1» IW 'aar Hjrf to e>-wtap maatjaa. PaVta 199' zm Paka Hjit toO-wtap naj aUaa Wian «7 22* fak* pacnkjam rtarsra 52« 22« raka When you select an error in the Error Inspector table, the corresponding feature is highlighted on the map. in black. Right-click a row to zoom or pan to that feature. Click a column heading to sort by that column. Once you identify errors, use the tools on the Topology toolbar to fix them. In many cases, you can use the Fix Topology Error tool on the toolbar to resolve errors. When you use the tool to select a feature that has an error, and then right-click, applicable predefined fixes are displayed in the context menu. For example, if the error is an overlapping polygon, the Merge fix is available. If you click Merge, you can select which of the overlapping polygons will be merged into the other. The same menu is displayed when you select and right-click an error in The Error Inspector window. i«»»,a,«,N„aa»W il»J Click the Fix Topology Error tool on the toolbar, then right-click a selected feature on the map. You can zoom or pan to the feature, or select a fix—in this example, selecting Merge lets you pick the duplicate line to delete. 234 235 Using ArcGIS Desktop You can also use ArcCatalog to validate an entire topology. It's a good idea to do this when you first build the topology in ArcCatalog (see 'Ensuring spatial data integrity' in Chapter 2). Right-click the topology in the Catalog tree, and click Validate. Errors will be displayed when you click the Preview tab. fü («• ea. 4» !«• «!"*» O* -ÜJ15J i. 4 * *• 1 - x <ä Q <"> • O SÍ lata» ^^•^v^^^Mrm.'^^^mmimX04tm.ft^m,Jm»'MKA^ Ußmmt |WUtt J i " --„__1....., - J asi-aro "■«■«■ i After validation, topology errors appear in ArcCatalog when you select the Preview tab. When you open a map that contains the topology, in ArcMap, any errors ArcCatalog identified will be highlighted in red. 3 • Data Compilation and Editing Defining coordinate systems and projecting datasets The spatial reference for a feature class describes its coordinate system—for example, geographic. UTM, or State Plane—its spatial domain extent, its resolution, and its tolerance. When you're building your geodatabase, you assign the spatial reference when you create feature classes and feature datasets (see 'Creating feature classes and tables' and "Ensuring spatial data integrity' in Chapter 2). If you've received data from an outside source, the data may have a spatial reference, but it may not yet be defined in ArcGIS. Or. the dataset may be in a different map projection than the rest of your data. ArcGIS includes tools to define coordinate systems and to project datasets to other map projections. To see if a dataset has a defined coordinate system, right-click the dataset in the Catalog tree and click Properties, then select the XY Coordinate System tab. If the coordinate system is undefined, the name will say Unknown (or Assumed Geographic if the coordinates are in degrees of latitude and longitude), and the Details box will be empty. If the spatial reference is not included in the documentation that accompanied the dataset, you'll need to contact the source and get the spatial reference information. You define a coordinate system by selecting a predefined coordinate system, importing one from another dataset, or defining the parameters for the coordinate system yourself to create a new one. You can do this in ArcCatalog (as shown on the next page) or using the Define Projection tool in Arc Toolbox. * a 4 * x I* d ■ * : aan 1«-1—1 ■* _J tcoOtrtt * _J irrt. *vm*3 - J Camay »*op>rl B Data Management Toots • I b Data Orrtpansor • I b Database • i ^ r>scrxriected Edbng i I t Ostrt^edCaodatebese - J b Dtxnens • I t -'"J' Oass • I i Features • I b 'M • I b He Geodat abase • I i General • I b ^rarafeabon • I ,> Inde«es • I f tors • I b layers and Tata- vw~s - I b. Projections and Transforirverjons - £ Featu-e $ Batcti Prelect Create SpetaJ Oeferero ,> protect • & Pester ^ Create Custom Ooc/apht Trenetmabon ftweteelWe. I Search | The Define Projection tool in the Projections and Transformations toolset lets you define a dataset's coordinate system. On the Define Projection dialog box. enter the input dataset and click the button next to the Coordinate System box to open the Spatial Reference Properties dialog box. The options for assigning a coordinate system are the same as when using ArcCatalog. 236 237 Using ArcGIS Desktop To assign the coordinate system for a dataset in ArcCatalog. right-click the dataset in the Catalog tree and click Properties. •e 4* »»** X « « • o * -3 4 * q »JCWS» «---- ► lis) 1. - lfi*le-.-l lee»et t_|Pl.mCiuJir m^mWMMLWMmi -i «.1 *UU [= «Bi _lub» "— 1 1 1 *—<*•»« Im««» •1 c— 1 OW..n»-,uji»J.i.»— batten bjmbi < Be Mt MkOM On the Properties dialog box. select the XV Coordinate System tab to display the options for assigning a coordinate system to the dataset. 1Mb CoaoO EadlMrt 1 AJ^I-lfsjjBl 7"he Se/ect option lets you choose a predefined coordinate system—either projected or geographic. The New option lets you enter parameters to create a custom projected or geographic coordinate system. -3 77je Import option lets you assign the coordinate system by using the coordinate system of an existing dataset. S__I 3 • Data Compilation and Editing Defining a coordinate system does not change the coordinates of the data—it merely makes the coordinate system known to ArcGIS. If you need to change a dataset's coordinate system to a different one—for example, to be consistent with the rest of your geodatabase—use the Project tool. This may be the case if you receive data from another agency or other source that doesn't use the same coordinate system you're using for your geodatabase. Feature classes stored in a geodatabase feature dataset must have the same map projection as the feature dataset (see 'Ensuring spatial data integrity' in Chapter 2). *J t, 4* t.e X S = »88 *~ 1 J' f t "- 4 :W . . - *- . "j am» .IMUal . so* % Data Hanejeeert Took » I h Data Coroangxi • I ^ Database B>J ^Ob npnr.'-^ll »fr.; • I t DKtrtutatJ Geodatabase I I i Domars • ] ^ FMuidtft • I f Feattra - ij *M • I ) He Geodalatwe - < » General • I p Genarakfatrr • I , :•■>■-. " £ "' I I » layers and Tatse Mm - I » ProexOoni and Trarstcrmabcro - 8> Mm J! Bat* Protect ^ Create Spend Patorence • & B Mat a** Create Custom Geor/apre: Trarrrformatxri Deftie Proejctjon Fe^eei I S«t+,| WCMeliSe» T. « The Project tool lets you convert a dataset from one coordinate system to another (the coordinate system for the dataset you're converting must already be defined). The options for assigning the coordinate system to convert to are the same as when defining a coordinate system—select from a predefined one. import one from an existing dataset. or define a custom one. You can also modify the existing one, or select or import one and then modify it. When projecting a dataset, a new dataset is created in the new coordinate system. The Projections and Transformations toolset contains additional tools for defining, projecting, and spatially adjusting rasters. The Raster toolset under Projections and Transformations (in the Data Management toolbox) contains tools for projecting and adjusting raster datasets. - «aV fruejujun end Tranrfcneataro • - £ Feetu-o S Batch Protect P Create SpaDaJRafererce /• Project - Retter 1 .> Mrror ,> Protect Raster J> Restate /• Rotate e>9* »* Warp »* Create GaJo» Geooraprar. Transformation eA bahrw Protecoon Ferarftn jmrJn I Search | 238 239 Using ArcGIS Desktop Adjusting and integrating datasets Inconsistencies between GIS datasets obtained from different sources sometimes require you to perform additional work to integrate new data with the rest of your data. Some data may be distorted or rotated with respect to your base data and need to be transformed or "rubber sheeted" (stretched or warped) to match the base data. Or you may need to make sure features at edges of map sheets match up before the datasets are appended. You may want to transfer attribute values from one feature to another (often used to assign values to new features or to replace values with more accurate or current ones). This work is often in preparation for combining adjacent datasets to create a continuous dataset. Transforming, rubber sheeting, and edge matching datasets ArcGIS includes a number of tools that let you match up features in different datasets with each other. This is often needed when you've imported data from another source, such as a CAD drawing, or if you need to combine adjacent map sheets. The transform operation rotates and scales features to a set of control points; the rubber sheet operation stretches and warps features; and edge match lets you ensure that features meet up across map sheet edges. These are collectively known as spatial adjustment operations. Spatial adjustment is done within an edit session in ArcMap. Open the Editor toolbar and start an edit session (see 'Starting and managing an edit session' earlier in this chapter). Spatial adjustment tools are located on the Spatial Adjustment toolbar—click the Editor drop-down menu, point to More Editing Tools, and click Spatial Adjustment. Once you open the Spatial Adjustment toolbar, the process is essentially the same for transforming, rubber sheeting, and edge matching. The steps are: / Set the snapping environment for adding links 2 Specify the features to be adjusted 3 Specify the adjustment method 4 Create links between the features you're adjusting and the target features 5 Preview the adjustment 6 Adjust the features The following example of transforming parcels to a new location shows these basic steps. The new parcels (shown in purple) need to be rotated and scaled to fit into the empty plot along the right edge of the map. 3 • Data Compilation and Editing Set the snapping environment from the Editor drop-down menu. In this case, snapping is set for vertices for the new-parcels and the existing parcels—this will make it easy to snap links to the corresponding vertex in each layer. Then open the Spatial Adjustment toolbar. Set the snapping environment for the datasets you'll be creating links between. SmfK- «Mt» On the Editor drop-down menu, point to More Editing Tools, and click Spatial Adjustment. Next specify the layers that will participate in the adjustment (in this example two layers will be transformed at the same time—the NewBuildings layer and the NewParcels layer). Then set the spatial adjustment method. Click Set Adjust Data to specify the datasets that will participate in the adjustment. • PMMMkltMio « Mhw»»,r,»«.t»«, StaWJdrot On the Spatial Adjustment drop-down menu, click Adjustment Methods to specify the type of transformation or adjustment you're doing. 240 241 Using ArcGIS Desktop The next step is to add a link from a vertex on the source layer (the one you're transforming) to the corresponding vertex on the destination layer. You'll likely want to add at least four links to ensure a successful transformation. »jfli Si □ eta* f • * J :/*.•□■(? m * •* -•' .: • »F I - - a Click the New Displacement Link button on the Spatial Adjustment toolbar, then click the from point and to point to create each link. New Displacement Link To preview the result, open the Adjustment Preview window. You can also open the Link Table to display a list of the links. The table shows you the accuracy of the transformation (as indicated by the RMS error—the lower, the better). You can also delete errant links here, and then click the Add Link button to replace them with the correct link, if necessary. Click Preview Window on the drop-down menu to open a window showing how the result of the adjustment will look. You can use the zoom and pan tools—either in the preview window or the map—to get a closer look. B lXtmmm Sauna 1 XDaetoetar. 1 rOeeamk- 2220601 730 ■rSCJ73277 22204U7O 1884 "63 ! rVahM iorjattM BBttl 879525 2220816?« s»eB6«net» 2221177500 1 38 IS'IS. 1 m •annM Panaauofeorl «•«..■ Click the View Link Table button on the toolbar to display the list of links. Right-click a link to flash it on the map. zoom or pan to it, or delete it. 242 If the preview looks good and the links are accurate, click Adjust on the Spatial Adjustment drop-down menu to go ahead and transform the features. 3 • Data Compilation and Editing Click Adjust on the Spatial Adjustment drop-down menu to adjust the features. osfsa e »I 4 4 ■ ai aiPr^] - - When you click Adjust, the features are displayed in their new position. You can use the Undo button on the Standard toolbar, if necessary. 243 Using ArcGIS Desktop 3 • Data Compilation and Editing To rubber sheet one set of features to match another, set the Spatial Adjustment method to Rubbersheet. You can also set the rubber sheeting method. Use Natural Neighbor when you have a few links, widely spread. The Linear method works best when you have many links, uniformly placed. To rubber sheet one dataset to another, set the Spatial Adjustment method to Rubbersheet. Click Options on the Spatial Adjustment drop-down menu and set the Adjustment method to Rubbersheet. mm/mm » 11 Si Click the Options button on the dialog box and specify the rubbersheet method. To edge match features in two adjacent map sheets, set the Spatial Adjustment method to Edge Snap. Then open the Adjustment Properties dialog box to specify (on the Edge Match tab) which features will snap to which—the features in the source layer will snap to those in the target layer. You can also specify (on the General tab) the edge match method—Smooth (the default), or Line. The Line option moves only the last vertex on each line that's being adjusted; the Smooth option adjusts the entire line, providing a smoother effect along the matched edge. To create the links for edge matching, click the Edge Match tool on the Spatial Adjustment toolbar, and draw a rectangle that encompasses the edge to be matched—the links will be created automatically. You'll want to zoom to areas where features are bunched together to make sure the links are linking the correct features (use the link table to delete any incorrect links, then add them manually using the New Displacement Link button). You also need to select the features that will be matched—use the Edit tool on the Editor toolbar to draw a rectangle encompassing the edge to select the corresponding features in both layers. 6» t* Data* *t b X ~ - * frTS "1 yf #v %n u? Use the Edge Match tool to draw a rectangle around the area to match—the links are automatically created. Then use the Edit tool on the Editor toolbar to select the features to include in the edge matching process—the selected features are highlighted. When you click Adjust from the Spatial Adjustment dropdown menu, the features are matched. ~3 r ^ n □ "1HÖ-3 a s g A' Edit Tool Edge Match a If tnhrmmw - Marty r rr— ii—c P. ««tu. Iiimh. Hkc » Van... To edge match two datasets, set the Spatial Adjustment method to Edge Snap. Gt.. Eob.m-*| 11*1 —n r*■ ii \ mm |»>»i.ir«»iiq 11 rvWl! •l-'utJ r--— 1 m-mn 1 « 1 c™. 1 On the Edge Match tab. specify the source and target layers. The source layer will adjust to the target layer. Click Options on the Spatial Adjustment drop-down menu, and set the Adjustment method to Edge Snap, then click the Options button on the dialog box to specify the method. 244 245 Using ArcGIS Desktop Copying attributes from one feature to another The Attribute Transfer tool, also on the Spatial Adjustment toolbar, lets you copy the attribute values from a feature in one dataset to a feature in another dataset. You'd do this, for example, to add street names and types to a new dataset of streets that extends existing streets before combining the datasets. First, set the snapping environment, using the Editor drop-down menu (for line features, set the snapping to Edge). Then click Attribute Transfer Mapping on the Spatial Adjustment toolbar. In the dialog box. specify the source layer (the layer the attributes will be copied from) and the target layer. Select a source field in the left panel then the corresponding target field in the right panel, and add them to the list (this lets you copy attributes even if the fields aren't named the same). Include only those fields for which you want attribute values transferred. By identifying the target feature (in red, left) before transferring attributes, you can see it has no values for Name and Type. iJ«J -3 Vala no i 3 Shape NAME T)W Ol* Shipt_lwg»> 162607475 For attribute transfer between line features, set snapping to Edge for both the source and target datasets. Click Attribute Transfer Mapping on the Spatial Adjustment drop-down menu. In the dialog box. select the source field name and the corresponding target field name, then click Add to add the pair to the match list. Do this for each field. 3 • Data Compilation and Editing 246 To copy the attributes, click Attribute Transfer on the Spatial Adjustment toolbar. Then, on the map, click a location on a source layer feature, and then click the target feature to receive the attribute values. The values are immediately copied to the target. First click the Attribute Transfer tool on the toolbar (below). Next, click the source feature, then click the target feature—the attribute values are immediately assigned to the target. After transferring attributes, the target feature has the same Name and Type values as the source feature. ■JMJlsJ 3 - nlaaSbaatt SAN PABLO 1481.604291 3.766678515k Attribute Transfer Feed I V«u» F10J 3 Shape Pofatne NAME SAN PABLO Iřpe 5 Shepe.Leno* 162607475 Combining datasets into a single dataset Often, the ultimate goal of spatial adjustment and attribute transfer is to combine datasets containing the same type of feature to create a single dataset that covers your entire area of interest. For example, you may have edge matched a set of hydrology map sheets that need to be appended to create a continuous dataset. Or, you may have rubber sheeted datasets of new streets and parcels that fill a previously undeveloped area and want to drop them into the existing datasets. The Merge and Append tools in ArcToolbox are used for this. The Merge tool combines all the input datasets you specify into a single, new dataset. Append is similar, except it adds the datasets you specify to an existing dataset. In both cases, the types of features must be the same in all input datasets (all points or all lines, for example). The Merge tool, located in the General toolset (Data Management toolbox) lets you combine two or more datasets of the same type into a single dataset. Specify the input datasets. and the name and tocafion of the output dataset. 247 Using ArcGIS Desktop 3 • Data Compilation and Editing Editing multiuser and distributed geodatabases Many organizations need to maintain large geodatabases that require frequent or continuous updating, such as a city's parcel database. This often entails having several people editing the database concurrently. When you start an edit session to edit a file geodatabase or personal geodatabase. or a workspace containing shapefiles. no one else can edit that data while your edit session is active (as soon as you stop the edit session, the data is available for others to edit). The entire geodatabase or workspace is said to be "locked" during editing. An ArcSDE geodatabase. on the other hand, can be edited by several people at the same time. This is one of the main reasons for using ArcSDE. ArcSDE accesses data stored in a DBMS, such as Oracle. SQL Server. DB2. or Informix (see 'An overview of geographic data management' and 'Creating a geodatabase' in Chapter 2 for more on creating an ArcSDE geodatabase). There are several approaches to using ArcSDE to enable multiuser editing. One approach allows editors to work on the same dataset at the same time, but if an individual feature is edited by one editor, it is locked for editing—no other editors can change it, until the first editor saves the edits. Another approach allows editors to work on the same dataset and even the same features simultaneously—when the last editor saves edits, any conflicts are listed (if one editor moved a point to new location, and another editor moved the same point to a different location, for example). The conflict then needs to be reconciled before the final edits can be saved in the geodatabase. A third approach is to create a different view—or version—of the geodatabase for each editor, and let them work on their version independently. When an editor finishes edits and posts them to the main—or published—geodatabase. any conflicts are listed and can be reconciled. A version is simply a view of a geodatabase, rather than a copy of the data in it—no matter how many versions of the geodatabase you create, there is still only a single copy of the geodatabase. Each version lists or displays all the datasets in the geodatabase. Versioning has a number of other advantages: you can create multiple versions of a geodatabase for sub-tasks or different phases of a project that can be edited separately from the original database, without having to create and track separate copies of the data (this is especially useful for very large geodatabases). You can create archive versions of a database to preserve a snapshot of the geodatabase at a given time. Versioning also allows you to perform editing operations that span several days or weeks—for example, adding all the parcels in a new subdivision. The editor maintains the edits in progress in a separate version and can continue to make changes and updates; when complete, the edits are posted to the published geodatabase (this process is referred to as a "long transaction"). A fourth approach is to create full copies of a geodatabase—known as replicas—which can be stored and edited separately. The replicas are then synchronized to make sure all the geodatabases are the same, and everyone is working with the same data. Using replicas may be efficient when the editing is done at multiple office locations or in the field, or when different departments or organizations are responsible for updating one portion of the geodatabase. The approach you use depends on the size and requirements of your database and the nature of the GIS work your organization does. In practice, you may end up combining some or all of these approaches. You might, for example, create replicas, and then create versions from each replica, some of which are set up for multi-user editing, and some not. The 'Geodatabases and ArcSDE' topic in the Desktop Help system includes various multiuser editing scenarios. There are two mechanisms at play when you set up an ArcSDE geodatabase for multi-user editing: there can be multiple versions of a geodatabase; and each individual dataset in a geodatabase can be registered to allow several people to edit that dataset simultaneously. • An ArcSDE geodatabase can have a single version or multiple versions. When you create an ArcSDE geodatabase, a version is created named Default, so every ArcSDE geodatabase has at least one version. This version often represents the "published" geodatabase. If necessary, you can then create additional, named versions from the Default version (or from other versions you create). Usually, you maintain and update the Default version over time by posting changes to it from other versions. You can also edit the Default version directly, just like any other version. But unlike other versions, it can't be deleted. 248 . Each dataset in an ArcSDE geodatabase can be registered as "versioned," or not. Registering a dataset as versioned allows two or more editors to edit and modify the same feature at the same time. If a dataset is not registered as versioned, several editors can still edit the dataset simultaneously, but an edited feature is locked until the editor who modified it saves the edit. With nonversioned data there are no possibilities for edit conflicts since a modified feature must be saved before another editor can modify it. Once you register a dataset as versioned, it is registered for all versions of the geodatabase you create (recall that there is only one copy of the dataset in the geodatabase. so any settings for a dataset apply across versions). You can edit versioned and nonversioned datasets in the same geodatabase, based on your requirements. If you need to edit feature classes that participate in a topology or a geometric network, you need to register the datasets as versioned in order to edit them. Registering a dataset as versioned also allows it to be enabled for archiving. The date and time of each edit, or series of edits, is stored with the dataset. which then lets you view the state of the geodatabase on any given date (see the Desktop Help for more on geodatabase archiving). Depending on the multiuser editing scenario you establish, you might implement one or both of these mechanisms. For example, you might edit the default version of the geodatabase. with all of the datasets in the geodatabase registered as versioned (you might do this if you only need to maintain a single version of the geodatabase, but need to have several people editing it). Editing an ArcSDE geodatabase using nonversioned data Your organization may not need multiple versions of a geodatabase, but rather only the ability to have several people editing the geodatabase concurrently, for occasional edits. One way to do this is to set up the geodatabase for multi-user editing using the default version with nonversioned data. With this approach, the source data is edited directly and you don't have to manage separate versions of the geodatabase. To edit using nonversioned data, first make sure the data is not registered as versioned (this is, in fact, the default when data is imported to, or created in. an ArcSDE geodatabase). In ArcCatalog, right-click the feature class or standalone table in the Catalog tree and click Properties. In the Versioning section on the General tab, make sure the dataset is listed as not currently versioned. To make sure the dataset is not registered as versioned, right-click it in the Catalog tree and click Properties. Select the General tab on the properties dialog box and check the Versioning status at the bottom of the page—it should indicate the data is not registered as versioned. The Versioning status 249 Using ArcGIS Desktop When you're ready to start editing in ArcMap, display the Editing Options dialog box and uncheck the Edit a Version check box (this box is checked on by default). Then edit the data using any of the edit tools, as you would any other dataset. Uncheck this box ilJJJ Before starting your edit session in ArcMap, click Options on the Editor dropdown to open the Editing Options dialog box. On the Versioning tab, uncheck the "Edit a version' box. Usually this approach is used to allow people to edit different portions of a dataset at the same time (note that ArcSDE Personal Edition allows only one editor at a time, in any case). When one editor completes an operation (completing a polygon, for example), the feature locks. The feature remains locked until this editor either saves the edits or quits the edit session without saving. While the feature is locked, the other editors' edit operations on the feature are blocked, and the hourglass cursor displays in their ArcMap edit sessions. The hourglass continues to display until either the lock is released or the request for the lock times out (a setting in the underlying DBMS, if supported). Different DBMSs handle these locking issues in slightly different ways. Because of this data locking, you can edit simple data only—points, lines, polygons, annotation, and relationships. You cannot edit feature classes in a topology or geometric networks with this approach. (That's because when you edit a feature in a network or topology, not all the features in the network or topology are locked—there is the potential for other editors to edit another part of the network or topology in a way that conflicts with your edits.) □ t«S« »%~X f • ♦ pun '»»»'■SSE • -I J - - ~3 U *-»o *? r-'H |-—1--1 o—a- * A- : ■f Using nonversioned data for multiuser editing is useful when editors are working on different parts of the dataset. In this example, one editor is updating parcel boundaries on one section of the city (left) while another editor is updating parcel attributes in another part of the city (right). 3 • Data Compilation and Editing Editing using versioned data Using versioned data allows two or more editors to edit the same features at the same time, without feature locking. It also allows multiuser editing of topologies or geometric networks. To edit versioned data, you "register as versioned" each individual dataset that will be edited. In ArcCatalog, right-click the dataset in the Catalog tree, and click Register As Versioned. You're presented with a window that gives you the option of moving the edits to base. This option is applicable when you're editing multiple geodatabase versions (as discussed later in this section) rather than just the default version, as you are here—leave it unchecked. .„ ;* fmm ie look BTO» 4 % 2 «? < < ' ■ B»o-oer*in I Md-cAS ;*ooe«uit> To edit versioned data, first—in the Catalog tree, in ArcCatalog—right-click the dataset you want to edit and click Register As Versioned. When prompted whether to use the option to move edits to base, leave the box unchecked (you're editing the base—the default version—so this option doesn't apply in this case). When you click OK. the dataset is registered. Now when you check the Versioning status on the properties dialog box, the dataset is listed as registered as versioned (notice also that the Register As Versioned option on the context menu is now unavailable). r* t* !•- if b* a -ins _sai»«<» igst j»v<» >*»«'^x'rJjaj -1 WMMJJ *x*au! i ISakmLfmLWLWLWLWLW* il*J »CoMiSwta I Toaara | IwaauBn | Ooaan aaft ... I«l>iuiia>ala>alaaada> t rr\& M .atm Uar: la rtsra najuada-j ] ^ I. You can confirm that the dataset is registered as versioned on the General tab of the Feature Class Properties dialog box. The Versioning status 250 251 Using ArcGIS Desktop 3 • Data Compilation and Editing When you're ready to start your edit session in ArcMap. you need to make sure the Edit a Version option is checked on the Versioning tab of the Editing Options dialog box (this is the opposite of using nonversioned data). |*aDi Taa stoj- a* e • * 1 j :/ «V • □ w . -r~ 3 - - a ■■tw "3 •• ■■ JSJ =2 3 Check this box 1 0«a>| Toocfag, .<■..:-»«; jn, •>'.:.. ;™../ :-<■/, d ra oM« -» t» •=•> » mote ntlm» Hma>mmmtKmm*cortktiimrm.mJomxii*mMxi> * e?obiacitonH Ho»oo>Oi»»aco*ptob>ioi<» ■c*jr«j«uo«ťr<*Mon7 rwiclicvauiMcajindi* n '—i I you »0 croo— ff Donol m\ m»a chytai - B^VBjBl -"■ ' ll i0ano»ir,.c*i When you're ready fo s/art an edit session, click Options on the Editor dropdown to open the Editing Options dialog box. On the Versioning tab. check the box to Edit a version of the database. You're presented with a range of options relating to saving edits and resolving conflicts. — When you register a dataset as versioned, a couple of tables (known as delta tables) are created to store the changes to the dataset—one for additions and one for deletions. ArcGIS uses an ID (known as a State ID) for each version to keep track of which changes belong to which version. When an edit is made in a version, the change is tagged with that version's State ID when it's stored in the delta table. When the editors save their edits, the changes are posted to the geodatabase, but all the changes continue to be maintained in the delta tables. The delta tables can get quite large over time, so you need to compress the geodatabase on a regular basis (see "Maximizing the performance of your database' in Chapter 2). Two or more editors concurrently editing the same feature or features can edit without any locking during their respective edit sessions—it's as if they're editing their own version. (In fact, they are editing temporary, unnamed versions created from the Default version that are discarded at the end of the edit session.) When the editor saves his or her edits, the edits are saved in the Default version. z *am - •»■X i - * | j j. *. • n n> jam i *■ e : ^1 * - a ■■kw'. . Jdi d ■) ■ o| "3 •' ~3W3 • / « A- »- J.- -■ J-,- D -3FT-3 A- -« J.- — " When editing versioned data, two editors—running two separate edit sessions—can edit the same feature simultaneously. In this example, the editor running the edit session on the left has moved a point feature to the lower center of the map (blue dot). The editor on the right has moved the same feature to a location farther to the left. They each see their own version of the dataset. If one of the editors saves the edit, when the other editor saves the edit there will be a conflict. 252 In a perfect world, and with good planning and editing procedures, none of the edits made by different editors would conflict with each other. Editors working on the dataset concurrently will either work on different sets of features in different parts of the geographic area, or will work sequentially, with one editor entering more recent information; or perhaps one editor will edit the geometry of features while another will edit the attributes. However, with several editors working on the same data at the same time, there is the potential for edits made on the same feature by two (or more) editors to conflict with each other. For example, suppose two people are editing a feature class of points representing building locations, and one moves a point to one location and the other editor moves the same point to a different location. The first editor then saves edits. When the second editor saves edits, the Conflicts window will appear, indicating a conflict in the edits. Click the Conflict Display button to open a panel that lets you view the conflicting edit—the previously saved edit (the pre-reconcile edit) is shown on the left while the current edit (the one that's causing the conflict) is shown on the right. Click to display or close -the lower panels ••>-• IfWJWrcnc* 'Co*. riMBllHQjU I - (laUnoEiitogD Italdnga (1/ OBJECT© li ■ GaamabyHot Gi—tm mm, Hot Oi—i litte» Hoi KWNTENAN 3D 302 3TB n MfJMI 300 XL IX 300 •1 1 Jj • SM» If there are conflicts between edits, the Conflicts window will appear when the second editor saves the edits. Use the Conflict Display button to display panels showing the two edited versions. Select a conflict in the left panel to display the details. l^mocrd. 3 •» o Right-click the feature listed in the left panel, or any of the rows in the right panel, to display additional display options. You can also select a solution to the conflict—use the pre-reconcile edit, use the conflict edit, or discard them both and go back to the location of the feature before either of the edits (the common ancestor). ■■Thill CHiH ***** ■■corcl» Vren ••cmc. CaajKt WW-. Cr/kz JUS] P t>a>oo*l> O V-—m»^u r Diacoaai. tmmm. euoroi*: Right-click a conflict in either panel for more options. The Display option lets you show any combination of the versions of the edited feature on the current map—the original version, the previously saved edit, or the conflict edit. The list also lets you choose a solution (or, you can go back and edit one of the versions in an edit session so the versions are consistent). -3^3 ■ ' B man « »Nsitirmii — Pre-edit '— Edit Conflict 253 Using ArcGIS Desktop Creating and editing multiple geodatabase versions If you have several editors working over multiple edit sessions (days, weeks, or longer), or if you want to edit subprojects or phases of a project separately while leaving the published geodatabase intact, you can create multiple versions of a geodatabase. There are a number of issues to consider when deciding whether, and how, to create multiple versions, including: • How to structure the versions, whether parallel (such as when having multiple editors work on the same database), sequential (such as when editing phases of a project), or hierarchical (such as when editing several subprojects) • How to resolve edit conflicts between versions • Which version to post edits to, and how often You'll base these decisions on the editing procedures and workflows you've established. The Default version is created when you create an ArcSDE geodatabase. The first derived version you create is from this Default version. You can create additional versions from the Default version or from any of the versions you create. You could, for example, create versions corresponding to phases of a project—the version for the next phase would be created from the version for the previous phase. You create new geodatabase versions with ArcCatalog or ArcMap. When you create a version, you specify its name, an optional description, and the version's permission. You set the permission to ensure only those users who need to edit the data have access to it, thus providing a level of quality assurance and security. The options are: • Private—the owner may view the version and modify available datasets. • Public—anyone may view the version and modify available datasets. • Protected—anyone may view the version, but only the owner may modify available datasets. To create a geodatabase version in ArcCatalog. right-click a geodatabase in the Catalog tree and click Versions to open the Version Manager dialog box. Then right-click the version from which you want to derive the new version, and click New. «. 4» »*■ * i— 1 J / 9 % * »T~ To create versions of an ArcSDE geodatabase using ArcCatalog. right-click the geodatabase in the Catalog tree and click Versions. In the Version Manager, select the existing version from which the new version will be created (initially there is only one—the default version). Right-click the version and click New. Then, in the dialog box, enter the name of the new version and (optionally) a description. Then specify the permission to assign to the version. Hmm 11*1 tarn r Pa- rt (Mac C PloaxM 1 * 1 3 • Data Compilation and Editing .a«aw Creating a version does not change which version is currently displayed in the Catalog tree (only one version is displayed at a time). When you open the Version Manager, you can see all the versions—for which you have permission—that have been created for that geodatabase. 3— t*:t?*x- . *J I til um mm r> mm »8 Si"* tmrnt____ » Ommmmm •L-1 v ■ - .■ ... After creating a new version, the previous version will still be displayed in the tree. Right-click the geodatabase and click Versions to see a list of all the versions for that geodatabase. To display and work with a different version in the Catalog tree, right-click the geodatabase and click Change Versions. Then select the version to display from the list that appears. (You can think of viewing versions like viewing pages lined up exactly behind each other—when you change to a page, that page is brought to the front so you can view and work with it. The other pages are still there, lined up behind the front page.) um To change the version you want to display and work with in the Catalog tree, right-click the geodatabase and click Change Version. Then select from the list the version to display. (This option is only available for the Personal or Workgroup editions of ArcSDE.) ft. 4* «» l X I—. 10—.!- When you change a version, the contents of the geodatabase look the same as the previous version—only the geodatabase name is different (it includes the version name). The tables that are listed contain the differences between the versions (once edits are made). ■ jf «a»u ...... " ... J 21 254 255 Using ArcGIS Desktop To alter the permission of a version (or change its description), right-click the version and click Properties. * mma Oerai DM PMVm oMDEFMJLt caMM urnaswiam HooM «.VZDS'20tBPM n Mi C rW* * Pubic r PieMotad 1 ox 1 c 1 To change the description or permissions for a version, open the Version Manager, right-click the version you want to modify, and click Properties. 3 • Data Compilation and Editing To change versions, click the Source tab at the bottom of the table of contents, right-click the geodatabase. and click Change Versions. Then select the version to display. When you switch from one version to another, all datasets present in the map change to be those in the version to which you've switched. -inmi To display a version in ArcMap. you add data to your map just like you would add any other data. The data initially added comes from the version specified in the database connection properties dialog box. You can then switch to the version you want to display and edit. (Alternatively, you can display the version you want to work with in ArcCatalog, and then drag and drop the datasets from that version onto your map in ArcMap.) Nate 1 0~ =i| <* 1 PacaLaa« DBO Punk □ - a - g ~3Iiö~3 » / o A- »• d.- jif To change versions in ArcMap. first select the Source tab at the bottom of the table of contents. Then right-click the geodatabase in the table of contents, and click Change Versions. In the dialog box. select the version you want to change to. The Versioning toolbar in ArcMap also lets you manage versions. On the Editor drop-down menu, click More Editing Tools, and click Versioning (you don't need to be in an active edit session to do this). You can also open the toolbar from the View menu (click Toolbars and click Versioning). »tfl"V* J*""" loo «r*~ -*> • * • »r^D ■ ' a. 11 if. «V • O HI 0*t«. (woxoaut) 5«i».n -■: I# — I e^ Vara. | Otaurwa-I H»a|Du»nc»U»Hr»M1 » kiMthliaaVan r hleratfeeCelVarra. . , , A. j_. ... IfT 3 *~- 1 After making edits, click the Reconcile button to see if your edits conflict with any others that have been made to the target version. You can opt to use the edit currently in the target version, or use the one in the edit version that you're working with. 3 • Data Compilation and Editing Once the edits are reconciled, the editor can post them to the target database (often the default version). Posting cannot be undone, since you are applying changes to a version you are not currently editing. This process allows editors to conduct ongoing edits over several edit sessions (so-called "long transactions") without having to save the edits in the published database until all the edits are done. Reconciling, resolving conflicts, and posting edits are all done from the Versioning toolbar. ■■JPJI .ia«i •» o» r—• »"»l »reraai la— «*■*- V» ~3 J. a • □ XI Uto, • ► ' - tee* ]*_ar.* 3 I □ v it , o ' a - a fi~=r Post Once any conflicting edits are reconciled, click the Post button to save the edits in the target version (usually the Default version). After posting, you can continue to make edits and then reconcile and post edits again, as necessary. Once editing is completed, the version can be deleted, if it's no longer needed—open the Version Manager, right-click the version, and click Delete. You can delete a version provided all the versions derived from it are first deleted. Only the version's owner (or the ArcSDF. administrator) can delete a version. ArcToolbox also contains a number of tools for creating and managing geodatabase versions and versioned datasets. These can be used in scripts and models to automate data management tasks. The Versions toolset in the Data Management toolbox contains tools for creating and managing versioned geodatabases and datasets. - is Versions ä _r* Atanraon /* Orrate versean f teerte veraon _r* PMVOTOn _A »«orrj. veraon 1 /* PegaUr As Vorsonor) J f irreoater As Vasoned fercrAn lino* | Search! 258 259 Using ArcGIS Desktop Creating geodatabase replicas for distributed editing Creating geodatabase replicas allows you to create copies of data across two or more geodatabases, make changes to the geodatabases separately, and then synchronize the changes so the geodatabases remain consistent with each other. As you might imagine, creating, synchronizing, and managing replicas is a fairly involved process that requires planning, preparation of the data, and coordination between the sites that will maintain the replicas. There are also a number of options for the type of replicas to create and methods for synchronization. The Desktop Help includes a full discussion of tasks and steps for using replicas. When you create a replica, you're creating a relationship between two geodatabases. The replica in the geodatabase from which the data originated is referred to as the "parent" replica. The replica in the geodatabase where the data is copied to is referred to as the "child" replica. Three types of replicas allow you to control whether the parent replica, the child replica, or both replicas have the ability to send and receive changes: check out/check in replicas; one way replicas: and two way replicas. A check out/check in replica allows for one-time synchronization. Changes can only be sent from the child replica to the parent replica. Parent replicas must be ArcSDE geodatabases while child replicas can be ArcSDE, file or personal geodatabases. Check out/check in replication is useful for field editing where an area of the geodatabase is replicated, edited in the field, and synchronized with the parent replica. If additional field edits are required, another child replica must be created. A one way replica allows changes to be sent multiple times, but only from the parent replica to the child replica. The data on the parent is editable, but the data on the child is considered read-only (any edits to the child replica are overwritten during synchronization if they conflict with edits to the parent replica). Two way replicas allows changes to be sent multiple times from the parent replica to the child replica or from the child replica to the parent replica. If the same feature is edited in both geodatabases it is detected as a conflict when the replicas are synchronized. You can choose a reconcile policy during synchronization to define how conflicts are processed. The first step in preparing data for replication is to make sure the datasets you would like to replicate are registered as versioned (see the discussion earlier in this section). For one way and two way replication, each replicated dataset will also need to have a Global ID column. A Global ID column is a field which cannot be edited that contains a unique identifier for each row (feature) in a dataset. (Global ID fields are not necessary for check out/check in replication because the Object ID that each feature in a dataset has is sufficient to maintain feature identity during one-time synchronization.) To add Global IDs, use the Add Global IDs command in ArcCatalog. -as l)#WU«rt^lHM_r*l«MOff«jL'MH»>J To add Global IDs to a dataset that will participate in one-way or two-way replicas, right-click the dataset in the Catalog tree and click Add Global IDs. 3 • Data Compilation and Editing Replicas are created in ArcMap, using the Distributed Geodatabase toolbar. When you click the Create Replica button, a wizard opens to lead you through the process. To create a replica, open the Distributed Geodatabase toolbar in ArcMap. Click the View menu and point to Toolbars. cr*l»nf«iobr»oi W«..... Open the Create Replica Wizard from the Distributed Geodatabase toolbar. Specify the type of replica on the first panel (Check out/Check in. one way. or two way). Then on the second and third panels, specify the name of the replica and where it will be stored, and the actions to take after the replica is created (for example, you can have the wizard create a new map containing the replica). Synchronizing replicas—after changes are made—is also done from the Distributed Geodatabase toolbar. Clicking the Synchronize Changes button opens a wizard that leads you through the process. You specify the two geodatabases to synchronize, the direction changes will be sent (if you're synchronizing a two-way replica), and how to handle edit conflicts. After the replica has been edited, open the Synchronize Changes Wizard from the toolbar to synchronize edits with the parent replica or any other replicas. The Distributed Geodatabase toolbar contains additional tools for managing replicas. 260 261 Using ArcGIS Desktop Replicas can also be synchronized and managed in ArcCatalog. Right-click the geodatabase containing the replica and click Distributed Geodatabase. ArcToolbox also contains a full set of tools for creating, synchronizing, and managing replicas. These are located in the Distributed Geodatabase toolset in the Data Management toolbox. — _»(•»!•-•<:*» »•*>■ a* -3 ' - 1 You can also synchronize and manage replicas in ArcCatalog. Right-click a replica in the Catalog tree and click Distributed Geodatabase. Data Ccrroanson £ Database B CaKcrveKted EfJbng e9 Dstrbuted GeadetabeM f AdrJ 3otwJ IDs Comrjere Seofca Sttama ^ Create Bepaca ,#■> Create =«*:« '«>"> ,»» tjeport AOi m eeouaiiarf Mr-wage »*» EJO»rtD*«*Cr !>pcrt "x!*™ ^ Import rteMoa _#» Import Qopka ScMema a* S^ricTrorBe Qwxetl _J The Distributed Geodatabase toolset in the Data Management toolbox contains tools for creating, synchronizing, and managing replicas. Mapping and Visualization An overview of mapping and visualization • 264 Adding data to a map • 273 Dragging and dropping from ArcCatalog Adding data from a folder or other connection Adding data directly from the internet Adding x,y coordinate data Adding datasets having different coordinate systems Working with layers • 277 Controlling what's drawn on the map Managing data layers Setting the map extent and scale • 279 Identifying and locating features • 283 Identifying a feature on a map Identifying a feature using MapTips Locating a feature by searching Locating features via an attribute table Symbolizing data • 288 Assigning symbols to layers Shortcuts Assigning symbols using cartographic representations Using attributes to symbolize features • 292 Displaying quantities using a classification scheme Displaying categorical data using unique symbols Using charts to compare quantities Saving and reusing symbol definitions • 296 Saving a map layer as a layer file Importing symbol definitions from a layer or layer file Creating and storing custom symbols Saving a modified symbol Accessing styles and stored symbols Creating a new symbol in the Style Manager Labeling features • 300 Using map labels Managing labels on multiple layers Advanced label placement using Maplex Using annotation to label features 298 Drawing graphics on a map • 305 Using the Draw toolbar Drawing shapes and text Modifying a graphic Creating graphics from features Creating a map layout • 309 Working in layout view Setting up the page Navigating the layout Working with multiple data frames Using map templates Adding and arranging map elements «313 Adding titles, text, and legends Adding scalebars, north arrows, and neatlines Modifying map elements Aligning elements Using grids and guidelines Navigating the layout Using draft mode Creating a graph • 318 Using the Graph Wizard to create a graph Adding a graph to a layout Modifying a graph Managing graphs Creating a report • 321 Creating a basic report in ArcMap Using Crystal Reports Creating relief maps and perspective views • 325 Creating a shaded relief map Creating a perspective view Creating dynamic views and animations • 328 Navigating ArcScene and ArcGlobe Capturing a navigation path as an animation Creating an animation by capturing individual views Saving and modifying an animation Creating a time series animation • 333 Creating a time series animation using the Animation toolbar Creating an animation using Tracking Analyst Using ArcGIS Desktop -I An overview of mapping and visualization The process for creating a map in ArcMap 264 Maps are the primary means for communicating geographic information. ArcMap is the primary application in ArcGIS for making maps. ArcMap is where you display and query datasets, where you display the output from your geographic analysis, and where you create finished maps for printing or for publishing over a network or on the internet. Beyond maps, storing geographic data in digital format on a computer gives you other ways of displaying information, such as perspective views, globe views, and animations. ArcScene and ArcGlobe™—included with the ArcGIS 3D Analyst extension—allow you to create perspective and globe views. The animation toolbar in ArcMap. ArcScene. and ArcGlobe allows you to capture a sequence of maps or views and play them back as an animation. The Tracking Analyst extension provides advanced capabilities for displaying and animating temporal data. As with other GIS tasks, creating a map—whether for simple display of your data or for creating a finished cartographic product for publication—is a process. Before creating your map. you'll want to give some thought to the purpose of the map and its design: • Who is the audience for the map? Are you making the map for your own use or to share with a few peers, or will it be presented to a larger group of people? Is the audience professional, or the general public? • What geographic area, or areas, does the map need to show? What is the map scale? Do you need to include a reference map showing a larger area? The map area (or extent) and the scale will help determine how much detail to show on the map. • Are there standard symbols or colors that are required (often the case in particular industries)? • How will the map be displayed or distributed? Will it be in a PowerPoint11 presentation, in a printed report, displayed on a wall, or distributed over the internet? The size and media will determine how much additional information is required—such as legends, titles, labels, and so on. These are just some of the issues you'll want to consider. Several resources for learning more about map design and production are listed in the appendix. There are a few basic steps used to create almost all maps. For a specific map, you may skip some of these, or you may perform additional, more advanced tasks. Making a map is often an iterative process, so you may not always follow the steps in this order. 4 • Mapping and Visualization Open ArcMap When you open ArcMap (from ArcCatalog or from the ArcGIS program group on the Start menu), you re prompted to create a new map or open an existing one. The table of contents is initially empty except for a default data frame (named Layers), and the display window is blank. A new. empty map C a? b« a ■ • - a> | ~3 4 x? . -I—3 .• □ - a - .• fi^r When creating a new map. you add GIS data to this empty map. The data can be: • stored locally on your computer, either on disk or on a CD/DVD • from a shared database or GIS server you connect to • on the Internet In any case, the data must be in a format ArcMap can read directly, such as a geodatabase feature class, a shapefile, or a compatible raster format (see "An overview of data compilation and editing' in Chapter 3). Find and connect to GIS data The next step is to find the data (from whichever source) and set up a connection to it if necessary. ArcCatalog provides an efficient way of doing this, since you can quickly see and preview large amounts of GIS data (See 'Finding and connecting to data' in Chapter 2) You can also search for data from within ArcMap. 265 4 • Mapping and Visualization Add data to your map After you've found the data you want, you add it by dragging it from ArcCatalog. or by browsing to it in the ArcMap Add Data dialog box. You can also add data directly from the Internet—either from the Geography Network, or by entering the URL of a site containing geographic data. Search for. preview, and connect to data in ArcCatalog. then drag the dataset to ArcMap. JtltMi\ Reset the map extent By default, the map display is set to the extent and coordinate system of the first dataset you add. Depending on the extent of the individual datasets, and the order in which you add them to the map. you may need to change the map extent for the display window to show the area you're interested in. Two quick ways to do this are to use the navigation tools to zoom and pan. or to zoom to a specific layer. You can also set a fixed map scale or extent. Navigation tools, Use the navigation tools to zoom and pan. or right-click a layer in the table of contents to zoom to it. Modify the map display You may also want to change the layer drawing order, set transparencies, or give layers more descriptive names (only the layer in the map is renamed, not the underlying dataset). Type over a layer name in the table of contents to rename it; drag layers up or down in the table of contents to change the drawing order; double> ! v«ui Ik*. to U □ Unakaa 22» »OPJ COMM U ■JBlKDfl 4",B MM K Wtt UM IMS* MOB 210 zn m X 3S1 JtfdMVaua | AdaVaUa | tona | MMfjD If you're creating a map to use for interactive query or to display the inputs and outputs from an analysis, you'll likely use simple symbols that make the map easy to read on the computer screen. If you're creating a map for publication, you"ll likely spend more time on assigning symbols—perhaps using a set of standard symbols or even creating custom symbols—to ensure the map effectively presents all the information you want to convey to the readers. In any case, you'll want to choose symbols with some thought for how they represent the layers and how they appear with each other. Create labels and graphic objects You may also want to label features with descriptive information, or add graphic objects to highlight aspects of the map. For a simple map being used to display data, basic map labels or graphic text will suffice to identify features. If you're creating a map for publication, you'll probably want to create annotation, which lets you place and edit each text string individually (see 'Creating and editing annotation' in Chapter 3). 3F~3 • / ■ A- »- -■ If you're making a map to explore and query your data, at this point the process is pretty much complete. You'll likely continue to work with the map—possibly changing data classification schemes, removing or adding datasets as necessary, performing queries, making measurements, summarizing attribute values, creating charts and reports, and so on. If you're making a map for publication, you'll undertake a few additional steps. Create a map layout The first step in creating a map for publication is to create a map layout on the page. To do this you switch to layout view, which shows you how the data frames will appear on the page. You can move and resize data frames, and add new ones to show multiple data views on a single page. e «> aaa o a□□ • •rsrj Baa \-Bt-~.- «im«j Use the View menu to switch to Layout View. Then select a data frame on the page to move or resize it. ~3P5~3 ■ / b A- a- ml*_.* 268 269 Using ArcGIS Desktop In fact, if you know your map is for publication, it's a good idea to have a sense of the layout you want before you start creating the map. You'll want to at least set up the page size and orientation (on the File menu). And, while you can insert new data frames and move layers around after you've added data to your map, it's more efficient to create all the data frames up front and place the data in the appropriate data frame as you add it to the map. Add map elements Finally, you'll add map elements to the page, such as legends, titles, neatlines, scalebars, and north arrows. You might also add charts, reports, text blocks, and logos. Once you've arranged the various elements, you're ready to print the map or publish it to the Internet. aJCUSJ aas? □ d□ □ • si ■ Use the Insert menu to add legends, titles, and so on. To move an element on the page, select and drag it. "3PÖ-3 ■/■ A-*'i£"—■ 4 • Mapping and Visualization Visualization— other ways of looking at GIS data Visualizations, such as perspective views, animated fly-overs and globe views, and time-series animations, can be an effective way of presenting information, especially to audiences not accustomed to reading specialized maps. Perspective views are created using the ArcScene application in ArcGIS 3D Analyst. 3D Analyst allows you to navigate through the scene interactively as well as capture and store animated fly-throughs. For realism, 3D symbols, such as trees or light poles, can be added to the scene. Use an elevation surface—or any other surface with z values—to create a base for the perspective view. Then drape other layers on top. ArcScene also lets you extrude features to create, for example, a 3D model of buildings in a city, or a perspective view of a thematic map. -iflJJSJ + -«i>«ä*(älSi::::o#^i» om ArcScene lets you extrude features to create 3D maps—in this case, showing the relative population of each county. 270 271 Using ArcGIS Desktop 4 • Mapping and Visualization Globe views are created using the ArcGlobe application, included in ArcGIS 3D Analyst. A key feature of ArcGlobe is the ability to reveal more detailed layers of information as you zoom in. As with ArcScene, you can work interactively—rotating the globe, zooming in and out—and capture the navigation path as an animation. The default view in ArcGlobe includes a shaded relief image of the earth. Add your own local, regional, or global layers. Maps in ArcMap can also be used to make animations. The Animation toolbar lets you capture a series of increasingly zoomed in views, or create an animation that pans across a region. Time-series data can be viewed using the Animation toolbar or using Tracking Analyst. You can step through the data, or create, store, and replay animations. You might animate the path of a storm over several days, for example, or the population growth in each county over several decades. t> b> fm. fart lP»o- •sus e > « - * (moms - -I 1 ' - a ~3 .£ ±*n n? • S»-SS ~3F°~11 » ' ■ A- * - J.- J.- rrmsr* ir«t!0. Use Tracking Analyst to animate movement or change over time—in this case, the path and strength of a stonv. Adding data to a map There are several ways to add a dataset to a map—drag it from ArcCatalog, use the ArcMap Add Data dialog box to browse to it, add data directly from the Internet, or add a table of features that have fields containing geographic coordinates. When you add a dataset, it becomes a layer on the map. Once you've added a layer you can display the dataset and its associated attributes. A layer references the underlying dataset, so on a single map you can have multiple layers created from the same data, each drawn with different symbols or representing different attributes—for example, one layer of census tracts showing population and another layer of the same tracts showing median income. Dragging and dropping from ArcCatalog You can drag data from any folder or connection that appears in ArcCatalog (in either the tree view or in the Contents panel) and drop it onto the display window or table of contents in ArcMap. The data is added as a layer on the map. See •Finding and connecting to data' in Chapter 2. iO iff « « - • o * - , a'...^:y--:,«-.*'; .» -j \^*7~~ j £ s % >>j* 1 -il-roraooj - .y»ji.uaf C- b« *. |r_* S-jrm. loo. 9* d a a m e ■ - ■ * F^f Select and drag a dataset from the ArcCatalog tree view.... The dataset is added as a layer on the map. 272 273 Using ArcGIS Desktop If you're adding data to an existing map. you can drag it to a specific position in the table of contents so it draws on top of (or beneath) other layers. [at — .■—- j»>Bx« b™» s» 2 at am . r > - • ♦ I a 8![Ait a « n m f> b* fa. r— JMan m smb. car. ~3 ^*»o« s D IS» at c» «1 I I1 A - I e— 4 4 TP Drag fne parte dataset from ArcCalalog to a position above parcels in the table of contents to have parks draw on top. 1F3 > / n A- a- •»»• -i- Adding data from a folder or other connection In ArcMap, use Add Data on the File menu, or the Add Data button, to locate and add data to the map—any connections you have established show up on the list. You can also add a new connection, as well as display the thumbnails for the datasets or a list with dataset details such as file type. In other words, the Add Data dialog box is like a mini-ArcCatalog. «iQUSj ■k K t> M Saaeoat loo. area- B* D OX u*cean.. __o> Bi- <* • du» uun. S d-Kaaaa 9*. «a* * IC-W» ."aa-Aa*.. ~D ^ *■ • a k? Use either the Add Data button on the toolbar or the Add Data option on the File menu to open the dialog box.... ....then navigate to the dataset you want to add. Open a new folder ; connection Use the buttons on the nght to view icons, a list, or thumbnails in*« |t CM, 1 «■! alfUI gfial .Qoaacate Corrwrtrjra SfthttrH locator! >|Cooran«Sr«a>. t^SeerchBnut, Mm |( \carwd.'|rrka^l>eaevaDomJar 1 lran.il ji... «X ^KeratCrjeaJri V mottet tdt y~y~.. ♦>Man aoocs S« Jl1 •'- -> «> Area Code« >w ^Kedua Seed Obet-k« 4> Canada Beckgrojnd V «> VLrcna PopulaBonJrr d^ CaneWi Prowce».rrT t^KatxralPeUV Pnefea*.«* 0 Ctartr Popukoon V *^ Pro^fxe Boundarw».hr •BeUaoidCoitinW «>Pro«roal Porta J* <>—*■;"■• *>Pj»o«*.n» ■Vowpvt.«dt •1 ForMord Sort anon Are* 1 Jl Heee Ipearcidc -->■ ~| 9—a»p. |n,„ «Jiandlarerll'MI -1 1 274 4 • Mapping and Visualization Adding data directly from the internet To add data directly from the Internet, use Add Data from GIS Portal on the File menu. If you know the URL of a metadata server, such as a regional GIS data clearinghouse, you can enter it and go directly there to access available data. Or, you can go to the Geography Network and search or browse for data to add to your map. Much of the data is free: some requires a fee to download Select Add Data from GIS Portal on the File menu to go directly to the Geography Network or to enter the address of a Web site. •a. u* *m tm« Saarn» laat grata Bap rfCaa.. Cawo OMi taaai ta*aea*_ » *«°«A J . "i. BBBBBBBBU < \ aaiaaaa. a»B»-■9 -j***" *"awo» taaoaav lOnaaaa. Kraasa.la «a«a ;»»m**r«ai •o-i IDVWare. ia.ei.ela. ■lila 1 IbVaarat •/— ic-twarajstand« .v. OBUatf IC-Maar«] taadataa Ii 1 (el av< -JflJ«J ~3F°~~3 » / b A- ** d.' _. SaiothlRaiaaatMaanManaaiaaaas :«tHaraaakDaiaiaaaW(a>>aWarrgoi»licH:> ICIanai oantara tree;_ I Ilea Data and Eapa ~*\ Caam oaaaant piema: | 2] Oaeaael Kariaerd (««.. near): ^twork Explorer O SpecHy is, location you want to teeren. TrPe < place name tuen as Alabama or Son on and cac* Go a k»t o' Wcei that match what you typed ml appear Ckck the place you »ant ei trat kit to choota it Or >*• a DO- on the map with the □ tool to Serine the area you want to taarch you may need to Zoom In (Int. • Choote any additional teert* criteria. K*"*0» rour March by ehoonng a content type or theme, or by r Se«roH «SO! Cloannonouta entemj < keyword Trane cnotcat are optwial The Geography Network lets you search for. and download. GIS data. Enter the URL of an ArclMS metadata service, such as a regional GIS data clearinghouse. 275 Using ArcGIS Desktop Adding x,y coordinate data To add data from a table of locations, such as data collected with a GPS unit, use Add XY Data on the Tools menu. Each location must have associated x and y coordinates stored in separate fields, as well as a unique identifier. '«U4 Biifajr,!"*- f, t ' »—>■_» - a Orae a lata are. t» are a term la? anrera later. I pubk_te»j S<»ot»r>«»rajrl»a»VrtY_rxrf™ xr«a Ipcmt x (njju 3*1 ~~3 S5F. Use rAc/d XY Data on the Tools menu to open the dialog box and specify the name of the table, and the fields containing the coordinates. -injjsj d * y * e - ^ • ► d|a*i*»o-«rj 4 * ■■ a. *r~ ~D • - a » / ■ A- »• J.- z. NAME PonOeVe Poece Satan 3 OyHal Poece Headquarters Fir* Station 2 Greenvaiey Hrgh Pan Elementary PubecSJeoe Oak treddte School Fa Elementary Gnenroli, Hoipnal laurel MWdW School Putrac Ubnry MAJNTErlAraCE ID 966 POINT X 482B66 84376 487614 66625 483131 15625 483184 25000 483752 09375 ms mm mom an M2934 CB7I «5B ffl 4S."-B" DB2S 481028 06260 i ...j -.t JP-TlTQ 75000 POWT_Y 3768280 00000 3768343 25000 3768247 60000 3768175 25000 3768305 00000 3768216 75000 3767622 00000 3768111 75000 j7GE6Q0 ISfl ■•-i Ii n 376623225000 3768868 75000 J7GB19Q nil r1 "□ * A • G |*"«-~ Adding datasets having different coordinate systems The coordinate system for the data frame you're adding layers to is that of the first layer added, by default, but you can also set the coordinate system manually. If you're adding data from various sources, rather than data stored in a single geodatabase. the coordinate system of the dataset might not match that of the data frame. If a spatial reference is defined for a dataset you're adding. ArcMap projects the layer on the fly (the spatial reference of the underlying data is not modified). If a dataset does not have the same underlying geographic coordinate system as the data frame or if the dataset you're adding does not have a spatial reference defined, warnings are displayed. See "Defining coordinate systems and projecting datasets* in Chapter 3 for a discussion of assigning a spatial reference to a dataset. the one uaed by the data has* you are edoVrg freOxarto 2121 r, that s dffortrt fror. t and accuracy probten» aaay *raas uréess chare ■ a correct trajaiuiBtatnn You can uea Urn button to «perfy ■» "orjfy the oerrrfomebcrts) used tr. thrs data frane: it. traralcraanjrgrietag.cenatobo eiaaeeil'iiei the Data Fiaaai dairjg/i CctrrdrÄr VXrJ« tab rftrr -ou Srr-« added the dat. T Dort «am ne aoan r thrs s T Doni eiam aar aoaei ever 777/s warning means the dataset you're adding does not have the same geographic coordinate system as the other data in the data frame— ArcMap projects it on the fly. but it may not register correctly. 11*1 This warning means the dataset you're adding does not have a spatial reference defined—if it is. in fact, in the same coordinate system, it will correctly register otherwise, it may not. 4 • Mapping and Visualization Working with layers When you add a dataset to a map. a layer is created. In the course of making your maps, you'll add and remove layers, turn them on and off, change the drawing order, and so on. to display exactly the data you need to see and work with. Controlling what's drawn on the map You use the table of contents to control how the layers are displayed. Use the check boxes to turn layers on and off. Use the + and - signs to display or hide a layer's legend. When you add data to create a layer, the layer is assigned a position on the table of contents based on its data type. For example, lines are added above polygons, and points are added above lines. New layers are positioned above existing layers of the same type. The order in the table of contents determines the drawing order on the map—a layer draws on top of layers listed below it in the table of contents and under layers above it.) Change the drawing order by clicking a layer name in the table of contents and dragging it to a new position. ■Hl'.. -laiÄi Turn layers on and off Drag a layer to change the drawing order (a layer draws on top of those listed below it) Display or hide the legend Managing data layers The table of contents is also where you rename, copy, or remove layers from the map. Since a layer points to an underlying dataset, if the dataset is moved or deleted, the link is broken and the layer can't be drawn on the map (a red exclamation mark next to a layer in the table of contents indicates this). Use the layer's properties dialog box to reset the source (right-click the layer name and click Properties at the bottom of the context menu) or click the exclamation mark. The properties dialog box also lets you access all of a layer's properties, including how it's symbolized, which features are displayed, and so on. It can also be opened by double-clicking a layer name. 276 277 Using ArcGIS Desktop Layers can be copied as layers on the same map. saved as layer files to be added to other maps, or exported to new datasets (you'd do this to create a new dataset containing a selected set of features in a layer, to be used in analysis). To save a layer file, or export it. right-click the layer name to display the context menu. Right-click a layer name and click Copy; then right-click the data frame and click Paste Layerfs). Select and type over to rename Broken link Export layer to a dataset - Save symbolized layer to a file 1 A red exclamation mark next to a layer in the table of contents indicates the link is broken. If the source has been moved, right-click the layer, click Properties and select the Source tab. Click Set Data Source and navigate to the dataset. —3 «.| ^m\Mmmm\ SarhBrndry2lhp 3 nfcium r»f Hmm |«H^ Md | MM Individual layers within a data frame can be grouped by creating what's known as a group layer. The layers can then be managed as a unit. When you turn the group layer on. all the layers in it are displayed. Group layers are especially useful if there are many layers on your map. or if you have layers that are always displayed together on maps. Using group layers is also an efficient way to share data and maps. A group layer can be copied or saved as a file—all the layers in the group are saved or copied together. To create a group layer, right-click a data frame name in the table of contents and click New Group Layer. You then drag individual layers under the group layer, or copy and paste them. 7b create a group layer, right-click the data frame name in the table of contents and click New Group Layer. Then drag or add layers under the group layer. Click the group layer check box to turn all the layers on or off. If the group is on. individual layers under it can be turned off; if the group is off. the layers under it will not be displayed. Setting the map extent and scale The map extent and scale determine the geographic area that is displayed on the map. ArcMap includes a number of u a> s to set the map extent. You can zoom in and out and pan the display, step through or save extents. Create a Bookmark from the View menu to save and return to the current extent. si 4 • Mapping and Visualization Zoom In (click or drag) Fixed Zoom In Pan Back (Previous Extent) «■ ■> It o M >", To zoom to a layer's extent, right-click the layer and select Zoom To Layer. Zoom Out (click or drag) Fixed Zoom Out Zoom to Full Extent (all layers) Forward (Next Extent) You can undock this toolbar and let it float, or dock it along any edge of the ArcMap window—as you can with any of the toolbars. The My Places option on the Tools menu lets you create a list of frequently visited locations that you can zoom or pan to. The places can be created from the current map extent or from a selected feature (or features). Unlike bookmarks, which are stored with the current map document, your My Places list can be accessed from any ArcMap map document. ArcScene view, or ArcGlobe view. 6> t* *»■ >w »■*»•» In* a**- tat □ s*a« e J-■-■» • « •■ :i J 3 J. t-mn * jujsj TtM l*M •w | □ Onooi »■»10 | Mm | il- . 1 ill o- 1 3r>3 ■ / a a- *• J.- j.- Access your My Places list from the Tools menu. You can view and add to the list from any map. scene, or view. 278 279 4 • Mapping and Visualization By default, the full extent of the first dataset you add to a data frame becomes the initial extent of the map display that data frame). If you add a dataset that extends beyond that initial extent, only features within the extent will be visible (use the Full Extent tool to zoom out to the extent of all layers). You can also control the scale at which layers are displayed—some layers (usually more detailed ones) can be set to display only when you're zoomed in to a small area. pa la tm- r—* jaaa* 1« - ■ 'J --=» '' mm -iaisJ ~3 J. «v%d w ' 4 - a 0m- - B waj»w »~a- * .- □ - A - c M "3po~3 ■ i 0 The display is set to the extent of the parcel layer. The streets layer extends beyond this extent. The current map scale is displayed in the scale box at the top of the ArcMap window. To specify a map scale, type the scale in the scale box—the map display is adjusted to the new scale. The drop-down list lets you pick from standard map scales; any scale you type in is added to the top of the list so you can quickly get back to it. You can also customize the list by adding or removing scales. You often set a particular map scale when creating a map for printing or publication. Use the scale box to set a map scale. f* 10 f »aa« laaaai la* ■Ma, gac D at y « tlKl » • ♦ d -J. *-*a t? lojrxi mm mm SCC3X psora IfMfflWl SuMadScaM|scaara pool- 2JJ«J T8B 'D0O0 :< xc '00 000 251000 SO 000 >W.0OO Click Customize This List to remove scales from the drop-down list or add your own scales to it. "3F0-3 ■ / b A< 280 ! OaVaonOiaal LaeaH | Jara I RaaM | Sho-lajaaalacaai Dart aaale/a Wan ■ 3 I. With a minimum scale set to 1:20.000. parcels are displayed when the extent is zoomed in to 1:15.000 (above) but aren't displayed when the extent is zoomed out to 1:40.000 (below). A small scalebar appears under the grayed-out check box for the layer to indicate the layer is outside the visible scale range. ■ IQI.I Data* • > ' $ j' MOOP ~3 J. *v»n w * * a a I 3 • - a I. fl,_- a d - B ~.a. -. Ummmmmm A •> 0 M * - eaaalso*. u«al _ 1 6—»• li p DMA' dl"> d ■ / a A- ** J.~ ajamr naxaan 281 Using ArcGIS Desktop To view the data at several scales at once, use a Magnifier/Viewer window. In Magnifier mode, the window magnifies whatever it is over when you drag and release the window's title bar (in Update While Dragging mode it acts as a magnifying glass as you move the window over the display). In Viewer mode, the window takes a snapshot of whatever it is over. When you drag the window, the snapshot stays in it, so you can view one area or scale while continuing to zoom and pan in the main display window. A Viewer window allows you to pan or zoom, display the full extent of the map, or display the previous extent (or next extent). It's essentially a free-floating display window. You can open as many of these windows as you want. An overview window shows you the location of the current extent within the full extent of the data frame. Overview window Open Overview and Magnifier/ Viewer windows from the Window menu. Click and drag the window's title bar to position the window. To resize the window, drag an edge. Id Magnifier window \ You can toggle a window between Magnifier and Viewer mode by clicking the menu button on the window. 3 i UrxWeWhteO-aogrng Click the menu button on a Viewer window to flash the location in the main display window. Use the Pan tool on the Tools toolbar to pan within the viewer window: then use Pan To Location to pan to that area in the main display window. Click the menu button on a Magnifier window to switch to Update While Dragging mode. You can also switch a window between Magnifier and Viewer mode. 4 • Mapping and Visualization Identifying and locating features Maps in a GIS are sometimes referred to as "smart maps" because—unlike paper maps—you have the ability to point at something on the map and get information about it (specifically, all the information about the feature stored in the layer's attribute table). Conversely, you may know something about a feature, such as its name, but not know where it js on the map—you want to enter the feature's name and locate it on the map. ArcMap includes several tools for identifying and locating features. Identifying a feature on a map Use the Identify tool to point at a feature on the map and display its attribute values. The information appears in the Identify Results box. Once you've identified a feature you can click it in the Identify box and it will flash on the map. Hold down the Shift key while clicking a feature to add it to the list of identified features (otherwise it will replace the previous feature), or drag the cursor to create a box around the features you want to identify. *Hf« »»»> s—*=" i«* era- a* D a* b a) »e> ^ • ♦ jfTTSr * .« a i a ■ t ~3 it v? - Identify tool —H \ When you click a feature on the map its attributes appear in the Identify Results box. m y. Maafrfcu* f _*J - buMroiJor. PutecLbar Laoett. |l 3240S. 10 32* 36 C.orriC*o™ ' w Iv— | TO J 13 Shaja Pom name PubfcLeur) maintenance ^0 223 8ufF.D6T IX lartfaci Un B 1 ij A." Put*: uowy LOOM |. 3243» 10X3SCt»o».bv*n PokxHMoVuran t *> 1 V-, I TO.1 3 Shrct Pan NAME Or Hal MaMIBeWCI : -:: EajtT.DfST 200 IdVOMSlMtUT. Press and hold the Shift or Ctrl key while clicking features to add them to the results box. You can also add several features at once by dragging to create a box around them. 282 283 Using ArcGIS Desktop 4 ' Mapping and Visualization You control which layers to identify features from—choose all layers, a subset, or a specific layer (the topmost layer in the table of contents is the default). □ Ca- B é» f * F1" 3 -J. «V • □ V lowef,»« - buk»Y»_rori <1or»« Öfter* breri> mm mim i ' Á oarc*_pdYgor. ■arreted l lean* 11'"*? .1 »arae»eeei ■ JUfl |l 32J797 lQ3a9220«aMCUg>>> 3F L/se toe drop-down list to specify the layer(s) from which you want to identify features. hapa PoM ■IMC PuafcSuge l*>aNTEM*NC£X> 227 BUfT.DTSI 100 By default, all the attribute values for the identified feature are listed. The fields listed in the box can be controlled the Fields tab (uncheck the fields you don't want displayed). using ja* f*» Í0 9m IrMrt 3n»i mir Ioofc B* □ t*y • e • ■ *> |i zmj . -1—3 ' • a B ■■■■■■ —'i®r lei • a B •>—_•< *°" - B errt_t«*e»" g ap*aro*u»l*» - B wmUjmrr» - □ TMjxtrrr. a >3nMWr*s » •» £=-101«- SrJrder. » — _» ž> >^>giBBBBBBBjlfafj 1] :/ «V4>n K7 2:* Gerard) Saece j Sdaeeonj 0eoe*| Sracrragr FVae. | Drara»Qu»,i L«a i Jar. IB—- ! Oecaa m>U> Jberater. Or*r>f.raaacdw»«*t»ri«taar»»aYi Ha» iMaa Urea 1 Lara» 1 Preo en 1 See» 1 MiraaeFoaael 1 «•hdj roj CeaactCP 4 0 • Shape PM * Ureal HatC Serg 20 0 0 ■swam** HWIEIUHCEOSM 2 0 0 Huaaac POel'J< pomíjí. Deuba • 0 0 t*a»ac Tl POMI.Y POMT.Y Ooubk e 0 0 leaeeat T] , - r, □ • A - . [VTaVrT -3nT3 ■ / ■ A- »- ^- A- I e« rare-era rfeeeae The Fields tab on the Layer Properties dialog box lets you specify which fields will appear in the results box. 284 If you're having trouble picking the feature you want, change the Selection tolerance—choose Options from the Selection menu (setting a larger selection tolerance will select features farther from the cursor). Selection tolerance Identifying a feature using MapTips A quick way to identify features is to use MapTips. When MapTips is turned on for a layer, placing the cursor over a feature displays the feature's name (or other attribute). If MapTips is on, the tip will also appear when you use the Identify tool—you can make sure you have the right feature before clicking it to display the additional attributes. To turn on MapTips. right-click a layer and select Properties to open the Layer Properties dialog box, then check the Show MapTips box on the Display tab. 21*1 H-je*ea r SweeHre rrMruaatgiarl raaaiarrtata ■ c c 1 —1 -3(5-3 . Sarg 2D rDSrrat 2 Ocubk a Oajtfa a Set the attribute to be displayed by specifying the Primary Display Field on the Fields tab. 285 Using ArcGIS Desktop Locating a feature by searching Use Find on the Edit menu (or the Find tool on the Tools toolbar) to locate a feature by typing an attribute value. Once you've found the feature you want, you can flash it on the map or zoom to it. 4 • Mapping and Visualization To locate a feature and have it stay highlighted on the map. select it in the layer's attribute table. Click the gray box (or right-click and click Select/Unselect). To select multiple features and highlight them, press the Ctrl key while clicking the gray box next to each feature's record in the table. so* a§ 3 -J. *v»n w Use Find on the Edit menu to search for a feature by attribute value. You can also Find named places, such as states or cities, within your map extent, street addresses, or locations along a route (if you've already defined one—see 'Adding specialized datasets to a geodatabase'in Chapter 2). Right-click a feature in the results list to display options including Flash on map. Zoom To feature. Identify, and more. When you select a feature in the layer's attribute table, the feature stays highlighted on the map until you select another feature. Locating features via an attribute table There may be instances when you prefer to locate a feature (or several features) on a map by scanning through a layer's attribute table—to find several features by name or ID. for example. Once you've found a feature in the table, right-click the gray box at the beginning of the row to flash that feature on the map. You can also zoom or pan to the feature, or display the Identify window. To use an attribute table to locate a feature on the map, right-click the gray box at the beginning of the feature's row, and select an option from the menu. Press and hold the Ctrl key while clicking to select multiple features and highlight them. With this method, you're actually creating a selected set, so when you're done highlighting features you'll want to clear the selection (see 'Selecting a subset of features' and 'Working with a selected set' in Chapter 5 for more on feature selection). Right-click the gray box next to any selected feature and click Clear Selected. 286 287 Using ArcGIS Desktop 4 • Mapping and Visualization Symbolizing data Specifying the symbols you use to draw features on a map lets you ensure that the map is easy to read and conveys the information you want. For some audiences, standard symbols are immediately recognizable. Different feature and attribute types are drawn using different types of symbols—points with marker symbols of a specific size and color, lines with symbols of a specific width, pattern, and color. Areas can be drawn using an outline, or filled with a pattern or color. Assigning symbols to layers When you add a layer to a map, ArcGIS assigns a default symbol—all features in the layer are drawn using the same symbol. To change the symbol, right-click the layer name and click Properties to display the Layer Properties dialog box. Then choose the Symbology tab. (You can also get to the Layer Properties dialog box by double-clicking the layer name in the table of contents.) Pick a method of symbolizing the features, then specify the symbol(s). HOT e» I* »•» »» □ otua »Äs* la ♦ ~3 ± v lei x---i oh—'» — * »■■*'■» **»— » a** > Layer Properties dialog box for point features. if i - ■> . □ • A • .•: l*»-r -3f5~3 a / n A* * * iL' —" ůmmm\S 1 MraaiOuarl LM 1 Jor.l"taaa| CHUI Chan Sa». — "I Om*K*m ■ nrfcii 1 « 1 c— 1 ,*mvm—***» Select a predefined symbol B from this panel in the ( Symbol Selector dialog box. The Symbol Property Editor lets you modify all the properties of the symbol. You also use this dialog box to create custom symbols._ mm P + Umm B ♦12311U UM Hps ISarakuaaSata: 1 *- F^l o UaOua* XOtmt |orcn) jj OataCob J -| VOM JG0O00 ij OiakaSm |'Om jj C/se these options to modify basic properties of the current symbol. OtDDCBCIrMZSZB Orgnvcobrvar Adding a style gives you more predefined symbols to choose from— just click the style on the list. ArcGIS provides a number of styles: you can also create your own (see 'Creating and storing custom symbols') 288 You can also draw features using symbols based on the attribute values of the features—for example, roads of type •Highway" would be drawn using a wider line symbol than roads of type "Local" (see the next section, 'Using attributes to symbolize features'). Raster datasets that represent categories, such as vegetation types, are initially displayed using a default color for each category. Raster datasets that represent continuous values, such as elevation, are initially displayed using a grayscale color ramp, with lower values drawn in darker shades. If the raster is a multiband image, such as a satellite image, it draws in its defined RGB values. As with feature datasets, these symbols can be changed via the layer properties. The specific options in the Layer Properties dialog box depend on the type of data you're symbolizing and the method you're using. Layer Properties for line data -»»r*——^r»mmmmmmmmmmmmmmmmmmm»m— ~-- «Ii hi an Layer Properties for polygon data liliMkSmn 3 Layer Properties for raster data with continuous values OS^.mmmmmmmmm%mmm\mmmmmmmmma -SSJ The symbol specifications are stored with the map, so once you've saved the map. the data will be symbolized the same way the next time you open the map. You can also store symbol specifications to use on other maps—see 'Saving and reusing symbol definitions' later in this chapter. Shortcuts Clicking a symbol in the table of contents lets you specify symbols directly, without opening the Layer Properties dialog box. Symbol Type ♦ Marker Line ■ Area Fill Left-click opens... Right-click opens... _ .. _ -» mW w . 0 - Z.* —— z »35 — - i — S"i iQOQ :Jfci 1---.ďHi r, n n .efe C — Corresponding Symbol Selector Dialog Color Palette ■ Classified or categorized raster Color Selector dialog Color Palette Stretched raster Select Color Ramp dialog 289 Using ArcGIS Desktop 4 • Mapping and Visualization Assigning symbols using cartographic representations Assigning symbols to map layers in ArcMap lets you to portray features using basic properties such as color, line width, pattern, and so on. Sometimes, though, you'll need to depict the features—and the relationships between them—in a more realistic way. For example, you might want to create a transportation map showing overpasses, bridges, and tunnels. On a map of voting districts you might want to more clearly portray adjacent boundaries, rather than simply showing a single shared line. Or. on a map of building locations, you might want to rotate the building symbols (representing point locations) to face the street they're on. Cartographic representations allow you to do this. Houses, roads, streams, and parks symbolized in map layers. Using cartographic representations for the various feature classes, bndge symbols are added around road symbols where streams and major roads intersect—with stream lines ending at the bridge—and small squares are placed at house locations and are oriented along the roads they face. A cartographic representation is a set of rules, overrides, and graphical edits that allow you to represent geographic features cartographically without having to change the shape or location of the underlying data (which is. after all, an accurate representation of the features in geographic space). For example, if a road runs parallel to a river, it may be that at the map scale you're using, the two lines appear to touch or cross. You can use a cartographic representation rule to ensure that the road is offset from the river when drawn on the map (without having to actually move the location of the road or the river, which could affect other maps or any geographic query or analysis you perform). Cartographic representations in ArcMap also include a series of tools to perform graphical edits directly in the GIS without having to export the cartography to a graphics package—for example, removing a portion of a line that obscures another feature. Cartographers refer to this as "map finishing and editing." Cartographic representations are created within a geodatabase. They are stored as columns in the feature class attribute table and in system tables in the geodatabase. A quick way to create a cartographic representation is to convert the symbology for an existing layer on a map. Once you've converted the symbology. you can edit the representation, if necessary. .VOUU Xmmm___ Or* ■K •<* mnu. » IP" 11» ■ill SO - "v iraacr > ■ »sc \0mmmm a-> > % f»-' - i 11*1 CWi '•hob Owot tw gmh of *m lUEtoftrg Itauw 7b create a feature representation for a feature class from existing map symbology. right-click the feature class in the table of contents and click Convert Symbology to Representation. You can store multiple representations of the same feature class. For example, you could have one representation of parcels for a local zoning map and another representation for a general plan map. You select the representation you want after you add the feature class to a map (using the Symbology tab on the Layer Properties dialog box). This approach eliminates having to create and store several layer files for a feature class, each having different symbology. * m m ■> ■ -■cum 1 si «v%n xi 2 »9- >m*Mmmm • «tM.la* »»>■■■■■ » *-=»" > llba*nu«i After adding a feature class to a map, open the Layer Properties dialog box and select the Symbology tab. Any defined feature representations will appear under the Representations heading— select the one you want to use. You can also modify the representation here. Cartographic representations are useful if you create maps for publication—especially if the same feature classes are displayed using different symbology on different maps. Anyone in your organization who has access to the geodatabase also has access to the symbology for a feature class. You can also create a representation directly in a feature class, using ArcCatalog. This method also gives you the option of importing the symbology from an existing layer file. 290 291 Using ArcGIS Desktop 4 • Mapping and Visualization Using attributes to symbolize features When you add a dataset to a map, ArcMap draws all the features using the same symbol. Often you'll want to draw the data symbolized by an attribute value (almost always the case for contiguous areas). The symbol used to draw each feature (the marker size, line width, or area color fill, for example) is determined by the value of a feature for a particular attribute. Displaying quantities using a classification scheme Many numerical attribute values can reflect measurements—for example, population counts or percentages, measurements of rainfall, and so on. Such values can be classified into ranges of values, and each range assigned a symbol for display purposes. When you specify the attribute value to use. a default classification is assigned. You can modify the classification scheme, the number of ranges, and the class breaks. Right-click a layer and click Properties to open the Layer Properties dialog box; select the Symbology tab. "3I»~E1 » ' ■ A- a. ±- Wa n n n , 1 - 1 «— Right-click in the box for more symbol options. Double-click a symbol to display the Symbol Selector dialog box and specify a new symbol. To create a custom color ramp, set the starting and ending colors then select Ramp Colors from the context menu (above). Normalize your data to account for differences between features. Normalization divides the values of one attribute by those of another to create a ratio. For example, if you're mapping counties that vary in size, you might normalize the population by the area of each county (to map density of people per square mile), or normalize the number of seniors by the total population of each county to map the percentage of seniors in each. Gere.a'j Scuce | Setocaon| Dacuy Saafcofcoa | Faabs | Darnbon Query | Lata* | Jora I f Show Die jFeahee. t^tfaocaan Fat* |(Juannbei Valja Glaciated colon Guniandiwrtpb fVtoacrW lyrnboh Dot dray CobRaan I Owli jMuta^aAtlnbuta. |AG£_65.UP NeUal Break i -.FT] 451 1036 1037 1925 1926 3009 3010 4750 «751-9351 Show dan langet uang realm valaa Normalization field -TJ*J The classification on the left uses the number of seniors in each county. The classification to the right normalizes the number of seniors by the total population of the county to map the percentage of seniors in each county. Calagonai UuaMilHM Giedueredcofcn GiaduaWd taraboh fteJaatM MM Chart. MJhpfcr Altiebule. Seabot I Rang. leM 1 ^^10052555048 0 082651340 526* 827* "J00826S1341 0114585759 828* 11 46* ■ 0114585760 0132666741 1147* 1327* ■ 01320X742 016798)911 1328* 1680* ^^■OISTSHBI? 0200327735 1681* 2003* Advanced. - Using ArcGIS Desktop 4 • Mapping and Visualization Displaying categorical data using unique symbols When symbolizing using categories, a unique symbol is assigned to each value—all features with that category value are drawn using the symbol—for example, all agricultural parcels green, all commercial parcels yellow, and so on. Pick a color scheme from the drop-down menu, or assign colors to each category by double-clicking a color to display the color palette. Using charts to compare quantities Symbolizing each feature with a chart is a way of comparing two or more quantities (bar charts) or showing quantities that are proportions of a whole (pie charts). For example, a dataset of counties might have fields for age groups—under 5, 5-17, 18-21, and so on—containing the number of people in each group. You could use these fields to create pie charts showing the relative number of people in each age group, for each county. 3. t* f" l-i J*a»» I«" W«" 9* D af b • »' • r ^' "3 J. *.ma w On the Layer Properties dialog box, choose an option under Categories, then specify a Value Field. Use the Add All Values button to symbolize all categories. Use the Add Values button to display a list from which you can choose values— any values not listed will be drawn using the symbol. ■ ■ • »F 3.8 B|a M ■ o»«. amu. laa » 12 «a.*.-..-:,BO«-» 9 » Select a chart type, then specify the fields to include by selecting and using the arrow to move them to the right column. si s»«F"3,» Here's where you modify the graphic properties of the chart, such as the outline color and thickness. jjju You can make the charts the same size, or vary the size based on a value, such as the sum of values for a field. 294 295 Using ArcGIS Desktop Saving and reusing symbol definitions Once you've assigned symbols to a layer, there's a distinct possibility you'll want to apply the same symbols to the same features on another map. or to similar features on the same or a different map. For example, you may want to symbolize rivers the same way on all the maps you create. ArcMap provides several ways to save and reuse the symbol definitions so you don't have to reassign the symbols each time you display the features. Saving a map layer as a layer file The symbol definitions for a layer are stored with the map—the layer will be drawn with these symbols the next time you open the map. To display the same set of features with the same symbols on a different map. save the layer as a layer file. This creates a file with a .lyr extension. The file references the source data and contains the symbol definitions. ■■■■■■■■■■■^ -m-al Mapping and Visualization Be Ca» 9- »—i 1-aea. I«a 1W- B»__ a at si e • ♦ f^ssr- To save the layer—as symbolized—to add to other maps, right-click the layer name and select Save As Layer File. Importing symbol definitions from a layer or layer file You can also assign the symbols to similar features from a different dataset. on the same or another map This is useful Symb0htZe Same for a different geographic area (whereas adding a layer fi u efu or add.ng the same set of features to different maps). The field and attribute values you're using to symbolize the features have to correspond to the ones in the layer file. ^ymoonze tne ob*a a a> - ■ * F57is-3 .j> a*o w - .r—] - - a ■1 \ ■«&•» X ft— am. »um. JaeatfBakaa ► .% »ab« et ««.•<«. vat MM UM **""» e Ba» Sanaa la*, re. ' ■aa^aflaHHHHHI CefcrT /mport on the Symbology dialog box... then specify the source layer (to import symbols from a layer on the same map) or layer file to use... Dee. -1—..a. .a- _t<* a^. | l** "eeaaae nea a> ea eacd a ate. a o aa. jSaa.lt ana 11 I J_I You can then add the layer file to a new map as with any other data source. Layer files are indicated by a distinctive icon. d a* b a e • * i ■ as*;a s c - * mptSl ~1 J. e»-»D V -.5 i (»t> *>|aa laam [oai d«Bt e * * a ~3 i£ A • D w teaka. |_| aacaHar. Ilaftamty «v 9aHmana.*s |, □ - a - . l«"=r ~3f"~~3 » / ■ A- »- J.- 2.- 296 " mx*wm„kv laaauitaaaa» r N..eaa» Lajar |(Wa, mmm\% si at tea. a ea aap > tea a ha. ea *»-laa«al«.p.aj vrtai a> ieu aaa k> aaof? 1 r Meaaaeca i <* ■ -- ■ -|| I, i. 1 * 1 «"-J ....and toe field in the target layer corresponding to the field in the source layer. ^3 ta t* t— >—. ia» loa. gao_ 9*. . saaaa.? <- k ■ □ • a - ■: fST-V ■ at eaa MM Ilea. IB I I Sgg I_I "—.at I to toe d/afog box, c//c* App/y to asagn toe symbols, or OK to assign the symbols and close the dialog box. The symbol definitions are automatically updated ^rtSyHmb°J defi,niti°ns are for features Aat hav« been classified or categorized, the classes imported and applied. or categories will also be 297 Using ArcGIS Desktop Creating and storing custom symbols ArcMap contains a wide variety of symbols, including sets of symbols used in specific industries. However, there may be cases when you need to use symbols that aren't provided with ArcMap. You can modify existing symbols as you create a map, and save them, or you can design and create symbols from scratch. Symbols in ArcMap are stored in what are known as style files. When you start ArcMap two of these are loaded automatically—a set of basic symbols called ESR1.style, and a personal style file (stored in Documents\Settings). The personal style file is initially empty. You can load additional styles provided with ArcMap (see 'Symbolizing data' earlier in this chapter). Saving a modified symbol A quick way to create custom symbols is to modify existing symbols and save them in your personal style file. They then appear in the symbol palette with the other symbols that are currently loaded. You'd do this if you want to keep the symbols and use them with other features and other maps. -t----*i • • ■ Ooal So—1 A • • 1"*' Parlagonl He-o=r,t • • • fed So—l Cach? ■ A • So—2 teargk! ParUgor.3 • • ■ %m I'OOOjJ ft* F»H When you modify the current symbol and save it (with a name) it appears in the symbol palette and is stored in your personal style. 2l*i • 1 — :. - O Rad Oda • ■ So—1 ▲ Teiro»! • Pvttgor 1 • HOugont • Oobgant ■ fed So— • EM. ■ So— 2 A •wo.: • • • Accessing styles and stored symbols Style files are accessed and managed using the Style Manager. Here's where you can edit. copy, and delete symbols. You can move the symbols in your personal style into another style file, or you can create a new style and move symbols into it. A style organizes each symbol type (marker, line, text, and so on) in a different folder. The specific properties you can set depend on the type of symbol. Here are some examples of the properties for several symbol types. Color ramp editor Color editor Scalebar editor r~i3 •«••*)« 1—"3 r S>—awr— i— i'ai t—o I**-*-*~ ___Jj mm Dill»*» 1— d menean I-** d lata kaa. taaaal 1 to 1 5=3 Text editor T— I'.Vao ■ !"-» 3 H »a—l|ti.ranlaa| »a aui«Taal Mao | , A '- d «- 3 1 n» 2JdJjJ*l «JbflbYyZz oa. £j xOtaa|óaxF«] mm Fx~D rmmpmj Veae**b*— na—la'aj» a 1 r Ta> « ua> * Caraa f Ma), r----- ř Caee r aaaaBHaMaraaManackmaW __. ' _i=-J _______-_---•* 4 • Mapping and Visualization The Style Manager is accessed from the Tools menu. The left panel displays the folders for the currently loaded styles the right panel d.splays the individual symbols for the selected style and folder. •a, [a> f Han iraazar Jpm gt*e. ^ :iBI a (at* tato .4 »*» - 3 r^aarojjort ~3 :/«*-•□¥? Open fne Sfy/e Manager from the Tools menu. * _1 CVCccurramMSetbTviV I - J ESfll ereb J narararc* S/Oa-r- RighKUck 8 SVmbOl _J "aotaLabaai ' . Shadow /O WOOV rV/'/j //. 3 O * A - i" fi^T _J AiMPaicran _J Lna Perche. -J Labeaj _J North Aro~l _l Scat! Ban _J legend Ha™. _J Scab Teas _l CoOBamoi _J Borden _J 6 * ■ 3 _J Cobra _)•-<:.-<.,: _J LnStaatsk JK**5Mdi _| TMSytrOofci Sa«. 3 ▲ Tn*ngb3 HsMQOfi 3 Octagon 3 CW*X * Copy Cb**C feXe COieV 1 ssl M ••esw JOButtngi »Street Funbe* »Tra« »vahd«, ArcScaneBaK * Si* 1 St* 2 ★ Si* 3 'aa* |3»aor. Ha. Sj-oo CKaao»>*a«|Ha* | P + (aba* [Š-77 d d (coo i a ♦I 2111H - MÁ mm...... I |cjxe J C*£0 OS Cent* SOS MO CACO GZS Carter SOS 220 CACOQS Carta. SOSI9S Cavea Conaarvabon CnmAnaVss 7"ne Symbol Property Editor lets you modify symbols. Select a style to add to the Style Manager, or create a new style. Creating a new symbol in the Style Manager The Style Manager also lets you create symbols from scratch. Since ArcMap includes many symbols, you may only need to do this if you use very specific, unique, or very complex symbols. Even then, in many cases it's more efficient to start with an existing symbol and modify it. You can, if necessary, create new symbols from picture files (bitmaps or EMFs) or from characters in any font installed on your computer (set the Type to picture or character, respectively). tZni^LSaeW 11*1 J C \Oocurarn and SeerorA _J n*eranc*S)*Mrr. _J Map*, lab* _l Sh**M _J AnMPatenet _l lr»Petchei _J lebe* _J NonhAno», _J Scab Ban _l Legend »m _1 Scab Tmi ll Coke Reap, _l Btrdati -I BaOgrounda _l Cobra □ Rtj»M —I Lna Im** Btoen Cecb Red Crcb CtrHx I Cbfetn ."-«Im«! ■■■■■KlIlBl ■ • Right-click anywhere in the display window for the selected folder and click New to open the Symbol Property Editor and create a new symbol. r ueiouam 0*«Cto ■ I OutoSae f 3 298 299 Using ArcGIS Desktop Labeling features Feature labels make your map easier to read and understand. Labels range from simple text you add to a map as you explore your data to highly stylized labels used in cartographic production. Using map labels A map label is any value stored in a layer's attribute table and rendered as text on a map. A quick way to display labels is using the Label Features option on a layer's context menu—a default field, placement, and font are used. Use the Labels tab on the Layer Properties dialog box to access all the label settings for that layer. ~EJ-J n • • "3 J w Right-click a feature and select Label Features— default settings are used. Label Features - X 1— _» * ab-toa* -s- Uro ► imam » <3.....liiBlillrili ^ <------*»i« mm. % , -. , X--- ***>mm Use a scnpf to create labels with multiple fields or custom text. ToadrjaaMnaa 7"/?e Labels tab on the Layer Properties dialog box lets you specify all the label settings. Placement options depend on the type of feature you're labeling. You can also specify how to handle label conflicts between layers. Sanaa | Sojm| S«»| Cht««! S«*ob|»| Fat* | OaMcrOua, Lab* |j - B snj X saw - 0 >«na.n >a«an Tan >n •«,0» W CaW—Muna. iaa > Right-click the data frame name and select Labeling to display label management options. a. «. aa>|aanoatiank □ aaaagijaH J J Baanlaa . ... aria □ ra«naj«»o». E !«•* Ocaaijowo- Bouj □ »»äjangor. BEWrJ QpHra-l SancAl j OaaM | TaaSaaM AaBaYyZr □nHakn r Hoaana Pnaan B ».^ r ■ .... r CirM0 r Part* 0*« (Ö aap*«. ScaaPara* SOLBaa, l»a cjj — ' A • [*a-T J Use Label Manager to see and modify all label classes 301 Using ArcGIS Desktop These options are also available from the Labeling toolbar (click the View menu, point to Toolbars, and click Labeling). - 4 *? 4 j$ 4* The Labeling toolbar Labels will remain the same size as you zoom in or out on the map. If you want the labels to get larger or smaller as you change the map scale, set a reference scale for the data frame. The reference scale specifies the map scale at which the size of the labels on the map matches the defined size of the labels in page units, such as points. Typically, you'll set a map scale (or interactively zoom) to show your area of interest, set the reference scale, and create the labels using an appropriate text size for the current display. When you zoom in or out, the label text size will increase or decrease, accordingly. Cfc 10 t- ton imm- I» cnam a> • ■ ~3 j. v -JOS _ -1" . t» t» *•» *—< s—o» la* bm- a* Zatum B > ^ - ♦ F55T * * a -r ~3 J. *v*n v • • a \ \ \ -1- - - - I j—s -a .- D • A - o — dl'° d » ' ■ A- u»inm»»»a »in iiiia^aata> To set a reference scale, right-click the data frame containing the features you're labeling, point to Reference Scale, and click Set Reference Scale. The reference scale will be set to the current map scale—labels will appear at their specified text size at this scale. Waterfal Main Walnut Walnut 1FÖ-3 ■ ' » A- »- J.' A- With a reference scale set, labels will be larger than their specified text size when you zoom in, and smaller when you zoom out beyond the reference scale. Advanced label placement using Maplex The Maplex for ArcGIS extension enhances cartographic design with a sophisticated set of rules that automatically modify labels so they can be placed correctly. Maplex can save time by automating much of the work of manual label placement. The text placement rules include positioning, label fitting, and conflict resolution. You can also create rules for text stacking, font reduction, curving, and abbreviation. These rules are useful when you're creating complex maps for publication that include many features and numerous levels of labeling. They're accessed via the Label Manager and Layer Properties dialog boxes. 302 4 ' Mapping and Visualization Maplex is included with an Arclnfo license. Once the extension is enabled (see The ArcGIS Desktop framework in Chapter 1), select the Maplex labeling engine (the default is the ESRI standard labeling engine). jiii 1 ,111.-i ■ .1 1 m, b* w~ *—< S""—" IP- W*" oa> □ ft,H*» - * 4 a • -I 3 Select Maplex as the labeling engine from either the Data frame Properties dialog box or from the Labeling toolbar. •"«•»•■ 1 (lirltaraa 1 Fm Saw. 1 DU!« 1 Carina. Sy«» | tan ■a 1 toHrata tan 1 Baa 1 Ha Ca». Haai |l*a> Dw4*a -zi Unto-- D-*J. |F- .j lESBSur.jMLPME'om 1 OK 1 om 1 1 a-tafafafafaf- La-Paacn l^Farg5.a«*||jrttoRac4»r,| ,i .. „ alMta- a>«|laajaaai ■Jj IdI Sf-oa utasa*. When the Maplex labeling engine is used, the Placement Properties dialog box gives you additional options for label position, fitting, and conflict resolution, as well as for label ranking. aJOUS "3 J. «*-•□ «*? " m a -Pole. Station 3* Offk. Public Ubrary City Pole. rl.ldqu.rt. Caa.ltaa.ll |*0 O ijj a - [7-7- "3I"""3 » / n A- »• J.- 2.- In this example, rules have been defined to stack labels and to ensure they don t overtap streets. 303 Using ArcGIS Desktop Using annotation to label features Annotation allows you to place and edit text individually. This is useful if you need to control the exact positions of labels. A quick way to create annotation for all features in a layer is to convert existing map labels using the Convert Labels to Annotation option on a layer's context menu. You can then select and work with the individual text strings. Annotation automatically scales with the features as you zoom in or out (a reference scale is set—using the current map scale—when you convert labels to annotation). X |BM 3 O0B.«rbU»I*. » <*t»Tol*re (BOB 3c* tag. » uaiSrBMUBBk S—rao- » . jMNBIB r tt*mmm~ « hhBt tarn r Right f» »»el i*«Ba i □ sta* e * at • f ii - ■ ~3 4 «♦-•□ w - B p»oBj««r»o" - □ MTBjakga \ I J \ 0 a.jj Set the text font properties here. —3FTZn \ Use these buttons to set the text, fill, line, and marker colors. Nbe Arroetoon Croup... □ a o A ^ -o AcMArrxMionTarajt » O 'V % • |Mt*orr% Mtut JyntalProoaroM... HO Cor, Use the drop-down lists to display shape and text options. □□□□□□□□□SI □■■□□□■■OBI □■■■□■■■DBI 3 IGODGODSIII !■□□□■■■■■ The Drawing menu lets you arrange selected graphics and set default graphic symbol properties. Specify a custom color. Click the menu button to change the color model. 304 305 Using ArcGIS Desktop Drawing shapes and text The tools on the Draw toolbar for creating shapes and text work just like tools in a drawing program. im> . u ■ L"»--r--«mmmmmmm»mmmm« 1 4 ABQ «r» ! C/Zc/V and drag to create a rectangle. • \ \ \ New Rectangle tool 2 * BA 1 4 IX • * I 1 uf ABC «? . .f—D »«i4_T" iQ «11 i C//c/< and drag graphics to move them. \ \ "3I«~3 ■ / ■ A' »• =4- Se/ecf Elements OatBB I »«» 4 4 * r"~ 3 u! A B Q W -I j - • a •- -3 - a a__VJ % :: u -a—..— f) I i • * DOC ■ « Click to enter the i I o n \ vertices of a polygon. — J A » \ v \ v' S \ •> • 0 ail —i 1 «r#- A • J ■ / ■ A- »-*•-._• New Polygon tea »■■»* >- a>»» 0" w a* B A B ■ • l j - - a • BBB1 - * 1 - a mm j* - B tmemjmnr « • • » o M - 1 | *• ! jj] Cfcc* "ie fexf Position I and type in the box. , Ti '*—■'»»—' ._- a _ n * A - .0 »xl —i J* 1--1 2 at BA >«l« « • ♦( 3 ut A BD f 4 . • .1 3 - - a a—,. » «)B □- B- 3 I -1 1 1 1 \ Drag a handle to resize the graphic.^ _I ~3f»~~3 a / g A' J Use /he Edit Vertices . too/ to move a vertex 6y. - clicking and dragging. -, » ~3r5~3 a / I A- i' 1 EcM Vertices 4 • Mapping and Visualization The text drop-down menu provides a variety of options for placing text. Uwtw.'.ne/ Labe/ feature using callout box A -V 6 ^iwula. A* o p a a 6 Latoe/ feature A -V *o ^ a; a ft These /hree too/s /e/ you create a polygon, rectangle, or circle containing text that flows within the shape or is in multiple columns. Spline text Any shapes or text you draw while in Data view are drawn in geographic space—they move and scale with the geographic data as you pan and zoom. They appear in both Data and Layout view. Any shapes or text you draw while in Layout view are drawn in page space—they move and scale as you pan and zoom on the layout page. They're stored with the layout and appear only in Layout view. You can add graphics to a data frame (in geographic space) while in Layout view by clicking the Focus Data Frame button on the Layout toolbar (you can also double-click the data frame on the page or right-click and click Focus Data Frame). Modifying a graphic Each graphic object has a context menu that lets you work with the object. Right-click the object to display the menu. Use the Properties option to modify the object's symbology. Right-click any graphic shape or text to display more options. Choose Properties to set the color, font and position. (You can also double-click the graphic to open the Properties dialog box.) JJ«J HCObr _j CUhaCao- fjj OiaawWkah f~5 jj ParoaS««ol | 306 307 Using ArcGIS Desktop 4 • Mapping and Visualization Creating graphics from features An alternative way to create graphics is to convert features to graphic objects. You'd do this if. for example, you want to highlight a particular feature but don't need or want to create a new layer containing only that feature. You'd select the feature, convert it to a graphic, and modify its properties to assign a new symbol and color. -IDlKl B» 6* «*■ »aal Jaaoai look BMo. raC an -I? I 'ammm - B aaajr. •> - B aaoa jayga B<>.c*i.K> -a ) - B pa»_para»> - □ IkadJaVv* G3 k iniriWM «ata fca. Bag. Saarn» » fix —- <» \ Canal r acwdar |tuktngijnrt «**t*»a»air«»»liaaiuM aailwnaftct. aJimaa<« 11 Cwvaa-tacowaadoaihc. f Dta»»aini aaaluWa iarrfa*.«*laaLiei Tan* jto acwai. imsaim. Right-click a layer and select Convert Features to Graphics to turn geographic features into graphic objects. 308 Creating a map layout Map layouts are used to compose a finished map for printing or publication. When you create a layout, you arrange the various map elements—the geographic data itself (contained in a data frame), as well as explanatory information, such aS titles, legends, scalebars, and so on. The ultimate goal is to present the necessary information as simply and clearly as possible. Working in Layout View Layout View shows you how the map page will look, and lets you display rulers and grids to help you arrange the map elements (see the next section. 'Adding and arranging map elements'). Select Layout View on the View menu. The buttons at the bottom of the ArcMap window also let you switch between Data and Layout view. _ Data View SMdsn laa Wtt> 0M> 3 it *V%D Switch to Layout View from the View menu. ■■■■■■■■■^ -1B151 ES* □ * H ft e • * 3 .£ «v •> o Data View - Layout View Setting up the page The page setup defines the size and orientation of the final map. the printer you'll be using, and other settings. ■■■^■■^■■■■^ Jjanan Ik* em tr* c*ya x*ex « • * I ~3 -J. *-ftn v 3 a a :: r> ft ♦» ■> |F o To specify the page parameters, right-click anywhere in the display window and click Page and Print Setup (or select Page and Print Setup from the File menu). .caa»|Sa«»|SaMä71 - faaaTaaa ———-- Sua* Ree* Tjee MJ>Caalaaüal2SD"a6 VAae DOTa.OS Ceerartt Papa See ;.«•. d LJ p~p— Sara 1 AJoSeaa Caaruaan T Poaai f Lard ^ □ Map Page Pea. Ua*»al Mao Page See r UeerVa* Pa* Sears. SuMaoSoa. |La>a d war, |IS jlna. d Ma*. In d OaMani tt Psaal <~ Lattcaa r P Scat Ha ci,--■:: ;,:c--.. raVacraraaaPaoaSaa I 0. 1 M 1 309 Using ArcGIS Desktop 4 • Mapping and Visualization Navigating the layout Layout View has its own set of navigation tools that work on the page, contained on the Layout toolbar. They are distinguished from the data navigation tools by the page icon. You can work with the data in the data frame in Layout View just as you would in Data View—any changes you make in the Data View are reflected in Layout View. However, it's often easier to switch to Data View to work with the data and then switch back to Layout View to work with the page layout. Bk b* •» tax jam* Jm» •..us ■'.->• ■ alOUSJ ~3 4 V These tools work with the data inside the data frame— just like in Data View. Pan the data in the data frame j/1__ •mu nmitmnmiii uaroai -lOUa IX v I-"** jama laa gn> 9* □ atmm I«(X * 1 i • . n . » - . - ÍUai -B»-*«. j» u — - B '— ■ I; These too7s wonV 0 - B eataij motm j wrth the entire 1 B aUji * «• 1 page—they're Mji ■ 1 activated only in 1 Layout View. » o •j M u - -a-- -rf Pan me page 1 * *U in the display window. ^ ] * s ......i a»| 1 íii_ _i if Da-.' It . «7 a • a dl" d ■ / b a* » -on urn Layout toolbar Working with multiple data frames Multiple data frames are often used to display an area of interest in one frame and a reference map showing the location of the area in another frame—in this case, the data frames have different map scales and extents. Multiple data frames are also used to show different views of the same geographic area—in this case, the data frames have the same scale and extent. Add new data frames to a map from the Insert menu. A quick way to make a map showing different views of the same area is to copy and paste a data frame, then modify how the data is displayed in each frame. 310 alHJ«J « Select Data Frame from the »j Insert menu to add a new *- data frame to the page. g, to «- i—t S«o»- :«> 3.BIXfeex -1111*1 i', i'. i>. r\ * r *. f ,« :: ft * o N m Drag the data frame to move it; drag a handle to resize it. :- * A*e*»t... 1». 2 e □ B FoosDjteFreme □ 2oOTWtoleP.se 4? loom to Selected Benem * C< Qn*x % Copy OfWC . a XO*. DM J ES ■***> B ÍS ut70uo 1 .. ***» » Algn ► CMtnfcJte » BPleteorFlp » Saaa) | DeaFaaj | VrauBorGnca | ..1 imw- roaan X | S27S172n See OA* | f 11*51 * *| "«9Ce6r ř bGMCauno -OoPoK -f- Jl J 1 1 1 *—jb—at Moatt| 4S3ZJ1* r MPecaeege r Kaattata Ce-o. I «o» Right-click the data frame and select Properties to explicitly set the size and position. When working with multiple data frames, many operations, such as creating a legend, apply to the active frame The data frame that s currently active has a dotted line around it and its name is bold in the table of contents Click a data frame on the map. us.ng the Select tool, to make it active. Or. right-click the name in the table of contents and click Activate. a? qqgq .. fuí~3 a a a 2 at u • -1D15J Each da.a frame appears as a set of layers in the table of contents. e - B ea.a - B toodjxfrgor - _j tacpargo- B poaajatee Cieje f -3 311 Using ArcGIS Desktop Using map templates Once you compose your map. you can save the layout as a template. That's useful if you make sets of maps showing the same information for different areas, such as a book of parcel maps for a city. The template stores the layout (data frame arrangement, map elements, and so on) as well as any data layers on the map (so your template can include base layers you want to appear on every map). When you start a new map by opening a template, ArcMap reproduces the template as a new map document and keeps the original template document intact. Map templates have a file extension of .mxt to distinguish them from map documents (.mxd). 1MX IM «*•»» tje» □■- a* a— h -lalJSJ; 1 atrtDff__ I'. t. f- rt '"• I'! I"- '* l" :" K '"■ Select Save As on the File menu.... ....then specify ArcMap Template as the file type. ArcMap also provides a number of standard map templates. Yon can select one of these when you open a new map. mam OWO | Bx »•» CM ♦ turn. » mm MT 6>eaaB«o» IbWaaaa*. >»»—»■ >—1 »^ ■ ^ ■ —■ icm ■>■"»«■ w ,C>»anU< |C**a Ha— MM caanuaal d When you open a new map you have a choice of predefined templates. 4 • Mapping and Visualization Adding and arranging map elements \lap elements explain the information on your map to the map reader. They can also make the map easier to read. The goal in adding and arranging map elements is to create a map that's attractive and easy to understand. Too much information or too many boxes and other elements just obscures the information you're trying to convey. Map elements are essentially graphic objects—some more complex than others—so they can be moved and re-sized like any other graphics. You can modify how they're drawn using the properties dialog box for the element or—in some cases—using the tools on the Draw toolbar. Titles, text, and neatlines are simply graphics. Legends, scalebars, and north arrows—while composed of graphic objects—are derived from the geographic data in the data frame. Any changes to the data that is displayed will be reflected in these map elements. Map elements are added to the page in layout view, using the Insert menu. • no________ t*I^~3 a a a □-*(■• p-^-*> | 3 u *-ma\ Map elements are added from the Insert menu. L" II in!' I" - 1 it . □ - a * |« — dl" d ■ / I A- *• at' j.- It" IUHM Adding titles, text, and legends Titles and text appear on the layout as soon as you choose the option on the Insert menu. You can then modify the text using the tools on the Draw toolbar. If wizards are enabled in your ArcGIS installation, the Legend Wizard will appear when you insert a legend (to enable wizards, click the Tools menu, click Options, and—on the General tab—check the box to turn Wizard Mode on). The wizard steps you through setting up the legend. Otherwise, a default legend will appear on the layout immediately, and you can use the Properties option to change its settings (right-click the legend). tltmf A '«* 1' i To modify titles or text, type in m the box. then press Enter. Drag B the text to move it; use the Draw toolbar to change the font size. -Titles appear by default as the Grt*nvaiiey Layout name of the map file, centered at the top of the page. 1 T t . \ T 41.' It 1 — \ \ i \ "k an* A B !*»**"• gj North a/roar... — SjcataBar... mm Scab Tot... H EOura... a*ct... The legend content comes from the table of contents—layers that are cun~ently displayed on the map appear in the legend: to change the name of a layer in the legend, rename it in the table of contents. To resize a legend, drag one of its handles, or change the text size on the Draw toolbar. 313 Using ArcGIS Desktop Adding scalebars, north arrows, and neatlines When you insert a scalebar, scale text, north arrow, or neatline from the Insert menu, a symbol selector dialog box appears. When you select the element you want and click OK, it's added to the page. As with any other symbol you can customize north arrows and scalebars (click the Properties button on the dialog box). C puq* awl»e»cedaa —flu ' Pen aortal aaam PI_.r_J.n_or» V cm. m-, rCrwra-aaafill .ta^ 1 Ii-_h- 1 _h 6a> <*-«*« Pl_«l-ll 1 10 _j_u m--- II»-.»-;'.:«. J. ' Atmonc Sc«. 8a 2 Green valley Rood Hazard Flood Zone When you insert any of these elements, a dialog box or symbol selector appears—select the symbol you want and click OK to add it to the map page. 1 animate! eeuMO 352778 Usmenit _r_i_-1 • Ucraan I animator eauWl 353 778483 memi teteaan - Mean I wer. equal. 1.157 407407 feet laaua.real 1 «n Kall 0 219206 mail MneMhi 1 «v- equatt 385 802469 ,*n]i Mcraa.Yadi t urartaan una eouaH 0 uanoan una B«a~«>ca. -1 "aeSea. •( 01 Can! If your map has more than one data frame, when you add a scalebar or north arrow that map element relates to the active data frame (different data frames on a single map can have different scales and orientations). The Insert menu also lets you add picture files, such as a photo, a scanned image, or a bitmap logo, or embedded objects, such as a Microsoft Word document. You can double-click the object to open its application—any changes to the object are automatically reflected on the map page. 4 • Mapping and Visualization Modifying map elements Click and drag an element to move it; use the handles to re-size an element. Right-click any selected element to display its Properties dialog box. You can also use the tools on the Draw toolbar to modify the selected element—select a neatline or box and use the Draw tools to change the fill or outline. aaa d a DBB.i«i aga d.m iijix ^ Can — Ft •€» One ■u f <• -* *fjj__=j^__r m ♦ r— __ai_j J J. [ 4» • O Right-click any map element and select Properties to modify the element or set an explicit position or size. mWLWLWmWkWmWL Tea |s IBr)DDD3B v- man jmm im a* ■ B9BBDEB.fSlBBa D.Bi .'BUI ~3 J. *-%a Graonvtllay Rood Hanrd C/Zc/c /he rufer to set a guide. Drag the arrow to move the guide; right-click the arrow to clear it. ! i_:_-j ■• -■ □ ZoanlMaPwi S Go Back Too ■t J PajunOPn* Satyp.. B TogSaCrflN, Oa OrM CMaC CMM XMa Daata a* O unaaaaaicanaro Q Ioo.to Saarn B*1 » tMda. ► ■tj a » Right-click anywhere on the layout to access guide, ruler, and grid options, including snapping. Raaai | CAD | TaaaOtCafM | Oau Garaaa- | DataVaa LaaUVIa- | rmi.ian ChaoH ta» |Ou «0* •* joj map •*•*» »aj im rt Lajpoii ■*». Appaaanot T 5WCT«rtam~».-7iO>.are«OM 17 ShKKKiban C Slo-luajMaoa C Sto-tncalguan P Staa-aaaSaOtaacundacMoauaaaa Unk |KM< Tha oa! «* in oa aaa iW a>aong a «x> Ira ka r. a "3 ■ / b a - »• v- j., 11 *l Using draft mode Draft mode displays the map elements (except for text) as empty boxes containing the name of the element, so the display refreshes faster. Using draft mode for arranging elements may be easier and faster—at least for an initial layout—especially if your map is complex. Draft mode also provides a schematic view of your layout. -iDJJSJ •»«* *-»—' : 2 sf a 6» t e x I «i -. « I ~3 J. *-> I □ Iff GrMnvtfltry Hood Haard I Zo-i iLa.T.. , H A • V- j.. Right-click anywhere on the layout to toggle to draft mode (or use the Toggle Draft Mode button on the Layout toolbar). Toggle Draft Mode Navigating the layout As you work with the map elements, you'll likely want to zoom in and out, and pan across the page. Use the special page navigation tools—rather than the data navigation tools—when moving around the page. These are located on the Layout toolbar. <• u> !— »aal ja»» !oo» ajaa. Bag - B itr-tl -iOJJSJ □ a? a •> •* • " • * I .....P ... P,......tt.....JL......E ~J -J. a-ho v Graanvallay Rood Haiard I '« -"A- Zoom Page 3 ■ / b «V" * * J.' «V* root -wo- Use ffte Zoom Page tool to zoom in on the layout page (as opposed to zooming in on the map data in the data frame). Legend • Public buildings Streets Flood zone Parks IIÜ-3 ■ / b A- »• J.' i- 316 317 Using ArcGIS Desktop 4 • Mapping and Visualization Creating a graph Graphs are created from within ArcMap, and are derived from values stored in a layer's attribute table (or other table that has been added to the map). Graphs provide a visual summary of attribute values and can add useful information to your map. Using the Graph Wizard to create a graph Create a new graph from the Tools menu or open a table and use the Options button. 3 il *■ • n ■■? H >^»«N*ca... r~i .. .J.___- _1 GMT fcWffl 9 !*■» lau! add fait.. Iir*IJf*t*.C*i '»u.MliCcW«»! HHl'j ► C »afcadCn*. Mparts c»=t.. » rm Ml' Sil Iwanrarjc.... B». ****** |u—^ d 300.000 ■<> ... v zi Marat) 3 »0000 moudo 3 ED000 ■ MM |o»> 3 >r •ranaat M 3 5 S h |aaoaa ■=1 1 j a bH r MtfnbraM T 9o.abak Cobr. Iraarh^l«. 3: '»000 1 «0.000 an**: «**»*> bar*. »•«.» r 9>»u •gnm. oar "1 J. V , ' iirrrr. Right-click the graph window title bar and click Add to Layout. This menu is also where you print, save or export the graph. You can move and resize the graph just like any other map element. Modifying a graph To modify an existing graph, right-click the graph window title bar and select Properties, or Advanced Properties. Saar |appaaaa»| JX ■ - Laarflaar (*> pa*» J**rvr. •aaAatt Isaor.ma 3 IhMlaXnraD |oarn> dl— 3 i aba rait | 3 ""Mm |l* 3 WBUia |Booro 3 T MdBngaW "~ taataktaarts) Ohr. JNat-h-thLaya 3 Baa* |»acunr> 3 «afcaabaw». I9* d r »oabcrcki m -| Right-click the graph window title bar and select Properties, or Advanced Properties. „i Idrtfy... Graph of park area Pnnv. Ouplcafe CopyatGrsphJc Add lo Layout Save... Export... JJ«J - Saaa i VatedB« - IxV larVal icaBa - Chal 'anal 1 Sur» | Hab 1 Garad F—|Saa 1 LatAai Retraai I co Aas a-- 1 Padrnda ; &«oart_ 1 Bona*** 0«r>R« DnahTop . IK, LageM Paral Bona 1 lit baa 1 C Cc*»£a* 1 '-H 5 Cat&a»Scki Pay, Wak -,D" i-r Use Advanced Properties to access all the properties of the graph. Properties is the same as the Graph Wizard, only presented as a dialog box with two tabs. 319 Using ArcGIS Desktop Managing graphs The Graph Manager lets you access the graphs associated with a map. Click Tools, point to Graphs, and click Manage. >k [« r— tm* irncar. I** tfnda. 0M> Data* r .. • ' " Sreot. > - B >»t/« —scow ► 9 B mmtjn í. fttliYO*. - □ mramjmtmr rV. -<«•s - £|>ajBBa --g**- — » - B l-UoVe-e ft %B«e.... □ from » &«»'■■ -*>•» ► 1 -3|iS-3 > / b A- *- J.' A' "•nil i"om 1"« 'j J" tf 'it. I*— |i^.^«*(,) j Open Utt-.. rAofcaai Cmmam Right-click a graph in the list to access the management options, including open, print, and export. Beneee pah !M urn- *>mmm%... 4 • Mapping and Visualization Creating a report Reports in ArcMap let you list—and optionally summarize—data contained in tables. As with graphs, they are derived from the fields in a layer's attribute table or other table that has been added to a map. ArcGIS Desktop also includes Crystal Reports" for creating presentation-quality reports. Creating a basic report in ArcMap The basic process for creating a report is to specify fields to include from a table, using the Fields tab on the Report Properties dialog box. Access the Report Properties dialog box from either the Tools menu or from a table's Options menu. _ m b* e- imt tmm i«a fro B* .JOJJSl Fattlurowtl Scrtrcl Sum»|Oa*,| uyi<« (♦o-U.rdrJcn Him- Select the layer 6r table, then use the arrow keys to move the fields you want to include to the right column. ■ IAbu eox 403 e»* 65.i When you click Generate Report, the report is displayed in the Report Viewer window. ■eJflJJSJ1 Name Maintenance Shape Area Alder City 73484.56915 Birch City 34471321375 University City 77210.771434 Foothills City 27331.25049 Cherry City 14961.733144 undeveloped City 1289.122439 undeveloped City 1123.519487 Dogwood City 886.05369 Foresight City 17377.921397 FJm City 37024.207885 Longview City 71309.318373 Iris City 128445.853829 Hilltop City 217061.309323 Oreenhills City 437531.817073 Juniper City 61469.920854 undeveloped City 158828.008152 J. 320 321 Using ArcGIS Desktop Once the report is generated, you can print or export the report, or add it to your map layout. if« t»ot sot Co» a^i On the Report Viewer you can print the report, export it to PDF or text, or add it to your map. Name Maintenance Shape Area Alder City 73484.56915 Birch City 34471.321375 University City 77210.771434 Foothffls City 27331.25049 Cherry City 14961.733144 undeveloped City 12.89.122439 undeveloped City 1123.519487 Dogwood City 886.05369 Foresight City 17377.921397 Elm City 37024.207885 Longview Oty 71309.318373 bis Oty 128445.853829 Hilltop City 217061.309323 Qreeohills City 437531.817073 Juniper City 61469.920854 undeveloped aiy 158828.008152 When you add the report the view switches to Layout View (if you're not already there). Once the report appears on the layout, you can move and resize it just like any other map element. Use the tabs on the Report Properties dialog box to customize the report. 4 • Mapping and Visualization This tab lets you group sections of the report by category. Choose a field containing the category values. Title Group Title Summary — You can sort any of the fields. - Park Mamtorv ■SM Noreet Meeeri.—iT Arrs cm M> dry 12*445.13 ' 't> 77210.75 Alder. nr. 734*4SO JlOpCT 61469 M Fl tu m 37024.20 Birch cm 3447135 Foodaii c,t> 2733132 forcnobt City 17377.96 Cherry dry 14961 SO undeveloped O*/ 1219 01 leidev doped Ck) 112147 Dogerood oty 0407 SMer.Oa» Cm S O enenui COO/1 Orcrxeelli Coenty 437531.92 HuTtop Coty 21706IJ7 undeveloped CoeBy 131127 91 Loogvica Coonly 7130923 SMee.Aae Ceere S Update Settings -Click this button at any point to expand the dialog box window and see a preview of the report You can continue setting parameters, but you'll need to click the Update button on the preview panel to see the changes. Numeric values can be summarized. The Display tab is where you set the parameters for how the report will look. Click in a Value box to change a setting. K* jnuuj Change colors and fonts by clicking the button at the right side. 322 323 Using ArcGIS Desktop 4 • Mapping and Visualization Using Crystal Reports The report tool included with ArcMap is meant for creating basic reports that can be added to a map layout. You can optionally install Crystal Reports for creating presentation-quality reports (however these reports exist as files outside ArcMap and can't be added to a map layout). The Crystal Reports wizard (if installed) is available from the Reports option on the Tools menu in ArcMap. f> 0* l» tmm Soko-n loot rfr_- _*> Data* l f "*■"*• Iho dM to r_» *po> «*• D» Mo on eor«»_&ooDou6o»j E V-cnoo otopi _;eon-_o, n* r Uott-IODMOiOlooriW J___J. Creating relief maps and perspective views Shaded relief maps and perspective views are useful for visualizing features that have height above or depth below the earth's surface. The tools to create these maps and views are included in the ArcGIS Spatial Analyst and ArcGIS 3D Analyst extension products. Creating a shaded relief map Shaded relief maps are usually derived from raster elevation surfaces, such as a digital elevation model. You create a hillshade view from the surface using tools in the Spatial Analyst or 3D Analyst extensions (available via Arc Toolbox). The appearance of the hillshade layer depends on settings such as azimuth, altitude, and z-factor (the Hillshade tool provides default settings). You then display other layers on top of the hillshade—the classic shaded relief map uses an elevation layer symbolized using a color ramp and displayed using a transparency setting. Use the ArcToolbox Hillshade tool to create a relief map from the elevation surface. 6* to> *»■x-" _™- •*» DcJB* e * * * . -r—3 Then display the elevation surface on top of the hillshade, using a transparency setting—right-click the elevation surtace in the table of contents, select Properties, and click the Display tab on the Layer Properties dialog box. Set transparency here. 324 325 Using ArcGIS Desktop Creating a perspective view Perspective views are created in the ArcScene application provided with the 3D Analyst extension (available from the ArcGIS program group on the Start menu, if 3D Analyst is installed). You add datasets to a blank scene, similar to creating a map in ArcMap. To add a third dimension to the display, you specify an attribute associated with each feature that can be used as (or to calculate) a height or depth for the feature (known as a z value). Z can be a height or depth measurement—such as an elevation on the earth's surface, the height of a building, or the depth of a pipeline—or it can be a quantity, such as the population of each county. Terrain views require an elevation surface, upon which other layers can be draped. These additional layers don't require z values—rather their elevations are established with reference to the underlying elevation surface. When creating the view, you choose the viewer's angle and altitude, as well as the vertical exaggeration and illumination (3D Analyst provides default settings). Once you've created the initial view, you can navigate by panning, rotating and changing the altitude, and zooming in or out, to create the view you want. 4 • Mapping and Visualization You can create 3D maps by extruding features, such as counties extruded by population or building footprints extruded using building height. The attribute values are used as relative heights in the view. You can also combine perspective views with extruded features (to show buildings on a hillside, for example). Open the Scene Properties to set parameters for the perspective view, including vertical exaggeration to make the difference in elevations more apparent. -lnl»l • *m mmm gt> D.BS Jo* <*>i» m »*•*«- :: W D OM Open the Layer Properties for the elevation surface (by double-clicking the layer name), and specify the elevation layer as the one from which to obtain heights (on the Base Heights tab). Ommm\ Sara| lmn\DaoU>| FmBt | JonlRHa B— >te*» |RMons| r UaacnM.la>ap» P J m 31 1 -J Omwé 1 Sojc 1 SAcHn | ChO* | S, •Mb» 1 rmk 1 P -S^rd^onmmjhtook1*0" ""'***■ ""moirm Lřairto PQP2QQ3 J Jj J Open řhe Layer Properties for the layer you want to drape and specify-on the Base Heights tab—the elevation layer as the one from which to obtain heights. lisí -n ir nim----------, »epreo~— -3 j] To extrude features open the Layer Properties dialog box and—on the Extrusion tab—make sure the box at the top is checked. Then enter the field name in the box. Or click the Calculator button to open the Expression Builder and pick a field name or create an expression. Specify an offset to slightly raise draped features above the surface and make them easier to see. 326 327 Using ArcGIS Desktop Creating dynamic views and animations Dynamic views and animations are great presentation tools—especially when presenting geographic information to audiences not used to working with complex maps. Globe views are useful for providing context for your area of interest, as well as for presenting global geographic phenomena. The ArcGIS 3D Analyst extension contains two applications that let you create dynamic views and animations—ArcScene and ArcGlobe. Both applications are available from the ArcGIS program group on the Start menu, if the 3D Analyst extension is installed. You can also create animated maps in ArcMap to show a changing view of your data. Navigating ArcScene and ArcGlobe Once you've created a view in ArcScene (see "Creating relief maps and perspective views'), use the Navigate button to change the viewing angle and altitude, or use the Fly Over tool to move continuously through the scene. Navigate fly/Walk over Joggle Globe/Surface Mode ■r~ir~J''»gt*»-**»»"«»M jaa > u * * ■ * * • ° w + - I * e « :: \.*<* ■ o « ■ * #. i Navigate, flyover »■•»" I** «W mlBlMl 1 □ e£ H a »• i P > +-»o««aa:: :: 3 -' > o m Tne Navigate button lets you change the viewing angle and altitude—hold down the left mouse button, and drag the cursor. In fly mode, click anywhere on the scene to start moving; left-click to speed up. right-click to slow down. The Fly speed indicator in the lower left comer of the window gives you a reference. 4 • Mapping and Visualization In ArcGlobe, a shaded relief image of the earth's surface appears by default when you first open the application. The additional layers you place on the globe can cover any geographic extent—they don't have to be global. ArcGlobe has two navigation modes you toggle between. In globe mode the navigation tools let you spin the globe to view different portions of the earth's surface. In surface mode, you navigate across the surface, similar to navigating a view in ArcScene. ArcGlobe also lets you walk through the landscape, as well as fly over it. Surface mode lets you travel over the surface. Capturing a navigation path as an animation ArcScene and ArcGlobe let you record the path of your navigation and play it back as an animation. You do this using the Animation toolbar (click the View menu, then select Toolbars and select Animation). Press Record, then start navigating through the scene as described above. The navigation is recorded as you move through the view or spin the globe. Press the Escape button on the keyboard to stop navigating, then click the Stop button on the Animation Controls to stop recording. Click Play to replay the animation. 328 329 Using ArcGIS Desktop 4 • Mapping and Visualization Creating an animation by capturing individual views You can use the Animation toolbar to create an animation in ArcMap, ArcScene, or ArcGlobe by capturing a "snapshot'' of each static view (the map. scene, or globe view) in a sequence (these are known as keyframes). You then play back the captured frames—the interim frames are automatically filled in to create an animation. You'd use this method to animate panning across or zooming into a map. ■Capture Use the navigation tools to set up a scene, then click Capture on the Animation toolbar to create a keyframe. When you're done capturing frames, use Play on the Animation Controls toolbar to play the animation (zooming on a topographic map draped over a surface, in this example). You'd also use it to capture a series of static views in a scene or globe view (rather than capturing a navigation as described earlier), and then play them back. This would let you animate, for example, changing layers on a globe—from shaded relief, through country boundaries, to population density. You can also animate changes to the map. scene, or globe display—for example, you might gradually increase the transparency of one layer to reveal a layer beneath. To do this, you create the keyframes by setting the display parameters and then creating a frame. Click Create Keyframe on the Animation drop-down menu. Set the Type to Map Layer (ArcMap), Layer (ArcScene), or Globe Layer (ArcGlobe) and select the layer you'll be animating (the Source object). Then click New to create a new track. Set the layer properties for the first frame (for example, you might change the transparency or symbology in the Layer Properties dialog box), and enter a name for the frame. Then click Create. Change the layer settings, enter a name for the next frame, and click Create again. Repeat this process for each frame; click Close when you're done. Use Create Keyframe to animate changes in the properties of a layer (such as symbology or transparency settings). Click the New button to create a new track; then change the layer display settings and name each keyframe before creating the frame. All the frames will be contained in the track. When you play the animation, the interim frames are created. In this example, the transparency of the elevation layer increases to reveal the hillshade layer beneath, creating a shaded relief map. To animate a sequence of layers, add the layers to the map and select Create Group Animation on the Animation dropdown menu. When you play the animation, the layers will display in sequence (from top to bottom in the table of contents). You'd do this, for example, to create an animation of the locations of different types of crimes in a city, by police beat. Use Create Group Animation to animate a sequence of layers on your map. □ e>Q« * * I'""' ' "1 li 01» iz» «* *» it lip * •■•»«_!» ft a a b j _»»■. i4 330 331 Using ArcGIS Desktop Saving and modifying an animation The animation is only active during the current ArcMap, ArcScene, or ArcGlobe session, unless you save it. You can reload a saved animation to run in another session. Use the Animation Manager to edit animations (to remove unneeded keyframes, for example). You can also export an animation to a video file (.avi or .mov) that can be played in other software programs. + -iliv«.«i9:i::nl*iij» Use the Animation drop-down menu on the toolbar to Save an animation (or load a saved one). -I15J C—»ll»)t.ii PmM 86836568 r—Hl«*« P«m»ufc» 85704 403 r—1 ■»/»■■ fmoMMw, 95701403 Itmr \mmtZ Am* 931456574 146388 7100» ' 831794561 »4270 2100» 8917949(1 384 270 2100» ' The Animation Manager lets you edit the animation. 4 • Mapping and Visualization Creating a time series animation \rcGIS Desktop lets you dynamically display—and create animations for—data that has a time element. You can animate the path of a feature that moves through space over time (such as a vehicle or a storm), the occurrence of events or phenomena over a period of time in a region (such as earthquakes, or crimes), or the change in static features over lime (such as counties that increase or decrease in population each year). Time series animations can be created using the Animation toolbar in ArcMap. ArcScene, or ArcGlobe. The ArcGIS Tracking Analyst extension provides additional options for displaying and animating temporal data. Creating a time series animation using the Animation toolbar Any layers you've added to a map in ArcMap, a scene in ArcScene. or a globe view in ArcGlobe can be animated using the Animation toolbar, provided they include a field defined as Date field type or containing date and/or time data as a text string in one of several standard formats. Open the Animation toolbar from the View menu (point to Toolbars, and click Animation). You first create a new track containing a start keyframe and an end keyframe. mm. -ma Mil m e Co.— 1 »IM« a mwmtm mmlm... wm- " —— tmm Set the Type to Time Layer Select the layer to animate Click New to create a track The keyframe name is automatically filled in Click Create to create the start keyframe To create a time-based animation using the Animation toolbar, click Create Keyframe on the Animation drop-down menu. Then create a new track and the start and end keyframes. The keyframe number automatically increments Click Create to create the end keyframe 333 Using ArcGIS Desktop Next you modify the track properties to specify the field containing the date/time data, specify the format (if the data is stored as a text string), and calculate the time values for the keyframes (this is the range for the automation). You can then modify the keyframe properties to control the playback. mm taken. 1» ..... -, □ si am e - « • ♦ [Hssjsr ? I la it aii | - - a - B vtryt* E5H3L *jj «—a 5 1 OS-*- rjoaveee.. .Jo— * tueigefi'r'f. . S leateekt. ~3 Po""E » ' B A- J.' JL- Tuck. |ln.V«.| r We»ar*eaduolta. T*» Alactae lot. fegnTne Enjlea TJXJ Kejeeeee | Tuck. | Te»Me-| lar.e~.dlw. |Tn.Lw« t] eilw* jtauaull Ueej HeaalT— | C Dea»juelB.iieaee»»n> Secomk • Hem t|*| On the Keyframes tab. alter the time interval and units to use, based on your dateAime field values. Use the default start and end times, or alter them to shorten the animation time. Use the Animation Manager to specify the settings for the animation. On the Tracks tab. select the newly created Time Layer track. Then click Properties. 11*1 Ganaall AoePneU Te»Tuckfteeeee. | *** |o»TFt»« irrr+eec© nneevtcwat. aj| -( .,. m „ •*e»ej»e>'ii a-« .«*-. T to-BaangaatitreOia*. On the Time Track Properties tab, specify the field containing the dateAime data. Use the drop-down menu to specify the format of the data (if the field is defined as a Date type, you don't need to specify the format). Then click Calculate Times. 4 • Mapping and Visualization To display the animation, use the Animation Controls dialog box or the Time View tab slider in the Animation Manager. Use the options on the Animation drop-down menu to save the animation or export it to a movie file (.avi or .mov) you can play in a media player. ii*i U*mm\Tuck. '-eV«. | TneScae -J ' <"> ♦] rvn«eMl«Mn> DjeMej* k ■ s D' A __sOIVejJ _| t-JI'O J B I D A- *'ml'±' J cam »e mrn+tr. mm*w «aag ei-.ni.ir* irmiBii Use the slider on the Animation Manager Time View tab to play the animation. Or open the Animation Controls dialog box and use the Play button. Ineierenucfci 0 SMuTaaj ■ - 00 OS 00 10 1.1 DeMa latere. | AsHM | 334 335 Using ArcGIS Desktop 4 • Mapping and Visualization Creating an animation using Tracking Analyst The ArcGIS Tracking Analyst extension allows you to display temporal data dynamically or capture an animation. Tracking Analyst accepts a wide range of date/time formats. It also has advanced options for symbolizing temporal data viewing animations, and interacting with temporal data (for example, it will capture a live data feed to track objects in real time). The Tracking Analyst—if enabled—is accessed from inside ArcMap, via the Tracking Analyst toolbar. You load a dataset containing a time element to create a temporal dataset using the Add Data button on the Tracking Analyst toolbar. jaUsi S—Io» onto. B* 2 a* b m * <• »,|iulnTir~ iaab:bb••:«"••• - -I 3 • - a 3 J. v T,«**«*M - (?) 0 % Use the Add button on the Tracking Analyst toolbar to open the Add Temporal Data Wizard. m mi 1 ttniuamanisuiitiwHi * Ahalwceaiwe'aiaBico/.afB.jaia^aaaa J o o m IWINDSPEED PRESSURE OAIETIHE SSB tropical storm 985 hurricane1 979 hurrcakei ■ X- raroi storm naVOLSIOM 1003 tr0pol0cprsssoi 1003 tropcal depression iom trcwcal depression i0d3tropcal depression 1003 tropical depression 1033 tropical depression 08.1321 995 '9000C 03/03/1995 00OCO 08/03/1» tOOOO 08/03/1995 1J0O 00 08*33/1 S95180000 08W1995 00000 "OSVOt/l 995 60000 OVOm 995120000 38W1995 18 05 00 08/05/1995 000 00 oa/ovKscoao 08/05/'995 1200 00 OMJ5/19SS160000 It ShaafZT Sa»oej| Paotrti lOoudTOl S*cwll 2 OaaniukMiaainalk 3 I>ooMreiaUcaunrorad UMt*t*mm*m*m0m SaOllLato>r»WI (03/03/1995 00000 wh» . r> n>o oca. a r> a*,' |«m'»v» 3 /Any geographic data having a date and/or time stamp can be used with Tracking Analyst. ~3 FoMtianlbtuad iMMtMltaahWitMAio^Sarv UosAdorgTa^oaDei jajaj tktsa- feaat jar i mi loob ffro*. t** □ o* b « in a a »«»prai 1101.119 ■ • a "3 i£ A- «r? s IT" O » «5 • »-*> #>».. o * D^rs^Ti »~a- K nave,*— - ® <3> % The wizard asks for the field containing the date and time data, and the format it's in. O aXa-h Stat |OMn/1S95120O0OAM Q ml « I ■ I » I ml r Law "(3 Ertf |11*B/l995120000 AM [3 7777^77 Faaa. Oowr... I Saowba t«n»aa ■ aaaaot S« t. gajtac* lett 1'UaaOa nMEaarfc J l'» |Daa l| PaSacgrc T HaktHl mm ~3fi~-3 ■ / b A- »- j.- j.- There are a number of options for displaying the data—you can animate the time series, drag the red bar to manually step through the frames, or pick a specific date from the calendar to see the conditions on that day and time. [i | ii ii mkmm i af B B • " " ' * -iDJ«J "7J k7 MMtfitoiiiWoaniay Qujrtam C/ataaaoXn 7"he Symbology tab on the Layer Properties dialog box lets you control the display —for example, color code crimes by police beat. llaVjlui 101 ATI/1938120000 AM [3 Caaa* |c1/l5"99809X18PM ml 4| ■ | » |m|r law s*— Drag the red bar to step through time, or use the playback controls. SatapUjeackMW "3 fT5— [5^ Use the calendar to see the conditions on a specific date. Gaaall Saaca| iamii IiaLiaja \rmm | 0afcaanOga»| Twetwl Aowm| Shaw: '■(.iH'-ni-*««c-lfM-a- 3BJJJJBJJ □ *earad tan can DwOnnMi ?r . ** TlaH»Wpt------—-- P—l- Zl Ua«.|0». J w». r. wan »«" • "0 aodfcaiDn » h» »a aasoa — ta tu on> row a^rtt laVg taa ta eae *ato" M t» »an ton (to.™ t»i» aando. 31 sea Steoe | O, | C— | -awa, 1 The Symbology tab also lets you control the time-based display—for example, whether features stay on the map as the animation plays, or only appear during a brief time window. Use the Animation tool to create and save an animation. Animations are saved as a movie file that can be played using any media player. -LBS m 10 mm ia»i imm :«• »»»■ M Q at B 4 e > r> ■ m ]<•.*"*> 4 a- #P 3 - - a - HaCtOli * MaJrCaail ■Bitin ^ aja>cacaBj ft 3j ♦ ©«>| oaucaai Saanat. DMRtrgt 1 '/ 1/1995 120000AM d •' V 9« '! K ■ (• Oaaitmray FtaaaCcu^nOOOOaa^ 1 - (0- J | CataaM 3 CaraooaEooaa | WidTi |c WO-«P at^VftaWaC«y»_4T ...... ■ - Skat |12^1/199S120000AM Q Ciaart |10w19960<15»2PM E— |l2^rt/l999120000A m| 4 I ■ I » |m| T Low Sh-. ...............^77; Faaai 01 3 T3 Once a temporal layer has been added, use the Playback Manager to run the animation. S*o*>cect>««"U«w aaantf S« ra lAabaot uai i. U-a-eoe-aari ■ •J |100 3 Pa-SeoKl T Hcaraauaaa Open Animation Tool from the Tracking Analyst toolbar to generate an animation and save it as a movie file that can be played in any media player. 336 337 Geographic Analysis An overview of analysis in ArcGIS Desktop • 340 Working with tabular data • 348 Exploring tables in ArcMap Exploring tabular data in ArcCatalog ArcToolbox tools for working with tabular data Adding fields and calculating attribute values • 352 Using ArcMap to add a field and calculate values Using ArcCatalog to modify a table ArcToolbox tools for working with fields Joining tables • 355 Appending tables using a common field Relating tables using a common field Appending tables using spatial relationships Selecting a subset of features • 360 Selecting features interactively Selecting using feature geography Selecting using feature attributes Specifying the selection method Working with a selected set • 365 Saving the selection Exporting the selection Other places the selected set is active Extracting a portion of a dataset • 369 Cropping feature datasets Splitting feature datasets Extracting raster data Sampling raster data Overlaying geographic datasets • 373 Overlaying feature datasets Overlaying raster datasets Measuring distances between features • 379 Measuring distance on a map Calculating distance between features Buffering features Calculating distance over a surface • 383 Creating paths and corridors • 386 Modeling a path over a surface Modeling a path over a network Allocating areas to centers • 391 Creating areas around centers Creating service areas using a network Modeling flow • 395 Modeling flow over a network Modeling flow over a surface Creating raster surfaces • 398 Creating an interpolated surface Creating a density surface Creating a TIN surface • 402 Deriving data from an elevation surface • 404 Calculating surface volume • 409 Analyzing visibility • 412 Measuring line of sight Creating a viewshed Measuring solar radiation Analyzing spatial distributions • 416 Calculating the center and dispersion Analyzing directional trends Identifying patterns and clusters • 419 Using ArcGIS Desktop An overview of analysis in ArcGIS Desktop Types of GIS analysis GIS analysis covers a wide range of tasks and applications, from simply calculating values for a new field in a table, to modeling complex processes such as the flow of water over terrain or using statistics to perform spatial pattern analysis. The ultimate goal of analysis is to get more information from your data to make better decisions. ArcGIS Desktop lets you perform geographic and spatial analyses on a variety of datasets: tables, feature classes, rasters, terrains, TINs. network datasets. and geometric networks. The tools to perform these analyses are found in several toolboxes in ArcToolbox, as well as on specialized toolbars in ArcMap and in several ArcGIS Desktop extension products— ArcGIS Spatial Analyst, ArcGIS 3D Analyst, and ArcGIS Network Analyst. The GIS analysis functions in ArcGIS Desktop can be grouped into several fundamental types of operations: tabular analysis, data extraction, overlay analysis, distance analysis, surface creation and analysis, and statistical analysis. Tabular analysis Tabular analysis includes basic functions such as sorting or finding the frequency of values, modifying tables by adding and calculating new fields, and establishing and managing relationships between tables. Parrs*" Potyoort Parra.» Parra.r. Petra** 2638 2613 1470 2632 901049040 t*. SortiKondng 37243 9043 297789086 SuitMrB»... 22862 KM £ I 21541 OOOO 213150636 J BraM Crfculator.. 21233 1782 TumRBkJJJt Calculating a frequency distribution of Fn^ttiurintackm, values is an example of basic tabular x r^R,,,. analysis. Data extraction CLAM. uaae 5 • Geographic Analysis frequency Dislnbution im 216 432 648 864 1080 1296 Roads have been clipped by the study area boundary to create a new dataset of roads that fall within the study area. Overlay analysis Overlay analysis allows you to combine layers that share a geographic extent (or at least overlap) to create a new layer that has the attributes of the input layers. This lets you find relationships between features on different layers. You can, for example, identify features that meet some combination of criteria—to site a new facility or subdivision you might overlay layers of slope, vegetation, and soils, and then select locations that are on level terrain, not forested, and on buildable soils. ■ > a • ■ *i -Ii*«»-»'-'*' . -n " m • - , /• - -S|r\r ^r&S&JS/^L^L-H .a — mm Data extraction is a component of most analyses. It includes extracting a subset of features for analysis or clipping a study area out of a larger dataset, as well as dissolving or generalizing to create fewer, larger features from many small ones. Parcels that fall completely or partially within the flood zone have been selected and sa' as a new layer. »»■■»" J*""* V a***- s» □ e> a • a — * I 1 j. 4L • n *? * « - . .r~j - - a «1 4 a ■ 1 1 z: MM mu aOeaa iniH- __ *—.- k o- ,.. : r*~ JM j ■ / I »• ••at-*- ■rera». ■ »|m| Sre-fiT Seacara | Beecra. BaJetJlrKSefcoWl Owct -| ~3F°~3 ■ / i A» »-at- .1- Use overlay to append fields from multiple layers to find features meeting specific criteria. 340 341 Using ArcGIS Desktop Distance analysis ArcGIS Desktop includes a variety of distance analysis functions that allow you to measure the distance between features, find the features within a given distance of other features (buffer), create a continuous surface of distances from a set of features (such as distance from roads or streams), or find the optimum path over a network of linear features (streets or pipelines) or over terrain. 5 • Geographic Analysis A buffer of streams A surface of distance from streams The shortest path between three stops on a street network Surface creation and analysis Surface creation functions let you create a surface of spatially continuous values from a set of sample measurements or observations (interpolation, or density), or create derived layers from a surface (slope, aspect, contours, or a hillshade view). Surface analysis functions include specialized tools for predicting the flow and dispersion of water or other materials over a surface, calculating volumes (such as cut and fill), performing visibility analysis, or calculating the amount of solar radiation received at each location. 3.41 *2° 0 ° 228 • 429 O 4.47 O 4.00 ,„ ° 0 2.68 0 425 o 341 0 4.35 O 5.55 • 5.55 0 3.96 O Statistical analysis Statistical analysis ranges from tabular statistics, such as finding the mean or standard deviation of a set of values in a table, to functions that measure the characteristics of a distribution of geographic features (such as the center or directional trend), to spatial statistical tools that identify patterns formed by features (or their associated attribute values) and let you determine the probability the pattern did not occur by chance. •«I • The standard deviational ellipse for burglaries (showing the directional trend) Summary statistics have been calculated for each landuse class showing the number of parcels in that class, the size of the smallest and largest parcel, the average parcel size, and the total area in the class. A continuous surface created from a set of sample point values. The map on the right shows statistically significant clusters of census tracts with many senior citizens (orange) or few (blue), calculated from the percentage of seniors in each tract (shown in the map on the left). A surface of road density—darker orange indicates higher density Line-of-sight analysis—green indicates areas visible from the observer point. 342 343 Using ArcGIS Desktop ArcGIS Desktop analysis tools ArcGIS Desktop provides a range of tools to perform analysis operations. The tools described in this chapter are some of the most commonly used—there are many more tools available. Many of the tools are generic and can be applied to any application or industry. Some are more application specific (such as functions for analyzing groundwater movement). Most tools for analyzing vector (feature) data are provided with ArcGIS Desktop (if you have an Arclnfo license). Most tools for analyzing surfaces (rasters and TINs) are included in several different ArcGIS Desktop extension products. Tools for analyzing features ArcMap functions for analyzing feature data include tabular analysis, available from the menus associated with table views, and some data extraction functions, available from the Selection menu. Arc Toolbox functions include tabular analysis, data extraction, feature overlay analysis, feature distance analysis, and statistical analysis. The Utility Network Analyst toolbar—included in ArcMap—allows you to trace flow over electric, water, or other utility networks. You can trace upstream or downstream, find loops, find connected features, and so on. Network Analyst, an extension product, provides functionality for distance analysis along connected linear features such as in transportation networks. Tools for analyzing surfaces Three ArcGIS Desktop extension products—Spatial Analyst. 3D Analyst, and Geostatistical Analyst—provide tools for creating and analyzing surfaces. While they include some overlapping functionality, they were each developed to meet the needs of analysts requiring specific capabilities for their application. Spatial Analyst includes tools for analyzing the relationships between rasters. These can be rasters representing surfaces of continuous values (such as elevation, slope, temperature, or precipitation), or rasters representing contiguous areas (such as soil types, vegetation types, land cover, or geology). Along with tools for managing and processing rasters. Spatial Analyst includes functions for raster data extraction, overlay analysis, and distance analysis, as well as for surface creation and analysis. 3D Analyst provides functionality for surface creation and analysis. 3D Analyst also includes visualization tools for creating perspective and globe views (see 'Creating relief maps and perspective views' and 'Creating dynamic views and animations' in Chapter 4). Geostatistical Analyst provides advanced functionality for creating continuous surfaces from a set of sample points. It also includes tools for interactive data exploration to aid in the selection of appropriate interpolation parameters. These are accessed from the Geostatistical Analyst toolbar in ArcMap. The Geostatistical Analyst toolbox (in ArcToolbox) contains a set of geostatistics tools that can be used in scripts or models. 344 5 • Geographic Analysis This table summarizes some common types of GIS analysis and where the specific functionality is located in ArcGIS Desktop. ArcMap ArcToolbox Tools Network Analyst Extension Spatial Analyst Extension 3D Analyst Extension Geostatistical Analyst Extension Tabular Analysis Sort field Summarize by other field(s) Field summary statistics Value frequency Field summary statistics Data Extraction Interactive feature selection Select features by attribute Select features by location Clip/Split features Update features Select features by attribute Extract raster cells by attribute or geometry Extract raster cell values to point features Overlay Analysis Feature overlay Combine rasters Raster overlay Cross-tabulated areas Distance Analysis Measure distance tool Select features within distance Utility network trace Buffer features Point-to-feature distance Allocation Shortest/ Least-cost path and allocation over a transportation network Euclidean and cost distance Shortest and least-cost path and allocation over a surface Surface Creation and Analysis Surface interpolation Surface density Surface analysis Surface interpolation TIN creation Surface analysis 3D visualization Advanced surface interpolation (kriging) Predictive surfaces Statistical Analysis Geographic center/ dispersion Pattern/Cluster analysis Directional trend analysis Raster cell, neighborhood, zonal, and multivariate statistics Exploratory spatial data analysis 345 Using ArcGIS Desktop 5 • Geographic Analysis In many cases, you'll combine different types of analysis to perform more complex analyses. A suitability analysis, for example, may involve distance analysis and surface creation to generate input layers, data extraction to clip out the study area, tabular analysis to reclassify feature values, overlay analysis to combine layers, and data extraction to select polygons meeting the criteria and to dissolve the selected polygons to create the final areas. The GIS analysis process Gnatcatcher Habitat Suitability O'SsCve polygon POuodft-'W based on wtcft eaMtf tone mey belong to Oeate agiepii polygons trorr. Txjttpaf polygons Se*ct potent-* *x»ooj Sutave patenes motrnUp zones I 4 : 09 — 2S actes SuiaVe pateN* tj dial* icw 3 arc *«50 aces An example of a suitability model, built using the ModelBuilder interface Models and scripts are often used to automate the analysis process. You can easily change the parameters of the analysis by opening a tool in the model or editing the script. You can then rerun the analysis without having to run all the individual tools. Models and scripts are also a good way to document, store, and share your analysis methods. The underlying engine for analysis is geoprocessing. Broadly, geoprocessing involves applying a function, or set of functions, to existing data to get new data. Most of the geoprocessing functions in ArcGIS Desktop are prov ided through tools in ArcToolbox. Some functions appear as menu options in ArcMap. Accessing and using geoprocessing functions—including building models and scripts—is discussed in the section "The ArcGIS Desktop framework' in Chapter 1. GIS analysis is a process that follows a basic set of steps. The actual methods you use can be simple or complex, from selecting features having a given value to building a model to combine many layers of data. For simple methods, such as a selection to extract features from a dataset, you might intuitively implement the process as a single operation, rather than as distinct steps. Frame the question You start an analysis by figuring out what information you need. This is often in the form of a question. Where were most of the burglaries last month? How much forest is in each watershed? Which parcels are within 500 feet of this liquor store? Being as specific as possible about the question you're trying to answer will help you decide how to approach the analysis, which method to use, and how to present the results. Other factors that influence the analysis are how it will be used and who will use it. You might simply be exploring the data on your own to get a better understanding of how a place developed or how things behave; or you may need to present results—to policy makers or the public for discussion, for scientific review, or in a courtroom setting. In the latter cases, your methods need to be more rigorous, and the results more focused. Prepare your data The type of data and features you're working with helps determine the specific method you use (for example, your forest and watershed data might be stored as polygons, or rasters). Conversely, if you need to use a specific method to get the level of information you require, you might need to obtain additional data. You have to know what you have (the type of features and attributes), and what you need to get or create. Creating new data may simply mean calculating new values in the data table or obtaining new layers. Understanding the data that goes into the analysis will help you interpret the results. Choose a method There are almost always two or three ways of getting the information you need. Often, one method is quicker and gives you more approximate information. Others may require more detailed data and more processing time and effort, but provide more exact results. For example, you can find parcels within 500 feet of a school as the crow flies—by simply creating a buffer—or within 500 feet walking along streets and paths (a more involved network analysis). You decide which method to use based on your original question and how the results of the analysis will be used. Process the data Once you've selected a method, you perform the necessary steps in the GIS. This often involves running several functions in sequence. For example, to find the amount of forest in each watershed, you might extract the area of interest from the forest layer, convert it from raster to polygons, overlay it with the watershed boundaries, then do tabular analysis to calculate the total forest in each watershed. In the case of statistical analysis, you'll also want to calculate the statistical significance of your initial results. Investigate and analyze the results Looking at and questioning the results help you decide whether the information is valid or useful, or whether you should rerun the analysis using different parameters or even a different method. GIS makes it relatively easy to make these changes and create new output. You can compare the results from different analyses and see which method provides the most accurate information. 346 347 Using ArcGIS Desktop Working with tabular data An important part of analysis is working with the data in tables. These can be standalone tables, or attribute tables associated with feature or raster data. You may want information about the values in a table for its own sake or in preparation for other analysis. For example, you'd want to identify any outliers (extreme high or low values) before creating a surface or performing pattern analysis, since outliers can skew the results of your analysis. Exploring tables in ArcMap To sort a field or summarize the values by another field, open the table in ArcMap and right-click the field name. 5 • Geographic Analysis Right-clicking a field name in the table window in ArcMap also allows you to calculate summary statistics for the field—such as the minimum and maximum values, the mean value, and so on. The results are displayed in a window that also includes a histogram showing the distribution of values. |ur__. 2 Oo_.on._tf Right-click a field name to \ display exploratory tools including sort, and summarize. I: «a«>w__t_3_B__« •I j [ Right-click a layer name and select Open Attribute Table. The Summarize dialog box lets you get summary statistics for one field by other fields—for example, total area of each landuse type. The results are saved in a new table and added to the map. Right-click the summary table name in the table of contents (using the Source tab) and click Open to display it. _-iflJ-- JJ-Xl Co-* ss 0200130 -«__" ■0164 SWIC Um .«■ tmrux to« an* 8_n_r.-ii-wi L > 112711 J25435 33*151 «50*6 8 mmo 1W077 2t17»3 3*451 0 The Statistics window gives you infomiation about the distnbution of values. When you open a table, by default ArcMap includes all the fields, with the values in their original data formats. To specify which fields to display in the table window, to assign an alternate name (alias), and to format data values (to show fewer decimal places, for example), use the Fields tab in the Layer Properties dialog box. , lei ,,%_«• x iPMll , | «r«»_in »■ ,....-._- 9 m ■J. *v*o w Use the Fields tab on the Layer Properties dialog box to specify which fields to display in the table, and to create an alias for the field name. mLtmtmttmLttmktttmmm I >_»--. iD^ IS***« F__ |r>*Mlk^|L»_i>.o_: B "CHTEfloo: rtmmjxx * M0_F«BMSS7 MUMMHl V4MB.SBH7 -vC.SClr y PEn.vAOrii I I 'g. j Long» ! P__on I Sc_. I ^t-Jsrnm^^ uo« ■I -m Lora _ng Ung >_- Click the box with ellipses to format numeric values—this changes only the display, not the actual stored values. UJSJ Nan. * «--OatMM r tU*.9v_nlgD n !■--— r-_rug. Cvmrn Flo_ 5o—_c •M- *to—rl r Src-4-_«_iiTCia-oti r p___—_ r v_.o_._x .-•*-_*-n___t fype /n here to create an alias __»_» I ___. no_.iss_«__i 348 349 Using ArcGIS Desktop You can also hide a field by right-clicking the column heading and clicking Turn Field Off. STATE FTPS OUY_FIPS| FTPS SQMI 1 ■OP2D00I POP2QB3 Mia*! 56 003 56003 V461 1131 36 I-. Sort &KtndnQ s 56 013 5013 017 *56017 326583251 3005 2234 35804 36049 4882 4 766 24 r 56 56 033 '56033 0«3 '56043 2527 02562 2242 76459 26560 27113 3289 8094 £ stem 56 56 56 56 041 '56041 SB 56023 .029 ;5KBS 2087 56532 4066 88819 6966 31014 493572146 19742 19804 14573~15341 25766 26185 5920 6212 36 37 1 2 fcalulMe Geaaatrr. « 5S tvr* i huh 4277 mm ia>n*l«tl? fteaaj.ir mica X Jaet.F«* pwmjj 0 »[m| STa-fAT imam: J Reco* Ooja23 ■hoe * HWj a table open, right-click a column heading to hide that field. Exploring tabular data in ArcCatalog You can also sort fields and get summary statistics in ArcCatalog. using the Preview tab. This is a quick way to get a sense of the distribution of values. Use the Options button on the table window to set the font type and size for the entire table-menu, then change the settings in the Table Appearance dialog box. :lick Appearance on the M ft«»Raei«... Q 5-*S am fan IumA«Faa.an !ftm0mimM<2mmm'matB i STATE_FlPSl CMTY_FIPS| HPS i SQMI i POP2000I PDP2H03IPOP00_SQMll WHHCl IUI "«•<»= i«*» 560B 315B93517 11461 11330 36 10777 '—I 21*1 Clvxeeaerg. lor taub» UaTocatOpecralariiu UaeaocnUaacnoacoa. cooto'.ul^ae.lacua.anCee.'.Mae. 3 4 TaXFort Tab* Fort SeeendCax Celan HeadaHacrt: CeiHagK p Manila lalaBj m\ r MMpdnintelwtae F~~3 |!25 »J XdFtnSae |H5 jj XolFortSo. p" S^Owac* RT SaXotOMMca. p Dacwcac»d.aUacnriandu_»eo<±» Fraeueee. HaUt.) □Shape □ no □area □pefometer □ use.OASS B'.anMt SeMdAI 1 U nlillAI J 3 *] a area □ perimeter □ use.qass OJ Ardoobo. • ^ 3D AneVR Toots - 1% Anaryst Toots • & Extract • & Overlay • & p"» P rfeojency ^ Summary StaOstxs £ &h Cartography Toots • i% Converaon Toot* • aB Coverage Took • % Data rAjnegeraert Tools ^" ejy GeucuoTi^ Toots • % Geostaosocal An»Y« Toots » 1% Lraer P.ef erencng Toots 2I Favonlej llnete. | Search] The Summary Statistics tool lets you specify which fields and statistics to include. The results are written to a record in a table. -ipi»I «JflJ«J " »|M| 5ho»["ä~ Seaaed| Rae 7"/7e Frequency tool calculates the number of occurrences of each value for the specified field, or unique combinations of values for multiple fields. You can optionally include summary fields—the result is similar to the Summarize option in ArcMap. \& carc«i_30Wcr> |C Wcrruc iMCMNparcal,* Fan SUraacT«. area un area max area range area mean area std perimeter range ±1 > .101 x| »!»■! STo-fÄT Sa«x»d| Rear* F3 oi a 1 Satead I Opto. -| 350 351 Using ArcGIS Desktop Adding fields and calculating attribute values Fields are usually added to attribute tables and populated with values when building a geodatabase. When performing analysis, though, you may find you need to add fields to a table and assign or calculate values. For example, you might reclassify detailed categories into general ones, or calculate percentages or densities from existing fields to map or use in your analysis. The usual process for this is to create a new field in the table and then calculate the new values for the field. In some cases—such as when reclassifying categories—you'll select subsets of features before calculating values Using ArcMap to add a field and calculate values You'll likely be working in ArcMap to perform your analysis. To add a field, open the table, click Options, and click Add Field. Right-click the column heading for the newly added field to calculate values for the field. *- I Specify the field name, type, and properties. Use the Options menu on the table window to add a field. Fakk 0.1m] 9o.f»T S**-|(W«Mja5*arf Op -=X E*»il Right-click the field name and select Field Calculator; then use the calculator to build the expression. MUSEUMS HSIJJWIS MSEHIO 1 F MSfHU) 1 h HUES MARHH OHO ma.o-- ; MED.AGE MEO.»G£_f KOjUF. M mm mi PEBVAOWT - |8V«>N!]'|KSE_UNItS|1Uj Loo I 1 " ) " I J 5 • Geographic Analysis When you calculate values, you'll get this warning, unless you're in an edit session. You an about to do a cabiete ourade ol an set Main The mgo^aloMthencataiabogriarioo* ^oOT.btf thmanDwayteuntoywieM^orMttncaka^ Do>cu«Mhttcontr>je? I" Don) Mm ma again If you calculate values outside an edit session, you can't revert to the previous values for that field (you can always rerun the calculation and overwrite the values you just calculated). The advantage of calculating values in an edit session is that you can undo the calculation if necessary, using the Undo button on the Edit menu. You can't, however, add or delete fields while you're in an edit session—you'll need to add the field before starting the session. Editing a table also allows you to assign values to features individually (using the Edit Table button on the Editor toolbar). See •Starting and managing and edit session' and "Adding and editing attribute data' in Chapter 3. Edit. T eUOIJU .. ;» ~ a—* Sinew 1«. -va- tje> □ a? Be* *> • • *Fi3S3S 3 J? *V e» O m*&mm~m9Ca ■aWNefc. Jae. j Use the Options button in the table preview window to add a field. urn In |mm»_CUSS" fsioTw ArcToolbox tools for working with fields Arc Toolbox contains tools for adding and deleting fields in a table, calculating values, and setting a default value for a new field. The parameters are the same as for creating fields and calculating values using ArcMap or ArcCatalog. The ArcToolbox tools are particularly useful when you're working with tables in a script or model. «J - % Data rtmomn Took - i f Data Compamon • I i Database Dtscxrnected Edkncj OwrtrltedCraaWe&eie Damans feature daw FaaturM fntm a* AddFtaU a* Asson Default To Fund $ Calculate End Data a* Ciir^e Fatal a* MetaFau a? Transpose Tme Feeds Fevoa** | Wide. | Search | Tools for working with fields can be found in the Fields toolset, located in the Data Management toolbox. Joining tables Often in analysis you'll need to join the attributes contained in two separate tables. You'd do this when assigning the attributes in a standalone table to geographic features so you can map or analyze the features using the additional attributes. For example, you may want to join health statistics for a set of counties, stored in a standalone table, to the attribute table for a map layer of counties. You join the tables using a field they have in common, such as county name. You can then display the counties symbolized by the values for a particular statistic, such as the number of flu cases in each. Another type of join—a spatial join—is used to join the tables of two map layers using the spatial relationship between features. Spatial join lets you, for example, assign demographic attributes to stores (point features) based on the census tract (polygon) they fall within. Appending tables using a common field Join appends the joined attributes to the original table for as long as the join is established (use Remove Join to delete the join). If you export the new layer to a dataset, the joined attributes will be saved in the dataset's attribute table. Join can be used with one-to-one or many-to-one relationships (see 'Building relationships between features and tables' in Chapter 2 for a discussion of types of tabular relationships). Right-click a layer name, select Joins and Relates, and click Join. alBjU a. ta I— janan. 1» f>ak. rj* _ 2 * y * » * • ■ ♦ 3 .j. «v t> d if? laaa.t:« a a|»B>p«-3|iii« a! 1 OaaaeeataUr ICNTV.FrPS Vrtal 4» eiu aan *>■>< B eat taal? |jar attuai tan a iab» 3 1 0<»faba3im 2 Oxce>eata!h serin rales* lafendtaiatfckracha. P S*»toaBtueia*ie>oliejOTrrale In the Join Data dialog box specify the table you want to join and the common field between the two tables. IpE^UilLliL'il 0 PeVesr. 1 Paagcr 2 Parser. ] Povarr 7 p££- JIBJJ51T 33595251 ZDS 252» 2527 02352 Z2C Ties' 2097 5032 mmtrnn 13712 l«S73 2578S '30620 35321 0jjm| ■ f"»7 Saadaa| necaak 10«4 23SanaalI JP~J The attributes of the join table are added to the input table. 354 355 Using ArcGIS Desktop 5 • Geographic Analysis Once the tables are joined, you can use the appended attributes anywhere you access attribute values—for example, to symbolize features (see "Using attributes to symbolize features' in Chapter 4). 1« 1» h« aaatawi fraa ana* rj*> no-am f • ■ * 3 j/ a • n w * « - -I 3 - * ftP The fie/ds fr) f/je joined table are listed in the Fields drop-down list on the Symbology tab. ■HHI<-' u«J n , it .c*. -» | i«™ NO.IaRwSS • II 1 ll demo Cob Reno aa^OnH laaOO pa UM 1 104 000000 Iffi 000000 16O0UIJ0UI 771000000 HI^TS 000001 3* 000000 ' J inn. 'Ti'i.i.t laoooocoi mtxnxD maxtrr. weaxorx Hjj3*3CODCCn 686 000000 ■jfj-x- 1111 - inn 3*000001 reoooooo Ml000001 3B3 axox ■31*0-3 ■ / ■ A- »- '» I I *» I To permanently save the appended attributes in a single table, export the layer to a new dataset. □ at a m a ■ • ♦ * * ■ '. ■ • »i ] • - a save the joined attributes permanently in a new table, point to Data and click Export Data nt | Uaaeleiaraiiinip.ieaa |c \aoHK «.»«.». ad SI A- »- a*- g^|SaaDi|Sa>«aD»|D^|■ j b Dacorracted Eotng I Bc«»tjutedGeodatebeie I f Domer* { f Feature den ] a Features 1 , Fcan I ( Ffc Goodet abate I a Sanaa iSaner ataaoon InotaM f£ Jean ^ Remove Jofi Add Join is also available as an ArcToolbox tool, in the Data Management toolbox. L»«N«n.»T.s.Vw. "3 JJ| ■t-a—ft |CKTY_nP! aa. talta 3 "3 *J mm ■ (5 -. Jam a labia «aw to a layer (or a labia «a» 10 a labia new) batad on a itaM The recorde n lha aaiul layer or labia waw are matched 10 tha record ai tha join table an bated on lha joai teal and tha aiput Foal when lha aekjet are equal Tha |oai re temporary (at it the later) and w* one, las lor the duralion ■rial leoaa. Relating tables using a common field Relate can be used with one-to-many or many-to-many relationships. Rather than appending the attributes. Relate only stores the relationship (or link) between the tables (it can't append the attributes to the original table since there may be many records in the related table pointing to a single record in the original table}—the related records are accessed on demand, when you select a feature or record in the original table. Itia*- r—< xwao" I»a> mrmm tea 3 * H * ' * 1 ,J *■ • ° W a * m -P-3 - " Sk: ■ oaa»aa>maai Oa— Ma* B. hr.t.g*>a*>«'.' ' (wiau. Ha*-. » a l«.Na» gear ■re.air.waaaai -'y*~'->w?>j. • 1 Nr*rnr Bea a a a- aacurnaamiOaa | 3 a—a- a □ • a • [#^-~ ~3F"3 ■ / B A- J.- a- Re/afe /s accessed by right-clicking a layer name. The relate is a link stored with the map—so in addition to specifying the related table and the common field between the two tables, you specify a name for the relate. 357 0502 Using ArcGIS Desktop d &* am . 4> |i uum -I 3 • - i M ■»«»■•» g Mat ■> AortUet "3 &£ 7o access tf»e related table, select a feature □ (or features) in the layer's attribute table. |2 >****•>•>' select Related Tables from the Options ^1 menu, and click the name of the relate. t^mrmmo. al'l 5 • Geographic Analysis The corresponding records are selected in the related table—you can get statistics, summarize, or calculate values for those records. u«j| With both Join and Relate, the relationship is stored with the map. rather than in the database, so if you add the datasets to another map, the join or relate will not exist—you'll need to re-create it. If necessary, you can create relationships within your geodatabase that will persist from map to map (see "Building relationships between features and tables' in Chapter 2). Appending tables using spatial relationships Spatial join allows you to assign the attributes from one set of features to another, based on the spatial relationship between the features—fully contained within, intersecting, or within a distance. The type of relationship available for the join depends on the types of data you're joining. The attributes of the joined dataset are appended to the table of the input dataset, and saved as a new dataset that is added to the map. One reason to do a spatial join is simply to add an attribute to a feature, such as adding the county name (in a polygon layer of county boundaries) to auto accidents (points). Another is to be able to summarize the data, such as summarizing the number of accidents in each county. to aaapa. waste re toer-i Uk uan hat N^toeeaa-aeaeameaaea?_ |jaiaak«nl«*alia«^BMaaa 3 < DaaHMtaitMWa.aMuHauus.. ►aoatjeaja. t] tf] 2 leu ee urate Pajeara a Pens Saalaanrakadaaasm Yai-Ha».» ia«»l lau»—) in 11 d r. aaal......ra.ii ad Eaftaalrfbaaartdtaa » laaaak Kj Spatial join is accessed from the Join option—use the drop-down menu to specify join based on spatial location. ■ a ta ka POM» to« •* C ormj 3 Traaadaiann^DaaMrloara-aaa ICVaoaajaaa^aa^pacaaä- « I Cartal Attributes of features that meet the spatial criteria are joined. In this example, information about the parcel each building sits on has been added to the building layer's attribute table. 358 359 Using ArcGIS Desktop Selecting a subset of features Selection is used to extract a subset of existing features from a dataset. You'd select features to analyze the subset of features separately from the full dataset or to create a new dataset containing only the selected features. Selections are created by selecting features interactively on a map, by using features from other layers that overlap or are near the features you want to select, or by selecting features that match attribute values you specify. The selected set can be modified by adding to the selection, removing from it, switching it with the unselected set, and so on. Selecting features interactively Use the Select Features tool to select features interactively by pointing at them on a map in ArcMap. Click to select a single feature. _E«J •k (a ***** Ip* tfm. o* 0 sfB* •»»*> - ■ ♦ I77"5 > * - .1 3 - - a 1 Jt t-*a iff ' Click a feature on the map to £\ • select it; press and hold the Shift key to add features to the selected set, or remove them. 5 • Geographic Analysis By default, layers are selectable when added to a map. so if you have multiple layers on your map, when you point at a feature or drag to create a selection rectangle, all features at that location—from any of the layers—w ill be selected. You can work with the selected features for each layer separately; however, you may want to select features only from a specific layer, rather than all layers. To specify which layer(s) to select features from, use the Set Selectable Layers option on the Selection menu, or use the Selection tab at the bottom of the table of contents. If a layer is selectable, features will not be selected unless it is also currently displayed (it is checked on in the table of contents). Use Set Selectable Layers on the Selection menu to specify which layers features can be selected from. Selected features are highlighted on the map and in the table. 01 □ Oraet.arc □ parte jx*>gon D r»08» jx#rlJDn □ ftoodjxpygon Use Options on the Selection menu to change the search tolerance, highlight color, and other settings. The Selection tab at the bottom of the table of contents is another way of setting selectable layers. Click Show Selected to view only the selected features. Drag the tool to select features intersecting a rectangle. A default color is used to highlight selected features. Change the selection highlight color for an individual layer using the Layer Properties dialog box for that layer. i*mm\i*ja ; d* •» Ian 2ask «n*- 9* ■LI -iQlal "3 ^ «*-•□ v aaUaito - B bvtooijnr - a - B tarUjckcrr. - 8 laaaBB eeaeai • <- atoaaajlajaatat □ c«ca»jx*gcr. □ oWijoygon "■Tri1— l5J-*'r1 . it . □ • a - rv^-~ IJFÖ-3 » / d A" * * iii" — ate i*saiaoaiarceot , Fetch , General j Genorofeabon I Jons ^ Layers and Table Views Mate Feature Layer /> Make Query Table a«* Make Caster Catalog Layer /> Make Raster Layer a** Make Table view ? Make xy Evert layer a»> Save To Layer Fee a** Select layer By Attnbute e»* Select layer By location 3 Ptolecbons and TrensrcrmebOns 2} Fevcntejlnoe» I Search | The Select Layer By Location tool in ArcToolbox (in the Data Management toolbox) performs the same function as Select By Location. Spatial operators—available from the drop-down list—include overlay, adjacency and distance. 362 Selecting using feature attributes Another way of extracting a subset of features is to select them based on an attribute value, or combination of values. This approach is often used to select features that meet some criteria you've defined. You create a query statement using the field name. Boolean operators ("equal to." "greater than," and so on), and the attribute value. Open the Select By Attributes dialog box from the Selection menu.... The dialog box lets you build a SQL query using logical operators— choose fields from the top panel and choose values from the list in the middle-right panel. Your query statement is constructed in the lower panel (you can also enter explicit values here). EtoeVAHtTtfc Selecting using attributes is also available in ArcToolbox. The tool dialog boxes are similar to the ArcMap selection dialog boxes. The tools are useful for performing selections from within a script or model. ■JAr:7oabo. • t% » Analyst Toots - % Analysts To* - E.tract a* Op ^Select Table Select ■ & Cverlay » & Prcwrnty • (9 Satsocs 9 % Cartography Took • «% Conversion T00B S % Coverage Tools • % Data Mar^oement Tools • % Seocodrvj Tools mjgjjm mam Sm*h\ The Extract toolset in the Analysis toolbox contains two tools for selecting using attribute values. Use Select for feature attribute tables: Table Select can be used for feature attribute or standalone tables. Rett General - & Generataatjon • I i Inde.es • 1 B Jons - I i layers and Tabes view a«* Make Feature leyer e> Make Query Tata-e»» Make Raster Catalog layer /• Make Raster Layer a** Make Tot* vev. a* Make xy Event layer at* Save To layer Fee e»* Select layer By Attrfcute a** Select layer By location \ «aV Froyecttcrtt and Trererformattons Fovtrte. linden | Search | The Select Layer By Attribute tool is in the Layers and Table Views toolset in the Data Management toolbox. 363 Using ArcGIS Desktop 5 • Geographic Analysis Specifying the selection method Once you've created a selected set. you can specify whether subsequent selections create a new selected set (the default), are added to the current set. removed from the set. or selected from the current set (to create a subset of the selection). For interactive selection using the Select Features tool, the Interactive Selection Method is set on the Selection menu. - , . □ - a • 1ST—" * • • 11*! ttnmtlmarmltrumttmdlmtbMr \*ma hzm Gw ojrwtt, tmma*: >~*j* r r on, j—-—j nr»n. For selecting by location or attributes, the Method is set using drop-down menus on the dialog box. 11*1 IdnloojaMlJl »ii "1 iidJiJj-] 1 j 1 1 "* 1 1 <* ««* 1 Working with a selected set Once you've created a selected set. options for working with and managing the set are available from the Selection menu in ArcMap and from the context menu for each layer for which there is an active selection. 364 g immaayMOtM. □ OaUdn Q }-ttn:»»mji I^n*ln«rj.0n B«u.o*>j>CaUr. •Mad! » » Right-click a /ayer name and click Selection to access options for clearing the selection for that layer, for switching the selected and unselected features, or for selecting all features in the layer. The same options are also available from the layer tables Options menu. 365 Using ArcGIS Desktop Many of these options are also available from the Selection tab at the bottom of the ArcMap table of contents. Right-click a layer name to access the options. The Selection tab also shows you which features have active selections and how many features are selected, and lets you set selectable layers (using the check boxes). 6* k» »»• t—> rmam laa. bm» gat - a* O • * »• > ~ * r« jtaiaisso-.: a »r 3 aa-al "3 -J. «v%d V h 1 '.m>\m\ m i» Mm. n» t»eo* Maoaauee . . . . 9 > Selected features are active in Layout View and will be highlighted when you print a map. •> t» f f r**»— IP* » 9 i"" C . P. r . f. f i' «1 -gpo-g ■ / ■ a* *• J.' —* 368 The inverse of Clip is the Erase tool. Erase discards the features (or portions of features) within the boundary and is used to remove portions of a dataset. « a - -i 1 • ' a t*KT00tXa | JOAraiya TcoB |AnaV»Tocfe Erase, /n the Overlay toolset (Analysis toolbox), removes features from the area inside the dataset boundary. ■» a* • * U m e • * i * a « ■a 369 Using ArcGIS Desktop 5 • Geographic Analysis Splitting feature datasets The Split tool divides a dataset into multiple datasets using polygon boundaries. It's often used to create map sheets from a single large dataset—a dataset of map sheet boundaries is used to split the dataset. ft* t- r— laaaa 1» a»—- aa O a* _• a a - an - - a OJ) ArcToobox _ • t% X Anayo locrj - taj> Ararrw TooK - & Extract a* Op ^Sakxt a»_B a* Table Satect - Overtly .1 • 1 Fa««_ |ln_. | Search | 77?e SpM too/, in the Extract toolset (Analysis toolbox), breaks a dataset into multiple output datasets. The values in the Split Field are used to define and name the output datasets (in this example the two map sheets were named "north~ and "south"). Extracting raster data Tools for extracting a portion of a raster dataset are provided as part of the Spatial Analyst extension. The tools allow you to use an existing feature or raster dataset. or a shape you define (a rectangle, circle, or polygon), to extract a portion of the raster dataset. These tools are mainly used to create a subset of the dataset for use in a model (perhaps for testing purposes) or other analysis, or to distribute to other GIS users. » ut f— tax *a—• I— an— am Data* ■ - ■ « F^S 3 _ «-•>! * a - . .1 3 - - a ~3pr-3 ■ / a _**•_*_• The raste/- extraction tools, located in the Extraction toolset (Spatial Analyst toolbox), let you clip out a portion of a raster dataset. In this example, a rectangle—defined by its coordinates—was used to extract a portion of an elevation surface. You can also define a circle or polygon, use the boundary of an existing feature or raster dataset (Extract by Mask), or use a set of point features to extract raster data. 370 The Extract by Attributes tool allows you to extract cells based on an attribute value, or combination of values. You create a query statement using the field name. Boolean operators ("equal to," "greater than," and so on), and the attribute value(s). This is useful if you need a subset of values for your analysis—for example, you may want to analyze the relationship between vegetation and elevation for a certain elevation range. 0«fB< <• ■ a -F 3l i.t > -/_y« • & Co__«_ • ts Otrot, ■ »*, .... . - 49 Extraction a*. Extract by Crde a* Ex___byM_* a* Extract by Ports a* F—i act by Polygon a* Extract by Fto_ar«jk) ,* ExtractVatjMt a* Samp- • (iff at i i_i gin i a a - i .- ■ ai ,| 3 - - a_ The Extract by Attributes tool lets you extract just those cells that match the attribute value(s) you specify. In this case, cells having an elevation between 2500 and 3000 meters were extracted. .1J ______ ■ | aaiUnaaaVa—i |t_To f _a_va_c >__Da*o oaaxvaajjc xta J_1 Wa> | Ua. 1 Saw. | ___□ Use the Query Builder dialog box to create the "Where clause' (query statement). Click the field names and operators, and type the values (or select from a list) to build the statement. 371 Using ArcGIS Desktop 5 • Geographic Analysis Sampling raster data Spatial Analyst also includes tools for sampling a raster dataset. Sampling is useful for creating a subset of data for use in other usually statistical, analyses, such as regression analysis. Rasters represent spatially continuous data-.f you used the value of every cell, much of the data would be redundant (since adjacent cells often have the same or very similar values). This could skew the results of the analysis. Creating a sample from the raster allows you to capture the variation in data values without introducing redundant data. A dataset of random point features is used to sample a raster dataset of vegetation. There are over 2 million cells in the raster, but only 11,300 sample points. * D aty i " ) Ccrdbonal » Omnsty I Deunce ' ,* Extract by attrtxtel a* Extract by Orda Extract by Ma* i* Extract by Pore Extract by Porygor. f* Extract by Secure* <<*> Extract ValaB to Pons a>Saxa> k Gererabaw B Qrou»>atM t Hycrorjoy f .|.»| SaaaraT Saaoad|Paco^B^Jl'3ni5aa«l Oaaa. -| lr«««ix»ntrt« oie nxx raalar aaneulai to 9m oooat OJPTaTl I M|.j-T^lHj B— [mT Sa^|Pa^B^J"a0Saac»4| The Sample tool finds the values at each point for a list of rasters you specify. It writes the values—along with the x- and y-coordinates of each point—directly to a table you can use in other analyses. The Extract Values to Points tool creates a new point feature dataset (containing all the input point features). It adds the value of the input raster at each point to the new dataset s attribute table. Overlaying geographic datasets Overlay analysis merges two or more coincident or overlapping datasets to create a new dataset having the attributes of all the input datasets. Overlay analysis is used to assign the attributes of features in one dataset to features in a coincident dataset, for example, to assign the adjacent land cover type to each segment of road. Overlay is also used to summarize the data in one dataset by the features in another—to calculate the total area of each landuse type within a flood zone you'd overlay the parcel layer with the flood zone layer and then sum the areas of the resulting polygons by landuse type. Another common use of overlay analysis is to combine the characteristics of several datasets into one. You can then find specific locations or areas that have a certain set of attribute values—that is, match the criteria you specify. For example, you'd overlay layers of vegetation type, slope, soil type, and so on, to find areas suitable for building a new subdivision. The type of data you're overlaying—features or rasters—determines the methods and tools you'll use and the results you'll get. Overlaying feature datasets The feature overlay functions split features in the input layer where they're overlapped by features in the overlay layer—new areas are created where polygons intersect; lines are split where polygons cross them. These new features are stored in the output layer—the original input layer is not modified. The attributes of features in the overlay layer are assigned to the appropriate new features in the output layer, along with the original attributes from the input layer. Feature overlay tools are located in ArcTooIbox, in the Overlay toolset (in the Analysis toolbox). 372 373 Using ArcGIS Desktop Conceptually, the various tools are similar—they differ by the feature types they allow you to overlay, by whether you can overlay multiple layers at one time, and by which input and overlay features are maintained in the output layer. 5 • Geographic Analysis Parcels (the input layer) and a flood zone polygon (the overtay layer). The output of Union contains the features of both the input and overlay layers—features are split where they overtap. Symmetrical Difference is the inverse of intersect—it excludes features common to both input layers. 374 Using ArcGIS Desktop Overlaying raster datasets Raster overlay tools are located in several toolsets in the Spatial Analyst toolbox. The Combine tool (in the Local toolset) assigns a value to each cell in the output layer based on unique combinations of values from several input layers. The input values are also added to the output layer's attribute table. 5 • Geographic Analysis Map Algebra—among other things—lets you add layers representing different criteria. tjJSooMAnarrtltoc* • i ^ CanrJbon*) r { pferaty ■ I y twm • I y fLttracbon - I y (areratoebon > B Groundwater • I y »V»otoo> • 1 y Merpoatjori I local I Mao Algebra »* HUb Output Map Algebra a* S»Kte OutjM Hjp Algebra I Hath l '«■•«■»• I Overlay ,* wetted Overt,, a* Wearied Sum I letter C/eebon i Redan i Solar Redetxx Combine assigns values based on unique combinations of values on the input rasters. You can then select or extract the cells that meet your criteria. Another approach is to mathematically combine the layers and assign a new value to each cell in the output layer. This approach is often used to assign a suitability or risk value to each category in a layer and then add the layers, to produce an overall suitability or risk value for each cell. For example, to find areas suitable for development, you might assign values of 1 (low suitability) to 7 (high suitability) to the various slope values in a raster of slopes. You'd do the same for rasters of soil type and vegetation type. When you add the rasters (using the Map Algebra tool) the cells in the output raster have values ranging from 3 (not suitable) to 21 (highly suitable). The various layers can also be assigned a relative importance (the values in each layer are multiplied by Jhat layer's weight value before being summed with the other layers). The Weighted Overlay tool lets you do this. Weighted Overlay lets you assign relative importance to the various criteria. 376 377 Using ArcGIS Desktop Spatial Analyst contains many other tools for processing, combining, and summarizing raster data. Some let you combine raster and feature data. For example, the tools in the Zonal toolset let you summarize the values in a raster by categories (or "zones"—all cells having the same category value, whether adjacent or not, constitute a zone) in another raster or feature layer. You'd use the Zonal Statistics tool to calculate the mean elevation for each vegetation type in a study area. fc^ Cvf/MY Raster Owner. Rodess Soar RerJarjon Surface £ Zonal f TabutabjAree f ZonalF* ^ Zonal Geometry f Zonal Geometry, /BBSS Zonal Statistics as Table Zonal Statistics (in the Zonal toolset) summarizes cell values for a raster layer (elevation, in this example) for areas representing each category in another layer (vegetation types). You can choose from several statistics. The output is a new raster layer—cells coincident with each vegetation type area are assigned the same mean elevation value (for example, all cells representing conifer forest in the input layer would receive the same mean elevation value in the output layer). A related tool. Zonal Statistics as Table, outputs a table listing a range of summary statistics for the input value raster (shown above). The Tabulate Area tool, also in the Zonal toolset, calculates cross-tabulated areas between two datasets representing zones (or categories). These can be both raster, both feature, or one raster and one feature dataset. You'd use Tabulate Area to calculate the amount of each land cover type in each ownership category. Tabulate Area (in the Zonal toolset) cross-tabulates areas between a layer of zones and classes (land cover types and ownership classes, in this example). The result is a table showing the area of each zone in each class. o_c_LA«ra | ogi,«anrjaiai_ro | j 34.000000 £000000 5ho»r«r 5alaaad| Bacardi BMctUSeaoedl 378 5 • Geographic Analysis Measuring distances between features Finding distances is one of the most basic types of geographic analysis. ArcGIS Desktop provides a variety of tools for finding the distance between two locations, finding which feature or features are nearest another feature, and defining the area within a given distance of features. Measuring distance on a map The Measure tool in ArcMap lets you measure the distance between two locations or along a path. Click the start location and double-click at the end location. To measure a path, click as many locations as you want along the way, then double-click to end the path. The distance is displayed in the default display units of the map—you can change the units using the drop-down menu on the Measure dialog box. When measuring a path, the length of each segment is displayed along with a running total. Using the Measure tool is a quick way to interactively display distance. The Measure tool also lets you calculate the area of a polygon you draw, or display the coordinates of a point feature. DTjr;, 1 1 ..» — • Df*U« t * ~3 J. *.%n xt I. ellEEB „ e mm\m - B trnmsOKtr. m ■- O aetaejovga. Measure •♦v *jsJl~J±5!~r as • • •} Sr-a- •. □ -A-«j|af= 3 PT3 » / B A' » - J. • i - ) Use the drop-down menu to change the display units. Use the Measure tool to quickly find the distance between features. The distance of each segment, and the total distance, are displayed in the Measure dialog box. I 379 Using ArcGIS Desktop Calculating distance between features ArcToolbox includes tools that calculate distances between features. The Near tool assigns to each input point the distance from that point to the nearest point or line in another feature class. You can then select, for example, all points within a certain distance of roads, or calculate the average distance of the points from a road. The Point Distance tool creates a table of distances between each point in one feature class and every point in another feature class. For each point in a layer, Near rinds the nearest point (in the same or a separate layer) or line—in this example, the nearest street to each building. Near adds two fields (NEARFID and NEAR_ DIST) to the input layer's attribute table to store the feature ID of the nearest feature, and the distance to that feature. Buffering features A buffer identifies the area within a given distance of a feature or set of features. The Buffer tool in ArcToolbox creates a new geographic feature that defines the boundary of that area. You can add the buffer area to the map to create a graphic display of distance. You can also use the buffer area that's created to select other features—for example, all the parcels within 600 feet of a school. 4 * ' ~3 U «v»Q *» ~3F The Buffer tool (in the Proximity toolset) creates a boundary area at a given distance surrounding each feature. -SEZ-mmmwt.1. si fjt ArcToobOX ■ • % 3D Analyst Too* - inarms txb • & iruact • © Overlay - 4a Picuanty >stBgl ,* Port ^stance • Satstcs • 9m Cjrtooraphy Toots • e% ConvenBon Toots • t% Coverage Tools • • Data Merujgemert Tools SB GeocooViQ Toots •- rrga^njlrrja. | Saarchl ~~3 J »• -iflJ*J f<7 b^drgijnrt Output Feature Oatf |C\*o«ne «at.voos.ayM. »tj D-rler.ce [rata, erfteki] -a 300 (= Bf3 _1^ S»—Ma»» | 5 • Geographic Analysis The Buffer tool provides several options—you can use an attribute value to define the buffer distance, and erase the intersecting buffer boundaries that may be created around multiple features. Use the Field option on the Buffer dialog box to specify a Held in the input dataset's attribute table containing the distance to buffer each feature. In this example, the BUFFDIST field specifies the buffer distance, based on the type of building. wMmmmKUktM The Dissolve Type option on the Buffer dialog box lets you erase overlapping boundaries when buffering multiple features. baHi i 71 il anal am^ktMm^m%mm\^mw^mWm%lkmmW « 4 ' - ■ a> |TSS ~3 U w - e mmm . - I O - A - a "3F"3 The Multiple Ring Buffer tool lets you create buffers of multiple distances at one time. aJOIJU "3 J. w •eee- » r □ - A * e» • 'li _ The Multiple Ring Buffer tool is in the Proximity toolset in the Analysis toolbox. Enter a distance in the Distances box. then click the plus sign to add it to the list. As with the Buffer tool, you can erase overlapping boundaries, using the Dissolve option. H ArcToobox - «fe 3D Anaya Toots - t% irorVsa Teas • & Extract - & Overlay - 4y Proxraty a** Port Datence • & Sabstjcs '* % Cartography Tools • &f Conversion Toots • 9) Coverage Tods • 4) Data Management Tools £ ^ Gaxxodng Tools Fevoaae I trifle. I Search | [OWaA Qajfjtoeja eajena n A- •>« mt'A• The resulting buffers are stored in a single layer— each feature (buffer) includes its distance as an attribute. 380 381 Using ArcGIS Desktop Linear features and areas can also be buffered using the Buffer or Multiple Ring Buffer tools. Jala TPS^ . / a A- »-at>.l- -4 set of street segments representing a parade route has been buffered to show the area within 200 meters of the route. 200-meter buffers around park polygons The Select By Location option in ArcMap and the Select Layer By Location tool in ArcToolbox let you essentially create a temporary buffer for creating a selected set of features. No new buffer feature is created—the "buffer" is simply used to find features within the specified distance (see 'Selecting a subset of features' earlier in this chapter). .11x1 Select By Location on the ArcMap Selection menu lets you enter a buffer distance within which features are selected. This option essentially performs a buffer and select on-the-fly; no buffer feature is created. 5 • Geographic Analysis Calculating distance over a surface ArcGIS Desktop includes tools that let you calculate distance from features as a raster surface of continuous values. Each cell in the raster is assigned the distance to the nearest feature in another layer. For example, you can assign to each cell the distance to the nearest stream. Using a distance surface lets you perform your analysis with a finer gradation of distances than does a buffer (where you only know that a location is either within the buffer or outside it— you don't know the actual distance from the feature). It also gives you flexibility—you create the distance surface once, and specify the criteria in your analysis (as opposed to creating new buffers each time you want to change the distance criteria). The Euclidean Distance tool in the Spatial Analyst toolbox is used to create distance surfaces. The Euclidean Distance tool in the Distance toolset (Spatial Analyst toolbox) is used to create a raster surface showing distance from streams. t% Spabal Analyst Toots ' | Ccrdtnvsl i Densty I Distance at* Cornaor at* Cr* AlocatJon at* Cost Beck Lr* at* Cost Distance at* Cost Path at* Eucadean Alocauon a** Euddw DaecPon /■taaHl a* PathDtstanee at* Path Distance AJocaoon at* Path Distance Back ur* l Extraction FavoebM linde. I Search| OutDU! cutanea rest*' JC Varraap -jpr auaai.dat peranum distance (ooocneT) Output cef sue (eptagrujQ 1,00 ■ 1 reel -■ mmm 1 Ü _1 OK J Cancel I tnmnmrt, [ S>t-Hac> In addition to Euclidean distance, you can create a surface based on other factors and combine that with distance to get a measure of the cost involved in traveling toward or from features. The cost could be time, money, or effort—for example, it's harder for deer to travel through thick brush than open grassland. Creating a cost distance surface is particularly useful for analyzing potential paths or corridors. The Spatial Analyst Cost Distance tool is used to create a cost surface, as illustrated on the next page. 382 383 Using ArcGIS Desktop 5 • Geographic Analysis A cost distance surface is created using the Cost Distance tool. The tool takes as input a cost surface (below) and the layer containing the features you're calculating distance to or from (streams, in this example). ~3 U *• • n »7 - B » £ Sooto! Anatrs Toos • & Ccrdtxnef - ^ I f EiXfacbon I f GanetatzeBon I ^ GrounOWattr . I » hV»otogy • i ^ Wercoabon • I | lota) • I , MepMgebta i MjtNanate 0> Spat*. Anar«t Toos • & Condbonel . teDensty - DsJance ^ Canto /• COBAexabon ^ Cog Bad lr* ^ Cost Path ^ Euddaan MocaOon J ^ Euddaan Oraction ^ Euddaan CMance ^ Path C»ante Pa* Detente Alrxaton ^ Path Detente Back ur* • 4^ Eiftoctjcn M«»*Tw*n dWttftM (frptoowQ 5^ A cost surface is required to create a cost distance surface—often cost values are assigned to an existing layer using the Reclassify tool, or multiple layers combined using the Weighted Overlay tool. In this example, relative cost values are assigned to the various types of vegetation, based on the effort to traverse each type. The Path Distance tool, also located in the Spatial Analyst Distance toolset, is similar to Cost Distance, but it allows you to specify additional parameters, including the cost of traveling up and downhill, and other vertical and horizontal factors. The Euclidean Distance (Straight Line) and Cost Distance (Cost Weighted) functions are available on the Spatial Analyst toolbar in ArcMap. as well as in the Spatial Analyst toolbox. The Straight Line option performs the same function as the Euclidean Distance tool. S&aghtune. . Alrxaoon Coatwoghted. 9ote*P.aeh Denaty... iunxMte to Reset ► Surface *teV« CaiStatatm... fr^tCTtoodStaatu BtdMeV- Rjaar Caeaiator... Convert ► QpeM Defence lo Coat letter Maammdaiance r o r o -U«J J[ The Cost Weighted option performs the same function as the Cost Distance tool. Another tool, Surface Length, which is provided with the ArcGIS 3D Analyst extension (in the Functional Surface toolset), measures the total length of a line over an elevation surface—taking into account elevation change—rather than over an assumed flat plane. This would be useful, for example, to predict actual miles traveled over mountainous terrain, and resulting fuel costs. 777e Surface Length tool calculates the length of each line—or line segment—over an elevation surface. It adds a field (named SLength. by default) containing the new length values. 384 385 Using ArcGIS Desktop Creating paths and corridors ArcGIS Desktop includes a number of functions that allow you to model the best path or corridor between two or more locations. These functions are based on distance and the resistance involved in traveling between the locations. In general, the goal is to find a solution that minimizes costs. Cost can be measured in terms of distance, money, time, effort, or even social values such as historical importance (a proposed highway that passes through a ruin may be too costly from a societal standpoint). There are two types of paths you can model using GIS: paths over a surface, and network paths. Modeling a path over a surface Modeling a path over a surface is useful when creating new infrastructure, such as a highway, pipeline, or power line. It's also useful for modeling the movement of objects that don't travel over a fixed infrastructure. For example, you could create a managed wildlife corridor between two protected natural areas. The main tool for creating a path over a surface is Cost Path. Cost Path requires, in addition to the location of the destination, two input layers: a cost distance layer and a backlink layer. (A backlink raster layer is an interim layer that several different distance functions use to calculate least cost. It essentially calculates the least cost direction from each cell toward the destination location.) These are in turn created using the Cost Distance tool, which requires the origin location and a cost surface layer (see the previous section. 'Calculating distance over a surface'). The cost distance and backlink layers can also be created using the Path Distance tool, which allows you to specify additional parameters such as wind resistance and the extra distance incurred in traveling uphill and downhill. These tools are located in the Distance toolset, in the Spatial Analyst toolbox (ArcGIS Spatial Analyst must be enabled to use them). The output from Cost Path is a raster dataset. If necessary, you can convert the raster path to a line feature using the ArcToolbox Raster To Polyline tool, in the From Raster toolset (conversion toolbox). Creating a path using Cost Path is illustrated on the next page. Similar functions are available from the Spatial Analyst toolbar in ArcMap. The Cost Weighted function takes the origin point and a cost surface as input, and creates a cost distance surface and a cost direction surface (comparable to a backlink layer). These then become input to the Shortest Path function, along with the destination point. The output from Shortest Path is a shapefile. rather than a raster. 5 • Geographic Analysis Spat_a/_vst - Uf»|oem3( _■_»>. si d fi t_ Der_y... fnterpota— lo Raster » Si^e-Anttr— » SbagM Us—, ajotatxri Cpst weajhted. Cel Statutes... ^ejoj—crhood Statistics. _cr_Stotooo Raster C__*or... _°nwrt ► QptJons . W Create drecton r a _J_1 __ J_J _____ Origin layer The Cost Weighted and Shortest Path functions on the Spatial Analyst toolbar can be used to create a path over a surface. To get started, you need two layers representing the origin and destination locations, and a cost surface raster layer. Destination layer A path over a surface is created using the Cost Path tool. The result Is a raster surface containing the least cost path. Cost Path takes as input a layer that contains the destination (end point) of the path. a cost distance surface, and a backlink surface. Here, the path and destination are shown along with the cost distance and backlink layers in the background. 9j Spatial Anayst To* - & Condtxj-.. - £ Der_y - 9 a* Corndor a* Cost AlocaOcn a* Cost Bed. Ur* a* Cost Distance >»____ a* Eubdrar Afcratrn a* Eud_unl_rec_n ? Euctdean Ooterce a* P«r. Distance a* Ra*Ow_-eAlocaOon ,> Pa*Ottar_BadtUre. • ^ Extractor _:s_a.| MM_H_^H a—a- a •: Ca- di-' Use the Cost Distance (or Path Distance) tool to create the cost distance layer (above left) and backlink layer (above right). The input to this tool is a layer containing the origin of the path (start point) and a cost surface (bottom). 9j Soahat AnaYst TocB • & Cordbonal - ^ — - ^ Condor a* Cost AioceHtn a* Cost Beet ur* <*_■__-_ ^ Cost Pa* a* Euddear -locator a* Euddaan Orec—n ? Eudtfean Distance a* Pa* Distance a* R«* Distance OlocaOon A Pa*DotarreB«diLraV * ^ ExtractKn A cost surface can be created by reclassifying one or more existing raster surface layers (using the Reclassify tool, in the Reclass toolset). If more than one layer is used, all the layers should be reclassified using the same scale (one to five, for example). The layers can then be weighted and combined using the Weighted Overlay tool or using the Single Output Map Algebra tool. In this example, layers of slope, protected areas, and vegetation have been combined to create a cost surface with values ranging from 3 (low cost) to 13 (high cost). 386 387 Using ArcGIS Desktop 5 • Geographic Analysis The Cost Path tool creates the single least cost path over a surface between two locations. An alternative is the Corridor tool, which assigns each cell the cumulative cost involved in reaching that cell from two locations (or. a cost for reaching either of the locations from that cell). By classifying the cell cost values or selecting cells that have a value less than a certain cost, you can create potential corridors between the locations. This is useful for modeling the movement of wildlife or for creating several potential alternative paths for infrastructure (a highway or pipeline). The corridor tool takes two input cost distance rasters (created using Cost Distance or Path Distance) and creates a cumulative cost raster. Use the Corridor tool in the Spatial Analyst toolbox to create a least - □ t.jii.. »>«■ - B •■eaeaiasa-je «ae» - □ arXjn !J_ 1 .1 MM - a KH.H •* mmmKOmmm |"~»u—JC So/Ve -3[io-3 » / B A* * * */' —" When you've added all the stops, click the Solve button to create the optimum path between all the stops. avfltsi -Ji|a»-r» imam, I»» srra- ! -0k ■ran - B fIL 9mm 0 «-> o«- B >oaai - n ' ■ ■uii—ii jb^mm - a «mm«jb - q ar«.a< fl --1 ii m»r< - O •*. If. 0 ,» "»n*0«"* \i.mm~*m.je j5j| r □ • A - K fvri-r awn Se/ecf/Vfove Locations To modify the route, add more locations or select and move or delete a location, and then click Solve again to calculate the new optimum path. Any costs you built into your network when it was created—such as travel time—or any barriers you add (such as a closed street) will be taken into account when you create the path. 5 • Geographic Analysis Allocating areas to centers Allocation is used to delineate areas of influence, market areas, or service areas around a location or set of locations (referred to as "centers"). Often, the centers represent locations that people travel to (a library) or from (a fire station). Essentially, allocation assigns the area nearest each center to that center. As with other distance measures, "nearest" can be defined in terms of straight-line distance or cost (time, money, effort). Creating areas around centers The Create Thiessen Polygons tool in the Proximity toolset (Analysis toolbox) creates a polygon around each location. The polygon represents the area closest to each location. ■■ Be CO tm feat Uaacr laai area, ran 'ay< i■ ~ ♦ * * ' mm The Create Thiessen Polygons tool creates a layer of polygons around a set of input points—each polygon represents the area closest to the point at its center. input jaj U-'xtx> ■ • 4 k. 30 aneVe! Too*. -i I AnaV** lor* H UBatt & Overlay £ Prccomty e* Buffer _ f i+Jx*t Pjng Buff er /* Near ,* hirtDmence Statwxf '■..... - . mm* 1 The Euclidean Allocation tool in the Distance toolset (Spatial Analyst toolbox) is similar to Thiessen-a raster (instead of polygons) and assigns each cell to its nearest center. The Euclidean Allocation tool assigns each cell to its nearest center, using straight-line distance. The cell value is a unique identifier associated with each center (the fire station ID. in this example). except it creates - % 3car-a *rer-« "och - O CoTdBjral fcCwnety t> Detance y* .ornefcr ? Cod Atoceoon a* CoaBackunk y* :«rence a* Con Petti /■■o a* tucloeen DeecOori a* tuctdeen Dstence a* CetfDwance a* Pe* Ootence Aexetxr a* Pe*tMeroBedtLr*. % trtrecoon - few eHllnde. | Searcr,| Output eel ■ |aeaE21037 a s i - dl"> d » / ■ A- • - ^' -1- rtejBM. B» »*• »-»< > •e» I"" »•» 8* .iqlK| □ >b« ••>"■♦ 1 j it *.mn n? ' •-r~] - - a mr t% Spat* Anefyst loos • & Corrjbonal ■ & :—j. ^ .-;■<.■ P era, ,> Cost Alocetcr ,a Co« Be* IT* ,r* Cost Cutanea P Cost Petti ,a EirkJean Akxatxr. j ^ EurJo»an Deocoon .a Euddear Ouar«e ,a PatnCejttnca_ ■ P Path Dntance Back u* • e " • * I'^L. . a • -I J ■ ■ a "3 it aoq *? HIE aa-oocaaija» Create Network Location -laiJU □ - a - e \r-r 3 » X »-a4" A' After adding the network dataset to your map. click the Network Analyst drop-down menu and click New Service Area. The new area—and all its elements—are added to the table of contents. Click the Create Network Location tool, then add the centers or facilities by clicking network edges or junctions. When you've added all the centers, click the Solve button to create the service area around each center. -B aavara ■ no ■ □ ...... -i ...-. »—a - a □ - a • Ci |5T£T ■ - a1 [ aOataaet |r>aw*t*ir<.ic> Click to add a center * +1 • ea *.iJ j ~3F°~3 a / u A- *" aet" A« -1DJJÜ Solve 392 393 Using ArcGIS Desktop You can change the symbols used to delineate the service areas by clicking them in the table of contents. To change the parameters of the allocation, right-click the service area in the table of contents and click Properties. You can, for example, change the maximum distance for the service areas (on the Analysis Settings tab). -jdj2j tfc tv» »»- tmn %mam. lam W*. t*e Data» BXiB^ j J. «v • D W JLl 3 • * 0« I r Immmlwrn, 0 lam, k"«« Ucmm -3PF-3 . / a A- »• J.- -■ Use the Layer Properties dialog box to change the maximum distance.... ...fhen click Solve to create the new service areas. 9, I« 9— tmn i» lorn m- a* * * ■ 1 i/*.»DW ~E fiö-3 ■ / b 5 • Geographic Analysis Modeling flow ylodeling flow lets you see how water or other materials move from a source point (or points) through a network or over a surface. You can see, for example, which portions of an electrical network will be affected if a transformer S\\ itches off. or where water falling on a hillside will accumulate. Modeling flow over a network Utility networks are represented in ArcGIS Desktop using geometric network datasets (see 'Adding specialized datasets to a geodatabase' in Chapter 2). Once you've built a geometric network, you can trace the flow over the network from one or more source points. You can find connected features, find closed loops, trace upstream or downstream, and so on. To do this, you use the Utility Network Analyst toolbar in ArcMap. To open the toolbar, click the View menu, point to Toolbars, and click Utility Network Analyst. -lnl«l mtß tm mm *mom Mt • ■jus r ■■ « • * |'«'» «- * - -r~-3 -" ~3 g jm*M* - □ BmmmmWXJmXM Click the Flags drop-down menu on the Utility Network Analyst toolbar to add a source at a junction or along an edge, or to place a barrier on the netwon\. Select the flag, then click the location. Imm. 1*--1 '— —11 # □ - A - 10 »•!) J a i#- ^ -f \. / i dh» A ■ / ■ A- »-*t-i-j tk I* *- torn immm lorn *n m. am> e > « r. fh» J it • a V * * • a -TT"] - - ft —r--- ■ - '/d ~sr 3 TZ. ' ■ . -I 4 Once you've placed your sources, select the trace task. 394 395 Using ArcGIS Desktop —3 4 Solve The results are displayed when you click the Solve button. 5 • Geographic Analysis Modeling flow over a surface The Hydrology toolset in the Spatial Analyst toolbox contains tools for modeling the flow of water over an elevation surface. You can, for example, define hydrologie basins, identify stream channels, or calculate the distance along a flow path. Another set of tools models the flow of water or other material (such as a contaminant) through the subsurface. These tools are included in the Groundwater toolset in the Spatial Analyst extension. The Basin tool (left) calculates hydrologie basins, or watershed areas. The Flow Accumulation tool (right) can be used to identify and create stream networks. The results of the these tools are rasters—you can convert the basins to polygons and the streams to linear features. Click the Analysis drop-down menu to clear the results or flags, and to access the analysis options (for example, to limit the trace to selected features or to change the symbology for the results). 396 lnout no- dkttctc- '«*t»' -3(51 Output »ca^t-trori r.iWf m urn Basin, Flow Accumulation, and other tools in the Hydrology toolset take a flow direction surface (left) as input. This surface is in tum derived from an elevation surface (bottom), using the Flow Direction tool. 397 Using ArcGIS Desktop Creating raster surfaces Raster surfaces represent phenomena that have values at every point across their extent. They are created from values sampled at a limited set of locations, such as surveyed height values (for an elevation surface), or temperatures collected at weather stations (for a temperature surface). ArcGIS Desktop includes tools for interpolating values between the sampled locations to create a continuous surface. Another type of surface created from sample points shows concentration per unit area (density), such as crimes per square mile. Unlike an interpolated surface, a density surface doesn't predict a value at each location—there may, in fact, not have been any crimes within a particular square mile area during the time period being analyzed. Rather, the density surface provides an indication of the distribution of features or values. Creating an interpolated surface Interpolation tools create a continuous surface from samples with measured values, such as elevation or chemical concentration. There are several interpolation tools, and each has a variety of parameters that influence the resulting surface. The tools are included in both the Spatial Analyst toolbox (Interpolation toolset) and the 3D Analyst toolbox (Raster Interpolation toolset). •<• i« t»- imam lam aro=- 3» jOttBeV* *»■.*!■"•♦ ia«a|SBD2|S3F»v3 , ArcToofcca e*£ 30 Analyst Tot* • & Conversion 33 & Furcbonel Surface - 1$ Raster Interpolation t* IDW ,» Scene J" Topo to Raster ŕ Topo to Raster by Fes Trend - & Raster Hath • & Raster Rodess • & Raster Surface • & TIN Creation • $ TiN Surface % AnoVMi locfc Favcrte. I Inde. I Seaichl : MM M l jam eXMisl nuts* The same set of surface interpolation tools (including Natural Neighbor) is available in both the Spatial Analyst and 3D Analyst extension products. The Topo to Raster tool is specifically designed to create elevation surfaces. It allows you to input elevation contours, spot heights, and streams to create an accurate digital elevation model (DEM). 398 5 • Geographic Analysis Different interpolation techniques can produce different output surfaces from the same input data, although the broad pattern will be similar. The maps to the left show examples of each tool applied to a set of sample points representing readings at air pollution monitoring stations. The specific parameter choices will influence the results. A particular technique may be suited to particular data or applications. Inverse Distance Weighted (IDW) and Natural Neighbor interpolation estimate surface values for each cell using the value and distance of nearby points. The interpolated values for IDW surfaces are calculated as a weighted average of the values of a set of nearby points. The influence (weight) of nearby points is greater than that of distant points (the weight decreases as the distance increases). Natural Neighbor interpolation is like IDW interpolation, except that the data points used to interpolate the surface values for each cell are identified and weighted using a Delaunay triangulation. as in a TIN. Natural Neighbors interpolation works reliably with much larger datasets than the other interpolation methods. The Spline and Trend tools interpolate best-fit surfaces to the sample points using polynomial and least-squares methods, respectively. Spline interpolation fits a mathematical surface through the points that minimizes sharp bending; it is useful for surfaces that vary smoothly, such as water table heights. Trend surfaces are good for identifying coarse scale patterns in data; the interpolated surface rarely passes through the sample points. Kriging is an advanced surface creation technique that is most useful when there is a spatially correlated distance or directional bias in the data. It is often used in soil science and geology. Several of these tools are also available from the 3D Analyst and Spatial Analyst toolbars in ArcMap. JDAnato - J CD • Create/Booty TW ► Surface Anarys» ► tX-*V.. Inverse Cutanea Welo/*ed . Scene.. lýirjng... Convert » fja6xalr«rghbcrs... Options... [•stance ► Oensey... Surface Analysa » Inverse Distance Wetted... Scene.. Cel Statistics.. Ne^ŕtarhood Statistics.. Jor^ Statistics... Bßdmty... RgsterCabJetor... Convert ► Spoons 399 Using ArcGIS Desktop Geostatistical interpolation techniques allow the creation of predicted value surfaces and the interpretation of levels of certainty about the predictions based on confidence levels. The Geostatistical Analyst wizard (included in the Geostatistical Analyst extension) allows surface creation using a number of different methods, including Kxiging, Cokriging. Radial Basis Function. Inverse Distance Weighted. Global Polynomial, and Local Polynomial interpolation methods. Geostatistical Analyst lets you analyze how well these various methods will predict values for your particular data. Using Geostatistical Analyst for Inverse Distance weighting -IDJJSJ "> t» v f*< Jeaearn !«■> SMS- an □ a>B« t» > « - ♦ I 1 J •*•>□ »7 aaabJe |*OD10X d X Iraki 1 J Hrraaa 01amWaeirarjapwl. ,rear* Jmi i.....laWli t»» a —ad lhara a» -at "r- aecuerr. » »ata ■ege^'roiMt.aeeaai. ■ cantaaf^.^leup.alntBce ar anntacraea«! »*a» Horerrer. Mara r;.~. ... , • . a nr.. ••»..,.-, r.imn iaaji»|aH.aj, / a A- »_- a/' -L ' anaui aarwaarzurar« tiraaalaaar fTjJ Summ i The wizard lets you specify the interpolation method to use and the model parameters, and shows you how well the model you've defined will predict the surface values. The specific parameters—and the corresponding wizard panels— depend on the method you specify. The Geostatistical Analyst toolbar also includes tools for detecting bias or patterns in your data, including histograms, normal QQ plots, and trend analysis. 400 5 • Geographic Analysis Creating a density surface Density tools produce a raster surface that represents how much or how many of something there arc per unit area. You might use density surfaces to represent the distribution of a wildlife population from a set of observations, or the degree of urbanization of an area based on the number of roads. f he Density toolset in the Spatial Analyst toolbox includes tools for creating density surfaces for point and line features. Point Density and Line Density search around each cell (within a neighborhood you specify), calculate the density for that neighborhood, and assign the density value to the cell. This is known as a simple density surface. Kernel Density tits a smooth curved surface over each input feature, with the surface value diminishing from the feature and reaching zero at the maximum search radius distance. It adds the values of these kernel surfaces to calculate a value for each cell in the resulting density surface. The Kernel Density tool accepts either points or lines. A simple density surface of population created using the Point Density tool from a layer of census block centroids. r%SpaOdAnarr9Tcalt " • & Ccr&xr* - ^Darjjy^^^ at* uratentty a«* Port Derart, - ^ Mnoi • ^ ; • • I i ueroafeabcn • I w GroixOMter • I , rf**rJoo, • I f :*rraiaoori • 1 » Loca Favorera | Index [ Search I A kernel density population surface created using the Kernel Density tool. The Spatial Analyst toolbar in ArcMap also lets you create a density surface lines and will calculate a kernel density or a simple density surface. -the dialog box accepts either points or 401 Using ArcGIS Desktop Creating a TIN surface A TIN. or triangulated irregular network, is a surface data structure composed of triangular facets defined by nodes and edges. They are usually used to represent terrain. The terrain heights are derived from spot elevations that are used as initial nodes in the triangulation. The shape of the TIN surface is controlled by the triangulation of these spot elevations. TINs capture the variation in a surface better than do rasters—the spot elevations can be irregularly distributed to accommodate areas of high variability in the surface and their values and exact positions are retained as nodes in the TIN. This makes TINs well-suited to engineering applications (such as calculating cut and fill). When creating the TIN, you can include other features, such as streams or ridge lines, to refine the TIN surface (these become breaklines that define the edges of triangular facets). Polygons, such as lakes, can be included to create flat planes in the surface. TIN surfaces are created using the 3D Analyst extension. The Create/Modify TIN option on the 3D Analyst toolbar displays a dialog box that lets you specify the input datasets and parameters. The new TIN surface is automatically added to the display. Sr—. - ■> , G - Eb (at f ral saaaar. la* va. rja> . \m m&\a a a b|a.»f«3Jjg a jal 1 j. a • □ v 1 «* ■»!.,. • 0 » ■ jj "3phS m i B a.• >• J.' . sterna aiauie n<**m To create a TIN, point to Create/Modify TIN on the 3D Analyst dropdown menu and click Create TIN From Features. In the dialog box, specify the layer containing the spot elevations, and any other features to use in creating the TIN. 5 mm zp ono 7o»oai-moats ■ ortooi - m* no 4 BtOOl - 75* *sco 9 1*001 »3 4M0 You can also create TINs using the Create TIN and Edit TIN tools in the 3D Analyst toolbox (TIN Creation toolset). Create TIN creates an empty TIN dataset—you specify the spatial reference for the dataset. You then use the Edit TIN tool to add points and breaklines to create the contents of the TIN (the faces, edges, and nodes). These tools are useful for creating TINs inside a script or model. 402 5 • Geographic Analysis If} ArcTootx» p 3D Aratytt Toe* Furtoorvjl Surf ate Raster Interpctebon RestaMath Roster Redes* Roster Surface TIN Croatian /»HHB ,* to*™ £ TIN Surface Ararysa Toots ■■: -■ m__ : * r-.se -dpi |H*C_1577_L'TU_2or..'9, » Use the Create TIN tool to create an empty TIN dataset and specify its spatial reference... \ ArcToobox % 3D Analyst Tools I Converse*! I Functional Surface I Raster Intertniatrjn I Raster Meth 11 f Raster Redess ) p Raster Surface - I ~t TIN Creation at* Create TIN • tar TIN Surface *t> Analysts Tccb_ rortei I rnde. | Seerchl "3-1 Inpul reeture CUn 11*1 21 ±1 ...then use Edit TIN to add points, breaklines. and other features to define the TIN surface. TINs are often best visualized as a 3D surface in ArcScene. Once you've created the TIN (using ArcMap or ArcToolbox), add the TIN to the scene. Since the 3D Analyst toolbar is available in ArcScene. you can also create TINs within ArcScene. When you add a TIN to a map or a scene, a default rendering is used. In ArcMap, the default is an elevation color ramp. In ArcScene, the faces of the TIN triangles are drawn using a single symbol (although the TIN is drawn in shaded relief). Use the Symbology tab on the Properties dialog box (in either ArcMap or ArcScene) to change the rendering. You can draw the faces using a color ramp for elevation, slope, or aspect; you can also draw the edges of the triangles, the nodes (derived from the original input points), and any breaklines you may have used to create the TIN. .. iaa|7 * «J v. - » - » — 3 B* «a> • * I •»•□« i—b'« sal 3»> t>«.t«*8 = ::"«^M J!=J *J Caga *p» traced •» aa mmta Caaa.at.e.aa.iaaa 'faJflW '■men mtgm at- y.-l.mti* cOU uwac mm m%m4 w MW«^^94daM^bi-H<»Se»t oaeah l*et eeMB Wfmmtri *a—1 - 1 -1 —™—1 "—■ 1 *=J *J .-. a - ••• 261 793324 272 62CG56 — 2909519J1 Si 7EJSS4 m%9M Mllesa 2BSS15SI 229277J25 240 lleCBff 219439932-229277)25 a>eoBa ztttrnn 1*765327 707 tC»tS flaeeel 195927994 196765327 8X0 MM 261 799 272627 WITH 2C17S9 240115 250952 229277 2401« 21(440 229277 207tD3 716440 156 765 3376CQ 105329 196 76S Click Add on the Symbology tab of the Layer Properties dialog box to display the Add Renderer dialog box. Select the renderers you want to add to the list, then click the Add button on the dialog box. Select a renderer from the list to display and modify the symbols. You can create and store a TIN-based surface within a geodatabase by building a terrain dataset (see 'Adding specialized datasets to a geodatabase' in Chapter 2. 403 Using ArcGIS Desktop 5 • Geographic Analysis Deriving data from an elevation surface Surfaces are constructed from x. y. and z (height) values. This allows you to perform geographic analysis-that takes into account height above (or depth below) a flat plane. Once you've constructed an elevation raster surface or TIN, you can derive new datasets that represent characteristics of the surface, such as slope and aspect. Tools that allow you to derive new surfaces from an elevation surface include Contour. Slope. Aspect. Hillshade, and Curvature. The derived datasets are useful for input to other analyses, such as overlay analysis, as well as for visualization and cartography. The tools are located in the Surface toolset in the Spatial Analyst toolbox and the Raster Surface toolset in the 3D Analyst toolbox. The Aspect tool calculates the direction of the slope face for each cell. The aspect of a surface typically affects the amount of sunlight it receives (among other factors). The Contour tool extracts lines of constant value (isolines) from a raster surface. The TIN Contour tool extracts a line feature class of contours from a TIN surface. ■»»-»»------kmm__ Curvature calculates whether a given part of a surface is convex or concave. Convex parts of surfaces, like ridges, are generally exposed and drain to other areas. Concave parts of surfaces, like channels, are generally more sheltered and accept drainage from other areas. The Slope tool calculates the maximum rate of change from a cell to its neighbors, which is typically used to indicate the steepness of terrain. Hillshade shows the intensity of lighting on a surface given a light source at a particular location; it can model which parts of a surface would be shadowed by other parts. 404 405 Using ArcGIS Desktop 5 • Geographic Analysis The derived surfaces can be combined with the original elevation surface, or with each other. _dj_ □ a* a • ■ •• I* '- - • » 3 -J «v • a *? * * - -i j • BiftT 3rr3 ■ / o a- •« _• _- Displaying contours on top of the elevation surface adds detail to the map. The hillshade surface is often displayed under the symbolized elevation surface to create a shaded relief map. Set the transparency of the elevation surface using the Display tab on the Layer Properties dialog box. Viewing the surfaces in perspective, using ArcScene. can help you visualize the surface characteristics. ar_a__s_r___c____i_____ 3 ©■> <•".«■ pa — .- *— * ■ nm -iffl_ 3 o* »■'. • 3»> +»«»t*9a :: - ■> o m 4, Displaying the Slope surface in perspective lets you easily see the areas of steepest and flattest slope (see "Creating relief maps and perspective views" in Chapter 4). This perspective view of the Aspect surface shows north-facing slopes (blues) and south-facing slopes (yellows). Contour, Slope, Aspect and Hillshade can also be accessed from the Spatial Analyst toolbar in ArcMap and the 3D Analyst toolbar in ArcMap or ArcScene. Spatial fi/ioVst * Lajpar |ak»vanon -SI- JO**** * L d P ■> Q 9 Dsunce LXf_y... Ij—npolata to Raster Cal Statu MaigttotM—Stdttstrj ional Statistics Raster Ca—War... Createitjodry m Intorpolate to Raster > icrtoj Sope... ftspect... tjishaoe... ß*V«... Jonyert OjBons Corte«»... Scot... ftipaet... tjtahade... y>«ashed... CUjTl..._ Ateaendvoi™... VV'hen accessing the tools via the toolbars, the default for the output is a "temporary raster," which is automatically added to the map or scene, but not saved. That allows you to preview the analysis parameters and preview the output. To make a temporary raster permanent, right-click the layer name in the table of contents, point to Data, and click Make permanent. Alternatively, you can create a permanent raster initially by typing a name for the output raster in the dialog box—the raster will be saved in the working directory (set using Options on the Spatial Analyst drop-down menu). Or, type a full pathname to override the working directory setting. 0, p*. ja- raat ia«—1 task team 9*. D a* a • _>■-••* FwS 3 il «V •_oVJ t t * -I 3 - ■ a The default output for Slope and other surface analysis tools accessed from the toolbar is a temporary raster. Enter a raster name if you want to create a permanent output raster. If you accept the default of a temporary output raster, and later want to save it. right-click the layer name, point to Data, and click Make Permanent. Alternatively, save the map to make all the temporary rasters permanent (they will be given a default name and stored in the working directory). 406 407 Using ArcGIS Desktop The tools on the 3D Analyst toolbar accept TINs as input, in addition to rasters. The output is still a raster surface for Slope, Aspect, and Hillshade, and line features for Contour. The surface analysis tools on the 3D Analyst toolbar accept TINs as input, as well as rasters. The ArcToolbox versions of the TIN tools are located in the TIN Surface toolset, in the 3D Analyst toolbox. %»*naV«Ťoc*i . I ^ Converson « J f KfKTjonal Solace • I i Raster .tr-xittx • I i Bm Math • I t Raster Redan . I i Raster Surface • i > Terr an • I I imCreeoor. - I b TIN Surface ,* Oecieefe TU Neda» f* Extrude Bet-eon «♦» lrtorpcta»Pc»rcjctiWPa*eatch ,* TW Aspect f* TTN Contour ,*» Tm Diference TmPorrcrxi vokrne TW9ope 408 5 • Geographic Analysis Calculating surface volume ArcGIS Desktop includes a set of tools used to calculate volume from surface information. The tools calculate the di(Terence in volume between a raster or TIN surface and another surface. Depending on the tool, the other surface might be specified by a horizontal plane at a given elevation or by a second raster or TIN surface. Volume calculations arc typically used in hydrology and civil engineering applications. The Surface Volume tool is used to calculate volume of a surface above or below a horizontal plane at a specific elevation. You'd use this tool, for example, to calculate the volume of water in a section of river channel at a particular flood stage or to calculate the volume of additional water when a reservoir is near capacity versus its normal level. This tool is available on the 3D Analyst toolbar (as the Area and Volume function) and in the 3D Analyst toolbox (Functional Surface toolset), and can be used on raster or TIN surfaces. The output of the tool is the resulting surface area and volumes, which are displayed on the screen. You can optionally specify to write the results to a text file. The Surface Volume tool calculates the volume between the surface and a flat plane. In this example. Surface Volume calculates the area of the surface of the water and the additional volume of water were the surface to rise three meters above the river bed. I ArcTooboi % X'«narrst Tools - & Conwenaon - 4«V Puncoaraj Surface Interpolate Shape une Of Saht *f* Surface Length Surface Spot >«■«'.'.' • Ba«er Irterpolebon F^rataallnce. | Search | The results Output Tart r«a (oteonal) eaaaraaaa r. .»•■;-«i... jcr-eoarl r Caaeeailateo-aani.i-ualail^cca^ul, »1 Scar! Tl»e: Th» Kov 17 13:29:ja 20OS _I Coavleted Surtace voliaat: 2D Ixee-STaSet.M 3D Area-ST»«50.02 Vola taecated fSarfaceVoleae_3] eaceaaatallT- I»d Tlae: Tau Nov 17 is?29:3e 2005 ttloaaed Tue: 0.00 eeconeail The Cut/Fill tool (illustrated on the next page) is used to calculate the volume difference—negative or positive—for before and after surfaces of the same area. This tool is used, for example, to calculate the volume of earth that must be dredged from a river channel to improve navigation. Cut/Fill is in the Spatial Analyst toolbox (Surface toolset) and the 3D Analyst toolbox (Raster Surface toolset). It's also available on the Spatial Analyst and 3D Analyst toolbars in ArcMap or ArcScene. The versions of the tools contained in Spatial Analyst accept rasters as input; the versions in 3D Analyst accept TINs (the toolbar version also accepts rasters). In all cases, the results of Cut/Fill are presented as a raster of the difference between the two layers. Cells are grouped into zones (contiguous cells representing cut areas, fill areas, or no difference areas), and the attribute table for the raster layer stores the volume for each zone. 409 Using ArcGIS Desktop This example shows elevation surfaces of a subdivision before and after grading for a new cul-de-sac. HpF HEIMr si 0 A,cIOObca - - ^3D*rva»y«Ic«* • & Conversion > & FHrctlorva Surface • & Raster Interpoaoon • & Paster Math • & Raster Reden _ - e9 Raster Surface «♦* Aspect e«* Contour f Contour Lot ^ Curvature /DB ^r*naoe Favoreyjlnoa. | Seesthj The resulting Cut/ Fill raster layer (draped over the 'after" surface) shows where material was removed (blue) and where it was added (red). The after surface is subtracted from the before surface, so if the surface has dropped (a cut), material has been removed and the calculated volume is positive. By summing the positive volume you get the total cut volume. Conversely, summing the negative volume gives you the total fill volume. To get the total cut volume, select the records having a positive volume and calculate statistics for those records (see 'Selecting a subset of features'and Wonting with a selected set'in this chapter) ■ Record h|«|~ TjJ«J ShowfAT Sefcoled Total cut volume 5 • Geographic Analysis The TIN Difference tool compares two TINs and identifies each area where the second TIN is above, below, or at the same level as the first TIN. It creates polygon features corresponding to each of these horizontal areas, and codes each polygon as representing an area above, below, or the same. It also calculates volumes above or below these horizontal areas and the second TIN. and assigns them to each polygon. The second TIN (shown here on top of the elevation TIN) was TIN surface showing elevation of a stream valley. created from stream profiles for a fifty-year flood. C% 30 Anarrtt Tools . J Conversion - I f Fundxrwa1 Surface • I f Raster Irurcdebon 1 I t Raster Math • I ^ Raster Poetess • i p faster Surface j j f Terr an t TIN Creadon I TWSurfete Decanate TIN Nocers f Enrude Between ? Interpolate Polygon to Mulcetch f TIN Aspect ^ TTK Contour /on /* TIN Potygon voVjne »•* TIN 5k«»_^ TIN Difference creates polygons indicating where the second TIN is above (a value of 1). below (a value of-1). or at the same level as the first TIN (a value of 0). By selecting the polygon(s) with a value of 1 (water level above the original surface), the fifty-year floodplain area is delineated (shown here in blue on top of the original elevation surface). *sxl>—1»—ET - k , □ • A - The TIN Polygon Volume tool calculates the volume difference and surface area for each polygon in a layer relative to a TIN surface. Each polygon represents a horizontal area at an elevation specified in a height field. The volume above or below this planar area to the TIN surface is added to the polygon layer's feature attribute table, along with the surface area of the polygon. As with the other surface analysis tools, when the tool is accessed from the toolbar the default output is a temporary layer. Enter a file name to create a permanent layer initially, or—after creating the temporary layer (which is added 'o the map or scene automatically)—right-click it in the table of contents and click Make Permanent, if you want to save it. 410 411 Using ArcGIS Desktop Analyzing visibility Several tools included with ArcGIS Desktop allow you to calculate which portions of a surface are visible from specific locations. These tools can be used, for example, to site fire lookout towers or find the route for a transmission line that is not visible from a scenic area. Some related tools measure the amount of solar radiation reaching the surface. Measuring line of sight The Line Of Sight tool identifies whether or not one location is visible from another, and whether or not the intervening locations along a line between the two locations are visible. Line Of Sight is available in 3D Analyst, and works with both raster and TIN surfaces. The tool supports offsets, which allows you to specify the height above the ground of the observer and target points. The Line of Sight button on the 3D Analyst toolbar lets you enter the observer and target points interactively. The result is a graphic line that is stored with the map. Click the Line of sight button on the 3D Analyst toolbar, enter optional offsets, then click the observer location and target location on the map. The result is a graphic line showing which portions of the line of sight are visible from the observer location (green) and which are not (red). The target point is likewise color coded as visible or not. The Line Of Sight tool is also included in the 3D Analyst toolbox (in the Functional Surface toolset). The input for the tool is a two-point line. The observer location and target location are defined by the direction the line was digitized—the start point is used as the observer location. The output is a line feature. The advantage of having an output line feature is that you can use the line in further analysis. For example, you could buffer the visible segments to create a view corridor, or overlay the line with land cover to find out which land cover types are visible from the observer point along the line of sight. You also can control the symbology for the line—to make it wider, for example, or change the color scheme. 412 5 • Geographic Analysis The input to the Line Of Sight tool in the 3D Analyst toolbox is an elevation surface and an existing two-point line feature. 0)) AKT«*«). •. - 0> ■ A/veV* Took 1 ► B ConveTejon J - %1 rintcri Surface a«* LleOMttaiM y* una a Soft nan jareaa. i** arer- par -JflJ3 - - r if, 9 ' 3 1l>-=iS Q Viewshed combines an elevation surface with a point or line layer containing one or more 'observer' points. The result is a raster layer showing which portions of the elevation surface are visible from the point location(s). 413 Using ArcGIS Desktop The Observer Points tool (available in both the 3D Analyst and Spatial Analyst toolboxes) is similar to Viewshed. However, it tracks which portions of the surface are visible from each point, or combination of points, and codes the output raster cells accordingly. "~r~ * i 3 U *-ma>t> - t% X> Analyst Toots EE) Converson as Functional Surface & Raster WerpoleBori E « Raster Math & Reiter Redan m Raser Surf ace ^Aspect t* Contour ,* Contour Let P Curvature ,* Cut/Ff ? rehharja ,»9ope ^> vemtned ii i F«««|lnOB. ! Search] ■ -1— m • ■** ■'• 3W3 ■ / I a- »- ^- -i- Oftserver Po/'nte tracks which portions of the surface are visible from each point, or combination of points. In this example, blue cells are visible from point 1 only, yellow cells are visible from point 2 only, green cells are visible from either point 1 or point 2. and orange cells are visible from point 3. No cells are visible from all three points. Both the Viewshed and Observer Points tools also allow you to specify observer and target offsets, as well as parameters that let you limit the directions and distance each observer can view. 5 • Geographic Analysis Measuring solar radiation \ related set of tools is used for measuring the amount of solar radiation (measured in watt hours per square meter) received at each location across a surface, or at specific locations. The tools. Area Solar Radiation and Points Solar Radiation, are located in the Solar Radiation toolset in the Spatial Analyst toolbox. In addition to the input elevation surface, you specify the time period for which to calculate the solar radiation, and the interval. For Area Solar Radiation, you can create a single, total solar radiation surface, or a separate surface for each interval. Area Solar Radiation creates a raster surface showing the total amount of solar radiation received at each location (that is. for each cell). *y^r^M^reMJJJBjejBBBJBJPBJpjejPMPJPBBJBBJJ _;ni a; 9» t* fe MacAjgcoT i i Math i t Mjbvanate & Overler I ^ s aster Oeebon I ) Redan y - •: f Port» Sciar Redeten Soar Padatxr Graphics £ Surface aw llnce» I Seated D«-/T|ie» Bfargi I 2KB Suede; I ~ m r m r r DmM oufeu. k* ««öS riBjrva. » Topograph.. p.r.n.«ton * ■•diejtiort ptrametro » Option* I output t Mi* In this example, for a one month period for a dataset located in the northern hemisphere, south-facing slopes receive the most solar radiation (orange) while north-facing slopes receive the least (blue). The output for the Points Solar Radiation tool is a dataset of point features, with the solar radiation readings stored as values in the dataset's attribute table. 414 415 Using ArcGIS Desktop Analyzing spatial distributions ArcGIS Desktop includes statistical tools to analyze spatial distributions and trends. These tools allow you to go beyond visual analysis of maps—the calculations use the locations of features and the distance between them, as well as attribute values (in some cases). One set of tools calculates the center and dispersion of a set of features. Other tools calculate the directional trend of features. Calculating the center and dispersion The Mean Center tool calculates the average of the x-coordinates and y-coordinates of all the input features (usually points). The result is a new layer containing a single point (the center). The Standard Distance tool measures the dispersion or concentration of features around the mean center. These tools are located in the Spatial Statistics toolbox, in the toolset titled Measuring Geographic Distributions. ; at U * * « ~3 J Atta ir • I 1 - - it The Mean Center tool creates a new point feature representing the location of the average x-coordinate value and average y-coordinate value of the input features. * U * r- , e> h*« £ u *■ mo v t « > a • „ .r-r—] - - m « r - % SmdK StatBOn lock • & At^tdq Patterns 3B «B Happerg Ousters - ey MeasvinQ Geocjr aphc Datrtajtoi I Central Feature $ Lrear Oectcnal Mean $ MeenCenter t Standard Castance • t& utetars Fevcetea |Inda. | Samchl The Standard Distance tool uses the mean center to calculate the extent to which the distances between the center and the features vary from the average distance. The calculated distance—which represents a standard deviation in map units—i used as the radius of a circle to represent the standard distance graphically on a map. Input Feature clan I*, coecug Output I, Kur, clan |C\—e aepiVfqie»jfl_rd ritual 11*1 wmtimsaassal. I Rata (optional) / ■ A- *• J.- JBfi ■ - U » * m ~1 4 *■ mO V 1- fw.-! a a b —-. - * * * Insul r.atur. Cleat e Oueut Starvaan) Mira F.atur. Clan Od.SU. -a a -a ««ghl raw ItWtnel) _lV She. Hep » I 1^~3 » ' ■ A- »- J.- A' 416 5 • Geographic Analysis You can specify an attribute value in the tool dialog box to calculate the weighted mean center (the center will be pulled toward the features with the highest values). For example, you might calculate the center of business locations weighted by the number of employees at each business to find a likely location for a transit stop. The weighted central feature and weighted standard distance can also be calculated by specifying an attribute value. • > u • a a -I l ' • a, • B :: * 4 » o M u ~3 4 «*•□ * • t f ,. Ij • V O- A- • {i~ZT • ' b A" »-«•-.!- •» p. rw. *w y«w '» - U a) e a * • - ■ -n - - a 3 si a . * • j . . :: - □ «MJ< O • '. • *4 tie «• • * • - ■ \ t • • • • « o * .' •' • M b » • \/y: "'*••'. • P . e* • *• - -III' -'—1 • a*. ' . J ~ ■erase » v □- a - ■r. [e>~ ■ , b A- •» dt» A' 4 777e standard distance is useful for comparing distributions. In this example, the standard distance circle for commercial burglaries (left) is clearly smaller than the one for residential burglaries (right), indicating that commercial burglaries are more concentrated around their mean center. Analyzing directional trends The Measuring Geographic Distributions toolset also includes tools for measuring spatial trends. The Standard Deviational Ellipse tool provides a measure of the directional trend of a set of features. The ellipse, which is created as a new feature, is calculated from the mean center. The attribute table for the ellipse includes the x- and y-coordinate of the center, along with the length of each axis, and the angle of rotation. You can specify that the ellipse be calculated using one, two, or three standard deviations. One standard deviation shows the area of concentration of features; three standard deviations shows the area covered by most of the features. The orientation of the ellipse is the same, regardless of the number of standard deviations—only the size is different. As with the standard distance, you can specify an attribute value to calculate the weighted standard deviational ellipse. The standard deviational ellipse shows the orientation of discrete features (usually points). In this example, the standard deviational ellipse for commercial burglaries (using two standard deviations) shows the area where the majority of the burglaries occur. It could be used to decide where to deploy officers. aJBUH ~3 it W -r~^ • - a, > „ . «Fi . -f—□ • ~3 4 V »—a - • □ • A - % SpaDal Statut» looB • ^ ftnaj ■ :r.-.-V*?". I 6 Mapprg Clusters - £ Heasurrg Geooraphc Castntxjoons $ Central Feature f I $ Linear Drectcnal Mean ! MeanCenter $ Standard Ostance • ta> Utebes Si -3 • t f Incur F.atur. Cum m ae&ag e Ouput «p«o Feature Clan 1 p Standee Oemeam wewWHeaaiopnonai) Cna r*U jopeonaQ, i A" * • jL - — ■ 417 Using ArcGIS Desktop The Linear Directional Mean tool calculates the mean direction of a set of line features, based on the direction of each line. Optionally, the tool calculates the mean orientation—the direction the line points is not considered, only its trend (east-west, for example). Mean direction could be used to calculate the downstream trend of a stream network (in this case, the direction the stream segments point is important): mean orientation could be used to calculate the trend of elk migration paths (you don't care which direction the elk move, only the orientation of the paths). When you calculate the directional mean, the circular variance is also calculated. The circular variance is a measure of the extent to which the lines all point the same direction (or in different directions). The closer to 0, the more the lines point the same direction; the closer to 1, the more variability there is in the direction of the lines. The linear directional mean shows the average direction (or orientation, optionally) of a set of line features. The output is a line feature, which you can draw as an arrow. The length of the line is the average length of the input features, and it's placed at the mean center. The attribute table for the directional mean line includes the angle of rotation, the coordinates of the center, and the length of the line. It also includes the circular variance. ! Bis* .E ~3 J «x*n *» .r—3 - - r% Spabal Stabsocs Took • & Arvjryano. Patterns • O Merjpre; Clusters - t> h-ssjit; GeogrxfK terbm-. $ Central Feature / MeenCanter t Standard Cratenca • 4.4 •**»» □ * a *» • ■> <• •> I—- j a a. ir? t a) ' • - -n - - a -DJ*) ■ini-"'aii'ii» ii " .■■y/^».~:.rTw*7ii " »|M| jraffTT Salaciae| Bacorei 10 cu a t SelBcssd i Favoataa I'nde. | Search | tho-HaB)) | maraKan 5 • Geographic Analysis Identifying patterns and clusters ArcGIS includes tools that allow you to identify spatial patterns in your data. Sometimes, apparent patterns you can see when you look at a map will vary depending on how features are symbolized or how values are classified into ranges. The Desktop tools use statistical methods to identify and analyze patterns in the underlying data. They also—in many cases—calculate the statistical significance of the results. This "score" tells you how confident you can be that any trend or pattern identified by the tool is not due to chance. All of these tools are located in the Spatial Statistics toolbox in ArcToolbox. The tools in the Analyzing Patterns toolset identify whether a set of features (usually points) or values associated with features (usually polygons) form a clustered, dispersed, or random pattern. The Average Nearest Neighbor tool is used to identify patterns in a set of discrete features such as points. * f ~3 4 a>.*n *? - % Spend Statsbcs Tools - %V araryang Patterns / Average Nearest Hmfta S t»JB^astance SpaDel Ouster ArvaVsa 0WrrsKf\rtUx\) $ SpacarJ Autrxorrotatian (Harare. I) • & Mappeir; Ousters • SMe^C^^Oes-t^ • tJV UtJbes_ Favratollnde. [ Se-ch| Input Feature Class CudrasanCraurca C OiWer Crut»utov«lh37S090< —errrun neighbor Patio - o.5*.7»77noej»e2 3i 2 Score - -11.378504039473472 Standard Deviations Coareleted ecclpt AveregeNeoxeetMe ighbor... Executed (AveregeNeareetrielghbot_21 euccesafulit. lod Tuae: Sod Nov 2« 15:14:55 2005 lllapaed Tubs: 44.00 In the example above, the Nearest Neighbor tool has calculated that commercial burglaries in this area are clustered, and there is a less than 1 percent likelihood the pattern is due to pure chance. That is. you can be 99 percent sure the burclaries are, in fact, clustered. 418 419 Using ArcGIS Desktop 5 • Geographic Analysis Moran's I and Getis-Ord General G identify patterns formed by values associated with features—often contiguous features, such as census tracts or counties. They produce a single statistic that summarizes the pattern formed by the spatial distribution of values. Moran's I looks at whether features with similar values cluster or are interspersed. Getis-Ord General G identifies whether any clustered pattern is due to clustering of high values or low values. -jma % Spabal Staune! To* - *) AnaVmg Pari arm S Average Nearest Nea/ficr f ragM.0» OjaertYj (Ceta-Od Generel G) $ kUttOletanco Spatlel Ouga AnaVsn (EgfcYi' FmOxn) / BeafaaBBHeBsB • & r-Vcprg CKaters £ B HaanrTq Geograpre: Cactjfajbons ■ & re-,--. Fawaan linde» I S—ct.| Incut Herum Clan u[3 C CMpler Ouroot Grapraeatr (oeoonal) f^eaaeeyat.aoon el Soar* »alaoooaha» k*mCMirCf The tools in the Mapping Clusters toolset show where clusters occur. The Anselin Local Moran's I tool calculates a statistic and significance value for each feature that indicates how similar that feature's value is to those of neighboring features. It shows areas (clusters) where neighboring features have similar values (either high values or low values) and areas where there is a mix of high and low values. The Getis-Ord Gi* tool also calculates a statistic and significance value for each feature. However. Gi* identifies clusters of high values and low values (hot spots and cold spots). aaaej' ^ *lflaí A-gff 6) Spat*) Staršou TocH • & AnaViix Patterns - &9 "JPpr«; Qjsters }• Ouster/Otter Anarrss ««n Senderrrg $ rw Scot Anarrnj (<äata-Ord G7-) J- not Spot AneVss <«f.eenoarraj i Meesumg Geography Oatrtjutions i> Utata» Moran's I calculates whether similar values cluster or are interspersed, more than you would expect due to random chance. In this example, census tracts having a high percentage of senior citizens occur in clusters, and there is a less than 1 percent likelihood that this is due to random chance. The results are written to the tool's status window and can optionally be displayed graphically. -IOl»l Branní a a Indes - 0.039748253208697048 cted Isoex - -0.0062893081781006293 ■act - 5.9645440597783642*-O05 or* - 5.96106Í52325O6195 Completed scEipt Spa t*ecuted (9p«cialAacocotrel«tlon_ei succtBffully Cod Ttao: loo Hov 28 16:06:41 2005 (ľlapsed Tim tnout Feature Clan - 14 Output Feaeure Can r>wco8or«orTr«e«fceMO««Ar«e >a—i- t) * A'-:: \t— dF~3 ■ / ■ MŤ Local Moran's I assigns a statistic—and a significance value—to each feature, based on its similarity to its neighbors. These are added to each feature's record in the output layer's attribute table. You can then map these values to show where features with similar values cluster (orange tracts in this example) or where high and low values are interspersed (blue tracts). 420 421 Additional Resources for Learning and Using ArcGIS Desktop Here are some additional sources of help and information available to you as you learn and use ArcGIS Desktop. Data ArcGIS comes with a number of geographic data sets you can use to start making maps quickly. These are found on the ESRI Data & Maps Media Kit. The data sets consist of global or national base map data, and include: World Continents Countries Cities Lakes/Rivers Ecoregions Topography and bathymetry Shaded relief 150 meter resolution satellite imagery Latitude and longitude grids Demographics Europe Countries Provinces Cities/Urbanized areas Roads Railroads Waterbodies Demographics Canada Provinces Cities/Municipalities Indian reserves Highways/Railways National/Provincial parks Waterbodies Mexico States Cities/Municipalities Roads/Railroads Elevation contours Water bodies/Rivers and streams United States States Counties Cities/Populated places ZIP Codes Census tracts/Census block groups County population data Congressional districts Cultural features Highways/Roads Detailed streets (StreetMap USA) Water bodies/Rivers and streams State Plane Zones USGS Topographic Quad Series Indexes See the data Media Kits for a complete list of datasets. 423 Using ArcGIS Desktop Appendix Tutorials Quick-start tutorials are available for the various applications and functions within ArcGIS. They can be accessed from within the ArcGIS Desktop Help system—look under •Getting more help' in the 'Getting Started' section of the Help contents (or search using the keyword "Tutorials"). The tutorials are in PDF format and require Adobe Acrobat to view them. The sample data to use in conjunction with the tutorials is installed optionally from the ArcGIS Desktop software installation media. The default location for the tutorial data is the arcgis\ArcTutor folder. ArcGIS application overview tutorials • Using ArcCatalog—organizing, previewing, and managing geographic datasets • Using ArcMap—making maps, and querying and analyzing geographic data • Using ArcReader—viewing and querying maps published with ArcGIS Publisher Data management and processing tutorials • Building geodatabases—designing and building a geodatabase for storing and managing geographic data • Editing geodatabases—creating and editing specialized geodatabase feature classes • Editing GIS features—creating and editing feature geometry and attributes, and performing spatial adjustment • Geocoding in ArcGIS—assigning geographic coordinates to locations or events from a list of street addresses • Geoprocessing in ArcGIS—working with tools for managing and analyzing geographic data • Linear Referencing—defining, managing, and analyzing routes over GIS networks • Representations—creating cartographic representations for rules-based symbology Extension product tutorials Tutorials are also available for most of the ArcGIS extension products. Data compilation extensions • ArcScan for ArcGIS—importing scanned data • ArcGIS Data Interoperability—converting geographic data between various formats • Using Survey Analyst—managing land survey data • StreetMap—working with street and address data • Schematics—creating schematic views of GIS networks and tabular data Mapping and visualization extensions • Maplex for ArcGIS—placing label text for cartographic production • Using Publisher—creating and publishing map documents for use with ArcReader • Using 3D Analyst—creating 3D perspectives and globe views • Using Tracking Analyst—working with mobile features, and creating time-based displays and animations Geographic analysis extensions • Using Spatial Analyst—analyzing and modeling geographic data • Geostatistical Analyst—modeling surfaces from sample points Books Courses from ESRI Conferences and user groups ESRI Press publishes a variety of GIS-related books, including ESRI software workbooks, such as Getting to Know ArcGIS Desktop, and industry-specific case studies and applications. Several ESRI Press books cover the concepts and methods behind many of the geodatabase design, map design, and geographic analysis tasks presented in this book: • Modeling Our World: The ESRI Guide to Geodatabase Design describes the various models for representing geographic data and the various components of a geodatabase. • Designing Geodatabases: Case Studies in GIS Data Modeling describes the geodatabase design process in detail and provides examples from a variety of industries. • Designing Better Maps: A Guide for GIS Users covers the basics of map design and production, including layout, fonts and text, symbols, and color selection. • The ESRI Guide to GIS Analysis, Volume 1: Spatial Patterns & Relationships describes the use of maps for visual analysis, including types of maps, classification schemes, and use of perspective views. It also covers basic GIS analysis tasks, including feature selection, overlay analysis, and distance analysis. • The ESRI Guide to GIS Analysis, Volume 2: Spatial Measurements & Statistics describes concepts, methods, and tools for statistical analysis of geographic distributions, patterns, clusters, and directional trends. ESRI Press is online at http://gis.esri.com/esripress. ESRI provides both instructor-led and online courses. These cover a wide range of topics and levels, from introductory courses on ArcGIS, to advanced database management and programming classes. Online offerings—at the Virtual Campus—also include courses on industry-specific applications. Go to Training at www.esri.com. lfl» ESRI Training and Education------ -■ r i •*• 'itintn n m Finally, other ArcGIS users are a great source of infonnation and help. ESRI user groups exist in many places around the world, and many of them hold local, regional, or national conferences and meetings. ESRI also sponsors an annual International User Conference, as well as other regional user conferences. These conferences provide a great opportunity to learn from other users' experiences. For more information see Events at www.esri.com. 424 425 Index Symbols 3D Analyst. See ArcGIS 3D Analyst A Add Field 206, 352. See also Fields Add Join 357 Add Link 242 Address locator 63, 79, 80, 142, 165-66, 168 Add Route Events 169, 171 Adjust 240-45 Aerial photo 132, 154, 162, 190 Align map elements 315 model elements 43 Allocation 345,391-94 Animation 264,271-72 Animation toolbar 329-35 ArcGIS Tracking Analyst 51, 336-37 Annotation 20, 28, 268, 304 geodatabase 83, 108,208-17,218,250 map document 207-08 Anselin Local Moran's I 421 Append 247 ArcCatalog 2, 7, 8, 15,46, 52, 53, 55, 57 and ArcMap 265, 266, 273, 274 and ArcToobox 35. 36, 38,43 building geodatabases 102-45, 147, 148.209-10, 217, 218, 221, 222, 226, 236, 291 data compilation 157. 159. 160, 162. 166, 168 described 29-34 distributed geodatabases 260. 262 geographic data management 67, 72, 75, 76, 85, 87-101 multiuser geodatabases 249, 251, 254, 256, 258 ArcEditor 47. 52 ArcGIS 3D Analyst 50, 264 animations 328 displaying TINs 135,403 perspective views 325-26 surface analysis 344-45, 385,409, 412-13,414 surface creation 398, 399, 402-04. 406, 408 ArcGIS Data Interoperability 47, 163 ArcGIS Desktop extensions 46,47-51 ArcGIS Geostatistical Analyst 35, 50. 344, 345, 400 ArcGIS Network Analyst 51, 138-39, 340. 344, 345, 389 ArcGIS Publisher 49, 56 ArcGIS Schematics 48 ArcGIS Spatial Analyst 35,49, 340, 344, 345 allocation 392 distance analysis 383-85 modeling flow 397 path analysis 386-88 raster overlay 376-78 shaded relief 325 surface analysis 409 surface creation 398-99, 401, 404, 406, 407 visibility analysis 413,414,415 ArcGIS Tracking Analyst 51, 272, 333, 336-37 ArcGlobe 264.272,279 animations 328-32,333 Arclnfo 47, 48, 52, 303 ArcMap 2-13, 14, 46, 49. 52. 53. 55. 56. 57. 72 and ArcCatalog 29,31,34 and ArcToolbox 35, 36, 37, 38, 39,43 animations 328-32, 333-35 data selection 360-68 data validation 230, 233-34, 236 described 15-28 digitizing 190, 194-95 editing in 172-89, 201 -29, 254-59, 261 geographic analysis 345, 346 mapping 264-327 quick tour 2-14 selection 360-68 spatial adjustment 240 tabular data 348-59 ArcReader 49, 56 ArcScan for ArcGIS 47, 154, 196-200 ArcScene 75, 135, 264, 271, 272, 279, 326, 328-30, 332, 333, 403, 406. 409 ArcSDE geodatabase. See Geodatabases 427 Using ArcGIS Desktop Index ArcToolbox 2. 14. 15, 29. 31, 46. 52, 53, 55, 59, 72, 92. 142, 152, 340, 345, 346 data compilation 161-63, 168, 171, 225, 237, 247 data extraction 369-72 described 35-45 distance analysis 380-88, 391-92, 397 distributed geodatabases 262 multiuser geodatabases 259 overlay analysis 373-78 quick tour 10-13 selection 363 shaded relief 325 spatial statistics 416-21 surface analysis 409-11,413-15 surface creation 398-99,401, 403-06, 408 tabular data 351,354,357 Arc View 52,96 ArcViewGIS 76 Area 409 Area Solar Radiation 415 Aspect 404-06,408 Attribute index 146-47, 148 Attributes defined 64 displaying 31. 51, 68, 73-74, 87-88, 129, 273, 283-85. 348-51 documenting 51,97, 157 editing 28,34, 180,201-06 graphs 318-19 in geodatabases 78, 83, 105-06, 107, 124 labels 300-01,307 reports 321-23 selecting by 11-12,286-87,363 summarizing 28, 348-49. 365 symbolizing features using 268, 288. 289, 293-95, 327 transferring between features 240. 246-47 Attributes dialog box 201-03, 205-06, 216, 221, 230-32 Attribute table defined 18 editing attributes in 204-06 selecting features in 287 viewing 9-10,26,31,87-88, 129 See also Fields; Tables Attribute Transfer 246-47 Average Nearest Neighbor 419 B Basin 397 Bookmarks 279 Buffer 342, 345, 380-82 Build Pyramids 147 CAD 56, 75, 110, 152-53, 162. 240 Cartographic representation 290-91 Center. See Mean Center; Central feature Central feature 417 Charts 295 Classification numeric values 292-93 Clip 369 Clusters 343,345,420-21 Cokriging 400 Color custom 305 specifying 288-89,305 Combine 376 Command line 38-39,40,41,55 Configuration keywords 107, 109, 211, 218 Connect databases in ArcCatalog 29-30, 85 geometric network editing 228 model elements 43 Connections ArcCatalog 29, 85-86, 103, 256, 265, 273-74 Connectivity 79, 139, 141,226,229,230,232-33 Connect to Folder 85 Contents tab 30, 87 Contour 404,405,406,408 Contour lines 81, 134,405,406,408 Control points coordinate system 72 digitizing 190-93, 194 spatial adjustment 240 Converting coordinate systems 239 data formats 66, 152, 153, 157, 160, 161, 162 features to graphic objects 308 labels to annotation 209. 304 symbols to cartographic representations 291 Coordinates. See Geographic coordinates 428 Coordinate systems assigning 34, 82, 107-09. 158, 237-39 data frames 276 defined 69-72 feature datasets 78,113-14 viewing 94 Copying annotation 208. 211 ArcCatalog entries 30, 32, 93-94, 160 attributes 246-47 data frames 310-11 features 179-80,226 layers 269,277-78 symbols 298 Corridor 386, 388 Cost Allocation 392 Cost Distance 383-84, 385, 386-87, 388 Cost distance surface 384, 388 Cost Path 386-88 Cost surface 384, 387 Cost Weighted 386 Coverages 33, 56, 75, 76, 77, 78, 95, 152, 157, 160 Create/Modify TIN 402 Create Layer From Selected Features 366 Create Network Location 389, 393 Create Routes 142,143,225 Create Thiessen Polygons 391 Create Thumbnail 89 Create TIN 402,403 Create TIN From Features 402 Crystal Reports 321,324 Curvature 404,405 Cut/Fill 409-10 Data extraction 340, 345, 346, 369-72 Data frames 22, 172, 265, 270, 282, 301, 302 active 24,269,311-14 adding data to 267, 278. 280 defined 16 layout view 23-25, 307, 309-12, 313. 316 Data Interoperability extension. See ArcGIS Data Interoperability extension Datasets defined 17,66 Data view 5, 15, 23, 27, 307, 309 Datum 72 DBMS 56. 80, 103, 107, 111, 248, 250 Define Projection 237 Deleting annotation 207, 211 ArcCatalog entries 30. 32, 93, 128 data frames 269 domains 121 features 28, 177. 179-80,226 fields 111, 112 geodatabase versions 259 links 242, 245 subtypes 122 symbols 298 topology 117 DEM 49, 162,325,398 Density 345, 398,401 Desktop Help 1. 14 described 57-61 Digitizing 76,82, 154, 158 by scanning 196-200 on-screen 190-93 using a digitizing table 194-95 Dimensions 218-21 Directional trend 343, 345,416,417-18 Disconnect databases 29-30, 86 geometric network features 227 Display tab Layer Properties 27, 267. 285, 325 Report Properties 323 table of contents 22 Distance analysis 342, 344, 345, 379-94 Distance surface 383 See also Euclidean Distance; Cost Distance DLG 75, 152, 163 Domains attribute 79, 82, 104, 119-21, 123, 201, 203, 230-32 spatial 114,237 Draw toolbar 305-07 with annotation 207-08 with map elements 313,315 Edge match 240, 244-45 Edges 173, 181 network 136, 137, 139, 141,228 TIN 402.403 429 Using ArcGIS Desktop Index Editing annotation 207-17 attributes 201-06 dimensions 218-21 distributed. See Geodatabases features 176-89 multiuser. 5"«?«? Geodatabases routes and networks 222-29 symbols 298-99 Edit session managing 173-75 starting 172-73 Edit Table 353 Edit TIN 402-03 Edit tool 179. 211, 245 Elevation surface 325. 404-6 Environment Settings 40 Erase 369 ERDAS 162 ESRI Developer Network 61 ESRI Press 81,425 ESRJ Support Center 60, 61 Euclidean Allocation 391 Euclidean Distance 383, 385 Events 64, 333 in linear referencing 79, 145, 165, 169-71, 222, 225 Export 33. 162, 163, 170, 171,278,322,367 Exporting animations 332, 335 datasets 33,47, 160-61, 162-63 geodatabase schema 103 graphs 319-20 layers 18, 170, 171,278 maps 27 metadata 101 models 45 reports 322 selected sets 28, 367 Extend 183-84 Extension products. See ArcGIS Desktop extensions Extract. See Data extraction Extract by Attributes 371 Extract Data 106 Extract Values to Points 372 Feature classes creating in a geodatabase 107-08, 110-12 defined 65, 66 Feature datasets creating 78, 113-15 defined 75 Field Calculator 204-05, 352, 368 Fields adding to a table 34. 53. 110-12, 206, 352, 354 calculating values for 201, 204-05, 352-53, 368 default values for 119 defining 107. 109 deleting 111. 112,352 formatting 349 hiding 205, 349. 350 primary display field 203 summarizing values in 31. 88. 348-49, 351 viewing 94, 205 Fields tab ArcCatalog 112, 119. 120. 133 ArcMap layers 203, 205, 284, 285, 349 Report Properties 321 File geodatabase. See Geodatabases Find 27, 88. 286 Find Now 91,92 Flow 342,344,395-97 Flow Accumulation 397 Flow Direction 397 Frequency 340,345,349,351 Geocoding 142, 165-68 Geodatabases ArcSDE 80.85, 102, 103, 109, 110, 111, 146, 149, 211,218, 248, 249, 254, 260 compacting 148. 149 compressing 148-49, 252 copying 160 creating 81-84, 102-06 creating datasets in 107-45 data models 61, 81, 82, 84, 103 defined 76, 77-80 distributed 248,260-62 file 80, 102, 110, 148—49, 211, 218 importing data into 161 -63 multiuser 248, 249-59 personal 80. 102, 110. 146, 148, 149 Geodatabases (continued) replicas 248,260-62 versions 80, 248, 249, 254-59 viewing contents of 87 Geographic coordinates 69-72. 153. See also Tolerance Geography Network 85. 86, 98, 266, 275 Geometric networks 340, 395 creating 139-41 defined" 79, 139 editing 226-29 modeling flow over 395-96 multiuser editing 249, 250, 251 validation 233 Geoprocessing 35-36, 40, 61, 67, 159, 162, 346 Georeferencing 69, 108, 190 Georeferencing toolbar 191,193 Geostatistical Analyst. See ArcGIS Geostatistical Analyst Getis-Ord General G 420 Getis-OrdGi* 421 GIS servers 29, 85, 95, 265 Global Polynomial 400 Globe view 271,272,328-29 GPS 153, 164,276 Graphic objects 15,21,23, 26-27, 268, 305-08, 313 Graphic text 20-21, 268, 301, 305, 307 Graphs 318-20 Group layer 22, 163, 278 H Help. See Desktop Help Hillshade 325, 331, 404-06, 408 I Identify 27, 87, 129, 283-85, 286 Identity 374 Images 65.75.77, 162,289 digitizing from 154.190 importing 132-33, 161 symbolizing 289 Importing 33, 157 CAD data 162-63 coordinate systems 108. 113,237-39 fields 111 geodatabase schema 103-04 metadata 101 Importing (continued) rasters 131-32 symbol definitions 291,297 Index. See Attribute index; Spatial index Internet 29. 56. 159. 160, 264, 270 adding data from 265, 266, 275 finding data on 85. 156 Interpolation 344, 345, 398^00 Intersect 373,374,375 Inverse Distance Weighted (IDW) 399. 400 Join 355-57 Junctions 136. 138, 139. 141,222,226,228 K Kernel Density 401 Keyword. See Configuration keywords Kriging 345, 399, 400 Labels 15,268,300-02 converting to annotation 207-09, 304 defined 20-21 See also Maplex for ArcGIS Layer defined 17-18 properties 27 Layer file 278, 296-97 defined 18 Layout toolbar 310, 316 Layout view 2, 3, 5. 23-25, 27, 269, 309-10, 313 Legends 309,311,313 LiDAR 79. 108, 134 Linear Directional Mean 418 Linear referencing 79, 142^5, 165, 169-71.225 Line Density 401 Line of Sight 412-13 Links georeferencing 190-93 spatial adjustment 240.241-45 Link Table 192,242 Load Data 105. 131, 133. See also Importing Local Moran's I. See Anselin Local Moran's I Local Polynomial 400 430 431 Using ArcGIS Desktop Index M Magnifier/Viewer window 173-74, 192, 282 Make Route Event Layer 171 Map Algebra 377. 387 Map document defined 15 opening 265 saving edits in 173 Map elements 3, 5, 23-24, 270, 309, 312. 313-17 Map extent 16, 173, 267, 279-80, 282 Map layout 3. 16, 23, 269-70, 309-12, 316, 317 Maplex for ArcGIS 48,302-03 Map projection 71,237-39 Map scale 279,280-82 Map templates 312 Map Tips 285 Mean 349 Mean Center 416-17 Measure 379 Merge 247 Metadata 98, 99, 100, 101 editing 99-100 formatting 99 printing 97-98 viewing 8,31,72,88 Mileposts 64, 108, 142, 143, 145. 165. 169, 170. See also Linear referencing ModelBuilder 42^5 Models data 64-65 geoprocessing 40, 42-45. 346 georelational 74 See also Geodatabases Moran's I 420 MrSID 162 Multiple Ring Buffer 381-82 MyPlaces 279 N Natural Neighbor 398, 399 Near 380 Neatlines 270,314 Network spatial 48, 51. See also Geometric networks; Network datasets Network Analyst. See ArcGIS Network Analyst Network datasets 79 analysis with 389-90, 393-94 creating 136-39 New Displacement Link New Group Layer New Route 389 New Service Area 393 Nodes TIN 402, 403 topology 186, 187,234 Normalization 293 North arrows 3.313-14 Observer Points 414 Open Attribute Table 9, 204, 348 Orthophotos 77, 152, 190 Overlay analysis 341, 344, 345, 346, 373-78 Overview Window 282 Pan 25, 27, 204, 267, 279, 282, 286, 310, 316 Pasting 2 in ArcCatalog 94, 160 features 179-80 layers 278 Path Distance 385, 386-87, 388 Path Distance Allocation 392 Paths 342, 345, 386-90 Patterns 343,345,419-20 Personal geodatabase. See Geodatabases Perspective views 50, 271, 326-27, 328, 406 Point Density 401 Point Distance 380 Points Solar Radiation 415 Preview tab 31, 87-88 adding a field 112,354 raster catalog 133 summary statistics 351 topology errors 236 Printing maps 4, 368 metadata 99 graphs 319,320 reports 322 Project 239 Projection. See Map projection Pyramids raster 147 terrain 134 Query Builder 12, 144. 371 Quick Export 163 Quick Import 163 Radial Basis Function 400 Rasters analysis 345 building pyramids for 147 described 65-66, 71, 74 extracting a subset 370-71 overlaying 376-78 projecting 239 sampling 372 storing in a geodatabase 78, 130-33 symbolizing 289 viewing properties 95 Raster catalog 132-33,147 Reference scale 209-10, 218, 302, 304 Relate 357-58 Relationship class accessing in ArcMap 129 creating 124-28 described 79 editing attributes 205-06 managing 128 validating 232 Remove Join 355 Replicas. See Geodatabases Reports 321-24 Representations. See Cartographic representations RMS error 194,242 Rotate annotation 207, 211 feature 179, 180 Routes 138-39 creating 142—15 editing 222-25 linear referencing 169-71 Rubber sheet 240,244 Sample 372 Satellite image. See Images Save As Layer File 296, 366 Scale. See Map scale; Reference scale Scalebars 314 Scanning 82, 154, 190-93, 196. See also ArcScan for ArcGIS Scripts 40-42.45,61, 161, 171.225.300,346 Search ArcCatalog 90-92 ArcToolbox 37 Desktop Help 57 Geography Network 275 Select 363 Select By Attributes 12,363 Select By Location 362, 382 Selected set adding to/removing from 364 and layer files 18 calculating values 204, 368 clearing 287, 365 defined 17 exporting 278. 367 related tables 129 saving 366 summarizing 365, 368 viewing 22,204,360 zoom to 13-14 Select Features 360,364 Selection by attribute 12,363 by location 362 edit session 201-02,204 in attribute tables 287 interactive 360 related tables 129,358 setting selectable layers 22,361 Selection tab 22,361,366 Select Layer By Attribute 11. 12, 363 Select Layer By Location 362, 382 Service areas 138, 391-94 Shaded relief 49, 272, 325, 328, 331 Shapefiles 56, 76, 77, 78, 152, 160 importing to a geodatabase 161 Shortest Path 386 Sketch tool 176, 177, 178,214 432 433 Using ArcGIS Desktop Index Slope 404-08 Snapping digitizing 195 editing dimensions 219 editing features 172-73, 175, 181-82, 185 geometric networks 141, 229 spatial adjustment 240, 241, 246 topology 115-17 vectorization 197 Solar radiation 415 Sort 345,348,351 Source tab 22, 166, 173,257,278 Spatial adjustment 240-47 Spatial Analyst. See ArcGIS Spatial Analyst Spatial index 146 Spatial join 355,359 Spatial reference 34, 88, 97, 114, 140, 158, 237, 276. See also Coordinate systems Spatial statistics 416-21 Spheroid 72 Spline 399 Split datasets 345,370 features 182 SQL (structured query language) 12, 73, 301, 363 Standard deviation 343, 348 Standard Deviational Ellipse 417 Standard Distance 416-17 State Plane 71,237 Statistics 10,88,343,345,349,351 Style address 142 dimension 218. 221 metadata 31, 97, 100 symbol 20,288.298-99 Subset 340, 352, 360, 367 Subtype 79. 119. 121-23. 128.201.203,230-32 Suitability analysis 346, 373, 376 Summarize 348,351,368 Summary statistics 345,351,365 Surface analysis 345,404-15 creation 345,398^03 See also Elevation surface; Rasters Surface Length 385 Surface Volume 409 Symbology tab 6. 268, 288-89. 291. 292-94, 295, 297, 337,403 Symbols annotation 210-11,216-17 assigning to layers 6, 9, 54, 268, 288-89, 292-95 cartographic representations 290-91 custom 298-99 defined 18-20 graphic objects 305 importing 297 labels 300-01 map elements 314 saving 296 subtypes 123 Symbol Selector 6, 9, 54. 216. 217, 288, 293 Symmetrical Difference 374 Tables 73-74,78 appearance of 350 creating 109 editing attributes in 204-05. 206 exporting records 367 joining 355-59 related 79,124-29,205-06,355-59 selecting features in 12,287 standalone 78, 109, 124, 348, 355 viewing 31,88,348 See also Attributes; Attribute table; Fields Table Select 363 TabletPC 164 Tabular analysis 340. 344. 345 Tabulate Area 378 Temporal data 51.333,336 Terrains 79. 134-35,340,403 Text. See Graphic text Thiessen polygons 391 Thumbnails 33, 87, 89 Time series 333, 337 TIN (triangulated irregular network) 344. 345. 402-03, 404. 405,408.409.411,412 TIN Contour 405 TIN Difference 411 TIN Polygon Volume 411 Titles 270,313 Tolerance cluster 115-16, 117, 118 selection 285 snapping 175 stream 195 XY 107, 113.211 Topology defined 78 editing 186-89 geodatabase 115-18,186,187 map 186 validating 233-36 Topo to Raster 398 Trace 344, 345, 395-96 Trace tool 198 Tracking Analyst. See ArcGIS Tracking Analyst Transform 241-43. See also Georeferencing Transparency 27, 325, 330 Trend 399 Turns 136-37 U Undo 173,205,243,353 Union 35, 374, 375 Update 374 Utility Network Analyst toolbar 139, 344, 395 UTM (Universal Transverse Mercator) 71, 237 Validate Features 230-33 Validation attribute values 230-32 geometric networks 233 relationship classes 232 topology 115. 117. 118,233-36 Vector data 65, 108, 163, 190,344 Vectorization 196 Versions. See Geodatabases Versioned datasets 249, 251-53. 258, 259, 260 Versioning 80, 248. See also Geodatabases; Versioned datasets Vertex digitizing 195, 198 editing 177-78, 186-87 snapping 115, 173, 241 Viewshed 413,414 Visibility analysis 342.412-14 Volume 409-10.411 W Weighted Overlay 376-77, 384, 387 Workspaces creating 93 defined 75 organizing data in 76-77,93-94. 160 Zonal Statistics 378 Zoom 13-14,267.279,286,316 434 435 ArcGIS 9 Using ArcGIS Desktop ISBN-13: 978-1-58948-167-1 S59.95 ISBN-10:1-58948-167-4 esri ESRI • 380 New York Street • Redlands, CA 92373-8100 909-793-2853 • FAX 909-793-5953 • www.esri.com 9"78 1 589"48 1 67 1H 5 5 9 9 5 104124 RRD15M10/07hc Printed in the USA 978158948167155995