ArcGIS 9 Using ArcGIS Desktop 'i^^^^^Ě^ #jfÉllt lÄSfie •äliííi •kí •lÄi^S^BIila wmmm íMmm íllllilfti ÜÄÄ8 üb 'WflISiBll m 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 ArcGIS Cornerstones .................................52 Getting help.................................................57 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 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 m 3 Data Compilation and Editing i51 An overview of data compilation and editing.................................................152 Collecting, importing, and converting GIS data....................................................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 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 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 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 IV 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 1 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?). Introduction Using ArcGIS Desktop ArcGIS Desktop quick tour Most of your GIS 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 ArcToolbox. 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 ArcToolbox for processing geographic data—both to create databases and to perform geographic analysis. (The next section, 'The ArcGIS Desktop framework', describes ArcMap, ArcCatalog, and ArcToolbox 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. Ba CO i»w pan jMi....... led» ) D > ■ * fmöööüöö ® ta s q b q q * »i» ii b e a ~H i« * • Q W Uncheck this box -to tum off the layer 251-í» i»-ao ! 10-125 fr«na - fc , D » A MEXICO •** a 5r#- ~3Fil »/uA-»-^-^.- •" 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. 3E3EE ■8MS5K Q Br S) 4^C**ftiM .\tm-IVmmr * i"«°™ 3 J. t- m o i«? TBBi ..I?........I?........IÍ........I?........I!.,......I!'.. .....í........If... D - A- ■': |e* —31" zi ■ ' u A' *' J.' J-- iroV,mo~T.iwtift^~ Select a north arrow from the palette.... n r-pj 3 + A A J ESRINodM ESRINcth2 ESRINorfri3 N . <►' | A I N ESFlNortti« ESRINorihS ESRINorthB "MF1 ^r $ E SPI North 7 ESRI North 8 ESRI North S N V^jU-L U«J Sav» Rewt Using ArcGIS Desktop The north arrow appears on the map. surrounded by a box—drag it above the legend at the left side of the map. 1 Drag the north arrow hero 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. r I—3 I 3 • iaiH>iiMir» P-í S* JL-I. SirtWlw \;~m \mtm •1 VMM fil d H*t \f. |w. íl, Click here ~ rv.' C* Cic< { and CÍICÍC hero 1 • Introduction 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 ♦ (Tubs 3 ■/*■•□• |e-3 BB a SüriiSS ■ ^ <> w >* ^v*.*»" _J. "EPT3 ■ / • A- »-Z-.L-: ••• 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... ...and click Properties __ Using ArcGIS Desktop Click the 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 2, then click Outline Color and pick a color that is easier to see. such as a dark red or brown. 0«a«|S—■■ -T** "'T«. Click and drag the dataset from ArcCatalog.. ...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 0.1 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.) ■i * ■ • -r 3 • - a Click to open the -\ Symbol Selector Jl-sll » ■ -V a • a • íř~~ i'V-. »0-.IW. í..-.-. ua»fle«l UMU- m (Ü5-3- &**»$*•« »■■*■■!.■■■ R^Mt] "— IWiMt Iui» S—. J=_l i I « I ■*"■ Change the line width to 0.1 Each 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.... Using ArcGIS Desktop 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.... ...and select Statistics 166OSS5 00CCO0 62 317764 000000 11 824643 000000 79 5302699 O00000'l70 719659 000000 341 3962593 000X0336 1051235 000000 ]238 1986368000000 235 3S48199 000000 153 9915795 000000 1191 823S744 0O0000 14426 FnwuJlWrna» COÜWI Ô »|mJ ShPtpU" Sdecltd| R«cCTfc |0 ai d 32 S«to«dl X fiJiUruj The mean density for the states is about 633 people per square mile. Close the statistics box before going on. SUM«« Mean t s m 11 20412 jn 1442605 2025116322 632.843036 ■d Dewabon 2487 800146 U J Ff «oimicyOWt «niton 112 34671 6923 0 10379 0 13834 9 Use ArcToolbox to find the most densely populated states. Open ArcToolbox by clicking the "Show/Hide ArcToolbox Window*' button. The ArcToolbox button ^^^t^mmÉmĚammmmmm jmi ■« ta »— t—* la»», xooa iff»- ok D at B • • ■ *» • ♦ ľa»"» ~3 -i*»n* 10 7 • Introduction 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. I«l J -ÜI ill | - » ^ D- A- : 3F Double-click to open Use the drop-down arrow to select States as the Layer Name. s.-lr. I I .irr. «y Attntxjtr , UyHmmgllbhVwm ^} Z <*l a Obes & Rivar* d - :*f. & MoxoBnO s| ^■1 a Central AíwncíBnd ^ USABmJ Cane«! | EnvtonmenU | ShowHeto» | C/ic/c and se/ecř /ne S/afes /ayer 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 "POP90SQMI" 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. «]Q|*I I~a POP15M 0 Polygon 1 "Polygon 2 Polygon 3 Polygon 4 Polygon 5 Polygon 6 Polygon 7 Polygon e Polygon SPotygon 10 Polygon 26002 325 27898131 10547 762 30736 386 2110761 '11715793 4645 565 8198684 22961 931 8291708 51205 3m Cetlorn» Norte EM Ctttanm Sir IQwwMiD________ Queretaro de A/1e«ga Mcnoacon de Ocampo MtOX OWrto Fader ai 1660856 000000 63 317764 000000 11 624643 000000 "79 5302689 000000 "170 719653 000000 341 3982533000000 336 1051235 000000'238 '868366 000000 235 35481990X1000 153 9815795000000 1191 8235744 000000 14428 Btcttd l<| «i~ 0 >[>l| Show ("AT SdecUd | Bacen* R out ot 32 Seeded] Many of the tools in ArcToolbox 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.) ArcToolbox collects all the tools in one place, and gives you a direct, common interface for using them. 12 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. laTTjin. «rj;-n a*"* 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. .1BLS Right-click.. .click Selection >[*!». ymr i-a loot «X» 9« □ * b • e ■ * * * - -i 3 ~3 -JL A ma it ...and click Zoom To Selected Features 13 Using ArcGIS Desktop The map zooms in to the selected states—those with a population density greater than mean. 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. 14 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 i Display Window Eb C* ft» »—1 I*«" I«* tHm W» Data Frame name — Layer Symbol Graphic object Label 3FT3 ■ / a A- *• J.- 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. 15 Using ArcGIS Desktop 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. •*# fc* ŕ*- >"■" X*com loo» npd»> 0* ~3 :/. ŕ- • Q *t 01MW - B ***_« - B I«:»jot»» ut»m 0—, Hwcl l*m.»I e_L p . r - i* - f - ľ - t G,.«nvili«! FIM« HU« nutil -m • UM« ' - - "3FÖ-3 »/n A- *-;£-— ■ _./ A layout with two data frames showing two different views of the same area. Both data frames have the same map extent. 0> I* «•» •"*•* j^ctw Iocfl V*- 0*9 Q s* Q • B > "5~3 B B é. aat» QQDQ * * • ♦> ■> D O M ü í . t«. i!. HJSIÍlí ľ- f. ľ- ffl!n*«Í9W?IWMWia9í1> WIMW s J OMtMurMftj — *««**• -Bum UE.lt». ■I «■—ill» - B iivay 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. 19 Using ArcGIS Desktop 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. n1.'!.1 ' I _|ES»«ja _| FMaarceSnm _J Mad» Ufa* _J Studna _j »»• Padal _| LrmPaitm _iHo*tmom _| ScatBai _| lajmdlMa. _| ScaaTan JOOR» _| Ba*n _J B«t*SřoxdE _| Ota _|FlS**cli _|ImSh*». jMakaS*** _1 Ta>S]i>Oo> JH«*« "3[ ~nr OeUgen; BndS»n™2 H..ignr3 OcUgon 3 RndS * Sail to] © tot dFMsl ♦I 21IIII « | Caol Vou access s/y/es—and f/?e symbols they contain—w'a the Style Manager. You can modify any of the existing symbols, or create your own, using the Symbol Property Editor. Labels 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. ■em »—• • Hfl* O• A -3PT3 ■ / B A' »-.«♦- i« •iob.1 . ««* • Civic Center y/\ J Ä •mnu Daw:»» 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. Graphic objects, along with graphic text, are also used to create map elements, such as titles, 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 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 tum 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). ~3 4 *■ • n «ff •r~3 Click and drag a layer to change the order. 0h~h~— - c me»*» -a »«-j fflffiHöÖÄi^: :"i »BED - A - "Bern ■ / n A* ä- £* ±< 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. Dala frame—i- 0m Layer-Group Layer- □ - a IM*»«*» a wk*j0iv '_' Hkm> undun iŕ Geodatabase The Display tab The Source tab ■y*5 i - B a**J*& • ■ Sur.OUISUt - -_JI T-neattogn - a ftmt.m - ■$»i4t*v, - B ft»dj»»roco O - -Jl e\*k utitv - a E«t*j«*» LanduM :*: □ CC** J ■K ^J D«mrri^]S*cMnl Checked box indicates layer available for selection - Bold indicates layer having a selected subset The Selection tab 2 puMc.bMgtd) B m«.in D Hoodsxfr&r Z p«Hc. .polygon <3> O s«c* J>*rv fr^jSMcI^^r 22 1 • Introduction 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 Using ArcGIS Desktop \MTV „IL, »inJ«J When in layout view, you can add map elements from the Insert menu. •til!» ran 1""" !•* »""• ■* 2 ,* g . t* am»— s»» Ar« f Mi e**** - B *» 9 wiř" ^ |iT35" ~3 yt *-•□ w ________äse na DB s «l»"3_ - ) .< .« ,, ;, ;. . SB a 3 iwISD ^ , . H - - A • . . I«- IpTT) »/bA-ä-^*—' 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. 24 The active data frame is highlighted in bold in the table of contents and outlined with a dashed line on the layout page 1 • Introduction Toolbars and menus ArcMap 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. » u* »- *•»< s»a». i-» *~» tm 2 ata« j «.ex . + -jffl-JÍ - B wrÄjtfrflcr. - B !«>*W - D lted.pi*»» J^D These tools work with the data inside the active data frame— just like in data view Pan the data inside the data frame 1Z5T »—.- «• ■ # D« A TH5-3 «/BA- »• J.' i' / «t»«?u niiitnii fh I» f- tmmt S*om Is* gn». ga> üiHI J «.ex .-■ ■ * ~1 U *•□ Xf ~»T5=.---------- - B «o»?" - B amtjn - B Pima SOnrr. - B pAjOnx * G ftoOB_po»9an C«a.lS~Hate»»| Pan the page in the display window These tools work with the entire page—they're activated only in layout view It 4P D - A - : •: [i^~ ~3[w~3 i/i A'».^. 25 Using ArcGIS Desktop A number of specialized toolbars are used for specific tasks. These are accessed from the View menu (point to Toolbars). UW-1-1 -I!.. HE t * □ l*«»- n fboíjjaw B «m* J*w» "rrt*f ■ACM CCMH K ■t" ■ l£A M 1« - O«««,- It . D- A- Additional toolbars are available from the View menu. You use context menus in ArcMap to access the setting, properties and other options for data frames, layers, and graphic objects (for example, you open a layer s attnbu e table from the context menu). Right-click a data frame name or layer name in the taWeof contents to display the context menu. Right-click a graph* object m the d.splay window to display its context menu. Right-click a component to display the context menu. Click Properties to display the properties dialog box. Properties dialog box for a layer 26 1 • Introduction 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. «h [« *- **•* S«K»n roe* s***» g* Q St a a f > •" • * FUŇ 4 « . -i j - - a - n »«kaj*» - B tmmjorfr. 3 J *■•□ V .osüXSii^r Set a transparency level for the flood zone to reveal parcels drawn underneath. JJXJ 0m«| Soucl S*c» 0«t*» | S«*ae»| Faka | CMnuxQunUatak! Jcr.lR.uA» I 5 Se*» natta -h» > lamre. «o» • » • 0 *il Ä 'l-rtMl«RKUMHl> Faau.10 I AREA .1 1 .1 , - t 9 O - A - :"•: |*ZT ^~1 "-* 1 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 Using ArcGIS Desktop 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'. —.1 Use the Editor toolbar in ArcMap to start an edit session and interactively create or modify features. 28 1 • Introduction ArcCatalog The ArcCatalog application helps you manage your GIS information—GIS 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. Catalog Tree Display Window Cfc V> »— 4» >» ■M» *» •-*»-* '. = ie«,«»DW «« • Of UM» |C«! ~3I '.-— I ■ • ITS ■ 4 ■KMklMi -a~~-z*~a» -%*..»<_ _J^«-W-i 11 m mi «j«:»—» 0UOT0IMJS a«v:J-*. a««»- i«*«*«* *SOTWho«ad»v - ňl"»"«ľJ •• >.x :■'•> c»* ■» Urrmm . f»»»»««*> 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 ArcToolbox—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 Using ArcGIS Desktop 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 EZSEE B2E523TľZľľľE -!DI»I p» e^ *r *■ !•* s*"" °* «. s» i» B x •« s I tí. «•□ ¥? « -aisJ M'i»f,'il IMÜJ. Use tf?ese buttons to switch between content views llľľlMĽVM.^mil .ť"|-.....' „■! •f. b* f— 4. >» vtt. o* »i 4« * ŕ x ', = a a tí • • n k? «« -.- » - ^ C Amv4frcttf£viQa»aJt**>d B^ÄÜBJ 30 "/ • Introduction 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 ArcToolbox directly from ArcCatalog using the buttons on the toolbar). The Preview tab ľTľTľ 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 BI*. «•□ W « « • O ft «ifflSJ WhM dotted—mdeimb«? 2 Ik ****** ma doq txitui* :--t-t' 3 Via do« i k .< at J • - *-.- -j-'j ' :-: :'' < Ľ: :-- Iv-~ . : k: -c y- ; — : 5 wlaiflfBfnlfTiaoffc'djM|rt'7 6 Bowdoti&i \*\ )\\ |i|ľ n n ltompla: fagrei' 1 How dogi tbe dm m deicnbc tivmmjt* tcmcml W».in«»iilfc-*-—1 Who ibo cottnbufaj: ■ Ae ijcj v~: ! J *■■ w,nw1iiiandilTM m*tm*t*t*mé*i • Wir «nu t» dm« - ^T h»w twa rmdt7 . H°wnfaMt-c»tdm..hMpcofclgai! 1 H^-wJ >■»*.. 2 Bfw «;-j«r «t a» g««Tcbc lom»»' ■ ** 4jU n-k»W irr..'ií^w~ J «.NiMamiii««. 31 Using ArcGIS Desktop 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. In ArcCatalog the datasets appear as single entities with identifying icons. >»•». ■* jj a***1 -i"*»" j ■'- '■- * 4v *i a- ~-n "3 <"* «I *»«.)•« J.M« r»» '""ľ» In Windows Explorer, the datasets appear as system folders and files. 32 1 • Introduction 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. E23ZC 9. C* »■» *> look a»>» t»* Jfljxj lľ*cvulľ ''~ 61IOV «« «Oft T ' - * rt*o**orw.rdb s»* ■kta im • -ár«*«» - ^J1 "^Oouooft Bw aioot^on B ft Q bcu-Ovy 0v • |M0 ♦ •»Y«BjnJ»> f«k»«on.»rt hr*oborV B •»•*.*> a «uov_.m «v Ü»JojOV B) •»*«>• ow •J rt*ow«or» niB3 Co« | p>m. | Maw. | i«*».m«t| _"2i. .•»yH :-";': ■■■!. ífc ArcCatalog lets you preview datasets as thumbnails. The Catalog tree shows workspace structure and contents. - the 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 GIS data. ArcCatalog is where you'll import datasets from other GIS formats. H oral J« MUM - _J sat> J :«i>mi J»».'«' J- . fr g<.»i».tpi[>ii.p»l. L/se ArcCatalog to import datasets. 33 Using ArcGIS Desktop 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. H'iiff ■■T1fl-,I.7"M1,"1 ffia-T1""^ r> (a <— * i«, ffra- a* fc V&iS ^Vwci Wof»«*DffWr* P^kT.Wjm SmOUUm gd?c«K** FMijBtMv aanoo CirO« fferiMv 117.00000 5c*_p«iDr gmx ttftudi or or^> 0 oooooo uwpiM WHlicana tlUKll Coo*M »no» 93JMJBBJ* **j» ire »m mMMsaasntatm Mia: 0Jo««vui.KO in*«.» ' 1 11 fc«: roiiľuímiiiniiiiiiii 5—I0»coora»fr namtatm. 1ĽJ] Ictm I R«Uon | tear | ~ usíjxass 0»w»»»»>hiii ia»»>NW»iair(>irN L/se i/?e 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. H'mr ■■'»■,■■«■• FJHifriiiTnffT'-e* t* «~ sp i«* a"*- o» -i-J .. a • % p x •, = nai * *mn *! d «« • o * 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*. 1 • Introduction 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 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 fl| ArcToofeox B ^ Analysis Tools - ^ Extract ŕ Select ^SpS. f> Table Select ♦ ^ Overtay • $^ Proximity + ^ Statistics É ^ Cartography Tools ffi ^ Conversion Tools • ■ Data Management Tools .+: 4^ Geocodng Tools • ^ ünear Referencing Tools • % Spatial Statistics Tods Favorites I Index I 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. 35 Using ArcGIS Desktop | So«* Sanaa To* zi » Input raster J 1 o • a*po.r«W 1 @ Output measurement (opbenel) iDEGMt zfMrftffinO J J | R f CM I b*. v« | Sno-Hap» | Opening the Slope tool from the Surface Toolbox opens a dialog box that prompts you for the tool parameters. Spatial an** «• J ft Ounce ► Op«r~ Interpolate to Raster ► CelStaosbts... HHppjOnBBB Statistics... JcnelStattstlcs... Backtsfy... Contor . aspect... tfshade... yaMhad... tuVFi... Raster Cataletor.. Convert » Qpuons... The Slope tool can also be run from a similar dialog box opened from the Spatial Analyst toolbar. U*J k%**m*MM 1 i M •>*._* a D*g~ r Pmcmt 1 Zlaeax r~ OJtucel«» i Oaauiamr j'T«!»XMfy> 4 II c~- 1 Not all Arc Toolbox 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 ArcToolbox docked in ArcCatalog 36 1 • Introduction 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. - t£ Spatial «naytt Took • & Condbanal - ÄDensty - (y Ostaneš ^Corridor /• Co« «location ,» Cost Beck ur* ŕ Co* Datanca ,> Cost Path ŕ Ejctcear Aaxetx» ŕ EuCtoeen Oecoon ^ EucSOMr Cwtance J >ř» Path Distance ŕ Path Distance »exet ŕ Path Distance Back ü • fe Extraction • S Genorataaoon • & OroundMCar . ±-___________I iT F«wam|lnd«.|5—oh| x Type new key-ted to lind [=553-------------- Drop Item [arc] d Et* Sputum |m) E* TIN [3d) Elmruta larcl E inmate Irneneoenert) Equal To Ital E dual To Freouenc» Im) EiaMlanaV») Eiaaalatci EuddaanUocananlMl Eucadean Dtecnon |w| Eucadean Datanca |u| E*!w) •ŕ j—Iw Inda. ISaaKtiJ J£J Type n the md|i) to taatch lot Too Co« Datanca Co«Pa*i EiJcadeanAlccebon Eucadean Diecoon PadiDaUricaAloceoon Pah Datanca BaoVLi* Path Datanca FkmLangh ŠĽ._____I TJ3 íŕ Favoataal toda. jegchj 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. Input rnar or feature «ouro» data -XÜJJ«] |*»rWi ~3 tf Output distance raster \Z Wcmap mapaVftvd*! m Maximum distance (optional) Output call sue (optional) P m Output dn-tcbon rtfttr (option*!) I tfj OK Cancel I Eiiipotmam. I Sho-Hefc» I Oaepattd 1 c*. | «Detest | T Ooee th. dabo «hen ccdeted luecaiaV» Executing lEuctistejice II: EucDistance Rivera -C Staxt Tlaat: Bon «ay 09~21:07:J7 2005 Validating... \atcaap B»p»\civdlet" * 5 » -J Executing lucDlstanc«... Proeeeeing... Completed lucDlacamc«. Executed (EucDletar.ee 11 succeeeiui ly. End TUee: Bon Bay 09 21:07:4.5 2005 (Elapaed TUae 6.00 eecol 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. 37 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 ll'IITI I ..'.,1lBaPg^1!!^——l—— Ml 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. The command usage and other prompts are displayed as you type. 1 • Introduction 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). !jj AKfeOtlOI • ft, X' Arvsŕyst Took • ftj AnaVsis Tools B 4k Cartography Tools • 4k Converson Tools • 4k Coverage Took • % Data Manager«« To. • % Garxodng Tools c„ Sam» • £ Geostansoul Analyst • 4k inear Bererenong To If'«' Settings • 4k 5oaoal Analyst Tods • 4> Spatial Staostics Toots j ,' Favortg llnrh» 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. Analysts Tools Cartography Tools Conversion Tools Coverage Took Custom Tools Data Management Tools Geocodng Tools Geostabsbcal Analyst Tool urwer Ref*ererKTTj Tools Spatts Analyst Toots Spatní Statistics Took Tootm(l) i*Copy ij Inde» | C Past« X Remove Saacttratooktoett ft »Ana» Tor* A - ft Antrat lo* • É» ear«! '/*rVYrH ŕ Warna !»>%■«■ mi ŕ Simm/uidOŕmmikm /iWi ^uorkt. ft eroaaty % 9«arx> • • C«to»a*y '«* ft CoKvanlaa • 2 Covaao» Took ft DU Irurccaratrzy Tor*. ft Data Hanaaaan Took H Geocoonn Took ftúnutaocaArary« toot ft OX. look ft Lna« Bafeancng Took ftwaHaaaniTook - ft la»mrk AnaVir Toon ftaaaarTook - ftSpaorJAnayat'ook ft tradavjAnaValook J 1 « 1 <- 1 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. 39 Using ArcGIS Desktop 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 settin 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. 40 1 • Introduction 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. f«"i i BB8B d*-»"»>->» .-.-. xfeeaa* t 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. Jaf ArcToofcoi • ^ 3D Analv« To* • m AnaVss look • $ Cartography Tools • t% Conversion Tools • ^ Coverage Tools • l% Dale Management Tools - ^ Geocodnq Tools - m GeoBataocal AnaVsi Toors • ■ Ineer Rafarenong Tools ^ My Tods • t%Spabal«efe copy X Favo..;-. ?fx- LT'tfl"! JIHJI -J ■ taMIdUeUnAI a* (»OoojiienUrJon... eeT m***r*- ŕ Tool.. 1 -" I 41 Using ArcGIS Desktop When you run the script in Arc Toolbox—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. ■!■■■■ ■I.JHT.Wg. 2*H« B ■ ®Q::::C>*»*->í» CSafclil •i« "»4 : S£í%* PSířlLSVíMS- 'IjH *rc*w frcauancy t4bl« f1il8 iCN«ri?t C«lllDurton) j>'-j- tont. tap ■ vlu« fro. MT*.COVS - Boclt*" ;b cr«t« covi fro» i«*»cí»0 co'"' •111 M I'm or # *i!_l»6l« - output ««tlftl« »nfo t*olt Add scripts to toolboxes and run them by supplying values for parameters. Creating a model Models are created within a toolbox or toolset in ArcToolbox—click the toolbox or toolset, click New, and click Model to open the ModelBuilder™ window. BZBBHBfc *J eg A/cToobo» - % 30 Arnry« TOOK i %AneVl ::ial:.l:.l »do Cooed vkue To Danen ^»e»on Domen To »eel ŕ Dek« Ceded vet» »en Denen »»Dekt. Domen ŕ Domen To Té» e* Repové Domen From Fe« »* 5« Vkue »er «eng» Domen • feteaueoeei - p Fee»« ,/: Fe>eeke|lfa.|Se«rcnT Double-click a tool in the model to open its dialog box, then enter the parameters. Inoui »orv.ip.ee lO Wear Geodauoen mob Domen» ILĽCOĎE pr-t- 'r:? kpaene _ f*—- - -| tf "~1ť*«> Right-click a model in the Catalog tree and click Edit to display it in the ModelBuilder window and make changes. Bngfe |0«vCodM Codi DncrtW |V«« ^ Double-click a tool in the model to open its dialog box and display the current parameters. 44 1 • Introduction You can connect multiple inputs, functions, and outputs to create quite complex models. Models can include scripts, and even other models. ŕ— t« »_ tt»_ aw si« um*i«can ::| a|--|«.| «VI »I Gnatcatcher Habitat Su lability afc :^ •','•' Svite» pat M /co« ií; • - , i-H 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. . -/ 45 Using ArcGIS Desktop ArcGIS Desktop Extensions ArcGIS Desktop extensions add specialized functionality for data compilation, cartograp1 production, and advanced geographic analysis. Any of the extension products can be start 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). ■U*l Select Ihe oaeraora jou wart to m fit t« s*- |w >kw> loo» v*> a* □ jí a a e •■!■«*» '■*- ŕ; »MrrO«. ~3 ± *••□ v B »AiMiyJ B AjcScan B Daw Imerccoabily B GeosUbsHulAnaM D Mart» B NetmkAnaVM D Pii**» D Schomaocj B SpabalAnatai O SiavayAnaV« B TiacktigAnaW 3D AnaVs 32 PntpM] Kcpeiia» •! 9S9-2005 E SHI Ire Al R d* Revved Provdej took lot aatace modeeng and 3D vajuafeabon □ - a - •.■•: \i^r "3pô~3 uii-»'i- j.- ; 44.11 tnXVMramMi 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. 46 1 • Introduction 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. ft. (at t— t—■ jam i« -ia«i 3c*U« i*Bx ~ * FTwS 3 u é- f 99:::: n« + »**iiOMň ■a*. ► .♦»- ulM.fi«. 3 "-«|f«w 3 '"; 3D 3 X 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. Geo» lea«. SOL S4M1 Wafeftoui FUO.SOt GEOneiNamaiSatv». &ECWTT - i, t ... i * ■ * - a :«•*». i—~ -«nCDaauc --HHBKE - :* •a kaaina ■ As^vifii eC III l ■ Paa ■ H GM.V2 of* OSt5lVaao»Fomel 0M2 OF* SOR1I P ■ VCt* ■ don cad. aga cad FAvCaecery F,:. FaarDMOrjr, FNrDaecUy F* FA»Oa00r, Fa*Oaec*»y Faan>aaory _| FaaA>eaoiy : 1 C "»OOrj - -'_ HJCjOrj *—* ] *aa<9rac*UGE soot Leae» Scan FF haemal Feaurn Ft LraOEX UaaQadeSa. FF B CEX R sa. ■ F ■-; ľ mat ■ agnfci aea UapMovaFjUO UapkaoTAB lav i*: ■ MDB B CDS ľ OG B NJIL ooec CfiACU.DE ■ UaraeocMCF •Mmol Acceat DMU)«« !«■* wnSanDnoi UooSfXyi GaoOraeno hUl '•;-•; 006C DoUsasa (>art»a>i Ony Cb«lDaaMn||cal.| ■ ■inm .re=r CQ SmSSSm» n-«■— cmiMiMa ■»»■■M r KUiO»» «M Mrfav MftMKtt« SBC* uanKMMw zsssss rtaa,aa<« «w >»••• '•«U «i ~+~ ÍBBBBBBBBBil -J 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. Selecting the best location for a business 49 Using ArcGIS Desktop • 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. 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. '■■"—'■■' " '■' ■'■-' ■p"'^^^^fWWBWW———ff^WWHlWWHIIllHllff ***£ Creating a continuous surface of toxic exposure from a set of sample points 50 1 • Introduction • 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. ui'íľImL.....cs^——sa jsa 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. Tracking the strength and location of a hurricane 51 Using ArcGIS Desktop 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 Arc Toolbox. 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 Arc Toolbox; ArcEdit provides over 90 tools; and if you buy Arclnfo you get about 250 tools within Arc Toolbox. ArcGIS Desktop is designed around core functionality that can be extended for specialized applications. The core functionality included in ArcMap, ArcCatalog, and Arc Toolbox 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. 52 1 • Introduction 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. Adding a field to a table in ArcCatalog using the Properties dialog box. abJšší 1 Per« IB« n Pot Pu*X»«p :m v;r, v.-::. ...-.i -K« S:-;t. A». "Mi.* 0«**vaM Dowp ~_iJ.«J m— f»T_ Adding a field from an attribute table in ArcMap. Adding a field using an ArcToolbox dialog box. ■3 *J řsauHL % Du HMtmn Mt » % Mi CtmpMon • »MUMM ' »Dom» ' t'*KJ~ - ► ""* /■ wrMmJHz**} $ CJbinttndOa» $ TinvMnrmmidi • % Pb StoMubM H [TEXT '•í _•-;>- i!f:'»; Pia tt— (apnyQ O t*i IlMiMt» («.MT!*) r nttfiKKiiXMOwu»«!) ' 13 cor»- fep—ii 53 Using ArcGIS Desktop Similarly, the interface often provides defaults you can use for particular functions. You c accept the defaults, or modify them. For example, when specifying what symbols to use to 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 9e č* i*» Kwt Seecosn t«« yjAidow tjap d ař g m f ■■■ « .4, |— 7j .J ŕ. • d W • •■T3 " * a You can use the default symbol... CBoov f*s Orda' So*» 1 Tnang* I • • • Pwtogonl H«*agon i Octagonl • • ■ RndSqwanl Od«2 Squar%2 m s« F™ H ...modify some basic properties of the default symbol or choose another predefined symbol using the Symbol Selector... Hi Ty«a |SmciiaUa*l» Symbol S™ptoUorU.|u<»k | ±JxJ»J*J Cdor ■ ľlMOKM OmnaCobr Jj-| SV« 1 -1 S» |»oooo ij XOM : VOW Jooooo JJ l»MTir. [lOOCO jj ...or, you can access and modify all the properties of the symbol or create symbols from scratch using the Symbol Property Editor. 54 1 • Introduction 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 Arc Toolbox 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. - <% Anaiyss Tocte • fc Extract - fc Overlay ŕ Erase ^Identity ŕ Intersect ŕ Symmetrical Diflěrenc "*■■ ^Update • & Proximity • & Statistics EESBSnffl • % Cartocj-apny Tc Running the Union tool using a dialog box. H Union parcel3_polyr|on; flood^polygon ílood_poxcel ALL 0.1 GAPSJ Fevomes I Inda«! S* 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. 21*1 Tooban I Command« | Opbom | 32 Advanced Edbrig Anmabon AicPad ArcScan Corte* Mama Dale Frame To* Dm*urw iGwJoajrww v Diaw Edbx JÜ*J Tooban Command« | Oprxra | Show command! cortarvig Ctfagajaj Ccmmande .: Advanced EdtToob Anmaaon AicPad ArcScan AfcToobox ArcWeb Servet* Anrixrt riamlei CAD li tlAd«. JP deer Unted Adwtmeri Aiea ;£ Edge Match •*ModfyU* '•. M Jb Drtplacemanl L»*s . * Ne~ Ooplacamanl Irt BNoldenHyLrt. Ě3 Nrn. ümied Aifcatmr« Aiea OoenCortJol Port« Ft» Zi ~3 K^*p»d Tne ArcGIS Desktop interface is customizable (click Customize from the Tools menu in ArcMap or ArcCatalog). Use the Toolbars tab to specify which toolbars to display, by default. Use the Commands tab to add buttons (commands) to the various toolbars. 55 Using ArcGIS Desktop 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. 56 1 • Introduction 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. Piľíi-»Viľnm .±01*1 *3 CcOŕ& rl*-*xr> OJ GIS Scar, Wfcarina-nArtfilS ÍMa»p«]|ac«cr«aiidc<«»dnalai|ll»« M«png and maualaaBon Eanrg and data ccnvaatnn Gacsrocaunc tMPMMataajl GaMafataMiandAicSDC Dan »maaaraanl -th «afanfcg DataMcoinhcGiS Gaocodno and aBtu managamar* HUHcttanatai Met* GTS Cääotq and davafceng -a* fecGIS Guda a tu aw na ••»«icGIS Uanang and daaktcp adnraoabon «KGISSarw i^,s Welcome to ArcGIS Desktop Help About ArcGIS Desktop ArcGIS OKktop mdud«s « (uta of nta>0rx*d «xjMiOons that »*ow you to pajrtorm 6IS tisks. from sanol« to »d«*no»d. noWJmo mapping, oeogfiohic «n»ly sis, data editing ana compiaewn, data man«d*m»rK. nsuakuoon. «na gaoprocassng. Lili '[smmwoH wAic£JS Gaocedno and addren sjanejeaeB] Lpa* itfarancns KaHioe. anatji« MooatGIS Cuaunang and da^Kvrig »rn » ::■■ HB ■ "51 • «1 o • r»I,ar*o ► r MEgM» MM». 4 ■t o ^H M Ü r 0—IS~»I"—I »-,- It ■ V D' K - |.v- j|io J ■ / ■ A- »-JÍ-Í- .•»•.•«i « Hli li h». 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. íl :i lO* t- ArcGIS 9.2 Desktop Help • r)' .'■ i'yt.-"n 0 Q «I Welcome to ArcGIS 9.2 Desktop |^QEE28] Help ° »Mi.™>uui Hum um the Inks n the table of content» on the left to navŕta in« topes n ArcGIS 9.2 Desktop help. Also Drowse the anas balow to find information about a i tasks or etteotons Mapping ond visualization Ceodat abase and ArcSDE :..., nani-a -' Arcen e »tensions mím .•- Maaj . 60 1 • Introduction 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 ESRľ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. ■M_ , I mOISÍ 0 - x z' , *■»* M. f • eü i • ■ JO» ESRI Support Center vt^on*wi* ifAlum, r ■ i ESW» fcdOwtodo» 6w» «t* fOu find Eh* .nformjoon «hj r«M b» »»Mřcři-r-a ESU"» djgjbj^o of known bugs, "now-to~ docufnonO. wh»t« pap«*?, »rstam ragunrr-tots. «nd common •rtor nwssao»? for a* of our »oft-« r=d_ ■... — iwhrfi U»f«OM*tfXiV 12. 2006 PtHM u* • our ihort tu-m «no futo b Can» for you - pn it itn EOT Support fi of tfw -VoSlS 0«WO0 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. * «> — "-—í2' • . £ i A**wJ#j»*!p.f(*Kajr.OT* zJfl* *- \ [J|\| EMU Developer Network ^^«taajt. Welcome to EDN... EON »<•«• t»f tt.ar C ■■111 aatd rattWtH *ni< EMU prmémtU »mé trthmmtmmtmt- If i*, an, a M*Mn) duaanaar loa*.»* for an «■•<•** -a» to I*** o*o«rapnt ant "v-ao-a. cinfciia.il rto i*x hwi |DocrfT«antaiKiři[j6řárí^J _J Na-a, lmw-PS**** chat* «j>f«r«- Confaninc». tat (at».«) for tha lafvtf «V.alopar Wo fa* tha *amnfl PS»I IntamaQanal \Hmr% Cwrfaranca. ■ I- ĽJ -^■"-'■-- Laam from ,o^ Ma» GIS da.atoaa.i Owwa> tf- .anew« EON cammMf f»oure«. «d and an.-«* nuat&en. on tha da* ».»par DtKutwon forumt. download .«me*a» bu* t>» f S*t «at **6 oonWwta rou> o-amp»a« through tha Coda říchaoft«. of tatra a paa* muda t SRI na tha Ha&a Cantsr " »IW Ka uu >n» Mommb Fcnama j Co4a £•*•«- J .**«»• Canoar | Wirt mul WM f—pfci H-»aw»W)-a —a ^j i • Maaal 61 Geographie [ 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 2 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 GIS data concepts 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. GIS data has some unique characteristics. What is GIS data? 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 modeled 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 geographi 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 s" 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. 64 2 • Geographic Data Management How do you represent feature aeography 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 Polygons < Building location points, street centeriines, 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. 65 Using ArcGIS Desktop 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 I 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. 2 • Geographic Data Management During mapping and 3D visualization, datasets are symbolized, labeled, and displayed as map layers. -uas a• a» /■: i*sr ~3F°~3 ■ / ■ a- »-^- j.- 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. BUFFER You apply geoprocessing operators to datasets to create derived datasets. Datasets are also the most common way of sharing data among GIS users. vj Cities Feature Class Thu 9/23/2004 3:54 PM £} CitiesAnno Feature Class Thu 9,23/2004 11:06 AM 9 Roads Feature Class Mon 10 4/2004 10:55 AM ,*J RoadsAnno Feature Class Thu 9/30/2004 8:58 AM Ü ParkBoundanes Feature Class Tue 9/28/2004 8:56 AM 31 States Feature Class Thu 9 23,2004 3:54 PM ±d Streams Feature Class Thu 9/23/2004 11:06 AM ■ UtahRelief Raster Dataset Mon 10/4/2004 10:55 AM | ISOmNaturalColor 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. 67 Using ArcGIS Desktop 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. * ■*. ■■ . -I 3 ' • a ^JCLSI T3 :/ «-»a «r ftjÉgj^ST OMA-:"-: fř^T- •• MM»«— 1 _p»»». • 3 • " - B»j*p> r> •* * v P-\ <—-—> «» ■» /&£•. ^ torn v .^^y* ^ w D ,1%J.Ü :;■ ■ u \ * t* >', If"" a \ , ■ OK* ^i^^^^L. -------------------------------------^ < d i -------' ------- (0,0) x-axis 2 • Geographic Data Management 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 comer) 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. -IOi«J 9» 6« *— »« S*a»n lodi an», r)K> *j_ »*r~i - ■ A "3 4 #-%a xi 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 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. jdj«j Metadata for a dataset includes a description of the dataset's coordinate system. 72 2 • Geographic Data Management How do you I" ArcGIS. attributes for feature classes are stored and managed in tables, which are based represent feature on a series of relational data concepts. These include: attributes in a GIS? . Tab]es comajn rows • All rows in a table have the same columns. • Each column has a type, such as integer, decimal number, character, date, and so on. • Relationships are used to associate rows from one table with rows in another table. This is based on a common column in each table. • A series of relational functions and operators. SQL (structured query language), is available to operate on the tables and their data elements. Tables and relationships play a key role in ArcGIS. just as they do in traditional database applications. In ArcGIS, tables have an added dimension: each row in a table represents— and is linked to—a geographic element in the dataset. Additional tables can be linked to the geographic elements by a common field. For example, information on parcel owners might be stored in a separate table—the parcel identification number (PIN) serves as a link between this table and the parcels attribute table. This would allow you to associate multiple owners with a single parcel or a single owner with multiple parcels. Feature class table Tables can be linked through a common field—in this case, the Parcel Identification Number. Shape i ID i PIN ! Area Addr Code 1 | 334-1626-001 j 7.342 341 Cherry Cl SFR 2 334-1626-002! 8.020 343 Cherry Ct. UND 3 334-1626-003 j 10.031 345 Cherry Ct. SFR 4 334-1626-004 1 9.254 347 Cherry Ct. SFR« 5 334-1626-005 8,856 348 Cherry Ct. UND 6 334-1626-006 9,975 346 Cherry Ct. SFR 7 334-1626-007 8.230 344 Cherry Ct. SFR 8 334-1626-008 j 8.645 342 Cherry Ct. SFR Related PIN Owner Acq.Date AssessedTaxStat ownership 334-1626-001 G.Hall 1995/10/20 $115,500.00 02 table 334-1626-002 j H. L Holmes 1993/10/06 524,375.00 01 334-1626-003 334-1626-004 W. Rodgers 1980/09/24 $175,500.00 02 J.Williamson 1974/09/20 $135,750.00 02 334-1626-005 | P.Goodman 1966/06/06 $30,350.00 02 334-1626-006 , ICStaley 1942/10/24 j $120,750.00 02 334-1626-007 ! J. Dormandy 1996/01/271 $110.650.00 01 334-1626-006 S.Gootey 2000/05/31 j $145.750.00 02 73 Using ArcGIS Desktop This combination of geography and descriptive information provides the foundation for the ArcGIS information model, which is often referred to as the geo-relational model. PIN Area Addr Code Owner Relat. Acq.Date Assessed TaxStat 334-1626-004* 9.254 ~347 Cherry Ct.' SFR 'j.wiihamson HW ' 1974/09)70 ' SI35.750.00 02 Feature class table Related ownership table pir •i Area Addr Code 6-001 7.342 341 Cherry Ct. SFR PII s| Owner Relat 6-001 G.Hall SO Acq. Date Assessed TaxStat "~ 1995/Í0/2ČT* $ 115.500 M' "02 334-162 334-162 334-162 33-4-162 334-162 334-162 334-162 6-002 8.020 343 Cherry Ct. UND 6-002 H. L Holmes j UK 1993/10/06 ; $24.375.00 01 334-1626-003 10.031 345 Cherry Ct. SFR 6-003 W. Rodgers | HW 6-004 J.Williamson HW 1980/09/24 $175.500.00 02 334-1626-004 9054 347 Cherry Ct. SFR 1974 09 20 S 135.750 00 1966 06 06 $30.35000 02 02 334-1626-005, 8.856 348 Cherry Ct UND 6-005 P. Goodman ' SO 334-162 334-162 6-006 9.975 346 Cherry Ct SFR 334-1626-006 ICStaley HW 1942/10/24 $120.750.00 02 01 02 6-007 8.230 344 Cherry Ct! SFR 334-1626-007 J.Dormandy UK 1996/01/27 $110.650.00 2000/05/31 $145.750 00 334-1626-008 8.645 342 Cherry Ct- SFR 334-1626-008 S.Gooley HW The GIS information model includes both geographic and tabular data, and is often referred to as the geo-relational model. The geo-relational model enables key G1S tasks, such as using attribute values to label and symbolize features. Because the tabular information is linked to the geographic objects (which in turn have a geographic location), it also allows you to perform spatial queries and analyses. You can, for example: • Point at a feature on the map and display its attributes. • Select a feature in a table and see it highlighted on the map. • Select a subset of features that have certain attribute values—that is, that meet some criteria you specify. • Use statistics to find geographic clusters of features having similar values. In the raster data model, tables function in a different way. If the raster dataset represents categorical information, such as the soil type in each cell, each row in the table represents a category rather than an individual cell. The table stores the number of cells in each category. You can also store additional attributes for each category—a soil name, crop classification, and so on. If the raster dataset represents continuous measurements, such as elevation or soil moisture, each cell potentially has a unique value, so only that value is stored with the raster, and a table is unnecessary. 74 •> 2 • Geographic Data Management An overview of geographic data management ArcGIS provides a great deal of flexibility in the types of data you can view and analyze—data stored using different data models (vector, raster, TINs. and so on), data in different file formats (feature classes, shapefiles. or coverages), datasets covering different geographic areas, datasets from various sources and in different coordinate systems, and so on. ArcGIS Desktop also lets you work with or import a wide variety of other data types, including images (.bmp. jpg. and so on), CAD files, other geographic data formats (such as DLG or TIGER") and tables (in text format or spreadsheet formats such as Excel). To be able to efficiently find and use all this data, you'll need to organize it. The main mechanism for organizing your geographic data in ArcGIS is to define a workspace. A workspace—by definition—is any folder containing your GIS data. Workspaces also contain other files and documents you collect and create in the course of your work. Workspaces are viewed and managed in ArcCatalog. Here is a workspace named Yellowstone, containing several datasets and associated files. These are the most common types of datasets and files you'll work with. A geodatabase A single geodatabase feature class An ArcGIS layer file (Jyr file) Catalog Tree S D retowstone 3 3 yefcwstone.mdb I- ^ water á lakes Q boundary, shp dem30 etevabon.lyr €Q elevation.sxd + Ü hkhade.img Q hydrology.h/r 3 mask.shp El study_area.shp •2J tin.study ID vegtype.dbf Tanks «& Transmans 4^ WaterNet.Juxtiens ^ JUaps - 3 waterman georlaranase - -ilundbas. = §Wa»r ^ *mo.H_72 {£] DtstCtarn ^Juetnbmans iJ Fttxgs JiJ Hydrants *.'l Sysvarves id Transmans • if laterals il] owners dat 3 si 777/s typical workspace contains folders to contain layer files and maps as well as a geodatabase to contain geographic datasets and relationships. Using ArcGIS A geodatabase is a collection of geographic datasets of various types used for representing geodatabases 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. 77 Using ArcGIS Desktop 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. 78 2 • Geographic Data Management 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 turn 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. Types of ArcGIS provides three types of geodatabases, designed for different work environments— geodatabases 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. 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). 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 th changes in the database over time, through versioning. ArcSDE geodatabases are primári" 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. 80 2 • Geographic Data Management The process One way to build a geodatabase is to create datasets and load data into the geodatabase as for designing needed during your GIS projects. It's often more efficient, though, to spend some time and and building a thought designing your geodatabase ahead of time and collecting as much of the required geodatabase 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. 81 Using ArcGIS Desktop Here is an example description of a data theme for ownership parcels in a cadastral application. ParcellP 1 ParcelLocalLabel ParcelName OwnerClassification ManagingAgency Area AreaType Shape_Length Shape Area —PST^ Siring String Siring String String Double String Double Double ype |Long integer Yes Subtypes of OwnerParcel Subtype field ParcelType List of defined default values and Default subtype í domains for subtypes in triis class Subtype Description ■E No mkm •* No values set No values set _fi Relationship class t OwnerParcelHasOwner Type Simple Forward Cardinality Many to many label Owner Notification None Backward label OwnerParcA ■==i Table ==1 Owner Field nam Allov Prec-e Data type null; ision Scale Length OBJECT D Object ID OwnerlD 1 Siring Yes . . 60 OwnerName String Yes 12? 60 PercentOwned Long integer Yes 0 OwnershipRole Strrnc^^J^s^^ 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 j 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 2 • Geographic Data Management 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 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/daiamodels), 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. -=- li"'-—■— =^t^: .===- yj-----rr- •.-=== =r |STrr:r — •1- 31 ^" ll ' m '-____T~S ■o—«lt^—U«. 1 ^9~-4i -All —-*g^^ ^^""1_ ___ ^^g=r.=_ __- 9 —; ^^ S££j^^_ ^=2------ ^^ -=^- ==r =r=— LXC fc , K —=- T K ^™ -^ =- ---- -BĽ = : v>- ■ '■_Z-— JBS~~ I ^ \ ■ : ==r 7 5 ; -r~r ' ^mmmm-i 1 £ : §=- = ^ •A-lo^l-. g^s?!=? í ~ ■ ■ !■_■,'■ —55? • r ; mJm ' ' A sample geodatabase data model document showing the various datasets and associated attributes, as well as the links between tables. 84 2 • Geographic Data Management 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) frr",-v,i,,l-'i ij«j Choow rh» ŕddw Co *#*h you • | E KenaoelBeclaroir.: - &•*,am^*ft i • Jl'JV.flopoylA:) fSUnlMIC:) 1 a««»»} - £ OMj-Mtl.) - _J urmtu _■■•»■■ . -Jö** _ - _ll tuopa • j-afc aa—*» __4 11*1 Double-click Add Database Server to connect to a Personal or Workgroup ArcSDE geodatabase. IVItIUiJ -U«J You manage all the data connections from ArcCatalog Pwadei | Condon {Advanced | «J SMMattKuMlocamKi 9«Q\ • jeJCVarcg» • j§ C WIS ProjKt Wortjoace »Son »St* _|J ArcWeb Service» + jfj Coordriate SvUem« - £ DataBase Camscoons 3 MdttECeCamcbon ^ AddSpattfDeucwOmection - _J D*atoai» Server» í>j Add Database Server I 15 ;:£>-.-•! 31 Add ArcGIS Server S Add ArtIMS Server S Add v*B Server djt Geoo-acrrr Neb«irk Services hosed by ESC • tJt lr*r*«o|i| GatlM I Double-click an option under Database Connections to add a connection to an OLE database or data stored in an RDBMS. It'TiWH:.1,',1! JJJSJI ThB .-.. f5 . JT.KXC...O». eou_«r»w<.fS [ro..»*tr- SBUOajM KtM_>wn.n Geography Network Services lets you access images and features and services 86 2 • Geographic Data Management 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 -JOLS.I a o» o» v *■ :«» »*- n* «.aai»li'X>l=B38&«*0«7<< • I) ♦ tM*m Ir-Biui'ir-* "Trrn -*ťaf rim jatarftwi j^flMirni* "*>J fr^^W Use this button to view thumbnails ■1,1 I'/lf"!',,! If,',!-,, I ,f-'JE !•• '.* í- 4« :-» »tt- 9» Previewing a feature's geography or attributes Select a feature class in the tree view and select the Preview tab. Then specify whether you want to preview the feature's geography or attribute table. When previewing geography, you can point to a feature with the Identify tool to list that feature's attributes. Identify —jw ucMMBMaoaaMtaaMaa Use the drop-down list to specify whether to preview a datasets geography or attribute table. mi 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-------------3 ' si: • i g 03 IS Right-click a field name to sort or get summary statistics for the field. ■J .r-_ Cfllcfc 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.) tnrr>v>v ihllxjl -IBA f. woi'«t *crů*n.v^š tí. «» • a w « « • o fc "3 / f"i • B »■»"■" 1 BCT.^«WllMdMIC»b.M^ 3 W|»*nUk»*lta? 6 n,- <...*.M» l l>lij n tu i—ľrr "flti m m' 1 «tffiMt.teM.tm' kĚĚ - 'JwWl - '■■ ^" —4 T"/7e Metadata tab displays myriad information about a dataset. 88 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 thumbnail for the dataset. With the Preview tab selected, click the Create Thumbnail button. EC Create Thumbnail QEXOESECai a. 4) «>P X JBlill ŕ <■•□ iff «nao« o '•"I z~- T ' •5 il—™w._-tt» ■i—«i l?iNMlNgirsnMKlClM 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. frü>WJJI.I.B-WJ.'lUlMI>..l,KW e* n» *- a> s* **» <** |C\«c9iU«:Tua'v5aana_SÜM I-----------d7¥~ «*. • o * * . . _j«nluto » _|«rtí«*. . _J ftaxqibedauba* t Jc«*g . _| EatecaVMrcGB • _|£i«or ■ _l _|Cra»raVr umí . JH« "4 Sow CM*C .la-^IG^tf,;». | Marcall - _J StrwrJwaV* • _l Ti«*B«JlB*f« ÔH • _J T»icn*_Dao -9 MP» SwhClMloüM ÜT. Right-click a folder or drive in the Catalog tree and click Search to open the Search dialog box. »mm o*-to»« AoMSFid*CiMaUBn>v(aa £j to. to*««*». Stack tok» ' J toapg d C Vacc»^T.JcrGa>ilt_Sl«a«l 4 2 • Geographic Data Management SjrrlKa»!»|0« l«»WMd| 1«--1 1 Ma.S«a* [ !aia |%S«a» Ma «P* ArfMS f UK Cuo J As 1 MKS F«ta> Save» IJ -----------------1 Hfthaptait» fcUMiiiaiaHaii ■■■iS MaafcH Quo— WHSINudcuSm maajCuUM fticWo Co—a» naaii an Ckw ^J Oak»*** J CaajQ j L/se řňe Name & 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. Remove the current box Jj*Ii ,I tear» G«>sa»[M> |A*aod| P Ui Ckaoboa OoDH«bcann Soct,coa<>aai<>.ba. I ISSM61 I 106016 So* ' jssiiass Choose the map to display >>a.|uSG»raa ha.Saa»| |MV5—» 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. Naalrc*m| Seoo>a» "** |«d*rcal| ! Frdllc. | S FMl'aalWdolCsM J "—S«a*| Sam at »li— Z | 6/21/2035 d»>cu>| 1 J i^™" IIS"0 1 h J Use the Date tab to search for data created or published before or after a given date or within a date range. 90 Naalbcaml GaauDVl Ma *aarad| JiSj | «H-l Ml II 1 1 Caaaa. «kha RaaSaa* |D«lh— -j f.** J E» ajinlda. j »dcloL« Saaa r»*-* ID». íha» «ja» Eii.aMi an laii al L.lj.n Da. bar, «achal haj to aa rf -a* Oaj ■ < -Hill a*« a. «Ca*. t/se the Advanced tab to search other entries 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. 91 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 Arc Toolbox tool. When you delete a shortcut you delete the shortcut itself, not the actual item. wwfrifflFiiTB.nrai.w H. £* vw- 40 loa» tt*m tJW «. a * * f x >» = «8S -iOJiJ Ü. *•□ w < < • o * |Saa*r.n«e4iWySaerch I 1 ' M.UTTrrflTffT To select the actual item in the Catalog tree, right-click the shortcut and click Go To Target Hi 3E e>Ac* . jfCWrcvs • Í« É Ji Coordnata 5i *»— - au asserts - g, SaanMlesuts - \ Urs»« — The search [£■ res""s Dr«»n |fs^»| iKiiml Em ate Copy teq« X*« ^. GcToI«o« fe. 4 >» * •* X B ft, • % qTÍ» Upafe. « « • O * (CS«P09W ij».tR*»»| CotanandRoai iTosisa HuatsolBanc» 1 CafcaefXIl 3a 3D Mm mni—Him «55 MB Foaaat Esnsno SouKaTjpi crrtruaji «IW japed .«a» C \»K»rv«cTi»»r«^»ba\Y. ________J [5alDea5mt»~~| _S=-J____I -i I. - -jýtutt* - -£■-»jaUCo. ?aevaoon.s*d hr*t*jg»V a ■»■».*» B «uoV.araa.stp D) vatEron»» *} ,%*>*»». Barf J DMJrcaraparabaty J!«» _IGaoccdng ,/ C«M>|cmw.|l(Mjau| 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. t». E°» »a» S> loo» »Uta. n* ft. a» 9*e x »IDJ2J a e. «•□ ft « «a ■ • o * |Saa»*ltaa4rU»/Seacri ■3 ' f - + r ,-. - jfjCfcasPropa* I Si* • 6« - n Mau» CorrecDom • 9 U>n> loc«m 1 jjt Coordrtala 5r*»w - ks«.."i ■ £» lrcaiooenolrr Cmectioia - g.Sa*oSRe*Jb - a.* Start. ■ do>30 X I Co*»|fW. M«d«| Ovton o» pnxrtaa of Da MkciadUB My Search Search Result This search looks for data named "* data Geographic cntena Data located within the fcatoMig area «■ search: Hnru X; -«25.970095 M-ramum 1 35 013769 Mtáiuc X: -105-78463? Manmum V. SI 424796 Temporal cn-.ena Data descncing the tane penod before 2C ~W5062; w« be retrieved by tins fmtrt- >ev-ofd cntena Data whose metadata satisfies the fbio* not case-sensitive, «a* be retnevec t, •' • equals "Elevation and derived prod Right-click the search name in the Catalog tree and click Properties to open the search so you can modify or rerun it. HMlbcatmlueapaph,! Da» {lkdvarced| ajcMS FeakM Qen r»eM Ma» .v...-AidMS lr«amet Server A10MS Metadata Douwi A/oVSKelad«aSa~i» fe&Wi DepMpi .Aidrrc Coveac* Rata***!» Claii Cora«*p.~ Steer. I Calebs look n (Čyrč»iwčw~ í ~3 :■ JtlXj Set« <Š 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 is added under the entry, with the default name New Folder—type over the name to rename it. Right-click the new workspace to add subfolders or to create new GIS datasets in the workspace. 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. Ufflfrifflfffi-B MÍOÍ*l\ » Cot »» fio look gnto. gap «.a» Hřx «, = m Locate, e. «1 * □ ■»? I*« • o EEEZľ [C \OlS FuoooAWa» Pioaa WotaMc* I------------------J »« aftC-UrcQ. a) C KS Projects • J **' "A1S»» CDtK ÍDotaDoMCvreco» »o»™ locator« X Djran *-S Cocrdnat» r, if - „ »QSSor^, ^"«* " «A I'tf contt*. Ccmoxn +> B*^1 ^. S*WtM)«Baftl j^^ a' **• - J3 Traetrq Cxrrac&ors |), Jiaiti CcMM|nM.|tia«k>.| BBSssac t» Et» !6»" * loo» »low. a* ô. 4* »hP X I.IULm1'!.1 Ľ. «tftD K" ««•Oft |C \G1S Plo»OB\W»« Pnacl WcrtieaceUtttnlev *» Right-click a workspace or dataset to rename, copy, or delete it. Í.CUIO0 • »« - 4 C:\OSPioHO» - __I Wet» Proucí worfapoca . il^c«t«er. goal«»».** • ■ae.X Hlöp, • *D;> V r—a. i btnK^lHHwl Im ShapaM. ?OSS>var< WopanfrConn. SaarchRaeJbi • cj ' ■'■ -■ • ^5 tiodev; Comocbora Sfř 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.) HUfni'H'fUffiMI'lti'M^ 'C H, to* •*■ *> I«* Wh*». ttt> ft. a it *PX lx~m; tí *•□ »ff « « JQLÜI 0 »nwpnwiiii?wji^jn"ii»pjjij.iijir í ■ 3 ' s« s« í— s» 1=* »«*- a* ft. 4» *«* X ».=51 tí. *%Q iff ««<'•• . S mri 1».«* - _J w*p »ropa wptappp jj bouidjr> *c • ■ ctaOO - ,rfCocFdnP»iriitMl • fjt 'rtarcvwäimy CorTPCboni |C \U5 FVpaiW«, Papa Wot«* I ] Right-click the dataset and click Copy. ^jŕxVOcn jgdsrJO ...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. ej-tf" B'i'fíl.ff'-i. «. a* --f x In «ii |CS6eP>o»cM\w..Pu-awä lni pil tí. «•□ Iff «« jctpac Tim I.—1.—. WW.» cwtan tta ppm. a- «• am tp> Properties dialog box for a shapefile. 94 2 • Geographic Data Management tjmfinmu\.maM.WRn-fm!f\».i»\ ta »p> 4» l««p «•"■" rpp «.=»». * * X «, H tí. » Cmipumjppp DpataiCorraOn» jHGSSpvwt *JlrtotcOP*ityCt«T«air. jS T'ptoig Corrpdxra V*d> «ox d dp» do tou apt t» Cpdog to ft,? v tajton« %IK« [«eh n ta Fit tmi ubi - »• AicGIS Spva Corvpcaom p»«[fcprc< *Ctodnp»Ij...... 'EmFk. » Fa G «»««tam •■SeopocPrppFp* v-GtataDocuppv v Gut» 'npocaubPrOau ■- r rKpfe. P RpuriHlMippltocaBn^ppr.iwiCpdogppi)* r u»i«pc«(toiloibbp«ccr««»«G!Sop. « *!■»> r »fCTP^IQ Pll I MJ| The General tab on the Options dialog box lets you specify which top-level folders to display in the Catalog tree, and which types of data will be visible. -£=iJ____I 95 Using ArcGIS Desktop Many files that you would see in a folder in Windows Explorer aren't initially visible in the Catalog tree. Some of these files may contain information that you need when working with geographic data. To see these files, you must add their types to the Catalog tree's file types list. You can also remove file types that you no longer need. Some of the file types you want to use may already be registered with the operating system, such as Microsoft Word documents. You can add file type information for these files to the Catalog tree. When you double-click a file whose type is registered with the operating system, the Catalog tree will open it in the appropriate application. You can also add your own file type by defining the file extension, description, and icon you want to use to represent those files. For example, to see Arc View GIS 3 project files in the Catalog tree, you would add apr to the file types list, since project files have a .apr extension. To specify file types to display in ArcCatalog, select Options on the Tools menu. jJQiSl O to« *»- S° 1"* *"*- t)a» ,□ H? «< • o a -a I * jp na-rfia« GnaOJora I _-f Cocrfnata Wem * fjt Ir«oroper*batv Carrajcöom * f^ nearer» Bnjti Iwraaq I tataai | fuaaa | CAD Snl fttltfm | Coram | Comaon ms | Daa 11*1 M>«r «noun mov 1 «+ 1 Uľsm^m-^m-wm <ŕ[ O»9ilco»-. | | taewfbiw.Fo^n«-, | mmmmm Oaaaa*»>ol»«a> [ rx | c-o. | On the File Types tab, click New, then type a file extension, or select a file type from the Registry list. \mmiwn<.*ripmmmWĚĚĚ*mmMWt HipillllfcW» lEM» J Qitirmnitma) MP?/ «jwranvnauu.»! m >£|McMaR»|UPEG| IM MPE ►]*>-« rhlMPtGi MPCG a*~»»»«Gi MPS »JHcxFbfMPEG) yu^,fl.(MPtG| MPV ►jMo^araiiMPEGi Mm—*BMftM»■■■■—am MSC Soubf*««. MSB BvaiaaaalMata Padua* MS 0WrOr* Irauaa Pak» MSP «j ES» Atom» OmuMH MXD á ESPJ boM« Dotaaart MXT ajMSWoOooawi NfO - 1 r CK | Cat 96 2 • Geographic Data Management Documenting your database with metadata Documentation of each item in your database is critical for sharing tools, data, and maps; for searching to see if the resources you need already exist; and for maintaining records of your data and projects. Dataset documentation includes a description of the dataset. its spatial reference and accuracy, its source and processing history, descriptions of its attributes and definitions of categories and codes, and information on how the data may be used and shared. In ArcGIS, documentation is stored in metadata and is accessed via the Metadata tab in ArcCatalog. Once created, metadata is copied, moved, and deleted along with the dataset when you use ArcCatalog for these tasks. Any item in ArcCatalog— including datasets. tables, folders, and geodatabases—can have metadata. Selecting the metadata stylesheet Every time you start ArcCatalog, metadata is initially presented with the default metadata stylesheet. Each stylesheet in ArcCatalog presents the same body of metadata, but using a different format. To change the metadata's appearance, choose a different stylesheet from the drop-down list on the toolbar. (fc t* «•» So look «"Ota H* _ a* »p x UMJn B & «•□ H? ««■•■• o n |C\GISPio>cn\WaHPnaaw<»kji>«ca\bou«l^irc 33 band».«« »S« . « :«om comoosow • £» utívn locator» • ^CoerdrataSraoBM • jMGBSarvar» | £g ErcoroparioÉty Cornacbon» .^ShoiIiUS . ij "vi-: --. » jj Tratfcrq Carractnrs Osoh n Kitafaot «u • CamlPam«. MWdM Boundary of Yellowstone National Park Shapefila $„',,: Ka>y«»ordi Thama: par*, boundary Tnam«: boundanas Pictca: veHowstona National Part-, u s. Use the Stylesheet drop-down arrow 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. ijx| si\ 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. r/Trr-ľn-^Kf.T'Tifirri.ľ'.'ic Gacoocaaar« I Tata» I «a» I CM) | Dalai í 6. 4 % n 1 Gars« | FbTxa» | Ceaana | CannocaanPipnaaai UaaUa ThaMtMi-waduaifeaa^aoiinMMtvatfiknra* - a) CMC Prower* - _l ««•»majaww»ipac» •J oownoar, a» - J baa - * 3s - j ' -.»»>.. lanaai • »vi :t««f«. Cancan ■ JS haar, c l»"ft*cC«atog.»inrOi nMauK»aja»iaat ilGOCEi« |EGOC ESPJ C»a>«Ma • •ataauck affi P AüttMara» n '.Sf ů.*g.ffr f*"?* i ■ A ESS MUKU a« «/cCaiabg aaaaaacaV caaaaa la an. awe» aa I» a»aa.an«»^n>Mab»ollaa>aai.c».ÜMiigoW«ii|Ojii«aa aa>M AitCaalogcannon a. MacWaM rou>o a*aa »a» caaroaa aEcaa» |lS0Wo»d 3 ' P»—t«EJbva»na»Miaaa«i».«ialoaM»*a«adto Se/ec( me default stylesheet 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. ee ■n—T 9» •* tm » 1«« »e- \ ft. a» •*■* X a a ««a v «« •to* SCto» IBS»"» Boundary of Yellowstone National Park Fee or lafca» Nm: doubúvy FGDC and ESRI Metadata: • : :-'•'■- :■ r '.' • —■• -■ The FGDC stylesheet presents a summary of the dataset at the top of the metadata. n'ii. r-nruHurnu i i.'i.n .m ii1 i ij ». 4 * *f f x <.-. «l • □ w JfllSj «« • o * B.e»eerT »f VdbMMc N'edemei Per* Freeuetrr- «jka« »til»»: ŕ ;;■..: v.-.- AlUKmCBSUl ^.;kJ^«-: 7 He»<^e>aap^aMa^e™«re*rfc**ei»1 t Wkrrr itfc.to :- The FGDC FAQ stylesheet presents a set of frequently asked questions so you can jump right to the information you need. It's useful for datasets accessed by many users. ft. a« »fx Jjr n -anal «« • © * fc^g ISiOrVW— r^ft«^ "3 • * • *■- :*£ Boundary of Yellowstone National Park tanŕiii iamiTT"T frffT f»* Annfctfe tfQfWQB ľ-:^-ŕ-, r. IrrwTMnoo ■....■ : -:-._- -_■•_■ Ctíatxm: CtíaaomJnfonmaaů*; Ommuor; Tctownooe 1 JjďoojJ ?«k il----------- ___ ____ J The FGDC Classic stylesheet provides a set of links to quickly jump to the pertinent section of the metadata. ■ - - > ;Ik. ■ * Content Citation VUm ef Ceeteet: >»mí»^ «t Yrllomtei» '.aTMnai Part TV*« at CuMt DOTtoadAM OJU C •IK»«* PwbUUnm- YeJoaritone KaOonal Part pH»«<«t>ofl Plete: T«a*m«cr«»aa6or»al Part, Wromrig. USA PeMcettee Mr. 1996 Content Description CMM 51—iri Ifo mom rasreserB It» BOundar. deílrwo Neson* Pert and tf>e area «renn e_ Pareete: TN» tnaoeNa u reended to te uted et pert of 0* Content Statue The FGDC Geography Network stylesheet is used at the Geography Network data clearinghouse. It uses a citation format 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. 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. t™*i Jjjcj _ Seaman, I H> 1 te | KD | dee ** Wm Gene* | FbTap«, I Cere»* | toreceenfVne. I "e-»eiel»«ud.M» 1 rl» liUoaeoleabreeyieeet MeJSajMieet |FGDCESfll 3 Caaaatajaelaaau » eeuaea dceart aru» mm. AicCeUfeo. cen cue* i to r» £ Uoeaecee/owrMadUeeMaaaaneeaneeCatabg —-dr,e«Maudalalab f} IoYcucaru»e.C™a»Upoa»buejnrt«M«.daUBcb, ««ele» »oeala n lajde» e« au i .illy ■«•»artceabc,«»« CK | Cancel -1oj»j Select Options on the Tools menu to open the dialog box, then select the Metadata tab. Use the drop-down arrow in the bottom box to select the metadata editor to use. Select the editor 99 Using ArcGIS Desktop The editor selected in the Options dialog box will appear when you click the Edit Metadata button on the Metadata toolbar. aloq ««Info I: USř..|nl. W« hupl Wc*H MMMM (WlOww IMB..... En%*MMt at«»' «*a.....1 S»».|c««| C«on| I-.P-oo|Sum| SwMIWI «WIM*I fco»aiGni*ic|s«u»,| ď [!•■#•■ ■« öoxöordrfrrg Vote-«*» H«io Fo* aid*«. -----------3 ______________J .l»Mncha»aT3 pr Keywords Them«: perk, boundarv Thema: boundaries Ptače: Vetowstone Natrona« Part. < -----------------------------------------------------------------------------------------j ________________________________________j IS«NES»ljc«nAvavMloiD«lon>c>w>i50eJ°21951S«rv«»P«»< ESBIo.cCaaSo.ai 0 722 Emvoraanr j J 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. [""■TmI «1 ' Oc taot w« at noaad. *m ad «ab» «* 4M«aa ta. ho cagt'i icon T BonalagB-li»«f*K»c»jn(Mpi 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 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. NwmmmmwmipmmiiMaB 3i to* «■" in look unto* Hob l«c*«on \C VMS fKmai\wm> Picaa Waucac«i£cu-day tfs aifflXji < « «Oft Boundary of Yellowstone National Park Shout-file Spatial Lacakn |C vurS |FG0CCS06Mf«0l UM Ksyvrard* Ttiama: park, boundary Them«: Boundaries Placa: vtUoastone Manorial Park, U.S. Use the buttons on the Metadata toolbar to import a dataset's metadata from (or export it to) one of several standard formats. 101 Using ArcGIS Desktop »(•»•<• la* »*» h4D<-t> '. = «ae.«*a*r «« •:• 'ft| Se/ecr 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 Woriispace Document to open the wizard. ~ OJ«a, "«-f gSfcjT „, 1 o~ I The wizard shows you all the empty geodatabase components that will be created. Select and type over the Target Name for a component to rename it (if necessary), then click Finish. The result is a new schema with no data but with all the feature datasets, feature classes, tables, topologies, relationships, geometric networks, domains, subtypes, and field properties from the source geodatabase. You can then review the schema and modify it to suit your needs, deleting some items and adding or changing others. MurnTiuMJiiii'ii'Mi 'narair •. a » * •• x t)-4*n«r I.M.TT V « « • o * i •»as -*7a. -J« a» -■i a» si- :-- -5=7: ■I — ■■ í .rid «-PT^_j—■ --------3 W IV/ien you foport řrte schema, the various datasets are defined and created as empty containers. If you preview the geography for a feature class, for example, you'll see that the preview panel is blank—there are no features to preview. If you preview the attribute table for the feature class, you'll see that the columns have been created but there are no records in the table. Once your schema is ready, import the existing data into the defined geodatabase datasets. 104 2 • Geographic Data Management *iaj«j To load data into one of the empty containers, right-click it, click Load, and click Load Data. That opens the Simple Data Loader wizard. r^H_£=_ i ■I ! J I J — I — I — I M - Lr—=g The first panel of the Simple Data Loader wizard explains what it does. Browse to the dataset containing the data to load, then Add it to the list (you can load multiple datasets of the same type at one time). This panel shows the geodatabase and feature class the data will be loaded into. Here's where you specify which attributes correspond to which fields in the table (if the field names aren't the same). The default is to load all the features, but you can load a subset of features—select Load only the features that satisfy a query, then use the Query Builder button to specify the selection criteria. The final panel shows you a summary of the data that will be loaded. Click Back to make changes, or click Finish to load the data. 105 Using ArcGIS Desktop nv>"i7'i*i tlitt-t: JOS 9» oa •> <• I» i» e, •%□ w «an« • u H-SflT," T,ir.a::;iif -z. k a* **" x « « «o * 3 ■3-'- IrT'—;'r " Once ŕne dafa /s loaded, 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. m e »i mi «_ r—- s— < »*- 0» d «et ■ $ |119U d -J *.« □ v * * €1 a n • * A M -- Q Uta«» • - Q •«t*.»*»»' - D laadjaVax a •. »:- »sat, aj dai».U*irttiair>>«cnU7>Ud.a<1<*«ť'Mau DnurgdaalraK: cw^vAlWuuVMIrgJXiUMmnnln v*NtdByou«Mrtteafj«1> » DU ľ TŕMlOt» c rnUÉiii r »toon»« IC^ Prefect WortKraVVTwi PrewaVtf? «f _Cupu(-mii «1 ;■•—í - » ■-Z - _ T »»a>Ma • a i#~ | —. | CM | 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. 106 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. * a a * r x •. = I ť. *•□ *? e « • o * a c—!P To create a feature class, right-click the geodatabase in the Catalog tree, point to New, and click Feature Class. Enter a name for the table or feature class, and an optional alias. Then define the type of feature. -7,7.-- :=d_£=l — r^n. r^n. ArcGIS uses the tolerance to evaluate if features connect or overlap. X.Ycoordinates within the tolerance distance are considered to be coincident. The default tolerance is an effective choice in most cases. jua 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. Define the coordinate system for the feature class. Select a predefined coordinate system, import one from an existing dataset, or define a new one. ***** -|| tl. 1 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. 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. 2 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. jj«j G«g«r«:a»«>i—» HI--"■"»■ ■"»»"<'"»-rtK*" |IMmx Use the Import option to assign the feature class the coordinate system of an existing dataset. I "-' I -i±sl| Use the New option to define the parameters of a geographic or projected coordinate system. 1 • Ma IM \m* I"— J — — P 1 S*a | J r1 ft. | 1 108 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 containing geographic features. The main difference is that you don't specify a coordinate system, tolerance, or feature type. To create a table, right-click the geodatabase in the Catalog tree, point to New, and click Table. ^rj_c^ Enter a name and alias for the table. As when creating a feature class, if you're using an ArcSDE geodatabase, you can specify a keyword to handle special data storage needs. In most cases you can safely accept the Default. ' »KV--------*"'*"*---------------Mat*"1"*------J i New tables have a default ObjectID field. Specify additional fields by typing the name and data type in an empty row. 109 Using ArcGIS Desktop Specifying additional fields All tables and feature classes have required fields that are automatically created. Tables have an ObjectID field, and a simple feature class has an ObjectID field and a Shape field. The ObjectID uniquely identifies each object, or feature, while the Shape field stores each feature's geometry (the coordinates). These fields have properties you can modify, such as their aliases and geometry type, but the fields cannot be deleted. Beyond these required fields, you can add any number of fields to a table or feature class to store descriptive information. To add a field, type the field name in an empty row, select a data type for the field, and then specify the field properties that appear in the box below (or accept the defaults). At this point you're only defining the fields in the table—you add data to the table later by importing it or by editing the table and entering the data. 1 llSl '«'»ŕ 1 D..- ce*cTo •Mat It« 1 fcüT' *-«ll*" »« I emu. v.u. Dcr»r .&&■ SO ■v. o add • »a» 1*1 *pa t» naa» «•> «n anp> in. f< ta FaO Mot cokaan. fc. w, ta 0«u Tapa aia» B *ooaa ta dau vca. tar. «ľ ta F"M toMka c«- 1 <í«* 1 MÉ iL*] Oct ana takt B aaa «. om*~ FaajPopariaa 'J^JĹ The field properties vary somewhat, depending on the data type. Numeric types include Precision and Scale. To add a field, type the field name in an empty row, and click the Data Type box in that row to select the field type. Then modify the field properties, as necessary, by clicking the box to the right of the property name and typing a value or selecting from the drop-down list. Data types include numbers, text, dates, and binary large objects ("BLOBs"—used to store and manage binary information such as symbols and CAD geometries). Numbers can be short integers, long integers, single-precision floating point numbers (often referred to as "floats"), and double-precision floating point numbers (commonly called "doubles"). If you just need to store whole numbers, such as 12 or 12345678. specify a short or long integer. If you need to store fractional numbers that have decimal places, such as 0.23 or 1234.5678, specify a float or a double. When choosing between a short or long integer, or between a float or double, choose the data type that takes up the least storage space required. The short integer type stores integers between -32,768 and 32767; use long integer for numbers outside this range (either smaller or larger). The float type stores fractional numbers between -3.4E-38 and 1.2E38; use the double type for numbers outside this range. If you're specifying numeric fields for a table in a file or personal geodatabase, you need only specify the data type. If you're specifying numeric fields for an ArcSDE geodatabase, you additionally specify the precision, which is the maximum length of the field, and scale, which is the maximum number of decimal places. For example, if you specify a float with a precision of 4 and a scale of 2, the field will accept 12.34—there are four digits (defined by the precision) and two of them are to the right of the decimal point (the scale). 110 2 • Geographic Data Management Another way to add fields to a table or feature class is to import them from an existing dataset. When you do this, any fields you may have just defined are automatically deleted, so import before defining any additional fields you may need. You can modify the properties of the imported fields, just as with fields you define. JÜ«J ,-erCTO CtaKtl -™----g ska« Oaona» J za » 1 COK1C -d 9»ap* Lor^i Cox» ft s Tvpe *"■•• -w |'*a «rd ••>«*.»« dmtm Ckk a* Wd U » h gcoM J I o add • i»" »aal. torn ta naaa no an amp« rraa r ta Fa* Naaa oakam *-n Ce*CTO n a mi M 1 iWHii.«n«n»ii>>iMMNMtouK net r tu OaU r apa attm B ftaaa lha daU vm. •»> a» •» F«*J ft* I C- 1 Import lets you browse to an existing dataset I After selecting the and import the field definitions. t-.-------. I dataset to import from and clicking Add on the browser window, the field definitions are added to your new feature class or table. When defining a table's fields in an ArcSDE geodatabase, be aware that each DBMS has its own rules to define which names and characters are permitted. The table designer checks the names you type using a set of common rules, but each database is slightly different. If you want more control over a field's data types or structure, create the table directly in the DBMS. Modifying a feature class or table definition You can change any of the field properties—including the geometry—anytime before pressing the Finish button. To delete a field you've added, select it by clicking the box at the left side of the row, then press the Delete key on your keyboard. jľi.Tra-i .ii«]| I "■*- rj 'oBliw.aaIH>rao«a a h-Maa a an an j,Mfa«nar«_-odM ■Via FUn Urn Zl |—~r.^ 1 « | C— | Enter a name for the topology and specify a cluster tolerance (or accept the default value). JJJSJ eorchaa» »a owd-a« «Weal»oorodart Vaataa and «Kral-aMa* UaiVanM '"««"1" MraatoliaaMal n^n «- i ^t^*^^i T X -:»-:/. la tall-------Mlaaj »«.*■» | .Add a// ř/7e 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. UJ5J SaaciniaaUac Bal- UJSJ » »a» fia la- U. «*D V? I--------------1 ' - After the topology is created (and before it's added to the feature dataset) you're prompted to validate it—click Yes. Validation checks to make sure the rules are met. During validation ArcGIS may actually move features (by snapping, for example) to ensure the rules are adhered to—but only within the cluster tolerance. If a feature would have to be moved farther than allowed by the tolerance, it is not moved, and an error is recorded. Once validated, the topology is added to ArcCatalog in the feature dataset. Validation records errors—that is, instances of rule violations. You can get a list of any errors (or confirm that there aren't any) by accessing the topology's Properties dialog box (see below). You can fix errors by editing them in ArcMap—the Topology toolbar has tools to do this (see Chapter 3, 'Data Compilation and Editing'). Managing a topology You can view and manage topologies in geodatabases through ArcCatalog—right-click a topology in the Catalog tree and click Properties. New feature classes can be added to a topology at any time, as can new rules. When the rules or other properties of a topology are changed, the topology will need to be validated again. You can also view a summary of the number of errors in a topology from the Topology Properties dialog box. The summary tells you how many errors exist for each of the topology rules. Deleting a topology does not delete or modify the participating feature classes themselves; it merely removes the rules governing their spatial relationships. Copying a topology also copies the feature classes that participate in the topology. To rename or delete a feature class that participates in a topology, you must first remove the feature class from the topology. Either that, or delete the topology. 117 Using ArcGIS Desktop Right-click a topology to access its properties. mtmBmmw.i.mauiwmmi>.'.iiJ\!n-mf.)n.iH..i!rr*E m t* *■" 4° I«* Jí«*» g* Ucaa, |C US PiraWi. cwovw«. G«1U»< «JWiífc.l«»- « « • O * X Click to re-validate Use the General tab to change the name or cluster tolerance. JJ«I VMM NoE-». D e— JÜÜ ~»~i L/se Wie Feature Classes tab to add or remove feature classes, and to change their rank. Use the Rules tab to add or remove rules, to save the rule list, or to load saved rules. U*J G«w«i ftmmVmm •**■ If»» | O«. | Col 11*1 OmmS\ f**mľm~<\ RJm Enon iiUMl^—f | L/se /he Errors tab to view a summary of topology errors. ll*l EapoiTtA EřTOř» Cxupoora Hu« 8» Urgw Ih»i Oal« IcW«i 0 o atfvm *t 0 Per* Hu* be Co«w«d »r In Mfmun.noÚH. wttnMř».« Q íoW 0 Trie error summary doesn't automatically appear when you go to the Errors tab. You have to click the Generate Summary button to see the list of errors. 118 2 • Geographic Data Management Ensuring attribute data integrity Attribute data is used throughout ArcGIS—when querying and selecting subsets of data, when symbolizing features on maps, and in a range of geographic analyses. To make sure your queries and maps are correct and your analyses are valid—and that the decisions based on these tools are solid—you need to ensure that the attribute data is as error-free as possible. ArcCatalog includes several tools for minimizing the amount of typing when entering attribute values, helping ensure that attribute data is entered correctly in your geodatabase, whether in a feature class or a standalone table. You can have default values for fields automatically assigned when features are created. You can also create lists of valid values to select from when editing attributes, or ranges of valid numeric values that entered values can be checked against. These are known as domains. And you can create subtypes based on categories within a feature class, each of which can have a different default value or domain. You can assign default values and create domains and subtypes when you first create a feature class or table, or any time thereafter. Assigning default values to fields You can assign a default value to one or more fields in a feature class or table, which is useful if many features or records will have the same value for the field. When you're editing in ArcMap and adding new features or records, each feature automatically gets the default value for that field (rather than you having to type it). For example, if you're adding parcels in a new subdivision, the values for some fields will be different for each parcel (such as the address and the owner) but some will be the same—such as the landuse code. You could assign a default landuse code value to that field and all parcels you add will automatically get that code. You can edit and change the assigned value for a particular feature later, if necessary. 7b assign a default value to a field, right-click the feature class in the Catalog tree and click Properties Then select the Fields tab. Click anywhere in the row to select the field Enter the default value for the selected field by typing in the box Using domains to ensure valid attribute values For many feature classes and tables, certain fields will have a limited number of possible values. This is often the case for fields that represent categories or classes of data—a parcel can be assigned one of a limited set of landuse codes; only certain pipe diameter values are valid for water mains. Similarly, you may want to specify that continuous numeric values for a field—such as assessed value for parcels—be limited to a range. Using domains ensures only valid values are assigned. (Of course, domains don't ensure a particular parcel was assigned the correct landuse code or a particular water main the correct pipe diameter—only that the assigned value is a valid one.) Domains are essentially a list you create (a table, actually) of each valid code and its description (known as a coded value domain), or, alternately, a range you specify within which numeric values must fall (known as a range domain). 119 Using ArcGIS Desktop You first create a domain and enter the codes and descriptions, or specify the numeric range. A coded value domain can apply to any type of attribute—text, numeric, date, and so on. The domain type must match the data type you're creating the domain for (if the field is integer, the domain type must also be integer). Enter the name and description Click in the box to select the field type Enter the — minimum and maximum values for the range To create a domain, right-click the geodatabase in the Catalog tree and click Properties. Select the Domains tab on the Database Properties dialog box. Ca* OMcnor. a --------' •u ŕ 1 * 1 c«- 1 «e* Defining a code domain—select Coded Values in the Domain Type box. Defining a range domain—select Range in tin Domain Type box. You then associate the domain with a field in one or more feature classes or tables in the geodatabase. 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 anywhere in the row to select the field Click this box to select the domain from the list 120 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). • I« •B.l *U n«. m ks m |ttoM> When editing a field with a code domain (in ArcMap), the attribute value is selected from a drop-down list. Without the domain, values have to be typed in. Not only does the domain save time, it also helps prevent data entry errors. 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. 121 Using ArcGIS Desktop "-'li'iľilll'niŕiiiiii; »— So I«* »Wo- 0* » * ŕ x 3= WTBITiT-'lli; IS» «•D V GM | »C»*«i|» I Tote«*» I hd» | Dob» 4 4 McJSUfto« De. Co* I--------------3 ' •. SadUa .oWVi*;_Ulir*«c«>_P*o». j y -í- • *■- at ■ »l~te.Cten tím 3' . .U-WXxcr 1 - J'* •» IWld V«uM and Do»« ARSA USI_CLASS _J Se/ecf řhe field from the feature class attribu 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 origin code—whenever you view or display the tabh Each subtype can have its own default values and domains. Select a subtype by clicking Us row in the upper box, then click in the Default Values or Domains box for a field to enter« default value or assign a domain. MWHnntnanli» 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—itbecomes one of the geodatabase domains, available to all other feature classes in the geodatabase. Do) -1 CljitiH—■ | Omn y _]0«mew ol «• max from! -•- --*>-. R----L. U«« ■acotts j 1 »niiiniiili •»'*» --to« i Do«» I«« <0ÉMV«UN Sot Kár, Detejvaa »■í« pot, DttBiVMjt —. 2J Codi I z+tovfr H f |------- r w j ■ i i * -] C«- 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 Subtype 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. JfcWoon llWroon S OoNoon S Po*gon r~Po>i90ft -1QL5J Mi» | IL« II» | «».CLASS | tllUMII | Dee >*_c~|4 56« 51075 • ■: tít-ít o vac »D 05834 ľQ*>02» 30070035 0 CCeOJ »sosso; iti J jeS2«770 20ZXJS 3 LI - The original codes for the Development Code field. After the subtypes are created, the subtype descriptions are displayed. 122 2 • Geographic Data Management 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. «u»»i» DteouoT? 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. 0—»fi°^T5<««»i| i»—I - I» V D - A - G fJ^«r When editing the attributes of a feature in ArcMap. the subtype descriptions are listed. If you change a feature's subtype, any default values or domains associated with the new subtype are immediately applied. 123 Using ArcGIS Desktop 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. 124 2 • Geographic Data Management 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. 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). ■^.fc-p..«im» a- :-™.i ~ n=n <-1 Enter a name for the relationship class, and select the origin and destination feature classesAables. In general, the destination is the feature classAable 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. Use messages to enable automatic update of records between the feature classesAables. 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). 125 Using ArcGIS Desktop ■Tir"-rT- »1-1 ÜJSJ r^n 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. Specify whether the relationship class will have attributes—that 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. JJJUl LM"* 13 ZED JAKSSEETA-ACKAS! P=H. JiHJ I=D_E=i_ Lastly, specify the fields in the origin and destination feature classAable containing the common values used to relate records. These are known as keys. MWtai írtaaO» ___hulí trtaaion 1 rtfc*««a> Ctos«**o« 0 P»«4Ü 1 PJfc P SMC**» Iff* rf MOM M* Hm h ä i' 3 DMtKÉcn TieWFMUa Daa U»*ai "á p i 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. To create a relationship class rule, right-click the __________________I * l_°"* I—*f 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. Right-click a relationship class to rename or delete it. 128 2 • Geographic Data Management Accessing table relationships in ArcMap Vou 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. mmmmmmmmmmmmm__mmmmmm1 fk C* *•- »•■< *M» K* •» I ľ £ y m f •■ ■ ♦ FšTr «■ -I J d J. *••□ O M u ' «jJiS-JJS-ü .o »..1 OBJECT«) 2166 SH4PE POM* PROPERrrj 3166 uwoust.aj 1 ZOMNS 1 MKE1J0 4523 Ftet NcnAodB Zonrcmfc tnucnal SHíŕEJjrflh -354 71566 SHtFEjw 347968031 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. »M,« k ~3fi~3 » ' d A- »• J.- J.- Expand levels Select — 21*} UlUMll i ■»» Zl UcMon | FaU !*•> 1 EUHMOC PBOPBtri : 201S 6494 3166 :.:;■ PER XN OCEO.CÄTE OWNJO 0 1968113000000 6631S im htfe HSUW OWN M=£ When you select one or more rows or features in a table, you can open the related table and select the related objects. H"...I..UI—»■ ...... □ at H « * *•• *j « • ♦ piw" * * •'■ - »I j • ■ a ~3 -J. *-•□ ft --■ 2 Z«*»..»«, j 5ll«r»_tMni | SWtJ»... cmc» onoi 0«o» on» o«*» Offc» Brum S29S6S543 Miat3oat 5*5143323 353 037248 OBI'I 18143697956 Mitsifm ' e»718KQj^ Sho. M iacM Haco** IIOaitf-ZOBSaheMI To v/'ew ř/7e 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. Jg MM Sr «stun» .. Q garSODi Q S^diSaka» B*» Tin »I fatten tpmMitCWilW» 7/ie 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. MM UVBJWmONS xm wMjNwriM** 3608 owmsejmuv 3615 BKUBFMVt 3606 nUUH 3981 BiWTTTSU. jeauxiim 3735 KJIHINHCMM 3734 WAOJ4CEIH0M jrst «moecuvco S«bcM Rsadi nO*íjk> *. a * ** f x •, s ■ a e- A • n v? -inljsj e« •o *x •9 3D BCX.J*a \C UilS PrcwdiVčqnta PKmŕContíc» G«3iVCoata CMMSPioikWC««*« C \GiS VrmarZmta C V515 PiCBcn'JJmto c-t*:- sad) AtfJKjf ?->- rii»ifi|i»r ftajKtaadl „JQJJil ill 1 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. ■ 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). 131 Using ArcGIS Desktop 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. jaua » 1A »»■ i 4. 4* ť. a»o xi * * ZU ŕ • o * ■ -3 To Jímporf one or more rasters into a geodatabase as individual raster datasets, right-click the geodatabase, point to Import, and click Raster Datasets. 1 IBBMMMI -IfllZJ +1 ±1 C yiOT» mapi'-■ET- Mp*Cf C Wem» m*pi^ir._ cux C Wo»*pnwc«V4*r._*©e Xn/SMu« É C v3IS Ptoecuvlawdoi P-dcf^cr-i» CunrtBtfil nob —J OK | Cax* | Enwo»«i J She-Mae» | - j§ C:\GIS Protects * _J ArrwxPniject * _J SroWiete Proiect - .Km.?--! - 3 Comoor Geoo^uoase.mcb • -J Roads - ■ eiev.aspeit S ■ ebv.ojrve . n <**.**» «BBevebon - -á" vegatabon . H demX * _J Greonvalty • *D:\ . j§ \\Sester\n • 4 \\MeooWata_maps .0 Arcweb Services • jr< Coordnate Systems • ^ Database Corrections • -1 Database Servers . ijj G1S Servers • fjt Weroperebety Connections eri Scalar References • (J, Search Resuts • JQ Tccbccres i jQ Trackng Connections 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. UTrnjMEg m*"1""" tfc l* t— in :«» e»>t- vt %. * m *px *»~aas**%.a«? • o *x jcatfkwi }C^üfc.^ewe«^Co~toPIv»cl^O■■to d S*Ma« J J ' ' To create a raster catalog, right-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. «una OeTMLaeaaae : U«S tSwoiVCano» PKacrCtm» GaoOaleBe» msb eeefcte Rea» Caatag kpM á Ů +1 J DR.oaaei be>kiaiS»aaabR*aaiCeka>> low *l Coo**. Sr—• to StoaMr Cri—i lepUnal *l d 0 0 0 Manage) zi I <* 1 C»c-_.l E"~ -*. || ».H*» | 132 2 • Geographic Data Management After creating the catalog, you load raster datasets into it. ECSB BBS '■'■■mr... ,.'■'" g e» i* »•" s. i»* »«*» a* -1DJ5J ? * « • O Uc**H |C ^fiß Px*Ot>Camaa PtomtTfj***» b*xt**m* **&í+* JZvtót E2ľ= C \£ÜS PiaecrACenoai OroecrSsmr! C SGJS PaacWCa^oi PioacftojeC C v3lS AaBCBv^mto JVjetfvwcO CvaiS PraeenMJxdoi Pioecrvj»» +1 ♦I |C\6tS PnKtiVCon» Picwcf\Car«lv< iM0«ibMnft\£ 4 ^ /After creating the empty raster catalog, right-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). NilfT'lTIBBa -1BJ«! 6» «J» »- 4» I"* »**>- b* a. a » *fX '. H J e. ,»»>□ *? J**»— I 3 i • . « « • o « - _J iSProwa. 3* ■ UptBtB - _JO—«bv -_|DJ, - ^fiwvrfnClKb - JIM*»J*vj. - -y a- pj'nrrrľnrmif.Mfflnrin.ffl.unnT t* t* •*■ So loo. B"»- b* *. í»» e»P X (i j.D Iff Lacetan ICNOIS Pnedrv^Kle svaecr^a^x. j« *iffl«J *« • T ľňe input rasters are stored as individual datasets within the raster catalog—you can access the properties for a dataset by right-clicking it. _JCD»o«caj • _J«n-»»r<« "■^sTEn""* J • U »-m • ■«= -_|0«. - Ja—i.eii.oewss - •Jlnvarobgr • »*■ - -^ f je* >**g. VJoUMnojjum - JPVDkUO», - -J ''ineertatnn On >—- | MeleeM. | I revson ' ■WHO- Wnen yot; 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.) 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. 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). 1 O— ■—.0 1 1 :*.«.'— %zz a— | H — 1 — 1 °— 1 - n=n I"i*ltim \mm _L_ JÜUi T.. .. fn.x.T- SíSř l'W'liw imm Iř-r*-1"»" HzzmmZ .fa» | ftl | c^. Specify the number of pyramid levels. Pyramids are used to draw the Terrain more quickly (but with lower resolution) when zoomed out. The final panel summarizes the settings—click Finish to build the Terrain (or Back to make changes). 134 2 • Geographic Data Management Once the terrain dataset is created, it's added to the feature dataset. You can preview the terrain in ArcCatalog, and view its properties by right-clicking it in the Catalog tree. The tenain dataset is added to the feature dataset. Select it and click the Preview tab to display it; right-click and click Properties to view the terrain's properties. G— j Da.So«! fy—JL^M FIMartMil UpW.| HE •h HBH TfeSar TfcCoK Dg*Saa*t)M* l*MMaafe Tod«» Mi iirtj 2 2 291 OK. Daw IMM Thi Fife IS 101(54 2006 IHifa>16101654 2006 tue SMnsKTOD m«* sMcnsesraoo HnY 4112013419000 u,v 4117013419000 MnZ 186927» Mm Z 2C409B 1 « 1 <*«- | You can display a terrain dataset just as you would a TIN by adding it to a map in ArcMap or to a 3D view in ArcScene. See Chapter 4, 'Mapping and Visualization', for more on displaying surfaces. wt.li~l.Hja) You can add a terrain dataset to a map in ArcMap or a 3D view in ArcScene (part of the 3D Analyst extension). -= 1^ __ 135 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. ramm ii,.iji..i...i...ju,w-* t* w a* * l=°» H*oo- a* -iD|»i Son«e ô To create a network dataset, right-click the feature dataset containing the network components, point to New, and click Network Dataset. r^H Cmmt+tmm —-" H« J ' »-.c—r^-H • i cr * | C-, 1 n. • to* t» h* • YftitfitfDfM»t Attributes are most often used to assign cost (in terms of distance, time, or money) for travel over the network. You first add an attribute, and then use the Evaluator to specify where the values come from (for example, a length field for edges). ■M---ili^-----HBH----H-------HHH_BE& !>:« p»=sr • v»ta|0»MViE«| JštE. ff?^^3 1 sisi 6-~|S>»»t. fcvrO»: r .MMMajOvKSnMBnpapxOTdowDnckamO ■— I too« You can have the results of your networi< analyses include travel directions. Use the directions properties dialog box to change the default settings for directions. Pf The final panel summarizes the networii 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 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.) The no» nefcok dat«« hat be* created. Waid you I« to buid t no»? 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 right-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. The network dataset is added to the geodatabase. To modify it, right-click it in the Catalog tree and click Properties. Don't forget to rebuild it afterward (using the Build option on the context menu). The network junctions are also added as a geodatabase feature class. Once your network is complete, you can add it to a map in ArcMap. and perform network analysis, if the Network Analyst extension is enabled. Open the Network Analyst toolbar using the Toolbars option on the View menu. You can, for example, find the shortest (or quickest) route between stops, define a service area around a facility, or find the closest facility to a location. See 'Creating paths and corridors' and 'Allocating areas to centers' in Chapter 5. 2 • Geographic Data Management >» t» í— r«* J*««" i°* «w- n* : j u m íteex « • * fTäS - -I 1 ■ • a -iDlJÜ ~3 -J *.%o w Add the network dataset to a map in ArcMap, and use the tools on the Network Analyst toolbar to perform analysis, such as finding the shortest route between several stops. Creating a geometric network for utilities applications A geometric network is a set of connected edge and junction features used to model the flow of electricity, water, gas. stormwater runoff, and so on. Each feature class is assigned a role in the geometric network as a collection of edges or junctions. The connectivity of the network is defined by geometric coincidence—for example, valves (which are held as a point feature class) are connected to the endpoints of pipe segments (stored as line features). If the valve is open, water can flow through it in a specified direction. Geometric networks are similar to network datasets used for transportation modeling, but have properties that let you perform analysis specific to utilities applications. You can trace upstream or downstream from a location, find all the connected elements, find closed loops, and so on. Geometric networks can be analyzed using the Utility Network Analyst toolbar in ArcMap (see 'Modeling flow' in Chapter 5). -jaw »—■• * o- a- :■•: rrs; nemo» ibkhw Add the geometric network (in this case, an electric network) to a map in ArcMap. then use the Utility Network Analyst toolbar to trace flow over the network (click Toolbars on the View menu). In this example, the map displays the portions of the network downstream from an outage 139 Using ArcGIS Desktop 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..HI ■'.! >WH>.i-mm: •. a * %ex •, b ■ ...".. I ľ ■ ..c.« To create a geometric network, right-click the feature dataset in the Catalog tree, point to New, and click Geometric Network (geometric networks can only be created within a feature dataset). Use the Build Geometric Network Wizard to create a geometric network. SSm'1""""*""*'""'""*"*' »«» I o- I 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). "Mrta,ta>, <»* I <-" 140 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. 2 • Geographic Data Management 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). KfflUllliMllHMM' an aa 0-- I MtiUnMMiM • FtoW fSrném H* | <** m» 1 c— | Accept the default to snap features, unless you've already edited all the participating features classes to ensure line ends and junctions are connected. H"I*""..J... t- 'tírf-wfcrt 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 network. ÜSäSSSÄÖrT ■MM) (hahUnttonilMi Č Assign any weights that will be used when modeling flow through the network. 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. 3 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 networi< 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. B3B SSZ3D uj~ ^OLS a. a» »ex '. s um» (T e. ••□ V « « • O ft ~3 JSSi OwH«iMMubc«liMt Ci»*inMi US «WimM—c Bitom eoei USAk*mafetaÍMi#iMMa*Mm famwwK Rwo« ajhZar» f&DB) US í*h**rmc RaÔH —hZon. MAIN« (GOBI LIS On-* 5u» |T«i USCUKMhSuailGOei USHfttavMdRangnlS;«' us Kg>««B^«»iB»i«coei US H,«t °iaacnn«a ^»Ua, »± ť.Mi.taa.ioärjl • o ft * T « L cum - ■*■ - JCWB» - _| Kr«. *wcr • _J Cv19v»*OIKt - _|»o«»»i»a • _-"!Coen»a» • J5UM. f-jriii.iaiii ftmmflu ■1 .W.M.MM«., In the Catalog tree, click the feature class you're creating routes from. Then click the Create Routes Wizard button you just added to the toolbar. The input feature class is automatically entered. From the drop-down list, select the field in the input feature class containing the route identifier for the features (this field has to exist in the input feature class—it's used to assign features to a route). Specify how the route measures will be derived. You can use the lengths of the features, or use an existing field (or to-from fields) in the input feature class. JJSI .1«» | Hi» | C* Specify whether to create the route as a feature class in a geodatabase, or as a shapefile in a folder. 143 Using ArcGIS Desktop em itiMXIiandiii Ommm UM il.—...»—. p— d tanmli.... 1 1 1 ř^— Twpitii Sl- w.i«.5i«ŕw.ji«»i..c«*«_nw_niĽ« *» 1 «•! c— 1 Specify the location and name of the new route. Uua>«"> U*]: ^■»hwWwfiti "■» nsn BOUTEI ■can sun /" 1UECTB-•X)-■MUIEI-WW 1 -d _J_üJjüJ jlI Mínovú |b.!« stun • mou *— ta.» www J J «--1 O» 1 »t H* j UM- 1 1 c— | I « The final panel summarizes the route parameters. Click Finish to create the route, or Back to make changes. 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 route is created as a feature class in the feature dataset. As with any other feature class, you can access its properties by right-clicking it in the Catalog tree. m t« p«. * i«« »o- gas tiMfX .&«•□«? • o - llllll 1 ŕdmi.mc«.?».-.! ""*" MUa »*M>oJ«VM-,_r»« j s—»-. ; J ' ' tC«5 •»« ■ fič*» - 4cra>wt«ns«i • jmtti • _J CoráwProtKS - _J "^»»OIKt - ■^■ou» Blt—JMéi m «nan .«* «4 O» as x°~ ■*» f*, firtillin Imm Qm id P2 ■ 4 lOofcoiM ^N ► -IPl»|: ii*l Right-click the route to access its properties (some of which you can modify). 144 2 • Geographic Data Management 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. •k t» «•- »K JOB» I«» sn» 3» 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 field (such as a milepost number). 145 Using ArcGIS Desktop Maximizing the performance of your database As you add more and more data to your geodatabase and make changes to the data, the speed with which ArcGIS can search and display the data may suffer. And the size of your geodatabase files may grow. There are several things you can do to make sure your database can access and display your data quickly and efficiently. Creating indexes can help speed up queries. If your database includes raster datasets, you'll want to make sure you've built pyramids for all the rasters, so they'll display faster. Finally you can compact your database from time to time to decrease fragmentation of data on disk and make data searches faster. Defining or modifying a spatial index ArcGIS uses spatial indexes to quickly locate features in feature classes. Identifying a feature, selecting features by pointing or dragging a box, and panning and zooming all require ArcMap to use the spatial index to locate features. Feature classes in a geodatabase use a system of grids as the spatial index. When you zoom to an area in ArcMap. ArcGIS finds the features that fall within the grid cells covering that area and displays only those features—that way it doesn't attempt to draw all the features (even those off the edges of the screen). A feature class in a personal geodatabase has only one grid. Once a feature class is created in a personal geodatabase, you cannot modify the grid cell size. A feature class in a file or ArcSDE geodatabase can have up to three grids. The additional grids allow feature classes with features of very different sizes to be queried faster. However, for most feature classes only a single grid is necessary. ArcGIS automatically rebuilds the spatial index after certain operations, to ensure the index is optimal. However, there may be times when you want to manually recalculate the index or assign grid cell sizes of your own-for example, after adding many polygons that are much larger than existing polygons. "™—" wirinrrrfV-r i/i'n tí. «•□ ¥? 89f!» • 4J «I Ml ■^■~ USE.04SS Sh«»_lena>! üw.ta. Imam «-. tmmmá Pa 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. 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. w^^T X33SB3SSS3SSZS: -Id! »I •»•.*«•.»!•* apt» m> e. 4* «**" X ', £fl| mit |C filS Pom'Ca-» IVac*» s*— I--------------3 ' e. <•*□ H7 « « • O «i »■:<35«™to •■■■■>. --""• X KM. I r -1QJ«J Ire* 'mom «Ml |C SGIS KE5m5S PwclMtaSO :M Right-click the raster in the Catalog tree and dick Build Pyramids. This opens the Build Pyramids tool—dick OK to build the pyramids. «Ä —w.,h,~. 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 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. 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. 148 2 • Geographic Data Management 9 y. f Se I«" »»• »• ^«itFx-.sisaitn« a« • ljeÄÄ lc SŮ3 fvma Wa.ttf'-»'*» PqtfW— r,.rtM*i f* d 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). EC rrmr í-rľ!'1- .,■-'■ v: ľCTTil 4. 4 * « f" X 'l = ť. A • □ « « *■ • o » ' JOJS .»era To compress an ArcSDE geodatabase. right-click the geodatabase. point to Administration, and click Compress Database. 149 Data Compilation and Editing An overview of data compilation and editing «152 Collecting, importing, and converting GIS data • 160 Collecting data in an ArcGlS 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 An overview of data compilation and editing GIS data sources 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. 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 "f'Ml.ľn,,/ .MESS tb OH »a. Go loo» Iff-»- B» b4» *«"X ::*tlt»a«? €»Qf7« © « Ueaaj* |c\«cgť^ci.*»,o«»s.su—rfJ]ii» ayttatťCna JnoeadŕTumnB j -JOJ«J 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. 152 3 ' Data Compilation and Editing 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. J » la í— ŕ—i Ír-* I— C— SaiiJS lfrckn one Acrobat -iaiKJ: _!-12 i_ 5 í 7 ~r 10 11 Jt q li" 15 * 1/ n i« JE. ii B n a n a. B. n a. • • * B C 0 E F i. 1 Act Mi*« 2 AndnWl Gatotna 1171PeOMCWTAveNE 1670 W PEACHTPE6 ST NE 30309 Stom Stom Stora Cab Ston l«MCaajrM Samca Station Samca Statcn Samca Station Raataurant S9B1I70 10643 40 16081100 5571900 7342510 17896 30 33958 90 ;-?se.T 3*219 40 55130 40 4546880 3 AP Sueatrunat 455 BEVERLY BO NE 4 Altana Markal 5 Btam and Slut 6 B-l Sk j Grocanai 7 Braattatt «i Allana 241 16THSTNW 1233 PEACHTREE ST NE 360 FORTUrŕaE ST NE 151 ALDEN AVE NW 3031B 30312 30309 a Surft Gat State» 9 Came Samca Stator 10 Camral Petrobum it Cnarka Cola nc 200 CORlEV ST NE 169 HUNNCUTT ST NW 1100 CENTER ST NW 30312 30313 30318 400 EIGHTH ST NW 30318 13 C«( Food Mark« 13Clarnanyi 50t ETHEL ST NW 42t SPRWGSTNW 30318 Stom Stora 55686 90 55305 90 14 Crotaroada Thaatar 120 MEMORIAL DR SE 30312 MrmaTnaatar 15 Samar Saiaa 16 Oan'i Taco Emponum 17 Dafbji Mark« 389 nn ST NE 1032 CENTER ST NW 1001 CENTER ST NW 30308 30319 30318 Samca Station Raatumt Ston Raftaurmt Cab Ranamn 55243 40 55369 80 16 Draam lea Craam 77 NILS ST NW 5S574 10 54649 80 19 Eaattrn Eipnts 20 Fiaan m trn Pan I506THSTNE 101 BAKER ST NW 30308 It Food Mart 67010THSTNW 30318 Ston 23 Garrar DM and Cab 24 Hanrya Dab and Importa 25 Homatown Plaza 20 WlUAMS ST NW 7S2ARGONNEAVENE 1250 FRANCS ST NW 500 RANK» ST NE 30318 X013 Ston Cab 54812 00 Sun fj67767U MoxaThaattr Sana 9M .-Roataunml Ston Cab 34253 20 5492210 65996 00 58552 90 •n^MH-ir 26 Hugh« Samca Station V_*ft 28 Lati» Suparmarfcat 29 U Cab 299 MUS ST NW 191 15THSTNE 5SSI0THSTNE 1-1 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. 153 Using ArcGIS Desktop 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. JMI"1 UiUU. D s* B » í % r x « - # | . „i j • - a "1 j. «.•□ v -iflJJSl ____ 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 creat new ones). 154 3 • Data Compilation and Editing rrr1 ■■'■'" i»,«p*^"^— -uu-j The process for Compiling and editing GIS data is a loosely structured process that includes a number compiling GIS data of tasks. You may not perform these tasks in just this order, but you'll want to make sure you've at least considered each of these points. You may also find that while building the database your various datasets will be at various stages in the process. And you may also find you'll have to revisit earlier tasks as new data is available. Keeping a GIS (or any) database current is an ongoing process. Developing a system to track your datasets and where they are in the process will be very beneficial (metadata can help with this, or even a spreadsheet). Set up a workspace structure and database design Before collecting data, you need to know what data to collect. Your database design process will result in a list of required datasets. Having the workspace structure or geodatabase in place will allow you to keep the data organized as you compile it. The section 'An overview of geographic data management' in Chapter 2 includes a discussion of how to set up a workspace structure and design a GIS database. Once you've completed the database design, it's a good idea to list—for all the required datasets—where the data is going to come from, if you know. That will help focus your search. For example, you may already know that some of the data you need is only on printed maps that you'll need to scan or digitize. You may be aware of some GIS datasets available from a local agency or that you will need to buy from a commercial provider. For other datasets. you may not know if they already exist—either in digital form or on paper— so you'll have to initiate a search. Using ArcGIS Desktop Search for existing data Once you know what data you need, you need to find it and collect it one place. If you don't already know that it exists and where it is, you will need to search for it. There are several places where you can start your search. ESRI Data & Maps The ESRI Data & Maps CDs and DVDs contain basic global and national level data for parts of the world, such as hydrography, transportation networks, administrative boundaries, and demographic information (see the appendix in this book). These datasets are useful if you're working at a national or global scale. However, you may need more specialized data (such as vegetation types, air quality readings, or health statistics), or more detailed data (a coastline dataset, for example, is often very generalized for display on a national map), especially if you're working at a local or regional scale. GIS data clearinghouses There are several global and national GIS data clearinghouses set up on the internet (for example, www.geodata.gov). You can search by data theme or by location, or both. Some of the data is free, while other data you have to purchase. Again, the key is finding data that is detailed enough for your needs. Many states and regions have set up clearinghouses for local data. Data that you download or obtain may have restrictions on its use. You'll want to check this for all data you obtain, but especially data you download from a clearinghouse. jJEU 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 3 • Data Compilation and Editing 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. ECS ■i'i mu■ i m• rinr,»rr Eti I* »»• * loo« Jtnm <•*> a. a * «p* '»-as e. «i« n *? « e mo * f"m-^'ir'iin-hm-n_'-m-m\trn»mi JiTf ■Ti—i tm/kmíT 1 -jMi (■>"W>o«W - • \l HrVltoQ, ■» £opv tt**< B port*_;.*» f^pt-rr^ rfr.Mrt— - _IG»m_»«r. ST 4S> ■ *■*' Use ArcCatalog to import datasets. 157 Using ArcGIS Desktop Create additional datasets Once you've collected all the available data, you may still be missing some datasets you need. If there is source data—such as an existing printed map—you can digitize it. If not, you may have to collect the data in the field, or pay someone to do it. Or, you may have to substitute other available data that may not be your first choice (for example, lower resolution satellite imagery). Or. do without. Since similar data is often available from different sources, there will be decisions—and trade-offs—along the way. You may have to decide between obtaining an existing GIS dataset that is out of date (and either updating it or using as is), and digitizing a recent map to have the latest information. The first option is faster and less expensive, but you may end up with lower quality data. Make sure the datasets are integrated The next step is to make sure you can use all the data for its intended purposes. To do this, you need to make sure the various datasets you've obtained from various sources fit together. First, you'll want to make sure the datasets can all be displayed in the same geographic space. While they don't have to all be in the same coordinate system, they at least have to have a spatial reference defined so ArcMap can display them together on a map (ArcMap will project data on the fly). ArcGIS data should already have a spatial reference defined; if you've imported data, you'll have to define it. However, it's usually a good idea—at least for a database you're building for the long haul—to put all the data in the same coordinate system. It will minimize registration problems between datasets, and you won't have to worry about it as you're making maps and doing analysis. Then you'll want to make sure that the features in different coincident layers match up as closely as possible—for example, you don't want street centerlines stored in one dataset to cross over any parcels stored in another dataset. Even if the features are in the same coordinate system, the data may have been collected by different agencies at different times and at different resolutions (or with varying quality control). Usually, you'll have more confidence in the accuracy of one of the datasets. You'll use this one as the control, and adjust the other datasets to match it. In the end, you may have to edit and move individual features, but adjusting one dataset to another can at least get the features close to the right location. Finally, to make sure the data covers your area of interest, you may need to match tiled datasets to build a continuous dataset for your study area. This is often the case for national databases stored in quadrangle sheets, such as hydrology or elevation data. Conversely, if you have a dataset that covers a large area, you may want to clip out the portion that pertains to your study area (clipping data is covered in Chapter 5—see 'Extracting a portion of a dataset'). Make sure the data has all the attributes you need During the database design process, you identified and listed all the attributes each dataset should have. The attributes will at least partially drive your search for data—if there are choices, you'll want to use the dataset that has more of the attributes you need. If you collected data from another source, you'll likely need to add attribute fields and assign values—for example, assigning your own paving codes to a street dataset you bought. If you're creating the data yourself, adding attributes is a major part of the process. 158 3 • Data Compilation and Editing *. t» *_ mm-. s*<» I«» DM» 0* __________________________ Attribute editing is done in ArcMap. You can update the attributes of existing features, or enter the attribute values for newly created ones. Make sure the data is as correct as possible It goes without saying that you'll want your database to be as error-free and up-to-date as possible, within your time and money constraints. The better your data, the better your maps and analyses, and the better the decisions based on them. The goal, of course, is to have your data reflect as accurately as possible what's actually on the ground. You'll likely spend some time editing both individual features and their associated attributes. You'll move features to the correct location or change their shape, connect features that need to be connected, add missing features and delete ones that no longer exist (or shouldn't have been there in the first place). ArcGIS has tools to check for errors and validate any edits you've made. Part of this involves checking the data against any topology or attribute rules you set up when you designed your geodatabase (see 'Ensuring spatial data integrity' and 'Ensuring attribute data integrity' in Chapter 2). As mentioned before, keeping a database current and accurate is an ongoing process. Create any extended or derived datasets Once you're confident in the quality of your data, you'll create any extended or derived datasets you need in your database. These might be datasets constructed from existing features, such as a bus route built from streets and bus stops, or a water system built from pipes, junctions, and pumps. You might also use geoprocessing tools to derive new datasets, such as creating a slope or hillshade surface from an elevation raster, or building watershed boundaries from an elevation raster and a streams dataset. Document the data Documenting your data is necessary so anyone in your organization who uses the data will know what they're dealing with. And it will be invaluable when you revisit the data at some point in the future. It's also critical if you end up sharing your data with other users, or publishing it on the internet. Documenting data is more efficient if you do it as you go along, working with each dataset. The metadata tools in ArcCatalog make it relatively easy (see 'Documenting your database with metadata' in Chapter 2). While metadata documentation can be extensive, you should include at least the basic pieces of information listed above under 'Search data sources for existing data'. 159 Using ArcGIS Desktop Collecting, importing, and converting GIS data A lot of data is available in a format ArcGIS can use directly (shapefiles, geodatabases, coverages, rasters, and some CAD data). This is especially true of basemap data such as hydrology, street networks, elevation, administrative boundaries, and so on. You may get data, though, that is not yet in a format ArcGIS can use. Or, you may want to convert ArcGIS data to another format to share with other GIS users. ArcGIS Desktop lets you import or export a wide range of both feature and raster data. Collecting data in an ArcGIS format You can add data to a map—or use it in an analysis—from any source or workspace you've connected to if it's already in ArcGIS format (see "Finding and connecting to data' in Chapter 2). You may want to copy the data into your own workspace. Use the copy and paste functions in ArcCatalog to copy data to the location you want. The data can only be copied to an appropriate destination location (the Paste function will be grayed out if you can't copy the data to that location). Alternatively, you can click and drag datasets in the Catalog tree. Shapefiles, geodatabases, tables, and images can be copied from one folder to another. Feature classes can be copied from one geodatabase to another. HiirnnTfiiaa » [« Í- » I« W*» 1 ft- 4* * f X e e « • a v «« • o * | J ' . tu c* «■- e> i«« w*o- ea* a. a* *»- x lasa** jcwum Iľ'H.'.l-l.l : e. •• -.-.» a w e « «o * 1 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. 160 3 • Data Compilation and Editing 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). m r.» t- *■ I"* »*~ 0* o, 4 * * " * *' ä «JD13J liJ«DW « « «O * J i "3 * c« p vi*» 3r« ■» » to" ► E*aU«Ch»(««M « CawMM '«•»M ut»l»»*j|-Imuao.. t— HMM0I fiMl e. S—* DMrfeuMGKtfrtjbaM ► »—n r«»«"'»«OTU 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. 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. — ^Conversion Tods From Raste* metadata To CAD To Coverage TodBASE To Geodatabase ŕ Feature dass to Feature Cass t Feature Class to Gsodacabase (mutete) ŕ Import CAD Amotabon ^ Import Coverage Amotabon ŕ Import from CAD t Raster To Geodatabase (muttple) $ Table to Geodatabase (mjople) ŕ Tat* to Table To Raster ToSheoerte Favoits l Inde» Search The Conversion Tools toolbox contains toolsets for converting between a variety of feature and raster formats. ArcToolbox 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. n 161 Using ArcGIS Desktop 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 MrSIDK (a compressed raster format often used for very large datasets). as well as common graphic formats including BMP. 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 3 • Data Compilation and Editing ArcGIS Desktop recognizes this AutoCAD drawing in its original fonvat. It appears in the Catalog tree, and can be displayed on a map in ArcMap. Each layer in the drawing is listed or displayed as a separate layer in a group layer. ArcGIS supports other feature data formats through the ArcGIS Data Interoperability extension. The Quick Import and Quick Export tools in the Data Interoperability toolbox in ArcToolbox allow you to import data to a geodatabase feature class from a wide range of vector formats, including DLG, MIF. MGE, and many others. The Data Interoperability extension also allows you to create custom converters. On the Quick Import dialog box. specify the geodatabase that will hold the imported data, and click the ellipses to specify the input dataset. -lni«! ■J ArcTocrbOJ (*} X> Ansly« Tods % Analysu Tods ^ Cartoorachy Tools c^ Conversion Tools t% Data tnteroperattty Tools ŕ QudtEaSOrt /-BBQB S Data Management Tooh Geocorjng Tods f% Inear Rererencng Tods «%SoaoalAnaryBTods t> Soaöal aaosOcs Tods Favorta: I Inde» | Search) Quick Import is located in the Data Interoperability Tools toolbox (you must have the Data Interoperability extension licensed and enabled). 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). WEM Dtftcnplori Stan Nene R^d VMita lOrnio, Cooet SyiiTyp. -rŕ P r - r BCMOEP MCCP AESF.ABR F ESF_FTA B ESF.RESULTS i arc omar :" ei ; i r r r F r Fie BC MoF ElKWftC SuCnMSion Formal BC MoF Electors: Submrtuon Format BC MoF Eleoorac Submission Formal 1 r r FíerOmicSDry Fla/DrfKlory F*6rT>eaory "".''- ' ccoae r r CTTS Data Transfer Formal (OIF) Fie CtF i-F P r B F r dldlgii i r FeerOreorory Fite/Dtreaory Feetereaory Fee FileiOreaory OeastnsarDeta FiUnrwlrw ComCrfacho. Data Exciienoe Formel (C SCCCDEF CSV Comma Separated Voru» avavf, dSle ■ta i p r r r Danish DSFL DSFL DanrsřiUFO UFO DtKSPATtAL DBZSpofcH nflF See* —- C ili.ri.» _J ______| I D» | f ftW. 1 »e»" ■ II V 1 Ck» 163 Using ArcGIS Desktop 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). S» 6» <— If—' **"»» I«* W»- B» D st B M f > «-> • ♦ |i«3i3 luí^iOW Suu ConcacrcfeudBPSanCIMIj rli ini>tcu Ad«-» —i----------------rn------------- The GPS Position window shows you your real-time position, altitude, speed, and heading using the GPS input. _o^js««.;s««-l im -"» .J O - A - -3^0-3 ■ / a A' *• jL- J.- iirwanrw mm«« ft ztiwma 10 SPS ncwm D—■■■»iPb* |c D*K-GPSFW | Ml - Dal« Stt to BJudAtfr J4800 1 !• J 9m |n«. DauUtadOnGPSRaca»« < TMCormx | |GCS_WGS_19« J r smmGPSamnm»*•<• nm um r*> Sacom» d 11 wmt | d - -il —| c«- 1 L/se Wie GPS Connection Setup dialog box to specify the communication parameters for the GPS receiver. liMM»Miai«>M««aliMbg' C PorM 1" Lfm Outu ahacaat a kM ah» |C \S1S Pkmo WKwctvw» PiorirtVipaloa «■» 3 *" «'■>■■>■ *• -«1 IM) lOaacatto« u HUMUdB LaMudaeiPart BLangrudr Longrudt d Port B.v».x AHutldParl 3 ■ ■• Dan/T.» 0D« DanOrtf 0!~ I—Or* BSg»JU« Spied rirJoMmAou 3'-■»■; H-fc, D-::- HOOP QvOOP VOCP D;^ r POOP _ □ D6PS JO DSPS D QD&PS «g> DGPS»ge D"W«L<« Magna« V«»»x» □ UMKl Huatopoi; 1 » il Saka M | a— | 1 « 1 Carat 1 Uangehgknaaiiai No» deu to • b» *» cat iae raie opfcm to Ba ta da* |l O/JOTO ij Seen» «Marc*SaMaanPort. |i 000000 ij DecaafOagaai rni*»w ■eniagweaiM DC 1 tm* 1 Ľse /he Log Setup dialog box to create a new log to capture GPS data points as a shapefile or geodatabase feature class. You can specify the streaming options, such as how often to capture coordinates, or a minimum sampling distance. When you create a new log, you specify which fields to include—these will become the initial fields for the shapefile or feature class. 164 3 • Data Compilation and Editing Assigning locations using street addresses or routes ArcGIS includes tools to read a street address or a measure along a route, assign coordinates, and create a geodatabase feature class or shapefile from the data. The process of assigning coordinates using an address is called geocoding. Geocoding is mostly used to assign locations on a map to a table of features that have a street address, such as customers, students, businesses, or even crime scenes. Linear referencing is the process of assigning locations to features—usually events, such as accidents—along a route dataset, using measurements such as distance from mileposts. Geocoding street addresses To geocode a table of addresses, you need reference data (usually a dataset of streets with address ranges for each block). The reference data is used to create an address locator that can be used to match the addresses (see 'Adding specialized datasets to a geodatabase' in Chapter 2). jJOJ«! 1171PKa*0MTA\f MS '1670 W PeACWTRH: ST N 'asseevtrj.T«oie « JUMraaMartaf *2*1 19THSTWV 5 Beam a» Stun 1ZÔ Pitoma SI* 6 Bg Skv Orocanaa 330 řopmx ST »€ 7 anMftfaot ri «aaaa ~tsi Al£0lAVEfa« 6 Buffa Oat Stauen '200CCAX£V'STNE 8 Canp SarMce SfcBEn 'l69řU#aCUTTSTNM ic CartraiPränatal nXCBMTBtSTNW "'Charta Cara re *«0Ó BCMTH ST tav 30339 '3CUÍJ XX» XU 2 •üLif _jJmJ SkowpÜ" Saaoatll Raccroi lOoutaSOSa«. " 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. rľTfn *iQjxj u.»» I l.tjw I *jjm I %jjm \mm\mjm\ ***. « •51 900 ■90 E " 9S3 -ľ»S*» m "" SOI 99G ft**» 900 «x to» Páv»» « 531 •" « Pe#T*w « F « »sani »arc» •are, «Jfa>r «are, «anor ,"". . ja >»« 30J14 XT» XXC< 3COH JB1« XJ1! XJ11 '3OJIS XOl« 30318 3B31S 3031t 3031« i" >|m| Srcpir IHataad I Racooi |Ooaa-30005a»cl»c| Optcra -| ^ r/j/'s 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. '.*. 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. 1—1 I I I. HI—"I C * B • <' — - J c via »s»a -*m*jrt JnMUan :•».--<../•>-•*■ "-ft •—r^ff A' I» — "3FT1 »/bA-*-^-í' wiwT.wrw »ľiwijn 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. 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. BS '• OwuintMaaiaMiwHudca |C NOS °waV3AK**C*armn<£^a7m_*wJí r J_*5* KSESMHBHBBBi usl nacaMMUHTlt* |Ok« |0 rllmntn^i j a M»*lcräim>* rxandVawrfMw r Suno***«*»«. 1, <ř 1 C~' 1 Use the Geocoding Options dialog box to temporarily override the settings in the address locator, if necessary. 166 3 • Data Compilation and Editing 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. ■■!,-. '. st ja«j ■ -. u * * ľrr^" ~1 U *.»o w 0 U7~> - B «•ocoarqaMuK.Cu* 1i . 11*1 INMm m»*«3^.k»so too x pana MachM>*K« BX» N«MCn> cvmt»fTic*,d2luSm*a* Open -I ř1 BoJeg*ar«iawceacti«a>iteaeona — mjml**KKXMi ammo "»At •** can be «AM lo e« MP a a lap« im A učar Roaenaaara BBBaB%aHVaBBBB*BBBBBBBl Raualcaralar |roUT£! ■3*1 Sped, nur* cerurnga. oar ~*u Oooae a tab» mm tm aap ar traaaa lo anaM la* ExnTaaa 1 •=■">« Hrraaliiaiata |R0UTE1 JJÉI Choc-1. «p. ď evam r» ur* nu< 1* rtoEvarttOccuaepaaseebcelBaennoaaiJe ' Irm E -at* Drána * cfcoraruu po*or> era nar Oaoae »a aaaaae Md ka pert e»ar Haeaer [MEASURE 3 Oiaoae lie abet «rU Erank can ba aba tea »a» Kaaat 3 17 W«n»el — iaa»»meiBia|lia aiaaalilAnaaaat A>anr>dOpk» | | t* j «- 1 /\ po/nf evenŕ řaĎ/e 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. 1 ' 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. 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. [jf irciooboi |T^ 30 Anar/st Tools • £ Analysis Tools • % : »to^aor» Tools I • £ Conversion Tools j • £ Data Interooerabfcy Tools ■ • ^ Data Management Tools | • {*} Geocodng Tods ^ Inear Pererercng Toots ŕ Ca«r ate Routes ŕ Create Routes /• bssoK* Rout« Everts /* Locate Features Along Routes f Overlay Route Events ŕ Transform Route Events % Soabal Analvtt Tools Ferane: • 'r-Oo , SearcJTf Make Route Event Layer is found in the Linear Referencing toolbox in ArcToolbox. ill** PFJFTF-t—^ML _|Q|X •■■inouaFuu« - !«*>•>•/ ~3 <*| |routei d Ircu Event Tat* * ■-*•< ~3 «*| EwlttPa» JROUTEI J (FONT A "!A5 .=• J Ifflitnriritl 1 Lanr Navar Ta* Vav. J i«ee«)ertEvWi1 "MfWMitfird 1 A r inaiuimm«,! , .r1 OK j Carol j Emeonaarti »-.H*»! 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 _ ..-mua Dial e •-• * p5^ * i « -I 1 ■ • m H J ♦-•a *? -□—»a«. JO*. n - •> ■- a I o »-,- I« P D» A« 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. 13-+. JSJ —3 ■■■ '-SO-. Id» a Hxmtxra. -a* Is act tu W»1 H*l dir?h-Ti ^JSftopcai^^aBftBalcft* .WataGatfauci Parar* SUUm Than ««n ra in -4 M a-aUtat K> aolrg tkAfreijxa-l "3P5-3 C* I Cane» iiww.ii.il. ii.ii. luwtrmwnmnmm nsi Tha la/an bak» an n a dKvan cooánaa aaoai than ha aaaM m»i adN* »aHai Yca< can adieu r a d*«** oocadna* waaa »an a» auo. www-a» icaa acano taahi aaa ova >eu wmeacaad é^mmt ot accua« Occam Fctta 0* dtfabaaa jou hava choaan to ad d«a heat i Pa*dMaaaaaJa/VUMa>aia>ak|CI| -* r llcKliataiaaagK Vou m/g/fr 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 3 • Data Compilation and Editing •B b* f fr* >aoxn IP* »>»■ 0* , * - -I 1 • - -101 »I ~3 4 *••□ tt 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 Tein»tfva e* states eoXMcchwrQeaa Cdt*aKhadga> ParpardaJ»ta*ab 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 burton, 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. ^nuä QcŕH* S ' - + * * . -i 3 ~3 -J. **o w i-~>Í3E!.J m- ► f.'. "* I o-» — —^ 3 '•»«-• I«—.- 3 ■ on .- \ n - a - :■■: (Z~Zď 3F°~3 » / ■ A- »• J.- .l- 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. gm t* t— im m» in* tatt- o* 2 *-y * e * '■'■' *. 4 ■■■• - »r i - ■ ■3 sl\ 3 ■ na A- *- J.' i' J*»!sfMOT ► ■»■<■».. aw wm- a*H<- . **»».'.. n o*.*»... Q*0 m «imni... OMt (.*■ aw tmrOMm OM >j-.;«vt n !•««•»«■* »•W» n Ma.*** OMMi 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 (ň.). ArcMap does the conversion on-the-fly. Jul The options for adding segments and vertices can also be accessed using keyboard shortcuts (such as Ctrl+L to enter a length). Shortcuts can be more efficient than using the menu, especially if you're entering many vertices by typing angles and distances. 174 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. - »I 3 « - a :. 1 mm • - 3c»2J»t»a«Wr«.«ra - JI««.**, - □«■»—*_.< •1.------------1 li Click Options on the Editor menu to access the settings for the edit session. «auiiMniiii 2i^ESIl 11*1 0«-<|!cocfc(»!v«Knrg! IMi | E<* I«Éj | taub | UU> | SxKogWxx* r Shxxwi» »-•«• 1 ° w« Gm» | a vmniMMm «Im, ntimv 3 *■- I. 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. si si mmmmm?mm9 Gm« '««*>» |v««onrs| IWi j i dl rau | tp CQ QflOMhOM«NnHÍ«eae*«n|Ou« PcrtEnc I ■ j U» Em I AwErat ■ l| TwoKvElnrt.S^tato» f$3 HI OwowhownooMvdvdgafmáttrmm SI SI G**d| Toe*» | Vran, | Unii U'* || ««tu«i Dai>n>.aiMi(l<.Uik.'-.-. "r --y,.: Hoo>Fmu» C^ésmRomFnu« Modly PoAan 01 a Liv Tcpodo/Tmri ModfyEdat FIWuptEdgi Ota Tartu Sjva»V>a»«fdlT.. O—»6.M» j —" I 7fre Topology tab lets you specify the symbol The Edit Tasks tab lets you rearrange or to use for selected topology elements—click a remove tasks from the Task list on the Editor symbol on the tab and use the Symbol Selector toolbar. dialog box to change the color and size of the symbol (see Chapter 4 for more on map symbols). 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. 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. »j 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. 176 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. •o t» t— »»»< s—"»■ i«* a"»- b* C sŕH« e •■ * * - ■ *F ~3 -J. *-%a w - D ■ 0 . B t«<_J0-ffri -3 ..^n^r »J Start point —• ~Zt i^llW Dncom... OM p«neturv* «*»»«•«.» H 0*»«.» o» cra»«R ~n "-»p \3 /flnD Edit tool ~3ľ° ň ■ i h A* *-iZ-JL- J To move a feature, select it using the Edit tool, then click and drag it. 179 Using ArcGIS Desktop «4 -»r 3 • • a 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. -JnJ»J Ft, G* *m t—f Satan Is* »4» -M D B? B * X-WBX m ■ * |T5íS • »I 3 - - a 1 j ♦••a v 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. 180 3 ' Data Compilation and Editing 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. The 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.) 181 Using ArcGIS Desktop •K i* *m i~-. yam i" -O——jM« .- e «m>.^ <*,- ►■ y- .JBLSlI 1] . O 3 ,-*■ ^- .1- «•IDU «•»••<« Right-click the vertex you added and click Finish Sketch to finish the new line. T«abcrE 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. BE jJBÜä ■k t* !■- K« ¥**•» SM Wm m> c st a a utx «>_«• * Fžs * í - -n • "3 u? *-%□ v - B tmi« -D—«mjM m .. ► .*. .*p^^ ~3 t^^i««,.». 3 /ona! , - » g - a - . [i~^r -3\^-B «/BA- »-«£-.!• «ŕ «kul« nm«> SpW C/Zc/c f/ie SpW 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 3 • Data Compilation and Editing When you select the line on the right, 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. Click the Editor drop-down list, point to More Editing Tools, and click Advanced Editing. 183 Using ArcGIS Desktop •» I» (•- tmn »boot in tra» m OtfBi >IIX ■•> A flK * > . .r—3 - ■ a Mias>\ -3 -J. *-•□ w - E w.mj**r CM» It»*»i i .. k .#• Tafc|CMiMp»* "31 **ml"—jn —3 /'mna :- o n-a« IS« 0 n H H- -1 yrrrr q o -3PÖ-3 1/1 A-*-i- j.- •• Select 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. an cm t« *• >—• J»*» im m> •» MB -jflia CEfBf X * B X ^ - A (US 3 uJ A- • □ W é 4 ■• - -1 3 ■ • a -»T5=:-------- - B njiw ~3 /■« n a I Extend Tool I'lllll.ll iw—> si 2 T -'-: -I- -1 «S-«ř>ř DO »«,- It ŕ;D- A£ fí [*=~ "3i™~3 ■/hA-*"^-^.' iH dfofc the Extend Tool button, and click the line you want to extend. Qu*, k .* • t«t I o—>— J] '•"* iMtjrc 3 /fi ■ a »-,'►« , a - a - :: i#"=5" -3I7T3 ■ / n A' »* J.' 2.' ■ ■ 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). 184 3 • Data Compilation and Editing 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. tdHNUffiMje» P«|arda«rtc«Wd< Topology O—rt» Tocology rata Make sure the task is set to Auto-Complete Polygon, and set snapping to Vertex for the polygon layer you're editing. 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. 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. 1 3 • Data Compilation and Editing If the dataset you're editing does have a geodatabase topology defined, you add the topology to your map. and then use the tools on the Topology toolbar to edit the connected features. Editing connected features in a geodatabase topology is the same as for a map topology—for lines connected at a node, click the Edit Topology tool, select a node, and drag it to its new location. zaa* f > « » »ľ ^UJJSJ d i£ *••□ >ŕ "? - a f'2H! 21*1\ 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. DiJ B**w J>ort (butt» jo«) Bid«™«-"" («•«."«) CfcJ &»<•» _powon (wrak jrtrgon) j*U *~* I Mot* K „# » T«* tCif*I«H«-F-«#» Z] '»WC: |o»u*_boM»i •] . 9| oaj Topology Edit tool - «««•r «»I«»» d»\=«m--. ■ ° 3 | Click the Topology Edit tool on the Topology toolbar, then click the node you want to move, to select it. -3 r *•»**•• {Zmmmwtíl+mtrw -3 c~, :• k Z - A - : ftf^r "Hľ° J »/OA-*-,i£-.L- é «EST t »•<» II MM To edit connected features using a geodatabase topology, add the topology to your map. Doyou*o~«lojdd4lf6Jturcd4s»rli>tD«Tjc<>«efiVr*»Tii»is_Topobffř,Iolh«riuiMWinnw«*9» 3 . i I "'Ti T 3 «a %^ Snj'fc . . <• a s| C//C/C ŕhe 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). Set the Task to Modify Edge under the Topology Tasks group: or just double-click the selected border—the Task is automatically set to Modify Edge. Once the task is set. the vertices for the shared border are visible. 188 3 • Data Compilation and Editing !*n» K .* • Itái (Modi,!«. Zl '««-»»jOwr J] . bd"| y/X '•*» lanct,^. d«a s :•:; ■ b * «/ -t I Click a vertex and drag it to a new position. You can also reshape a shared border—using a sketch—by setting the task to Reshape Edge. ftW^I^L^n» 3 ^ s = , s-.u^k... When you're done modifying the border, right-click a vertex and click Finish Sketch. ■ NBf ►.*-'•*- IOM.H..F, ECÍľ^S "3 « *v se When you finish the sketch, the new shared border is displayed. t**- ► .#- '•*r^~»»-'~w. ll '«*«|l»<*J««tn «J . ' « BS í X '«*» |o«ci««.> d« «ď S K //yoi/ se/ecŕ /he 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. 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. 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 .. ; " ■ ♦ FS» * *. . -I J • - A »xaijsi "1 J. *•>□ tt B—.- » i*,- ► .*• t-*|c~»-»-" ill J O D | □ - a- ■■: [TSi- T3 b / g A- »- J.- J.' / 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. OsfB« + ~3 -J. *.*o ►? i»,- ► .#■ "3 »»»«iii"*« 3P1 all □ • A • :•■: fi"=r "3F~3 i/i4-»-i- £.' -iDJSJ i J1 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 Control R. 4 X = 711900 J _ Y = 942430 ř r*/ / / y A- »-.*• J.- •• ^c/rf 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.... Click here »t« I" *■»' >m*m I"« »mm am G*B« e ■ * F<"s * * • *l 3 - - ft -3 ;/ /. • n n? Urn.' ► .*• MclOMt kW» U '••* |u*. .^H ' i I " --r- 3| a a | r~H -O / t ■■ F" — _____t 1 ....then right-click to enter the x and y coordinates for that control point. 'T . D- A- !*<-■ "313-3 ľ* 1 XS— YSouc XHw v», 1 «-* > 1 siices 1705241 ni9H 0006M 942430 000000 145691 2 36 877049 1648125 7130*000000 MMN MM 145093 J 36 463961 .-• MM 71J03ŮOOOŮUU M MM m n 146743 • 5351914 25033764 711907 000000 WWMH 147341 • 1.0>d.P<*r<»~l>Ur.l J TMM4SE» |1 46220 Tfte 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 3 • Data Compilation and Editing 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. To 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. Contra! Pt. 3 X = 713040 Y« 942430 -----------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. llV-ľ "i»■"ITi'lT" .IQI »i □ ctB« i * " ■ *ľšs- "1 J. *. • □ w r - ► .# - ?■* j Cr«« •*- H*Jt ~3 ' m n y^r^^i T;« Gtno« Oobw | Tondovi Veracr»ig| Ur«i | E(* T«rti | AmMon | 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. P.J--I XD.jl-f | i-p.jr.Tt |-yMap 53K S301 sen is ■ ■! - • m tisom 7130(0 711900 LÜ5L. 913120 9*3120 9*2130 9*2*30 03985 : SCO 3324 . SB T/ie Enabled option TEn*ed n "3|io J « / I FW5E» (ÖÖÖ29- mapixtfi -DomLocaoniXYI 1111 7b 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. 194 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. h. ta »- »—t »hox» lorn updo, a» ::-'B4 B - - * F • -I J "B J. *-%n tf *mi*i »-,- k ;■ o- A' U*x • ► .4* » '« | c™«» ■».•»«;». ~3 i^k|uo>« o n "3 p»—b M»»««««. G«««l | tmo» j Tccdovi Varamgl Unb j EoHTMU| tanouton JJKJ «atu»| Snnngakwn j 7 ;m J !».nitkm j 0 M* T Str*gw.,!■»■«■■'-»■«■■»■■^t,^» •cpV 1 tMBá 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. Then, with the Sketch tool selected, right-click anywhere on the map, and click Streaming on the context menu. You can then use the F8 key to switch between point and stream mode. 195 Using ArcGIS Desktop Creating features using vectorization Vectorization is another method of digitizing features. The ArcScan for ArcGIS extension enables you to automatically create features from a scanned image you've added to your map. As with digitizing, you create features within an edit session. You need a dataset (feature class or shapefile) to create features within. It can be a new. empty dataset, or a dataset with existing features that you're adding more features to. >-*>•• o«& .- tp°* i To open the ArcScan toolbar, click the View menu, point to Toolbars, and click ArcScan. In order to use the ArcScan tools, you need to have the ArcScan extension enabled (click Extensions on the Tools menu). You also need to be in an edit session. You can vectorize the image either by tracing or by using automatic "batch" vectorization. You'd trace if the image is of poorer quality or has lots of text or extraneous pixels that might end up as features you don't want. If your image is fairly clean, you can remove any unwanted pixels (either by painting over them or by selecting and deleting) and then create the vector lines (or polygons) using automatic vectorization. 196 3 • Data Compilation and Editing With either method, the first step is to set the snapping environment to make sure the lines you create snap to the pixels in the image. When using ArcScan. snapping is specified in two places—on the Raster Snapping Options dialog box. and on the Snapping Environment dialog box. m v* «— m-* >■» i«» »«- 3* * * - -I 3 T"v7~ ~3 J. #-•□ ¥? ■■ [5 ~ I Ittlaah A- »-^-.1- r MMIMI jrmu.motcmmu*, First set the snapping tolerance (in pixels) on the Raster Snapping Options dialog box (click the button on the ArcScan toolbar). Then set raster snapping on the Snapping Environment dialog box. 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. -laid a c* a m f ■■ « ■ * I A * • »ľ 3 ~3 -.t *- • a w r^7" 3 a t .*-!—= law.-»- "U '"W «J "3 ■•' o a 9 íl t t ■*»•••• d**»*.)' «J I tP o. «. I ''0Ó1- i* B»* O V • ■ r :2:- i 003 . • 021 J 004 022 J • 005 m 023 - . 006 r 024 oči •Ur • 002^ f^bi7 X p 003 ' 018 □ 004 019 > 005 ( Í 020 > í 0Ö6 • s 021 C-—.5 InalaurtBV. "3P»~3 ■ / B A- »• •'• C//C/C /he Trace too/, //jen c//c/c on a ras/er //'ne to sŕart tracing; as you click along the line, vertices are added. Right-click and click Finish Sketch to create the vector line. »[»("K« S"«" I«* »»■ IM aitam xfcpx " « j 2 * • n i w •ľ j ■ " a •-9 :: :: n B -./ - B ľtrtwLrm m- k .«♦• h*|o«i.*-NM. J i««|»^*. d x n o □ I - a I^BB M.JMSC«* : 2! •mm-' íl |t/ * «.»»-»w cu—ono • tP o. ■. 1 j f001« h 5 j i 002*-) r •■ t 003 - , l 021 « 004 022 - - 005 023 - . 036 024 nflT ŕw«- l| . G- A- :o — "gpr-]] ■ / b a. ■»111)105 »(BI.OISUMa-utt 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. m. 198 3 • Data Compilation and Editing To use automatic vectonzation. you'll first want to remove any extraneous pixels, such as text or other graphics on the image. ■m -iflj»i >_» i* Í— >wt Sana» IM 51«- o* 2 sř B « f • ■- • * I i »I 3 • - a T -J. #.%□ w Use /ne Raster Painting tools to interactively delete unwanted pixels, such as text. »*.!>■«»! Slanil '•P —! rr ř oói - i m -1 j, j 020- : 003 - 004 022 » - 0-35 • 023 - . 006 024 íl ' "■ 1 , • t, z - a - .•■: W^ «nm -mamia*\s*tm-\i*t .H5J Oco« r» •*• ol srnami cat *m | T 04 ma d ĹOTacM caa •1 Ono» ■*■■»»—cMarrai.rlalraa IFoaoreu-a' d O<0OM »a op»*» u coraUr ta aajcam [•u ran J QoMWM»diJaWNoi«Miakin |Ow.« ta-najem J T SannataNuiriMn 1 * 1 <— 1 Or, use Ce// 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. 199 Using ArcGIS Desktop m I-—" Then preview the vectorization, and use the Generate Features option to create the lines or polygons. u'■•■■'' ü««3 IWI4BUU.MIII The resu/ŕ /s a dataset of lines or polygons. 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. tf ■ "' T7-I MiBlSl OcrB« * 1 J. *■•£> V t—• - » ► y- )MtoMmfMflH \$mak tSm ■Ü a a' d • a -t: \rzr "3 ■ / ■ A- »-4-.S.' / 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. II! TU TUT?: «lout x « * ~3 J. *.*n *? - D m*jn AfcSJJ k .*• '* [Č—^—P ~3 .-•« ill ES O 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. «. no 16» -:•- IS1.IS «WCIt» I »-'I mt-OASS n urá— LOB 9«po_Urflr. Pi *1— «Code mu—Omvd D - A • .■■: [5^T ~3P5-g ■ / ■ a- »• J.- j.- - Mr—_ptfcgon - 10» ď no ita «C* 131.TS POUČTE» 139.21 L6£_CUB5 « UM— 10» »—.Longo. »opo.«— :.ti -■ ■*«*«—*<** k~M J EüU—S^^ pi— 200 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. i^.i.uj 11 in. u?'n«ii'iL"t'ii m actum **px « • ♦in -'Bl«l ~3 -J. *.»Q * »«• ► .#- UlowtoM« J tsfe|prakj»*»» jji. fl B Q ] To se/ecř 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. 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. LI Ul .f i, DíBI*« HB ■» I«* ! P X ■ + • 1 t£ *• • o *? TIŽ -Dl -D- *■• ► .*' >-|o— —^ ^3 li» \&mj**r am 0«*J«*Wn I'*. hdj HD MU »buwtoi usc.cuss ! undun 9w.«i hxtaMC» i-,«»(,« 3 « r. «i .' ~3F°~3 ■ / i A- *• J.- -i- 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. 202 3 • Data Compilation and Editing 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. wmww DsrQ* I *P X .-. * ■L^HBftMBLi - parata_poV9on • l«7 • tue 2mm To Cop» U.....« O*» hdj m HI 1630 «£A »7.79 PCMCTDJ 9«.«7 U5t_OAS5 « pmm JJJ5J 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. - 2296 *] FC MU eOUMtB ua.cuss imim 9m»Jnt OMfctnwt Coät M ■ lardmtr : '-''" LO"-^*aun Omy P— Select and type over a 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. 203 Using ArcGIS Desktop 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. To open an attribute table, right-click the layer in the table of contents and click Open Attribute Table. Type over a value in the table to change it. -iol«l šm 24999483 19400943 8210739» o*~ -l^ 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. Fat» ÜS SH«IEfl USE OASS Landua Da» Codt rs**» r De» Pm.UtUm. r «ml |»ia»»d|/l«R£A! J d 204 3 • Data Compilation and Editing 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. 222223! si You era abcu to cto e cetaiet» cutede ol en edl tetaon Tha method *leetei then caicutfng n an eck :esnon. but Ihera a no way to undo yea tetuti once the calculation begni Do you »exh to conbnue7 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). J^^Sľ^SM 11*1 l^aartlSoucej Sehe» | Deck. |Saabotagjr Fat» | D*,««, q«, | ue* | Jer. IU. | 4wM«u> |rcu A Chooae .** fctk al be aea» dd> n •» «I» eelar. B «t »■ aba In any a* Na» |M~ Hie. iPMsaaa IScab J> F© FID long 0 0 Nuaac AREA AREA :.*» 1 0 0 Nunenc PERIMETER PERKIER Deuba 8 0 0 Km y USE.OASS USE_QASS Lang 4 0 0 Nuaac 'Lraa Larrtee Sang ■ 0 0 Stoee.Ungri Shape.lenori Deuba 6 0 0 Nuaac ShepajMa Snaoe_Awa Deuba 1 0 0 Nunaac 'Dr-.Coda Duaujae« Code She« : 0 0 Nuaac ■/ Aoeaaed Axaasee Value Long 4 0 0 Nuaac --' ;, Ca» Al | Before, all fields are visible in the table. -101 »J Opn. -1^ 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 Tum All Fields On (this will, of course, show all hidden fields). c m 1 ' | Suae • | IB | UiA | wm» | imanee | «......avati " a. Sertaxanehg =< V 5ertDt*can3ng Suaaaraa... S Jtataect... J eaUCakuWor... bfaMtafiaeaatrr. 1 fWrgon 1191 56»5!0?5 11260966 VAC -NU> 290 76035 com «a. 2000SS0?U .H». 24320636 U •'»«-24999493 'ccaat "oca-4S2 $3573 COM« -H* 164 00643 U •-••J. : Power ii«j 3 PoWcn itn * POVgcn 1'94 5 Pavgcn 1195 CPovgon JltJ 7 PoVgon 1197 2S271Q338 3692 67783 Ttn 12412" 3676 SOt 52" 2144 76244 21432944i' 6t1Š«J72j' -5-<-4 6 Pevgon 119B 9Pcftgon J!» 10 Polygon 1200 60497Í2V4C ■>» Saaoad) Recoca 13 cu »-2O0O SaaoaoJ B— ÜÜJ »Jul shc-r^ '|l»l 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 ofthat 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 & 2693 2725 273* am [5Í objecto 28» MOPCP.TVJ 3606 . WDUS 1 I XtK 1 «963 mu» nandánu :t*.;.tw on*» »«IPE.Ungm To edit a related table using the Attributes dialog box. click the plus sign next to a feature to list any related tables. pet' x _L_"-s_ OBJECTO ELEHUtC •' on owe».*«« M0 PERCSfl C«JD_P*Tt OWIJD 67390 *suw TW 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. 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. g 5*aE9«*uu* SMnCKUCoUiiMN in J 1B3 151 6615 HD •60 6516 "se 161 «17 '63 s lit! 164 •527 1194 PLAIA M»TTH»V «UDCMÄXXOV 19SOJD-03 000000 I9S0JJ2-04 00OJ00 USWO.I7 000000 1950-02-17 000000 19500505000000 195OOS-2J0O0000 1950-06-36 00 00 CO 1950-06.10000000 - - X ;61 Prtt«* ■2'ft««' 60Pr*4»»' 64 'h* H >MÉi m ►»•' Uctí i«|«) in »|m| 5JCT.PÜ" $m**e\f*oM pooya-aoosfj okou -|.» 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 (if necessary, save your edits, stop editing, add the field, and then restart the edit session). See also 'Adding fields and calculating attribute values' in Chapter 5. To add a field to a table, click Options, and click Add Field. Define the field properties in the Add Field dialog box. Mi g 5*eBv«ntu»i O ž-4Hi ;*i.mi Qua« T*» lung mg» i * Mm »«•« ua.iUj.V4U> YH OvtaJvafcj* r n 1 c— 1 206 3 • Data Compilation and Editing Creating and editing annotation ArcGIS provides several options for displaying text on a map to describe particular features or add general information to 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 which 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. E» E* t- ľ""* ÍJ*«04n K ■ •>•» Um -ia» • ♦!'» zl J. •$-»□ v é .| J - - ft <* ■ľ % íl - irlrrrr, • - G •4n»_poy»» Walnut \ _l Zll» il • / ■ A- *- ^i- i- J ltji.it—! s-i-l |» 0 * »i| •M■ - It O« D^ «I2.M mairapa« Select map annotation using the Select Elements tool. Select Elements S3ES !«■!» — Dc* B< 4 * m* i 1*0*11 [oak jS*«*»* 0* . -I—3 ■ "3 Jt *-•□ Xt "3 m A» »• J.- i- Rotate Drag selected map annotation to reposition it. Use the Rotate tool to rotate it around äs center point. 207 Using ArcGIS Desktop To change the font, size, or color of the annotation, use the tools on the Draw toolbar. f* t* *•- f* J»0*r I»» »» BM> a a»y» i «ex ■ + < • > . »r zi - lexi font Text size Text color Right-clicking displays additional options. jDüa f* I* *» r—' S*o» loo» im» M> Q cŕ B • max •-. . $ |7» * 4 « »l II - - a "3 :/*-*0 W - D paw* _pa>gcr> - D *•*» J>*v* - D fcod jdygcn Walnut Walnut x 0« «c *Ď" 01.H—»|S -3[5-3 ■ , g A* A- ^' -1- 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. 208 3 • Data Compilation and Editing 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 oeodatabase 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). jj- 1 .i . 11.11J..1 Bi.T-yrr-—— 9» •/* flo" f""*1 S*™«1 lo* »«So- !J* < « - *r~~l - ■ a Hi ~3 it *.t»a tt Tl«l 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 first want to make sure the labels are the size you want for the scale they're displayed at (this becomes the reference scale). 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. 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 part 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 Hiirn'nvMM.TTi ■»!•«- 4. 1». SM» »s sac; .'uvfi'i,,:,1 .vu.iiľ.x -"I ju*1 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. ■»'.......—-— >**»(■ H «••« fmm J x* Specify the reference scale for the annotation. F=------------3f=~-3 ■ ■ UsJäJäíJ 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. 210 ten* J . _j »««■ Propn • _|CmtoFro«a • -5 **fc RJdngi .1) »-•-«»» 1Ú n*k_tfcto4M (A Ctxrir*9'j,*mm DUtal!»« OSSavn KraiátfCimim 5c4« RoSmpcm ,-. | Mail =r=^ Vot/ 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. The required fields are automatically created, so just click Finish to create the annotation feature class. 3 • Data Compilation and Editing 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. Edit tool ...;«•«- ■•-—• :—=»• 1°* «M» am ^J J. *-•□ ti • 7n m f "'M Rotate tool ~3 •' A H D \ Ik V D - A - :■: W^~ "3FH ■ ' e A- »• J.- -• ■ 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. 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). J-,,... ,i i i i.sacEa—■ attam x «.p x ^ - ♦ |ui * a ■ • »I 3 - - a "3 J. #-»D ¥? ÄsI^Ji <**- ► y »' t D- a- .-: |. — "3FT3 »/ba- »• J.- i' "3 . A o 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. -Ü^HMBMüMMBBBäi F=- - |#-*- db d ■ •i H'l ■ l»l»«W Aj*.|3mc?jj l—. | s— | 211 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. as íl,M ■,'■•.' B' >ia«i onam »*ex « • * pi« H J. *-•□ v? IB MmA - D ««»im - Box.« - D Mj«t> - O i*j«p - D Kuj»»» 1*T • K .♦ - ~3 . ' « O Q I V Open ř/je 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). The bounding box around the annotation lets you rotate the text—click either small arc that appears in the lower left and right corners and drag to rotate the box. When you release the mouse button the text is rotated. Edit Annotation tool 212 3 ' Data 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 size. Click the crosshair in the center of the box and drag the cursor to move the text. _jiu«j u*> ► .*• K A K * H u~i SI "31 .' Pi m a S— I-.Í tm*l*!SS}l . d • A • ■"•: I»*- HFH . , n a- »-*£- J.- HMi«7.«i xBuntmr** When 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. ~3 5J •- 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. »I« r- t« i*a> le* a»»» b* Oeíb« **px <■> « ♦ F * t . -I 3 J J. *••□ x> - W0B5S •a - O Mra*.!»**» - D feu .pcftv" «: H y & n a A K Vi C»»«*"* |»WOort* • - I» a- A- : ivsr -3PJ-3. *0» X Right-click selected annotation to display a context menu with additional options. The Curvature setting lets you change the annotation type. «J I 1 87 / 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. ■ mu m ■ .mu .■■-.■.li * * - -I--D • - WBBB - B u»»í«"" B 0*«í - D—jrt« - B u»»jm • -a«*.« - D p«ct«j«*w«' ■ - a ifc-j**»' a ■' • ■ 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. i Sketch tool ,i ■< , ■ . Qe*B« ť'EH B ***>«. _penAw» B MX •Qi PoS^HQ i^r D1.|S~.[i—»J .1 ^J_ it g - a - :-■• [i^T 3PT3 » k ■ A* »• J.- 2.- Type the text here ..=.- 3 55 / 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. 214 3 • Data Compilation and Editing por 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. 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. 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. ■ PttaKJ *»tata|*ta>tat| 4 1 J 1 dap«!! I««- die d ■J JLLdJÜ «f* SIM *nj.|00mj -HI L»» | fat* | "*■ Click the Symbol button on the Editor dialog box to open the Symbol Selector and specify the leader line color and thickness. g tata. <*m r* ■—ta ---- —_ Mtfm Hrita*tae E-P—* _ _^_ _ Optaa c* jpjj Cli im ta* »«■««« Mad SMS «ta. fíS jj ClfcDSM RattMSN« RtaoM R» Band». Bontay. Sita ta— | ».Syna .| tat | ta. | -, 1 k 1 c»«! | L* |000C0 jj ta»|00000 jj kJ =sj «jRS-3 L/se the Editor box to set the gap between 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. Annotation tab. 8~-1 tH*m] , a* *. a « « f x tv * •> □ W * -J««ta»o • .JCOTOyMgad ' JO«» I JkKlti -_|5"—tar, - _JD*. - "J ■■■*!«»» _ id«—.. FMiiDb rita»...;^ fii5S Edr«S.hr«» r taftaataribb.tatatata.nl «tax tab SrtadCtatabt AJ AiBbVjZj ^ " AaBbYyZz Coutal AaBbYyZz Cow»; AaBbYyZz C«ta,3 AdtTjüi tata Ota». Ota m l\lil}M U-S^te* l/se the 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 corner 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. MiTiT/-; TlTBfT.WfťmiJBuffl1 I" II a. *a * *■ x >i = a a »aio« -1QL5J € C • O *. Ucafen (C 'Jjrt f*m* Wg><»CTSfr»«r-.'«WJa*sS—mé1*06 ä—3 HI*í*:_tf»>_T«e Jjj UIJB k j 7o creaře an empry dimension feature class in ArcCatalog, right-click a feature dataset or geodatabase, point to New. and click Feature Class. fair- 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 soon. 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 file 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 3 • Data Compilation and Editing 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. 33SE 3EE . »i 3 - - a ~jaug| 3^:*%o!» 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. snar sacra * * - «I 3 • ' a -lOJ-UJ 1 Jt *.aa v m □ 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. 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. H^ Aligned Simple aligned 9.5' Ú* 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. 220 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. DsŕU«**fX^* (T55 . -I 3 - - ft ~U J. *.%D V 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. » r u».,,— a,. F=- IJ.40V |»* J W"*> |** •1 »•*• [50555) '■ 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. Cage :um* P««* lsmmi)mm\im |R | - 1 fegrwtd U»H-6d MvM Danhl |Bc* ~3 w | »—« Ib=» < EMntai |b<* J »■*«n^t (o o~*s V Oh« |0 1 221 Using ArcGIS Desktop 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. 1 3 • Data Compilation and Editing 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. 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. 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. .„ ,:•* »_• k' 9 D- A- ■:■: [í — MaMlMWiWiali 7b 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. -p [» —. in— ]* □ *r • »I II • - a 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. 224 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. 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). ■:: «OUTfl HOOOIOT' 9»r»J«ns 0 fltaM The Linear Referencing toolbox in ArcToolbox 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. -mi «I 0 ArqToobai • % 30 Analyst Took • 4> toalyss Tools • $ Cartography Toots 1 £ Conversnn Toob • r% Ma Interccerabfcy Toob • % Data Management Tools • ^P GamuJfwj Tools - £ unear Refarenong Tools ŕ Caftvata Routes /»■Bom ŕ Dissolve Route Events ŕ locate Feature» Mono Route* ŕ Mate Route Event layer ŕ Overlay Route Events ŕ Transform Route Events • % Spatial Analyst Tools -. Fevotti j Inde» I Search | 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. IfeoeuoMli d*j B0UTE1 Oueur Rcu» FeeueQm d \C \GlS P*»C Wert K>«c«''A=ca»rttv6UWt_aleW llinm««im, É |l£KGTH d ImM»» r«ll ]ujtj»|_ 1 Tn.....mtmH&*r*t J 1 J |uwtR_i£n •1 nm—r ■ I«'. | i ■imOMIWiiil 1 0 P« fr—* jdicogi Toe« a**to- 9* □ ig« x «ex ■ -. * " 1 1 - .1 3 -3 J. *-•□ v ■ --- ■i - B Cwactota* .... ► t ■ «I«-* — 2i t*«<:|nanui> - V » j_ - wn«l 107J5*II!<»1 To edit a geometrie 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. t* l* «». »—• >■*»■ I«» »a- a* □ cŕB« t «ex • + When you drag to move a feature, the junction at which the feature connects to other features moves with H. and the connected features stretch accordingly. 226 3 • Data Compilation and Editing 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. xrt";...J m 6« í— H» **■» lea w*>- 9» D(*ae x «ex • - * 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). Jaa»i 3aeoax*ex- •-•*" "D J *-eo v CjO**ar*»» -- ľ«*«*** " ň • OmtMl • xnmwl uMMOvto* • * itf*«««*!-. p Oc-ťon L^Wť^Ärt x • 0 M Lx«m~*m • —' afrls—iagg- • • i D- A - With the feature selected, click the Disconnect button on the toolbar. 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. acta» x «ex •-• • * [ When you move the disconnected feature, it floats free of the network. an a « » »I 3 - - a "3 J. *■•□ f To reconnect a feature to the network (or connect a new feature), snap the feature to an existing network edge or junction, and click the Connect button on the toolbar. 228 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. mm: ^JBUI 1] :/ *- • O Iff - a :?ff5 g Tfyrfyrfty» - 2 :»7MXr*V* í CC**« I i MdMMofcp* " 9 • ■ ff*T^ k .# - '«* | O»«. •«->•*.». "3 «■»*|5«tr,W^- 1 JJ J ~3F°~3 ■ / g I'«^cr-T»a«r* 5*vmccKxr CoarfeK UaUBn Fa* ImedailM eats«« 'Scow B*"«r*l W/ien adding features to a geometric netwon\, set snapping on for the network layers. Point features should have Vertex checked; line features should have Vertex and End checked (as well as Edge, if required). 229 Using ArcGIS Desktop 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. 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 3 • Data Compilation and Editing Right-click the feature to open its attribute dialog box and correct the value. -]HLSi| m t* 1*" >■** S*cBer> look Bttt» &K cjy< x % a x «-• - * pr^r • -I 3 - ■ a Right-click the selected feature and click Attributes to correct the invalid value. • ua »aorti ! v*» no ou> PCWMCTIR USE.QASS Urdu» :o-dm, Sh«e.Jjn*>> XB-T Zm.tktmmtCoát Omare« IMui If more than one feature is selected, the message tells you how many features have invalid values; only those features remain selected. Select one of these features and run Validate Features again to get an explanation of why the feature i invalid (or just open the Attributes dialog box for the feature and see for yourself). UľZľE •k t» im. ir-n »MX loa. «a- B* D at B • X * e x r. $ ~ 4 * m i\ 3 • ■-■«.T-, -B s— jsrj ~3 J. *■ • o w o l- ► .'■ lOMhMwtflMM .: .U BSSBELt. i) 2fMtins«tn«ald. •Mfrc'f». • ■j*»»- —atm _J . - (S) O 3 "3F-3 A- a- J.- J.' • n«M..«>mns>»ui»n> 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. •>• to» X- »M s»a=i Is» tr* cjyi ««ex - - 0* • ♦ ľ "■ d J. t-m a iff * * ■■ . *l J - - a 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. The feature Sutnteoon (Kjbtype: SuMtabon) has 4 related Feeder («ubtyoe: Feed*) features, lha McMrq th> SutaUDonToFMd« nMxratv da« th« speoAeslZ. M 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. 232 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..JHI.1 111 .UJ,"BI!LI-«IMW QcŕH« i»«x. + -ifflaJ! ~3 J. *.%n »o ■ -Dw. *«*- ► .*' -3 <*».,»=- ~3 .■•« JSJ q a a- a- . 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). X, Substation Miction feature (subtype: Sutwoban) «a» not connect to tha Seajndaryu»adgehsab«(»l*>pe:OHSaa«tary). « i ■ A- »-^- _L- ««».» nmauih 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. SUĽ 2ľ she: B» i« i» r—< DsrH* ♦ |iTTi "3 J. *-%n *? I** - k .4» • '«* |OM.aa.>Mjr~ I----------------------- ■u «J a a Open the Topology toolbar in ArcMap to validate geodatabase topology. 233 55 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. 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 overtap 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). Current extent Entire topology Click the Error Inspector button on the toolbar to open the Error Inspector window. Then select the topology rules from the drop-down list. 2H=a «: ďmn frs» d rJn > KtftBtUrgv TlwiOutf» Totarara *r*at>m -»« Not 0*wtap fMrobJun - *u* Not &***> fDWW - MM Nor Hm Pvautos «rwt Jum - >%* MS H»« Dv0» 234 3 • Data Compilation and Editing 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). -louuj C & B« P* • * . -i : ~3 .1 *• • n w äI^ ,. k D - A - G fTST not WC*wi» W« tc« nr~ CW9» lUMHntail» Hstlno«ri« IIPIÜJ— Paygcn Polygon Port Port PK*» Wh» 2770 Z2W 2?W * 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. SIX) >W>»Mui*itttI»»odM«g>l 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. 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. 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. 236 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. 1 1 ■ 1 III 1 1 1 III 1 1 1 —1 14I»*X'. tí. «•□ HT ' li— \C v4>3 *tmeWo*x*cVZt*4afSn»efvi*t» vt d »~ 1 J - t% Data Management Ta* Data Corroanson Database • 1 ^ MnOHMcM Ecstng • I i bsotutedGeodatabese 1 » Domarts Feature Oats Features Fields • & He Geodatabase I »General I ) Goner abater j ^ Indexes Ma layers and Table Ytews _ Protections and Transformations - ft, Feature i Batch Protect ŕ Create Spattf Referenta a* Protect Raster Oeat- lüstern jeograprac rrarorormabon /ma * Fan*« : -<°f Start The Define Projection tool in the Projections and Transformations toolset lets you define a datasets 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. 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. ■—BMBm ,,' i-, ,:a=5gCT—^—— 6» Er» *»• S» I»* «n*- a* «. 4» %*■ X «« • O * uši Lora.n |_|Pio»aM C»jn»S>iM d - O - «1 11= «Bi _JCorawt4 _JCou*t SytNM _lG**ll/ugr JWM'nt JP*r _lSUMtW» JStanSymm Jub. J«U) "— 1 1 - 1 9—<•*»» |SeaM torn -: M | 7/7e Se/ecr opř/on lets you choose a predefined coordinate system—either projected or geographic. 3H*> OB*ia» anMB U LHnaai On the Properties dialog box. select the XY Coordinate System tab to display the options for assigning a coordinate system to the dataset. :_£=-. The New option lets you enter parameters to create a custom projected or geographic coordinate system. ji»j Naae ■**■*■ Naae r~ V» •1 IV—a. .»«■ 1 d f-._U.ri C»rwje»»«r. gg u i i taxi mmmmt. ř~ J P Geor»e*«Coo«WleS*lar. • — 1 1 1 « c— I The Import option lets you assign the coordinate system by using the coordinate system of an existing dataset. 238 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). , 4m *px •« s ■ u a • o k? ■m- I taKwatfrr Conwenm ^ Data Management Took • I ^ Data Comparison • I ) Database I I i DKomected Erjbng - I i DtstrtutBd On*« abase 1 I ^ Domains • I »Ft*itOis • I i Features • I »Rsids • I i Ffe Geodatabase • | f General • í ^ 'iener akuuun • I } Inde.es • & kins • I »layer* and Table Mem - I » Projections and Transrormeborts - £ Feature S Batch Presset /• Create Soaoal Reference • fePasta ^ Create Custom GoooraDhjc Transformation ^* Denr* Projection f«g*M|lnd»)S«»oH| laajDaaaeloiFea»» O—___________________ »jpecaVCa-lr« ftaaoAtoadr» GrM»» oayfloeJi jjfj »PI Co»>nMr ;, ■■.. | jau a» I-------------------------- J |Č^Šňô»äwôtí«5rtČa«r7ftíSäíäia»Si>S' fatj OuwC 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. | « SOTtaoaadnea*. Oca- I The Projections and Transformations toolset contains additional tools for defining, projecting, and spatially adjusting rasters. - 4^ Prowcbons and Transformaborä - & Feature S Batch Proioct ŕ Create SpabeJ Rarerem ,* Protect - (i, ■■■ Ma a*«P ,* «error a* Proiect Raster ^Restate ,* Rotate #*werp «* Create Custom Geographrc Trensrormehon ^ DafngPiufcxIJuil________________ FawrlB Ihda. I Sea**! J The Raster toolset under Projections and Transfonnations (in the Data Management toolbox) contains tools for projecting and adjusting raster datasets. 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. 240 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. On the Editor dropdown 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. r <■«!!■■■■■ ^kuiMaattM-MxMn 5*0*1 | 0./U | On the Spatial Adjustment drop-down menu, click Adjustment Methods to specify the type of transformation or adjustment you're doing. 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. 9» L* $•- *»*1 1*» I<« Yfr«to- rj* 3 a a a «* •- • * | " * * - •r~3 • • a J :/ *■ • n if? 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. ÜJ51 O IXScuc* lYíouc IXCtaM* |VD«M«. ! 2220601790 388616 97277 22208C 749 3884762T o- 1 ; ZsnUM *"Sf wbiuiim B8B6I 879525 2220816 249 B8«68m«4 2221127500 1 38783706; 387486 62jZj »mimi mi p— MM«) MBWI 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 3 ' Data Compilation and Editing 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. 77.f ~"n.........■—'--------■— )w Click Adjust on the Spatial Adjustment drop-down menu to adjust the features. 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 To rubber sheet one set of features to match another, set the Spatial Adjustment method to Rubbei sheet. 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. G«rMt|EdQ.M*ii| ■BBBHBBBBQi o»~ 1 ----------»| D Hi!.» ilLrtSi-tol B HMrlrtSj-M Ig bMMMImiAl 1 | B, j W | 0» I Cjnd 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 edge match two datasets, set the Spatial Adjustment method to Edge Snap. 21*1 T^T*^ r ímmf *U. ri*aii*M'M> Gn. EajtM». 11*1 SamLea riMMaki m**. | P OnwnKtwa O Pir*rt«cfca»tr*j dim 1 * 1 O-l I 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 3 • Data Compilation and Editing 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. 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. Edit Tool Edge Match 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. ~ S» I* f— rax JaeO» lata 0*0- 9* OcřB« r •• - E3B-E3S3 «art». E*mttf. H - Toootoff» Ornmti _j Topobgynodn - moátmom J ba *.-'-!«=- »t- » .«♦- Mel CMI M-tau. 2} m* law. -: a B Q 1 .- k. .- 3 I T For attribute transfer between line features, set snapping to Edge for both the source and target datasets. *• J.- -- 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. SaiMl*» (Na-ätaen | AuoMaK» | Smi zl »«.Uro* Ml NAME utni r Ivajbaai : 1 c«- | i <* i 246 3 • Data Compilation and Editing 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. uc ■^■^»TW.Il '"■')-" • -■ u a e • • «. «una? —3 :/ «v # a w - -I 3 - - a ...then click here 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. Mat • ►.*-!•» )o~..i—'- 21 a a After transferring attributes, the target feature has the same Name and Type values as the source feature. a- a- .-: f7X=~ "3FÖ-3 ■ í ■;A- *-jí-i' Attribute Transfer IdanKybon | - Ne~5beeti SANMBLO Dijjte ŕ Rename Fwrtwllndi» I Se*ch| ŕ -$&-$ 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 >ocation of the output dataset. 247 Using ArcGIS Desktop 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 3 • Data Compilation and Editing • 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. iiw^«».m.M.u..i...iLiijuinii..iLw..»-Pf. n imum .fr ^ t* f— * :» ľ*-*** 3* 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—/'/ 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. H Ddľ=SZ=HľSľES » b* tm fm i*»» lak o <* a «• <" Uncheck this box <*■*!(*«-1 T.*» v—»o|i*. |mtt.|i um I J15J 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.) 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). 250 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. BSt " 'T,.,„f . ■:ii.a;v;r ..I! rr.J.'Xh'" & i* f* ÍP loo» Brtt» » J ' ) ***&* iotaOTÄUT) « "*tf«°»°»>-*Tl 7b 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). »I'MI ■■ .1 i l.i I ■ '1 .. .1 ■a* rfin-iľ'BC t» 6« I»- ir taa» a %. a * Hi f X -ins £.<_•□»?«« • o * ;• LSajWWSS 50S\fc4*tf a> pOtoMFi^.'rijMjj -I MMMNUtBtm i MM lafafäfJMUWPJ iUi ■ . U***™»***! =Ľ=ľ FW* I Inda. I SobM« | R«taM(» | fl«..i.M»ji. 0«« | tt-Co»d>*>S*iBi | Tohwo ! RanUS» | Dow. |3jlargEa090Euldrvi Ujcj You can confirm that the dataset is registered as versioned on the General tab of the Feature Class Properties dialog box. '*0- »on 6ea« lygilWinKMnMlaWilK r r 77?e Versioning status 251 Using ArcGIS Desktop When you're ready to start your edit session in ArcMap. you need to make sure the Edit a Version option is checked the Versioning tab of the Editing Options dialog box (this is the opposite of using nonversioned data). on Check this box ^^^^ D«».!;«to» VtnorngJiM, j E* I«ki I tancUBn| tmbJm | | Con When you're ready to start 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. 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 3 • Data Compilation and Editing 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 rieht. nil l^tttDIOIrilwII/ m Click to display or close -the lower panels J J la— OBJECTO 11 NtMf Gaanvri*Hoi HMNTENAN. 302 BUFF.WSI 300 Shv. |P»»C* GllTlii^Hflt Gmniih, Hoi 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. 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). 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). — 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. 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. 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 • Data Compilation and Editing pi.!lWl«Jil!FI«.iJ!lH!....ll\il>.H'l II.. „W.B.I..■»■'»1l)|.|ltffM «,41 »ex >. = i!B»4tn« e« • o * - -3» "3 - * >5ct>a* . t . Sm J ***. etc a? Jun =J *<-r.. .ma »0 —m £ | A, I LMMoJba 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.) «Süd » t« ■- » Im b»*- o* t, 4 * * P X '. = ■ í tí.*»niff«< • o * s • i»»iwwmMu_50if>»*» Gro*vw_«a t*c ocfmxti j l#wMMj_30E*was.CD3 í «r»_.«(»»MMU.n 3l *r«. .*» C*0 - JUJSl 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.) E5 rrrrs: l,l;,L|v-iti.imr,lr,..ff u B» t« fm Sfi im 1» li g*> ^«4 «f X S-IStfiltD« « mSUÍÍ ■.«•«»op«!«.—«i 2Í r- ~3 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). 255 Using ArcGIS Desktop To alter the permission of a version (or change its description), right-click the version and click Properties. n.'MirľE'nriifr'ľiT t» (• í». 0> Um oko- vc 3lSl 0-* DM '•«Vm ±cDCFMJLr tjwao. i/7/aiot 101501 m Motto 4^2CDE1Z>02n< °ia»nnilgii*i«l » I c— To change the description or permissions for a version, open the Version Manager, right-click the version you want to modify, and click Properties. 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.) •* L* m. tmn »Éd» la* W~ 0* Q «bi e• t I »řBHJ~ »m - .1 Z a -ll4±*n« |Q n «TO (WOMMUT) gamn.aol (dbtOTOlT) BJ***{atotíF»UI) ^rj V*»*** \Dmmmuml^m,rifí 1] g-1 ■t D»A« «<- 3pö~3 ■ / g A" »• ^- -1- Jlf IVhen you add date from a geodatabase with versions in ArcMap, the version you're currently connected to is displayed in the Add Data dialog box (double-click the geodatabase to display the datasets). You can then change to another version after adding the data. If you add data by dragging from ArcCatalog, you can add any dataset from the currently displayed version in the Catalog tree. 256 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. *. %•>"*• p •nuam •1 Na» 10— 1*— or | Pmoijm Deo Pick M | O - a - :••: fS^=~ ~3|iö~3 ■ / ■ A- »• .!>• i- • 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. «•»7.71 UM» »»Mr. 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). To open the Versioning toolbar, click More Editing Tools on the Editor drop-down menu, and click Versioning. Or. click the View menu, point to Toolbars, and click Versioning (at the bottom of the list). From the toolbar you can manage existing versions, create new ones, or change versions (if the geodatabase is currently selected on the Source tab: otherwise, this button is unavailable). 257 Using ArcGIS Desktop acta« 4 4. ' i+CTOt Tot* tfr«*>- 3* p > . . * I "3 Jí *.%D V fF*T^ a»,. > •- . r 3 r "33 . ■•- J£J Hm^^^ÔOrZ^ Offfa 1 LjolModhd i # PenLooo 090 Pifite «/vaxei: • Pao»oa MO Pjt*c isot:: OEFMX.T dbo =M* «s.xa •; •Ľ s •. o M - 1 ,0 .^Ä. »—, -i» 5>: d ' a - a \tzr ~3W3 ./BA- A- jr-i- «awm wmia T/je Versioning toolbar lets you manage versions within ArcMap, as you would in ArcCatalog. You can open the Version Manager, create new versions, or open the Change Versions window. Htm C— IACC l| * 1 Pacol.eo« dbo MO - <• = 1» M | When editing a geodatabase version, you can edit a versioned or nonversioned dataset, as described above (once a dataset is registered as versioned, it will have that status across all geodatabase versions). When you register data as versioned. you have the option to "move edits to base" (you'd choose to move edits to base if the updates need to be shared with other applications that access your RDBMS). If you register with the option to move edits to base, edits to the Default version save to the base tables (the tables containing the actual datasets), while edits to all other versions save to the delta tables but are moved to the base tables when you post to the default version. If you don't use this option, all edits save to the delta tables—including those made to the Default version. When you create a second (or third) version of the geodatabase. new delta tables are not created—rather all changes for all versions go into the same set of delta tables, and are tracked by version, using the State ID. When editing versioned data with multiple versions, the concepts are basically the same as when editors are editing a single version. However with multiple versions, when editors save their edits, the edits are saved only in their version. When they've finished the edits, they reconcile them with other versions, at which point any conflicts are revealed and can be reviewed. De*U« X * * ■ 1*» i«* -> • »> "| J. *■■ • D > í ľ- r r~ '.•"»>•«• Zl J Pi n □ i ^^ - '/z s ■: I«g«V«oen [ďtoĎfřHŤ 3 (to- do p» mri a dok» artkn ? <* O,06pKt|b,.O.| r o,«MU.It,a*OTl MO» OO |OI MR os*k* B bo msS W?*rwwa,^ *»CCF«ULTM—» Wj -jaB: 3 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. 260 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. JSSi To create a replica, open the Distributed Geodatabase toolbar in ArcMap. Click the View menu and point to Toolbars. . *• and utiM x t» w »Munt» panel »nek« m nauad *»(•*» MH1U <~ T-c-wattu A 2 -w actu «to— fO. to «S «a Sale r m apt« guMM aru careOua, •TCtomtogKaWtttaaUdMiMmapoMiCooinrtM* gaoUUMaaa mal ba ba WcSOC gaoOaueaaaa -W mae* efcaa agu B aand crarOM (rem »a paart gacatUbaat a IM daä OKxSeuCata or* IfacHdamadaadaato« U Uta nm ran • tobe 10 cetaa» ani De» fnWit iiai mal U txiOt aeodaitta««. AfcMOeeangfWpfcaa | 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. ffH**^ g, G* Dot * « «a. »aal laatta» Ipaa as p > jaa • £ |1 7JCC 11 J. *-%U V - -I U - - a H I % - ". * " »i ilia. • O O a .J ~3pÔ~3 ■ / g A' *■ fieoaatatawl I ra OKdeabaae M >ou he» eřoaan B aror™ ]UltPmu,títmmm».Ktm^tUAntWtHm^mmttimjik d Giorle-aže»; Thaaer.l«a-«Mccr»ar»Tg»ai»an ,ia>j*.i |C MÍS PoaobWrMt P«»acr*ra..ae*ue «*> Reofca «"< J»c» I«* «r*« b* q s* y • B ■ •-■ * [TIET ÍIrM~ Q1,|i««.|M«ST~ ____ ;.-,- n .-• D - A - ■:■: \r^r ~3 J. *.%n w aa» bej□ □ »[»~3 Ba a "3P5~3 / B A- »• J.- i.- uŕ Use the View menu to switch to Layout View. Then select a data frame on the page to move or resize it. 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. EK t« *~ ľ"" Sto» !■» »to. V» Di*B« ■* * ♦ lis» —3 -J*.*n« .aisi B B B QQDO « .ST3 BIS J*I=I i>. ľ . f . r . p . pi ttm .■ \Á ' ' ' ...... .r -.v 'k- •v ľ? - "P ' . .,. 4 -■• z. ž Cltl«t«lWl»»l«ll :n ~'.\ k Use the Insert menu to add legends, titles, and so on. To move an element on the page, select and drag it. ,. t> . a- a- ■ irzr -3IÍÔ-3 ■ ' ■ A' »-«£-.-■ 270 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. o t* í- »u» b* Iv»» a* d sta m e ■■ *■*#.»□ v i«»r~^ i-ftoT^j;---------- .essJšššr 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. 3 0% *a» » ««*#!pi»©M ■ini«i -*I*^T ArcScene lets you extrude features to create 3D maps—in this case, showing the relative population of each county. 271 Using ArcGIS Desktop 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. Use Tracking Analyst to animate movement or change over time—in this case, the path and strength of a stonv. 272 4 • Mapping and Visualization 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. si ■WT -^_ ^Tftm^ir^omrmm'iM''' t^'j rar.r ■I""—•! ■B (k IM 9- V—i »aca» lo* «-*». a* Select and drag a dataset from the ArcCatalog tree 1 -JA**« -r 3 - - a .to ArcMap -Ml «I THS 3 :/*•□* * * - -I 3 • Osm. nR • t, c- a- : I« — -3IÜ-3 ■ 1 g A- *-^-i- The dataset is added as a layer on the map. 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 of (or beneath) other layers. «IDJlU! Oc*B# p > ,. . * [tum 3 U *-ma tt :: -s. % % + \ a jj|,"tbt;t on top -misi 0a [C fm »OH »kenn i«* «M» a* Q cŕ O • ü*> «^ • * |"S2B :n % * * » » o ''' • - 3 =/*-.»n v 4 4 . -I D - - a 3IÜ-3 1/1 A-»-i-: ««uinmnw ■I • B pwoaa.p*flcn Drag the parks dataset from ArcCatalog to a position above parcels in the table of contents to have parks draw on top. j*±j^n , - t, G - A - • ■: íěZT -3FT3 ■ A- »-«g- j.- 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. M'-'TITJ* ff)i 10 **■ Iwrt Saaiuj look sinta. Data 1MSOM« ...VBaaHiafci *»d tftWTiiM*»..te«rorfwi*i»< l^Kangl.tpwealaatwataaal IMS» «MttumuHnnil.—' iCarm...OTiKWili «laaaaaad pm-I*»"»!' * r "3] y! ♦••o w - • - Use either the Add Data button on the toolbar or the Add Data option on the File menu to open the dialog box.... ~3±J * je e ŕ.iL k [*=r MtailNMIl Wŕr i .0C*íaŕ>w ConnertJOT» Sa).*»»* laatori jgCoonfcutaSres« efeStSServars Ü Sean* Be»*» Fokjrr carracten riet ehern GanecBjaFokfcr GSSerwnFdkJar SaerdiBesutsFoklar Tiadsng Comecäcrö Fokk* Sta» a m» |D«*>«il ....then navigate to the dataset you want to add. Open a new folder 1 connection ' Use the buttons on the right to view icons, a list, or thumbnails look n JE VcanadaVdaU J-*.-.y ^ý—jrr.rt u»! lA|8>N-.|fiij|g| <&lnOkriResvvaDon*V 0«M Code« M ^CarnthMchyttrdV «^CanaAan Provane*,.St O OMty Pocnitfxn V <^ Oraore and Court«* V 0t>»»»ng UHjJh »Forward Sortatjon Urea >/r «>» J ^Maior Cř»»V «£Ma«IBoad^>rT *^r»jdkai SBad cimJw ^ HncvaJ PcoiatnOK ^•UtmlPartsJ» <&Provrce Sourdara».)* ^PravraaJPartaM ^BaeoaoVtrt |provrc*adc Stawofiape [PaUaanandUrnl'bil 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. iDKaeraSt- «urea t-arUwal JC-Vünn» ť.—i a», »..I.—1 lOKasroS ft»«.,•*£•,«« ]»Kat»j9 |D*ateroS \m.lit.<*tw**\mů Cat at*« fcs-JsssJJasEJ l.o ,..,___ - D □• A* 175 _•> ~3 » ľ 1 A- A- J.' J. HAITIS'- Scad» ta UHL of a wabale IX fen reu In) data b uaa n «jcMas The 1*11 Ml noaaoV port B a Matadau E aokaar pag* ung on an *dMS «an« |"•] Opoonel Kavword (e.a.. rmey. I------------------------------ T Saarcn KSDI Cttarmohou» Specify tha location you wont to search. T»Pt « place nam* such at Alabama or Boston and ekek Go a kst of piacas mat match what you typed «1 appear ctck the place you warn m th* kst to choose it. > >*» a do« on the map with the n tool to define the area you want to search vou may need to Zoom In first. • Choose any sdditionol search criteria. "•"O" your search by choonnq a content type or theme, or by entering a keyword. These choices are optonai. - Click Seordi. _____ti=L 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. TT.Trr, 4 4 *** Omm a latre »o» «■ »re a bro-» I" laj*J :■!' '->. •IH Seer* t» M» 1" I» X •*) V orcrdrare« Xfiatt [POMT_x J VW [POKT Y J Use -Add XY Da/a on the Tools menu to open the dialog box and specify the name of the table, and the fields containing the coordinates. NAME MAJNTENANCE-O Poa 0*ce 9S6 Poke» anion 3 103 C«y Ha« 222 Poke» Haadquarter« 102 Frn> Swlron 2 151 Gii.ii.1i> Htoh 705 P« Elementary Pubkc Stage Oak Mrdrie School Fe Erernrrntenr 6wm*I Hosp«»l laurel Mdrje School Pubfcc Library PONT X «2866 8*375 482814 65635 483131 15625 463184 25000 483752 03375 46405659375 482701 25000 482934 46875 5 68750 482187 06250 481028 06250 482284 67500 «029 75ÜI 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. JU*J jj.uij.ii..i..tiii!H8arw The !olo»ng date «um u» a grjogricra: coordriete synem that s afferent ho» the one used by the data Irerae you are «king the data tttr. I GeoBraphtCxednabiSyg— GCS.W K o M A a f 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. Access your My Places list from the Tools menu. You can view and add to the list from any map, scene, or view. 279 Using ArcGIS Desktop By default, the full extent of the first dataset you add to a data frame becomes the initial extent of the map display (for 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). -In! «I •í. C« Í— ►■»< S0XXV loo» 16**- t»fc d ď a t» '- ■ <$ |11S27S "3 J. *-*n f •.**•** n - -I 3 - - ä ■Yrf== i •£•• l»o a » jj »—,. * , D- A- :'•: ÍTíT- "3|iô-3 ■ / ■ A- *- J.~ -i- «»]» nWM.UlMn 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. -JOJJřJ «*t tat (•- *** >■■"■■> lo>* tfra>- tsw D d B ■- * % % * « n * A • -r "5T5SS~ »«- D O- A - 3 J. *-*Q w 1(1000 .«.TT loom] ä it ■ B 750.000 '.O0ODO0 I ca xi 11*1 SUnWd Scok» | Sc* FaM | an ** 1 11X00 l 10000 124.000 1 100.000 1250000 1500.000 1750.000 nopoooo^^ AoUCinn ) OeMt | [MM»« | Und. | S« | M ~3|iö""3 ■ / n A* »-^-.L- «/ «o» n vmmM» Click Customize This List to remove scales from the drop-down list or add your own scales to it. 280 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. 4 • Mapping and Visualization Up«H4« (■EHHI ~~ PVÓ*» Sc* Rang. Vni»Kkh«tl• .11*1 ML unfed 3 feu« Luton hB«33^022SS3C*-.6w m IV*. noj 3 •UME 0/H4 MNHTENMKX« 222 6WF.WSI 200 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. 283 Using ArcGIS Desktop 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). * * ■hMIMifaav 3(*" Laukn |l EOT? iaB«C?P».- POMT.Y Dout* B 0 0 0 0 0 0 0 ■ N— 3 nF3 »—,- t. p a- a- '. [rü 3FTE ■ / ■ A- "• J.- -• The Fields tab on the Layer Properties dialog box lets you specify which fields will appear in the results box. 284 4 • Mapping and Visualization 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. «JOlJEj r» V «— »—< vom feat *M_ 9* D cŕ y m «* '•■ " • ♦ |iT5rä 3 ._£ «v *> D »J» * * » -I 2 - - a • lew iíF^ 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. Show MapTips WUKTEWiíI íl PO*rt_X POKI t VX 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. JJJSJ 'WU» | Pltcm | «« :J N»5—O. 1 O Frtt—*m*mmmim*l**rtmtmmmt*1Bq SwKh " MWk * 1" E«*Mrt ■—>*»» MM J Caned j ■re.'mKp-..^:.lliiiii%^.-« Of««« (J CnxuBottoar« ft NrapH,*« ft L/se F/nd 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. 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. 5> 6* »•» »wl Hátaxr, * < -iOLSJ 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. 286 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. When you select a feature in the layer's attribute table, the feature stays highlighted on the map until _ «A you select another feature. • \ \ , / *1Q1«J -iflJ«J m xo TOI 300 j Ftaon* r3«J0M3 «J 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. 287 Using ArcGIS Desktop 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 01 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). «iO»J E4a (j* *m* In*: jmnw lotfc «raft- t>* octaa B> ■ * |i2m> _A *\»%*m 4 4 • »1 J - • Ä d 2 ■•^■l lei %6» aBmtjK Xft_ - B tuofjohv |Op!K • • - D tot jan* »«•itcaklang» » • minim» * jaro> > • J !*■'■«»■ gc»ti~.»rnMi «■• » maw* —J iŕ ■nl—ľ—" |.n *.j} D- a- ■■: i««- dh« ú » ' n A- »• ^- -^- H.»m»«S«i (10000 jJ ÜilUJj Srn |*0D ij ** |ooo jj I Use these options to modify basic properties of the current symbol. 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'). »«•arc CMM Ot© OS CM» SD5B» O00O5 cross so c«cc as Cut» «si« Cm* OK >»*«* Sir»«* amlUUB Sok BOO wattle 288 4 • Mapping and Visualization 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 vou're using. Layer Properties for line data Layer Properties for polygon data at»»____________ ~3 fl i 3 raz -lc—_L -.«v^l M,^. | IW. | i Layer Properties for raster data with continuous values „, l— ;«. .~. .— ...,~_ Ľ^3^J____I 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 Left-click opens... Right-click opens... ♦ Marker Line ■ Area Fill Ai ■-1'-"; 3ÖP — r, n n .db - Corresponding Symbol Selector Dialog Color Palette ■ Classified or categorized raster Color Selector dialog Color Palette Stretched raster i.-i-. Select Color Ramp dialog 289 Using ArcGIS Desktop 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. Using cartographic representations for the various feature classes, bridge 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 G1S 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." 4 • Mapping and Visualization 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. To 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. S3 I e >■ - • * F a i 1 u *.mn n? - »r 3 * - sk Rim JUJSJ X Shi i 5 Cm-wCMtuaBfrcNi i -3P5 "~3 ■ / B A- !"»H»* <*» 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. 291 Using ArcGIS Desktop 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. CokiRaw f m iUM 1 «si Kos na J» M—-am ■■l"-" 335! «1 10» 1037 1825 ism 3010-47» 4751 5351 r S»oidM»i«r«MuwelMhM*«* •*««•* -| Choose a symbol type under Quantities—when you specify a field containing the numeric values. ArcMap assigns a default classification. Drag the class break lines on the histogram to set breaks manually, or type the break values in the box on the right. 292 4 • Mapping and Visualization Select a color ramp from the drop-down menu, or set the color of a class by double-clicking it to display the Symbol Selector. Selacw. | Dapu» Si«**» | fid* | MNnn Quay | Ub* | Jon I FtctMH | JJ*J 3] NatalBnMfc» U«riu| Change the label by selecting and typing over it. ffcSy-bofc •UapCokn Propst» rorMSyl««*,.. 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. i Normalization field li*l O»o*c4con NaM Break.» L Garc.il | Sou« |Salact«»|Daiiay Syarobc. | Fatk | Mnfem Qua* | Labe« | Jon IIW. | »a» ----------------------------------------------- f^£Z----------- °— <"""»■■ -■»■ «*■*■ "■— ■"*—- Cateoon« QiMKtibn IMaMalM Gtadjated tyntooh PMpBMQNi QflDM Do draly Cota Raup Chart. Mut** Attribut« :|5~3 r^jTi «11036 1037 1325 1326-3009 3010 4750 4751-3351 Show daii itngn mng Wm vatu« 2l*l\ Grard | Sou« | Ssbctoi | Ooolay Symboto» | Show — Dim» quMiub« 11 DeMon Qua* | Üb* | Jon l Raut« | Fakta Value Faaruret Cat «gone« QuanMiei Graduated colon Gieouared lyrrtcs __________ Prccorbonai tymbob Dotdrary Cok» Hrnu Chart» OanAcabon Hamal Break» Ucr*»l Smbol I Rare» 0 052555048 0082651340 0082651341 0114585759 0114585760-0132666741 0132666742 Q167350911 0167360912 • 0200327735 etat» lang»» uaeig teujrum varuet 526*-827X 8 28S 1146* 11 47* -13271; 132K-1680X 1681*-20 oa ] Cancal | Ape* 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. 293 Using ArcGIS Desktop 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. symbolize all categories. *>u can cnoosewues- any values not listed will be drawn using the «HUM am !POP2000 swift« í«_j'.:e=5 j A3E.X.B *0E 4049 ♦I & Ptnwatjrc-nc D_Ei=L r Fw. r VoanargiU! f •vMlNkaa J m««»«"» r "J So«ľJ ÜB» MMMa • r rmmmtU:f*nwtt ^ | pom. I e B ■■ ■ • ♦ I"?»» **.■•- id I 3 - • a ~3 J *•□ * To save the layer—as symbolized—to add to other maps, right-click the layer name and select Save As Layer File. 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. ■■ai«! d g*b« b »I é * ■ ~~n - - a 1 U *-BO * JO 4 F«. C» í— r—< j»n»» I« «M» gm Q SÍ Be> B ■ .- * Fä5» 3 •■/#-• O W u * *r—d - • a_______ In*« (_|»»c*tan ~q «.lal»Mlg«|aj Hrfhcrxlr,2 *e -BI JSI*««-*«' iu_ I»-"* Layer file r^~i 9»ari«M fÖüiSliürrr ,. t D- A- ■••:[¥=- 73(5-3 b / ■ a- »• ^- -^- Use (he -Add Dato öu/ton (or Add Data on the File menu) to add a layer file to a map. The features are added to the map, drawn with the symbols you defined. ÄSÜ^sB -■■ ,- it . a- a- •• 1**^ 115-3 » / ■ A- »» *\' A- irra.«i !«••» 4 * Mapping and Visualization 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 if you want to symbolize the same type of features for a different geographic area (whereas adding a layer file is useful for adding 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. H" "■'-' ■•""■ Ü. V* f- í—' S*o>» loo» MM» gm Ds*B« B- ~ • * fT55n5 3yř*BDKř «*-•*• - »I 3 - - a ^IBiSi Click Import on the Symbology dialog box... JU5J: il ....then specify the source layer (to import symbols from a layer on the same map) or layer file to use.... • bv*wm«t**mmj,*mm>*m\mmnl.^B*m «J • N-fc •1 *| K» |«W« =- 1 ■ em«.....i.i.,iin«.> P 1 « 1 ....and the field in the target layer corresponding to the field in the source layer. 312* BUCT.TWt "3 ~3 In the dialog box, dick Apply to assign the symbols, or OK to assign the symbols and dose the dialog box. The symbol definitions are automatically updated. If the symbol definitions are for features that have been classified or categorized, the classes or categories will also be imported and applied. 296 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 ESRI.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. Ma • I • • ■ ▲ laarjei 03.1 • Perugont • Ha»gr»i tmMm • • • Dttap*1 RrdSque.1 0*2 ■ S-J-.2 • A Tmt*2 • • Prop: • ft—L. | *~Sf*»» -| *~- 1 — 1 | O*s B«1C«* &o»l ■ A • SoímI T«rd*1 fVUflwl c- «J Ang» (55-3 Hewgcnl A OvSrf* 0» I Ctné 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 0—1 -■■■ im Cat» r«" __i rtm k acut r uftiOi t— •M. ■ 1 « 1 «~ 1 in mu pívíä" 1555" I 5 I On* I JJJ5J «• n^i 3 «s- 4 fltt ..:.- Fa* |#. *n *• £JZJil-J ■ •I xos-rjäorrg 298 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 displays the individual symbols for the selected style and folder. 3 :/#-•□¥? ...■■■»"I'-l Open the Style Manager from the Tools menu. MM 11*} ▲ TnangleS _J C\0oara*i»*SSenn3i\ ( J ESňl Byle _iBe)wer«sy>tem: Right-click a symbol :!££?* to work with it. _J Area PelCheS _J lne Perches _1 Labels _J NorthArrowl _l Scale Ban _J Legend Item _| Scale Tem _J Color Hanps _| Borders __I B M * ? MIA: J Cat« _) FiSyr*ols _| LreSyraboU J Mart.« S/mtx* _| Text Symbols Si*. - PenL copy CM« CbrK Hewflor. 3 Octagon 3 Rnd S Delete Rename Stal TV Siar2 • Star3 ft*; P + üJjil«JP^~3 tie» |Oi«a« MauS^eo J tar |i>. esmcwauHau d htaat |!«cl» •1 ujal 1 9 a ♦I íl Hü tí si - ♦■Af [•pad See fii :•- K |Q9X0 jj V jCIXCO jj i^ElM *ESRI 30 8« 3DBXaUnos »Industrial »Reader** » Street »H/nture »Trees »vend« ArcSceneB*»: tXsress CAOO OS Center SOS 200 CAC© OS Center SOS 220 CAOO OS Canter 505195 Cam CMC Ccnearvabon CnmeAnatrSs EnvTcrmenul Hnstrr «edogy2« Hamat M The Symbol Property Editor lets you modify symbols. Ordnance Sunrey Petroexal* Petroksur, PtjbkSgrti Real (state Sees 0*0 Sjrwy Irarooctarxn Ubtoes Water Wastewater WMtt» Wob216 Creating a new symbol in the Style Manager The Style Manager also lets you create symbols from scratch. Since ArcMap includes many symbols, need to do this if you use very specific, unique, or very complex symbols. Even then, in many cases it to start with an existing symbol and modify it. You can, if necessary, create new symbols from picture EMFs) or from characters in any font installed on your computer (set the Type to picture or character, Select a style to add to the Style Manager, or create a new style. you may only 's more efficient files (bitmaps or respectively). znsa 11*1 J C VDocumerfs and SeftngsV _J Reference Systems _J M«*. Labels _J Shadows _| Area Patches _JL» Patches _J Labels _J North Arrows _J Scale Bars _| Legend Items _i Scare Tests jCdo-Seire. _J Borders _J Beckcrounds _iCficrs _J PiSymbole _J Lne Symbols BrownCide Reduce) J^ 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. FEM I Trp» |5rt»M«kKS)««o SW»*.|H<.| c* «J J U* I'M, r iwoiif» oukocet. m 1 0*«S<- | 3 : ..........• ülüJ-jFK-3 im |« lo* spa». B» d a a • e ■ * \,,x * * - »I 3 ' ' S -J. *■•!=> V Right-click a feature and select Label Features-default settings are used. •__ -B % 2d--W* M— e »»j».. B <*»«*«•im. ■ klMUU G imíjom - n <**—'"»• B*aiuliU Al wu> «« M UUMd »t m. oooom cadbd UMfttt |name TmS><*cI tfMr*«> nHk»«iilh>kWgM r IMat !N«| J ,1 U v.* r*m ! N* LlKfl t s~ 1 IW .-.:-■ ■ ■A ITfwlTV^BBBaBBK,' tin """ l'-'* im* r Hanu P «ton -1 rt PwM P k» r cuv») r tab- « vj IST" r^ -—i (MM |0 1 Uiea0"* [ The Laoe/ Sŕy/e Selector lets you access additional label symbols. mm uší 11*1 You c«n «»a» 9» lanoa ol Kern a .M* Wb* M b> «can r tol.it»t:»»«i«»«lt<«b« P Dart »• W»k t*«" »no) CUbmm 1 [10000 0» [ Cm* Use Sca/e Range /o tom symbols on and off as you zoom in or out on the map. *»£*• Im 1 — 1 « -[ CM. 300 4 • Mapping and Visualization All features in the layer are labeled using the same text font, size, and color. (By default, labels don't draw if they would overlap.) While you can change the text symbol for all the features, you can't modify the symbol, text, or position of individual labels. You can. however, define categories of features within a layer and label each category differently—major roads could have a large label and minor roads a small one. You can also use this method to label only certain categories (for example, only major roads). Use SQL Query to select features to add to each class. ^^BO^mmuwmwiimtĚiĚKi^mmtimĚim tl¥md\ SoumI SMOon| CMMl S»tefea/| FM» | OMMnOuM L*M |Jot.1RMM| 2J«I luTod C-emcaiicio Om j Man <■ tnú L9C* «•* ONI d0«r«PB>j 3 " uw— JU«. 3 4 *.%□ w h | |6cl= Silin • FBOM TiraoUImatMLM W*R£ '«»1-3 J 0» | VM> 1 H* 1 lud 1 S~ | 0« I Cm» When you se/eci 'Define classes" as the method, additional options are available. PM,|S°—|SM0,,I ■i -IQlKI „I \ • \ \ ,' k c- a- :•■: rrzr ~3F3~3 1/1 A-»'i-i" To label an individual feature with its name or other attribute use graphic text—specifically, the Label tool (see the next section 'Drawing graphics on a map'). This tool is useful for labeling one feature, or a few. It also lets you use a different text symbol for each. Managing labels on multiple layers While you can manage each layer's labels from the table of contents, the Label Manager lets you modify the label settings for the various layers within a data frame from a single dialog box. It also includes options for managing label placement by giving labels for certain layers higher priority or greater weight (labels with a higher weight take precedence over those with a lower weight). -iflj-il St v* ■«-. tmn JMoa» la* »tt- 9* -ÍH* B~X '■ ■ * I 3 J. «V • O V « * « . f—3 - • a LMOmi JJJCJ -■nm-----------1« - e -.»>..■+ Moo»... -!--,* M-4-XJU«. - a -~jj «m«ih»»o» '»•J mm» at Right-click the data frame name and select Labeling to display P label management options. ■%>iE=[ \ BSaonlv BR« -Dím«j>*»>i EE'ti ^DoMjJ«*gor, BD.IM1 -Dl«»U«*son aow QSM». SMOAI TMSMg — 1 UMU f WÍE J AtflkY»Zt Uí^zLeJ 0MB r HoMtw «M rcMM ľKinl In Pom» C «ton T Onlar* r mm 0«M ft «pnu B-íHli j 5c—R^c. | saO-M 1 LMSM | * | C«- 1 ** ■ • / D a- *-^-^.- 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). i**g - 4 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. cc «iní»] * a i» r-* s««=»" :°— m- d* C «U« e> • • * Fi« * * - -I J - - a ~3 J. *-•□ W ooxlajní i unii.. \ \ \ U o *•__! »—»- k •• 9 D- A' i : i««. dť« ^ ■ / g A- »- j*-i uairMUi.^taniatOii*« «Mnu nnuw 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. ;» t* i~ tm* i*e» ja* Wem ö» 4 4 . *| d - - a =j -:. n * -i e M á 1 Main E _j Waterfall c Third - tjigeSB - a unjo • - 5] *r»*_«r - B o«a»j*w»> - D MHj**r* - D itaijc*»» D Q) CO Walnut walnut • 0 »»Jl J _0SsJj2-.li-.~LJ »—»- fc •- "P D» A» S 3 » ' » A* »• J.' -' «M «MO.« IM I/V///J 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). Bffíiiif ■■Wi**"'"w Select Maplex as the labeling engine from either the Data frame Properties dialog box or from the Labeling toolbar. VroUtonGa«i | E*vlfecUr0ai | t Htm | laHPa» J ^».«^«««».«»■«»«tlM^t a« | Fa« piOOO UMErpa ESfflSUra»dU61Enor» __] ĚsiÚŠSařaTíoStiS^^I J]X| T«SM* UtniF«: |-|»|/|n| *** * LaWSW» P Ov^x>(Wj. (frwrtfO L-, 1 J_£=!_ 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. Tie*. iii—i »>■«■» m »■>» jas Zi it *-*D V • a -ras otrie» Hj. Public • Ubrary Pole» H»» . a - a- . W^~ 1.3 ».J. -J ~3l'° zl » ' » A- A-^-^.- moni mmcia ^ /n ŕ/7/s example, rules have been defined to stack labels and to ensure they don't overlap 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). jja X 5«— 3 OMn«tjtUt»l«b » ♦ «■»tou»» ;• tf**Sc*Ungi » UKSi-odlma VMM » - UWFMM 5 CaMrttNMMMttaha... Of ► !m1HV*- gtnemtm.. im»™» r In.l....... »«»»iW«r« P Ce»««««í«»äUt*>o«te«l»»w«on Right-click a layer in the table of contents and select Convert Labels to Annotation. The Label tool described above is also a way of quickly creating annotation for individual features (as opposed to all features at once). Map document annotation is stored only with the particular map in which it is created. If the annotation will be used on different maps, create geodatabase annotation. The annotation is stored as a separate feature class in the geodatabase and can be accessed by many users (see 'Creating and editing annotation' in Chapter 3). 304 4 • Mapping and Visualization Drawing graphics on a map Adding graphics to your map can clarify the information that the map conveys. For example, you might add circles on top of the data on your map to draw attention to particular features, outline a study area with a polygon, or add lines that point to potential locations for new stores. Graphics are saved in the map document. Using the Draw toolbar Graphics are created using symbols—markers, lines, fills, colors, and text—that you access from the Draw toolbar. By default the Draw toolbar appears at the bottom of the ArcMap window. As with all toolbars, you can move and dock it anywhere on the window, or let it float. «IB»! p^BBB- - ES «j—i_»< - El ^r -o O Af 'V ?S3 %. • d Use the drop-down lists to display shape and text options. 1 i- j • —J □ AjBbYyZl ^««iViZl 1 l**d | UML. | 5)«oa | | K | M 1 MjnDoasi DiiDcaaiaii ■■Biiigii 'QBBfl IIID2QIIIIII IBBBOBBBBBI Specify a custom color. Click the menu button to change the color model. 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. «iffljU . .1 J ~l a #-•□ * »-,- » . Q- A- 1 I' I - CiVcrr and drag to create a rectangle. iäife .■ř -3WI • / I A- »-^- J.- rtuhMkBUf New Rectangle tool ^B«I«1X' «I H :/ A • C «ff I .1 I Click and drag graphics to move them. \ \ •* -3PT-3 . / ■ a- *-^-i- \ Select Elements JBIMI ^. t» 1— 1— >»■" ft- »"•- »• 2 *b« s »ax 1 ■ a I 44 . .1 3 - • a 1 Ufa« U \ Click to enter the vertices of a polygon. — I - . \ * \ \ /" Sß-3 - 1 » A- »• ^-i- ! I- i Use the Edit Vertices ,^ tool to move a vertex by. « clicking and dragging. . A ■ - »«* ~3F~3 ■ / ■ a- »• =Ä-i- New Polygon 1 Ed;f Vert/'ces 306 4 • Mapping and Visualization f he text drop-down menu provides a variety of options for placing text. Greenvs««/ Late/ feature using callout box ' A -t> -o via w**«** A^-°-^____ •€! Label feature with attribute A *> -o P Ä S 6 These ŕhree /00/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. ■^■■aaaaHMM -inl«l DařB« )«(x « * -i*+*°«LZ Z *« - . »f—3 - - a X Q*U MM» r. n * * 0 M ií / NM» - B M.« ~. B NtH^Crf -B **j+v» 1 J "Ö , i ««CCv-U. ► CWrfcutt ► -J J \ r > s N • 0 *JJ MBlfMlWtatal _i [tmtf « Q «? D - A • :" [*«- dl« ň • i ■ A- »- i>- J.- „____________ «MHJO »uim 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.) S|aM|M« I So» and Piata | -ÜJSJ OUtobfer ■ -1 (XAwWdh pOO jj a—tut* | <* 1 c_ | 307 Using ArcGIS Desktop 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. 33= -mim nt c* (— tax Ksn I«* yak. 9* *V> - -I D - ~3 4 *.ma *? UkNMnioj>«'s C O« do la aroawd 7«hc: r 0».»aii.i i«.l»«Ji i«^ia».>aliMj.i Tat« |bJdng.jor< »»he CrM I Right-click a /ayer and se/eci Convert Features to Graphics to turn geographic features into graphic objects. 308 4 • Mapping and Visualization 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 • -ao» -. • .. '{- o - B CAT0V a -B»~» •• * **WT*. «■ * X load!*» *<*"»«■ M 0 3 01*1 M - kvrattvcW« 1 ■ fr, W—Mr-q - B OtMR Obmn - B trftonftn Mha _ rwj> MAujJJJJ ■am -IM00QXD - B aft«*'** .1 "" J •• Switch to Layout View from the View menu. •"■MHHHHHHHHBHHMM- . *jbisi b a a a * a • ■ e •- * F^7^ 3 u? * • □ D- A' «•«** • ::" '•"':• •' "!•:•'•*•!.....••-.- .-;.-; .-■■•-^ .-.-.-«:.» >■>. .. Daia V/ekv 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. -iaia » t» (— ř—i »cot loo» »ate gat aaaoQDQ • »i» j "3 2/ #.*D w eaa ;:. ľ FTTH5 i« :: ■ Ť 7ö 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). »-,- * « a- ~3W3 ■ ' ■ A- »-«1-.V ,•- PmSatc SUM «a* Taj. HPCabUaaM2SD°at «*•« OOT4.0B2 Ccaaarai PaaaM^a 1 1 ľmPvPftlma« So. |l» J Scuca | Ajo Sana J Oiaiimn It FMal r Lankca •UpPigaSg» r Uta PMa Pani Saargi ßr Sla-dMSaar lunar j Wdh (as |ao» J Ha* |!1 |aö« J OaMak», P*mi r Urxkcapa T P ScaaU»Eaaam7XoaonaVioďarg>,r°^.Sai | CK I CM 309 Using ArcGIS Desktop 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. 2 a urn mcx -n ■ * ~3 J *.»n * - B Uttvjcn - B »-..»= -B tmmjOnr - B imjswr tt These tools work with the data inside the data frame— just like in Data View. It O 5|*j Pan the t Ü dala in the I data frame \ 1F1 ■ / h A- »• J.- A- -lousJl ,-! «0*7« J7MIIWÍU .5): laMa J 9> fc» «- |a« )mm Tool ..-, M B» □ ~a« s tax • * 1 ~D y? A.%0 *| . •----* © M < e—1Í......1T.....«... ■ - 0um -B «Wj" - B carcKiJ»»», 2 ? S E3 □ » 3 E B a E^ Pan Wie page in the display window. These tools work with the entire page—they're activated only in Layout View. - .L" M *----------é ft*»!*—)"—gl »—,- i» « c- A- :-:|#« 3|10 J ■ / g A- • - j.- i- -0.71 »M> 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 4 ' Mapping and Visualization m Z ... »-« >■"»" I"» »«■ B* Q0B4«VHi + TD -J. a- • n w '" '- •«.■••?••.-- .*■»■. J- J Select Data Frame from the £ Insert menu to add a new 1 data frame to the page. T.T>~~W mlDJ«J í* t» í— t»« S"*» loa (u- g* D i*a« X » • X « • ♦ r T ^ *-•□ w ÍOUitai ?.,f,ff..,l! K i* k ' Ý MdDa(s... . £ EJE«!rt S Focus Oft« Fr«n» O Zoom *fto* Pag* "-? ZoomtoSabcUdOmrti * O* CW+X *£opy CH*C Drag the data frame to move it; drag a handle to resize it. í (MS. »ton DutTfet« Rotí« or Re » ■■» □» a - *:°rré- 8 c Q □ * - a B B a / u A- a- J.- J.- / S«* I HaCad» OL5JI 0« | Old 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. using the Select tool, to make it active. Or, right-click the name in the table of contents and click Activate. Each data frame appears as a set of layers in the table of contents. 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). fc» {•. i»w ifcd» la* *.*» 3» i Ot*a* SU*.. ttwrwabr .m* osaJ^^^T |.0 aiS * I 3 U*-ma v .,.•,.•<•. ,. ,« ,.. ,.: ,.. ,- ,.. ,« i- j« ,« po :• Select Save As on the File menu.... ....then specify ArcMap Template as the file type. ArcMap also provides a number of standard map templates. You can select one of these when you open a new map. t* 6» (•- *••< S*f I«* am», a« JHJJJJ !■■*■%■>-- iwam»i.ia»ii*ii«< jc *•»•• -»umifiiui—a l&yiwigjit .»■»»<■> JMA SOK»»»««» V«"»M ~ J. *-ma * "3- =■ M,T. JJJSJl 5«-»l I w»*, I US» I Wot) I C .Vtŕ.KOKKM mi igPonMHooanM MPoM [=T»lj |C\ftopaa FhrJitfilS-*«*! i * « Dooam ("I« ^ , - i, z • a • •: |*=T "3FÖ-3 ■ / d A- »-ÍÍÍ--1- «sn»i>n>H When you open a new map you have a choice of predefined templates. 312 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 eoal 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. a a onam *• *r ~3 -J. #.%□ .ľ... • t :- i . Map elements are added from the Insert menu. 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). £&■* Frame am» — > aw« m To modify titles or text, type in , B the box. then press Enter. Drag \^\ 2 the text to move it; use the Draw . ' toolbar to change the font size. Titles appear by default as the name of the map file, centered at the top of the page. t?QUFr»» Sloe A.* B«-»*» OlMml ä North&TlM... — 5c*B»... ■BSofeT«*... «WO... The legend content comes from the table of contents—layers that are currently 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). 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. 314 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. 9, t« »»«-IS-*» lock «*GD- OK B »pä~3 B B at Qa>-y«X«.CX « - a> f" 3 J. «v • n Right-click any map element and select Properties to modify the element or set an explicit position or size. M S«««JPmé».| Sa> x I ■ Wdr, | 477SZ32i> Y I 1001 T tiOMDa Ordo P« * * - * 1382* M M B H^ft | OUUC'r. f 1 * Aligning elements To align elements, select the elements, then use the Align option on the Drawing menu. Or right-click the selected elements and use the options on the menu that appears. ES i(«l"í-i X««" !»* S**- B* »Bö Q Q B «pä~3 Bň a DtŕH* »»PX ~ • » f~- -B -ta!. :: >■• HM.»"» •M» « D- A- : . [Tí . . ■'......::......: ~3rä~3 ».£■ A* »' J.' .L" Select one or more elements, then right-click a selected element to access the options; or open the Drawing menu to access the s tme options. 315 Using ArcGIS Desktop Using grids and guidelines You can set up a grid or guidelines to make sure elements line up. You can use these purely as visual aids, or have the elements snap to the grid, guidelines, or the ruler. aoSQQDB B »Pň^ B B a D s* y« s r~ li!* -«JOJJSJ .T« □m ■vr ■OMC lWJ »—5 • K ■ .- -D • A • ■■: [77 ..ľ , ff ,^ľ.„ . I*. ■ C//c/< i7ie rt/fer to seř a gu/de. Drag /he arrow to move the guide; right-click the arrow to clear it. I 1_____________-_____±-mA ••« ~3 U t B &•*•;£.- J_~ Right-click anywhere on the layout to access guide, ruler, and grid options, including snapping. B So 8» To WM J •aoaandM»5at14?. B log*.»*** í O« O*.« tí* Otw X D«n MM O IMaaKtMQaiaRs «P {POBUSakoadOMva »d ■■■■■■■■■■ -llJíl RaMa I C*D | I«*aOtCar*arta | OaunaccaAi* Sral I DaiaVa- UruVfc. I hjxw j Ida Ocom to» >ou «e* «ah poj nap 1* «cane T Saaa»cafaart>ata»<-nfe>>ai 17 Stonexalban C Sto, tonu »aaat C Sto.-aacaloJdaa P StaMMMnMoaa I** |W« w*-|ÖTT- HoaacrWSpacr« Jlr VMcalSoaca* [osi 1». «4 «t 1« t» *— 11> mon m u> ha m r. 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. -una ■"Hl-t-i *«=»• !<•» s«*- 3* 3 sŕ B • »*>■-.-* r^ ~~3 -j. *■ m o *? - B taau - B "codiora * Gr«anvBllay Rood Hurd ^T7^ fS>, X l'i'J.'—-1_ Zoom Page ~3F^ ■ / ■ A- »-.**-._,- ^ !*» -TO» g* ---■ • ,r U ♦ r— J :.? «v • n w Use ŕr>e 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 Tnô-3 ■ , B A- *-«£-.i-; 316 4 • Mapping and Visualization 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. 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 317 Using ArcGIS Desktop 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. i |u«— d m./rm. <►;-»<-. J-*?? d Ma Mt |sM-_M. d iMItatnW) "*"■ dr— d WIMI I**"' d WMi ľ* d muat {■oma d r MdtoMM ran... »•* CO* h-»-h — d M»jta |mum. - Access the Graph Wizard either from the Tools menu or from a table's Options menu. matr m»iiriilř—umŕacowfc en g» y* fl» t* M. »m« !*»> IM »M- »» (..lnWmi. Kte |Cr patojovejen d MaMj |sm»_«m d lUIOn« |«x.» _^|v«. d OMNI | d m»' M d MMM lewtto -1 '" 5ta.i**!Mt») Car |M4tth-*t.l*^f d tent: |uuu> d «MklW ŕ* •1 r^3 r Sto. MO. •nah «-I K | CM» | Right-click the graph window title bar and select Properties, or Advanced Properties. „il ktantfy... Graph of park area *•*■■■ CU**- Copy ••»•he «ddtolMout TlT*W-----ill nl Sow... Btport... AdVoncodProptrOts.. R01/M Ice*« Bo*»*» On* A* CM» Top • IIa tipcM Pnl Ptjno "I V* JJjSj > >*9m «oaaal b, iDWiriawsUMII a= H. f Í— »W. J-. 3ÍB4 X * aiaa odd a» I» Btt- a* P X *» • ♦ Q « »|«ca ^] T3 :/ *.»D V a§ a i . ľ. ľ. 'i>. "f: ŕ " -TT tr—.- I» "gpö-3 ■ / ■ a- »- ->-.ľ Name Aide Birch University Foothills Cherry undeveloped undeveloped Dogwood Foresight Elm Longview bis Hilltop Greenhills Juniper undeveloped laataaaaaMC City City City City City City City City City City City City City City City City Skape Area 73484.56915 34471321375 77210.771434 27331.25049 14961.733144 1289.122439 1123.519487 886.05369 17377.921397 37024.207885 71309.318373 128445.853829 217061.309323 437531.817073 61469.920854 158828.008152 ___I ______ A 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. 322 4 • Mapping and Visualization ota j—— This tab lets you group sections of the report by category. Choose a field containing the category values. m Cm e.*.* Title Group Title 1= L-» | >- I ■—*■— 1 C --J«--»a «.«_ li-.— dr Summary You can sort any of the fields. Park pWrttnanM bi> Coy Uoivcráty Oj Aldcc ah Juniper as Ba a, Birch as Foothfli as Foreaajl a» Chary as Ots UDdcv doped am Dogwood CHy O «■u tw«i üreeohül. Countv Hilltop Count. undeveloped Countv Longview Coanrv 125*15 55 77210.73 -UU66 61469 St 37024.20 3447135 27331.22 17377.96 14961 B 12*9.01 1123.47 «6.07 437531.92 217061.57 15«2'.9S -1309 23 _-r i Update Settings .'- I. ----------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. M>l»n!v« laa» —• ľ^ m)« «aa» M. -F*k ■HMbtM ■■■■III, ■ ll, 1 fa- 1 1— J *—— 1 The Display tab is where you set the parameters for how the report will look. Click in a Value box to change a setting. -musí) Change colors and fonts by clicking the button at the right side. ~ ■ L r,_k__ :■■■ Slinu i >!■■■ I- >■■•■ 323 Using ArcGIS Desktop 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. CE mana f». C« í— |al Satan* look J»tt- am Q at a A ' ' ** ••& «•"•*• > > iv.'iffln.rr.i,'': l**l ém >«M> «o? C Ci»M«n»aiu»tj»ni%»ial«U»t r TI» d«. »»UM »»Hb. »»»d wo f p«aon«6«oD«M6«»i É 'ä! ___I _£=-J. _^_] jíäÍ^J] i>—»- n ■ •no«»«« "ElFT-g ■ / i a.' »»./-j.' ^ 324 4 • Mapping and Visualization 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 earths 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. ^ibju ♦ FT»» 3 ut *»n w .1 3 - - a "3FT3 B A' *••*•.!• Use the ArcToolbox Hillshade tool to create a relief map from the elevation surface. Then display the elevation surface on top of the hillshade, using a transparency setting—right-click the elevation surface in the table of contents, select Properties, and click the Display tab on the Layer Properties dialog box. 0«r*» |Sľ*c*Q>! fat* i JonlP«am| r ---------, * »• r (♦ -3 ^ 1 r— r Set transparency here. 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. 1 n I Open the Scene Properties to set parameters for the perspective view. including vertical exaggeration to make the difference in elevations more apparent. ll'MfiMUm.'l'HMl D et a • f ■■■ t k 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). DiiiiMiii J MCE«».« |5 d CJiat—t*mt**'\ «*eanla*» -\ fta» M«J | i r1. j, >" ■,-■ n ,i -mm l**»Off i—I 3 e+ »a» « |^^^^^^^ 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). -3jŮ \^qa m ****** brním —am**ÓK Open the 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. rS^S^T^KM tiki ra> fectcn OtmOB MM i «»■1 ] - <*fl£ -* MB S»l 1 d 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 change the viewing angle and altitude, or use the Fly Over tool to move continuously through the scene. to Navigate irrrrra: c s* y « f * ■ • #. • o *r Fly over ~ibui The 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 corner of the window gives you a reference. 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. 328 4 • Mapping and Visualization Navigate Fly/Walkover Toggle Globe/Surface Mode 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. 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 captunng 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. H3l |MapL«a • 1 J |—. á |M»lW»M»! p-O* 1 o- | *- 1 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. -1DJ2J 1 J *-*a n» ... . *r 3 ■ ■ a EMM kawcki |oo ho 11*1 P OnMOM Mm M ruivnOk», P 04M««HflKll«|MiM 1 * c- I ,' k ~- A - 1F5~3 • / u a- »• jé»í- "3" Use Create Group Animation to animate a sequence of layers on your map. a—,- fc P O- A-Q [TS 3F°3 ■ / n A.* ^*jŽ'—- 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. The Animation Manager lets you edit the animation. 332 4 • Mapping and Visualization Creating a time series animation ArcGIS 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. r Seuootm Jl*l |'"»l*" ■\ — 1 A |hac«r» -\ — |l»l««u*l _ a*. 1 — 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 iprrr,"' ,i urn ~3 OMnaonUi* |l-.U-«tí.l 3 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. ji.i.iMLnM-: -J— Own | o— \ 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. Ot t* f— r-r SK» 1«» »M» o» t I r dému i'«*j |t«.v».| rvto>cn>Mdud«e> ! J °~~~+ t|*J ■a t*» Mudad lap e^n Im En) I«. U«J TT—1 TJXJ K^*«-*- Ti*du 1 Tn* V«m | «ľ—•<"«« |t«.i». d <"'»* |la>U«Ud> d T«. H«. 0 GOD Wl> 1 1000 End!». VI/l 335 4/1/1335 kM u™» v». | °- • 1Mb Ywi CM j "mm | Raa» | tan« | C CiiIIIM»«i.«o> a^vUmväXm »I* On /he 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. g»«mi| ic». rvu—■ tM!«tnn»i [ Mi doth»«: d Mt firwro wn» ......tc-i—. ■ »■Mb mimaiNim« im«™*«»« r «mu ■-» uuMIr On /he 77me Tracfc 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. ■J|W!l'-g IfOl« S-™» ľ* -»*" 1 QjB« •«*> .-■-♦ |1U7BJ» l^MH» «••Ol :-- - -SSB liati« - -1 3 ' ' m _ Q FnTVVS - a •_■ r»n ■■ i ■ i Opm J- P:ay 11*1 TavSc* -j 1000 ♦] r V».x_*duc*>onV -a - : 1*=- -3(^-3 i;iA-»-i- _•.- «•«iiur» jrjnus* Use /he s//'cter on /he Animation Manager Time View tab to play the animation. Or open the Animation Controls dialog box and use the Play button. 334 335 Using ArcGIS Desktop 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. -101«) H. t± *r. |M l—ar I» ***• tare d«d« e •- - * 4 4 . .| 3 ~3 J. *.%a V 3 LMMAn** - ® 0 % Use the Add button on the Tracking Analyst toolbar to open the Add Temporal Data Wizard. J O O c 988 TROPICAL STORM 985 HURMCMC'l 971 HURRCAME 1 974 HURRICANE 1 9E5 HJRRÍANE • JS7 TROPCAL STORM -1Q1J5J DAItlMt 1001 TROPCAi. STORM 1003 TR0BCAI. OPPRESSION ioo3iROřtcAi depression 1003 TROPICAL DEPRESSION 10D3TRO»aCAĹ DEPRESSION 1003' TROPCAL DEPRESSION 1003 tROnOHOiPRESSlON 08/02/1 9551800 00 08/03/199500000 08/03/1 995600 00 08/03/1995120tttt 08401985180000 08/O4/1395000 00 otvcnsiscooo OM)V1385120D00 t&Oin 9951800» 08/05/1995 C 00 00 ob*j5/i ssB ran 08/05/1995120000 08/05/1995160000 ^ 10 tu clWl*c«ll 1 WttilaadOfCu,«>«loaddraj«uaaeaiaaaa»ii <~ >«UckirtimaUa«ng'«n tota>laau«daai 2 OnaNiMIMuufci« 1 »ill llarar? jfl t Wa&as aapiUvcnsSS ir>c 3 OmhUncnanghaiAi iroadrai«aeki utauca oarlaaa ara* Mr* «KÁ «oco« raaaj bafcny a |TRaCXJO j Maw •«»«'■«ad CM« | | N-, | C«- 1 '„',11 ji-.1. : u«j >4ny geographic data having a date and/or time stamp can be used with Tracking Analyst. SaaaavatatxaoSaWl |03AB/ISS500000 v*« • •» muc* teak d ta tau' |E*rfa*i|UnaM5ljaa| Enal I» I— aa»ia;aaanlgl «aléaat (HMŽ5ÍÍ 3 Ciaaa»a»aal«rB^l kaaaa nka« iaa r» WnBm RagorW Swv AtcuAddrgTaacoalOav n^n ■ľKTT,' B» 0* Ť— »aar» a*imi lOOb Wdo» S* □«y« e • t 4 4 . .[—] -nu«) ■ • a ~3 ^*»QW »larara e »■■ • »-*> - B cxrxx '.a-*,**« » ® ® % Oo.k 7ne wizard asks for the field containing the date and time data, and the format ft's in. "3IÜ-3 ■ / i a- »- J.- j.- faraar» mno»n. Once a temporal layer has been added, use the Playback Manager to run the animation. 336 4 • Mapping and Visualization 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. .■101 «J! a> l* *"■ *""' ~2 J. *-•□ *? >\~~3 - - a ESE Saatet» | Ratk | DaHonOia>| Taatoal! ^■■•V _ M.an(ieE.an QWt □ >«»tCi#rwTl.ar. QAOarcadMrja ÔJTB-J Dl«* •ř [»••([rainl Use the calendar to see the conditions on a specific date. ĽZH. 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. fa it !— ia-! *•*» Ha» *>*» 0* q «f a • «* > « • * ľ««« - *r 3 - • a mmim * - B »aavoGt. » mu * : a mii'-m 1 ■ 211 MO O ■ Ml-in M ar» .■ o-n U < :K ■ Hl-JO ■ --• KC ■ Bl-21» - B «aaVOCm Saat |!2/31 /l995120000AM [Ťj Cuaa* 110^5719960« 1542 PM Q En« |12/3l/!999l20O00A m\ <| ■ | » |»l| T l» Ska« ...............^77; f-m r»«« p.hpt»" i Potri«» 2838 2813' 1478' 2832 9010*9040 k Sort&xenkig 37243 9043 297788086 S*»"»*»— 22882 3254 J] I 21941 9000 213190838 il 0*Cataistor. 21233 1782 £*vJeteG«ca w IF ] -1 3 -' A «I el . :- S- SWCj V - J 4 3 e# B * ■ • •- * I 3 -J. *- • n it ' * • -I j - - a ■ • « . -• a- . > — «•»«»»in Use overlay to append fields from multiple layers to find features meeting specific criteria. 341 Using ArcGlS Desktop Distance analysis ArcGlS 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. 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 "° • • 429 O 4.47 O 228 • 4.00 O #329 425 3.41 268 0 • • 4.35 O 5.55 • 5.55 O 3.96 0 A continuous surface created from a set of sample point values. A surface of road density—darker orange indicates higher density. Lineof-sight analysis—green indicates areas visible from the observer point. 342 5 • Geographic Analysis 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. 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. 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). 343 Using ArcGIS Desktop ArcGIS Desktop ArcGIS Desktop provides a range of tools to perform analysis operations. The tools analysis 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. ArcToolbox 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 ill ii — $|0|&|a| Alii) Al Gnatcatcher Habitat Suitability D-sso've polygon r tinea on which c they bfong to }:ep.tl polygons ■ pert polygons StSecf pott zones J S - tn - •' '-- ' KAM An example of a suitability model, built using the Mode/Builder 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 provided 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. BWi 1 + ]»■*••• **) a.- « p •M *■*»* ir-u-^^j -r=\ .fl M notatt - •* am. «o*u. ta*»««»« Right-click a layer name and select Open Attribute Table. • :..-«. BS« iiandaMDina»T Vawca I no * no.i - HBMETEB 3 SoK*/out*iUbh [Wa^BJřfJDí^Sm.OJcUEií t» la t- x-t imam I«* «M- tw> 2 » a m '%>■'■• ■ * F*? 3 ^ *. • n «ff 4 * . -I J ' - a 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. ual»l| ~ V ^mJ S>n.["»7 S«fc*d|"«c-»dl !-^aaaaaB»»mMMBM»mT-> JJJfJ 2.500 2.000 I.SO0 1.000 SOB 0 Ftaquancy OMnbuOon Out ^*i wnx 0200130 B_u, 50164 5O4O10 mm-. I0»MB«I SimOrtOr-mxr 250341*503 L I 1 1 L 3 2 11271 e 22543 5 330151 «5066 8 563*0 16907 7 261793 394510 7776 Statistics window gives you infonnation about the distribution 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. 9» 0* t— Í—" Immoet, In» *♦*. n» * * - *| 3 - - a 4 #.*a iff 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. ,ra.rm G»x|S»c.|S«a»lSMttak<> F-* | Data*», torn, | Lad* | Mm, I RAM. | jrJjfJ PWQ Owl« tmí |KAM£ Obom aht* WH -4 trn «at» Ca» n #• <4ai cota» •> «* f. «M> to my «aH 7». llano» ..**■ * HSt.UWS HS£_U«7S V VACANT VACANT ? 0MCR.0CC OVVMWJJCC •p* BENTEFyXX BtHIEB.OCC i< WJ_FABHS37 NO_fABJ4S97 *AV6_SOIS7 AVG_Sas7 •■CW3PJÍCR37 CROPjACBS? *AV6_SAl£S7 Av6_SAtE97 * PES VACANT I Lor« Log -^■; Lag Papacn I Se*. I M.Í1 I ^1 NvMK •dose Nimnc 3ns~3 7ype /'n here to create an alias. Click the box with ellipses to format numeric values—this changes only the display, not the actual stored values. Caw mkWLW-wm. u*i Harm CuMam Ram Fuoaan Soanbh: 'WH««»». r Nuata-aa*-**"** AJgman P s*». msJMna na« r u«« GarMopMmtota •a*/d<"«> 1 * 1 c«- | 348 349 Using ArcGIS Desktop You can also hide a field by right-clicking the column heading and clicking Turn Field Off. iHľľrr -1B«1| 56023 J1S3351Í 926599a: 2006 so« 2527 02952 2242 -M'.i 2DB75S9S2 £366 3'"14 4Ö572146 «777ICim' '46- 11330 35904 360*9 «82 4766 28560^27113 8289 d094 -3742 13804 14573 15341 25796 26195 5320 6212 ICTl'lWT (UcodMjJ Ô_Jm| SHo.pÜ" S«M»)|B«aJi|DMcl23SdMM Wří/7 a řaů/e open. right-click a column heading to hide that field. 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. :iick Appearance on the jjii b».| Oca« »arc. to »« UU» Um TcxtoOpk» to «1 a OJ J Um *■ oob to "kOM «caak u^rutii«u»»y»nii«i;iiaiir.LiJ4uMf «tatohoHatMOiacagareir». Imu» t«*.Fan I« v« 3 TaMtFertSa»andCabi |7 3 H CouMiHMoKHat* |125 »J XatFmläe" CaiHagrc |"5 -j XolForlSat P UiIraMtl««! T KalawdDtfeÉiMt M S«*0VO«Ma« rr si«»« C Daaw COJU •«" «»»•>«W UMi OMatwra Change the text font and size of an individual table from the table's Options menu. Use the Options settings on the Tools menu to specify the appearance of all tables in the map document. Tabular data can be displayed graphically in ArcMap using graphs. Graphs present a visual summary of attribute values. ArcMap also lets you create a finished report from tabular data. Graphs and reports can be printed or added to a map layout. See 'Creating a graph' and "Creating a report' in Chapter 4. 5 • Geographic Analysis 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. vrwmwvrwLW .."iru ■ ' i. if-n xxzammmUUĚ tí. #•□ «? e « • o * ,at*> • _l í ■ um '••" - -14 3« é ~r< I -» I " I i Ptttpn j k. Scrt-CM-yrf i r WOmrOfi] 33 ■r="_ V Right-click a field name in table preview mode to access sorting and statistics options. ArcToolbox tools for working with tabular data ArcToolbox includes tools for calculating summary statistics and a frequency table for a field. The results are written to tables you can add to a map or preview in ArcCatalog. Having the information in a table is useful if you need to save the information or use it in additional analysis. The tools are useful for including in models and scripts. IM -a Gro QaREA □WINLIB! Qusejiass BLanduM r------ftfMfaimiMlwnB O-": 0AHEA DUSE.OASS P Saeu L ■ aas «JflJSJ " »|m| 5ho»fÄT Sa»q»d|B«c fJAnToobo« • t% 3D Anarr* Tools - &} AnaVss Tools • & FjtJOCt • & Owtoy • & Pra ^ Froojjency ŕ Summary Staostxs £ (ft Cartography Toots • s% Convťf aon Tools - tft Coverage Tools • % Data Management Tools ¥ Iff Gammas Tools • tftirfostabsocal Analyst Tools • A Lrear Reŕerenang Tools ^J ■-.-jir-.i"X- S"»* Ifte Frequency tool calculates the number of occurences 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. The Summary Statistics tool lets you specify which fields and statistics to include. The results are written to a record in a table. \& p»ca«_0oWon Output Table |C\apnap«MPi^piral_awa_im ±* J Fat) SuaMcT«. AREA MM «DE* MAX «flEA RANGE ME* HEM ME* STD FfFHatTEB BANGE * ■!_■•--: '3 ■' '-• mfTT\ 3 »l"l SfcfÄT SalKMd|Baa»t.lOeulallSal»»d| Optor. -| 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. 9. 6» »— fm< s*««» loo -'■ <~ we □ <*B« f > + niž?« J :/ *- • D *? * * ■ " 1 Sk. Q -. * » 0 M - nim7.i«B ■tat-aa ■ J0I0-4J» ■en ••■■ V M ■*«»»«"» g 5*K>tr«»ln«*On »nm Ma* Cctxn VMd»> VMM» | OVm M M BMtlB OCIm FMWSX) AVG_SIZE37|CHOr_ACl»* AVS SAUS7 1 **«"I**" k 733 1336 428 321 W 1033 435 696 130820 3675 983' 26S4 0 667' 147] 6423] 35921 3478 568 331 13839 862 205' 2135 58484 g£ « 0*«.Sr««V. 6503 ktirdfetoLaxW 175 .-» f«" C — e-* 1565 155.' •IS! 430 5« 504 810 114598' .-363 2949 5Se 1720 120822 1737 534 2» 2Í52 163353 41« «n uiť tu 711M SS*»««" 1149 »«cm » 4J^»>- ■ --------- •RM4f4D».. |n~*H|«| »|mJ Sto. | A4 5««»dJ B«o* Btoaj3SÄe»dl Opm *]----- Use the Options menu on the table window to add a field. lm.iniiijK\mjiamstim_SEts7\amrjc T sne*««*« C75B 1402 <■: 4557 jgaBM/ĚHĚHtĚĚK» Jlsl Hm* \ni>yuMti I«» <(cd d Sc« 0 1 * c«- I 0_JmJ StorľÄT S+aml\Hxma,mu ? a. a» «ŕ X tí. 4»4>0 »ŕ? « «* • O * I--------------J ' ■ i !£ a». iw|> - _J ůarrrq^suffM -• D "WW 7**»T. • '«*»»- • '•a*** L/se toe Options button in the table preview window to add a field. B3ESHHHMHMEJEL2I ||M* JMMOR.OASS X** |SW!f*^or d *im Atow IL v«m vea DttaulVtfUi DOf-wi 1 ■* c«- 1 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. - % Dala Management Toob • & Data Comparison • I f Database - j f Dscomected EdRng • I f Dstrtxjted Geodetabase • j ^ Dontans • I i Featire Class • I f Peebles - I »fieHs ŕ AddReU ŕ AssgnDefaJtToFleid B CaBiate End Date /• CataiateHeU ŕ DeieteFňekJ B Transpose Tme Fete F«wlt.|lndi|S—ch| H- Tools for working with fields can be found in the Fields toolset, located in the Data Management toolbox. 354 5 • Geographic Analysis 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 • * ľ""-" . -I 3 • - ň a Whao:iou«Mioierilot«ilajar? |jonaMxmlia»«Ut* 1 Onen ta fc* n na la^ t« ta on «I t» bm: or. 2 DnHiMBoiohlti o load ta laba «c» aat e Sfoata^tttfelebaitfaianritaal 3. OiooeBlaa*!f>taU6aiot»~tapno -3$ |cnty_f!Ps In the Join Data dialog box specify the table you want to join and the common field between the two tables. ^^J^^^rSS^^lSSl^^^TaSSS^r^S^PSSlTlmmSF - - « " Pawn 2 PcWon 3PoWn-«Power. '-PoW=-6P=W=n 'Pew». SPoWen 315*9517 S26S 93251 2005252»' 252702352* 22*2 76*59' 20S75S592 •08888019 6368 3101« 14573 25786 5320" JBajHon 1 FieaoN 2 HorSoa^i 3 Staate. «Warna.» S'lXa 6"lro*> - »a* 8 Uttmm la—-OITYJFayS I UmmMOJM>mSI\ l—i fBOPJlCMTI i -■ LejeiNaaterTtfaiV». fa»y ll Hi |chty_fips d Jon la» 1— d *j plTY.FřS zJ ■s _________i ŕ Cm*m | En»»—« | «HdeHo» [ .la si g>«. Jomt a lata «aw to a layer (of a UN* «aw m a labia «aw) bated on a iMrj The record» n lha mom layer or tabla «aw an matched to tha record m the jom tabla «aw based on tha jom »eld and tha Input Field whan tha «met art equal Tha joai it temporary (at it tha layer) and wJ only latt for tha duration IBM :esc :' ^Wiij rj±j 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. Relate is 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 Using ArcGIS Desktop a * h • f »4 • *r $ |i uiziit »Šš^TÍ? "3 at To access the related table, select a feature _____ (or features) in the layer's attribute table, select Related Tables from the Options menu, and click the name of the relate. M mdkMSkca-.- g SahafcWifeuM... B 5*0* *43>B XvnMP g««n CX«* Cüjx wUh tí Tfte corresponding records BBľJB are selected in the related f^^, rao/e—you can ge/ statistics, i—. summarize, or calculate values for those records. u*i\ sump 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). 358 5 • Geographic Analysis 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. 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. ,il..... ■ ■■ ■ a a* •» i« >— >—* *••» w ■»»■■ o* 3lJB« K. * ■ <••■' Selected features are highlighted on the map and in the table. Click Show Selected to view only the selected features. Drag the tool to select features intersecting a rectangle. 3SEE l». I* tm. fmn JUKS» toot Ortm oat * a . - -I 3 • - a -ID! »I ~3 J. *■•£> w er—,- it . a- a- .: [h~- Drag to select adjacent features. •ž ~3F°~3 » ' b A- *-^'j.- 360 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—will 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). D«a>M>ia ___ S*a F«w« M r» Saka B. G. «Ä, i»*>j«*ga> P"a*J«*c •» S (MEho axnjMna torn do fOi l> i-ma '■■— ummt, a CMpH* mil t» Co« a oaphcHI ľ 5*illi»wti»«É»li» iJ.it»bo.ag«*a;.| r I■»!!.■»■►«««baoraWail«»LJ«««■> .!■' Mk».*« [T~ mm. p l. .. 0 Ooo»*«co>.|»^-«li* ■Jln.nimb.Ju-.^lib. WanmlMttl n riMbm d acock • gM> fun f« matau lta«JCM> [55 C SmIm'Mio Jf L-Ä-^-i- •• las«» atn»* L/se Options on the Selection menu to change the search tolerance, highlight color, and other settings. 0 buMng. j« (3) Q part» jx*«an D pore* jx*Vgon D »teodjxJVgor 77je Selection tab at the bottom of the table of contents is another way of setting selectable layers. 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. ascsa JJJSJI CndlVue. *<*»|D«%|Sf-6cto»|fi»*|0*»m0g»Hl«»,^ ' wVlaalKlcncobapictalnSaKfcatOgk». ' atitaa-ed J. The Selection tab on the Layer Properties dialog box lets you specify a unique highlight symbol or color for an individual layer. 361 Using ArcGIS Desktop Selecting using feature geography Use the Select By Location option on the Selection menu in ArcMap to select features in one layer based on their geographic relationship to features in another layer (to select parcels containing public buildings, for example) Open the Select By Location dialog box from the Selection menu. The dialog box lets you specify the layer(s) to select from, the spatial operator, and the layer to use to create the selection. ■ BmS 3 ! S General j es Genwatoabon j S Jor* ■ 9 lovers arc Tai* Views ŕ Mete Feature ley» ŕ Mete Query lebte ŕ Mete Caster Cetebe Ley« f Meto Reiter Leyer ^MeteTableVkjw ŕ Meto «Event Layer ŕ Sev» To Ley» Ffc ,♦* See« Ley» By Attrtute ŕ Select ley» By locebon • 4^ Pioyxbons and Traraformeoons _-J F«CTtoi|lnde» I Search) The Select Layer By Location tool in ArcTooIbox (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 5 • Geographic Analysis 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 Held 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.... nv.......' ,']' "H.i '.n1...—y - «lliltn • G fceangija - C ....or from the Options menu on a layer's attribute table. iL :-■■■ i IWnelnjtSOn Bera** Ma« couan wears The dialog box lets you build a SOL 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). Ere» a WHERE deute ■> nan acock n t» tab» > **•*» |c»eu Angry» lor* - ft, EMract o*Oe ^Sekxt ŕ Table Select ■ & Overlay • tB ProioTrry • 9 Stetstes I % Cartography Too» • A) Conv»son Tor* • % Covtrage Too» • % Data Meruramr* Tor* • % GoxodflQ TOOB Favoaai Hrdě. I Search | 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. *l Í5S-------------------3 General - & Gererahebon • I rlncknes • I b Jörns - I f layers and Table views ŕ Mate Feature Lay» ŕ Mate Query Table ŕ Meto Rast« Catalog Lays ŕ Mate Rast« Ley« ŕ Mate Tat* view ,♦* Mate xy Event Lay» ŕ Save To Lay» Fie ? See« Lay» By Attnbute ,»* Select Lay» By locabon Projectors and Trarrsformatrons _•] fevrrtwllnrie. | Search | The Select Layer By Attribute tool is in the Layers and Table Views toolset in the Data Management toolbox. 363 Using ArcGIS Desktop 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. tkiag» ►■•< s—■*»" I«* a**» o i* o * % s-m *«*»»» _. % SMatrioacnv ■3 dt ♦••Q W - eaiana 21M l)«ojT»ran*aiJlMljwr irroattwcuTwfrrMMCtadreabrar Iwftt ha» tfa cyjta«fr Hittj ČMtBJ r D p«ta»j>*gon Qpattjalwnn T Oi* «10» atari*!«« n ta la For selecting by location or attributes, the Method is set using drop-down menus on the dialog box. 2ÍXÍ -----3 '"'-'I fc«ioamrti.».«u f"t] n—ulitám— in« mm PUfF.WSn----------------- ntamon»« r asp* • hilar tuthi ton < | h 1 SaUwaVaua. JGoIa I SELECT • raOM Pl*ic Bdon>bwbna_pan WHERE. 1 _, : | H* 1 LwL | 1 °- 1 1 « p ** | 364 5 • Geographic Analysis 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. t!,.V"V"''^ Right-click a layer 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 table's 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). XZE ~ibu| D « B • ■ * «• > •->-* fiěč 3 .j, f. * n v * * ■•' __» *r 3 • • a ______ 3 cv»«Duní** ff •■■{•SMMrMMi Bi«*»' ■ MM« f tax» >D O < CZ2- =5? *--" ■ =- *-n!^: "UPTU ■ / g A' *' ±' Z.' í 013 ptiWOÄN« On the Selection tab. right-click a layer containing selected features to work with the selected set. Saving the selection When you save your map, any current selections are also saved and are active when you reopen the map. If you want to save the current selection to add to other maps, right-click the layer in the table of contents and click Save As Layer File (all the features in the layer will be saved, but the current selection will be active when you add the layer file to another map). To save only the selected features as a separate layer on your map. use Create Layer From Selected Features. You can then save this new layer as a layer file for use in other maps. wmimĚmĚmmmmmmmmĚmmmmtm -^^^ ■TT" ■ ■■'»■i ■■■■■ľ ■■ D or B m »« > *> -- ' .101*1 ~3 ti *-*Q W Use Create Layer From Selected Features to save only the selected features as a new layer on your map. 366 5 • Geographic Analysis Exporting the selection Xo save the selected features as a new dataset. export them. Do this if you want to use the subset of features in other analyses or distribute the dataset to other GIS users. Use Export on the layer's attribute table to export only the attribute data for the selected features. Right-click a layer and use Export Data to save the selected features as a new dataset. Make sure the Export option is set to Selected features. 367 Using ArcGIS Desktop Other places the selected set is active The current selection is active throughout your ArcMap session, including when summarizing or calculating attribute values in a table, and when printing a map. Values can irnnrr-be calculated for selected features only. AREA PEMMETEH USE.CUSS AB.I 1 . AMI 1 — Colli Ewl 1 F.ll Ml 1 LoqI 1 — Sol 1 a Sol 1 2 Omnp St»*J*d Divjéet t no I FC J • EtPlMEIER 3 ScMf/MMUbk Pi W/?en summarizing values you have the option of using only selected features. Selected features are active in Layout View and will be highlighted when you print a map. 1 ! ,J-'H.l .TMUnUT »lit- (« )Ma la* »a» 1] :/ *.%Q W SÍBI a> [ÍT5T 10 QQDB • »I«-3 B B Ä TT^i------- Q^.|4^c.lS*^ ľ»—I- i« G j . ľ i>. ľ . F! ľ . F" ľ. p i A- \fm -~3F°1] ■ / ■ A' *• J.' J.' D» lISMa JBLSI i uŕ 368 5 • Geographie Analysis Extracting a portion of a dataset Extraction uses an existing dataset, or geometry you define, to extract a portion of another dataset. Data extraction is used to clip data to a study area boundary, split a dataset into map sheets, or extract an area of interest for further analysis, such as when running a model for a portion of your study area. A new dataset is created containing the extracted data-—the original dataset is not modified. Unlike data selection, which creates a temporary selected set, data extraction extracts data directly to a new dataset. Also unlike data selection, features are split or clipped where they are intersected by the geometry you're using for extraction. All of the data extraction tools are found within Arc Toolbox. Cropping feature datasets The Clip tool allows you to crop a dataset using the boundary of a polygon dataset. Features are split where they intersect the cropping boundary, and the portion outside is discarded. Clip is mainly used to crop datasets to a study area boundary for mapping or analysis. i-™- !— **v— *• :• > U i 4 * ■> ■ » p «UK 3 J_ A ■ r~—} ■ ■ a _• * a- a- ::[#=" | A/cToofax % 30 Analyjt TooS *£ AnarvssTooS - fc, Extract ŕ Select /■** ŕ Tables«« * & Overlay * & Prtnmty * $ Stabstxs % Cartography Took ft% Conversion Took ftp Coverage TooS ft} Data Management Toes ft} GeocorJng Toos :- The Clip tool, in the Extract toolset (Analysis toolbox), crops datasets to a dataset boundary—in this example, roads, streams, and lakes have been clipped by the study_area dataset. wDlai t7"3 3 U *%n «r . .(—] - aa : - nadi Cfcp Future! Outwit Future eleu |C Wtrrv« ^apfVaeaüfea^» Cfaiter ToUrmce (ccoonaO -a • E»*™«™. | Sro.Net>> "iFs-a ■ ' I A- *• i-i- «u>o«r>lMii_, ana.wioi.il 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. Erase, in the Overlay toolset (Analysis toolbox), removes features from the area inside the dataset boundary. 369 Using ArcGIS Desktop 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. The Split tool, 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. 6» V I D eM ě * --"■ . .(—D -HJ+rna« - % Spabal «natyst To* Condbonal Oensty Man ŕ Extra« by Attrtutes ŕ Extract by Odo ŕ Extract by Ms* ŕ Extract by Ports ŕ Extract by Porygcn ŕ Extract value» to Ports P GenerafaaOon___________zl fgOTgj "«*• | S*»ch; «JflJ»J |^«v«o- -. »I rt» ill Ylliw ■ «91323001X000 »•— Xlto— S397130O000C [~ RMttflOtt YMmun 49oieesoooox o» | Output rtfter ICXacaapiMptoirv^Miaa trtr««w »•. (OdboftaJ) btscc d Eiim—u | «»>*> "3K1 ■ / I A- »- .i-i- 77,e raster 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 5 • Geographic Analysis •flie 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 ,he relationship between vegetation and elevation for a certain elevation range. 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. MtfcaaaWrtai Go To a—XVÍUJE >29B«NO aw30vaiuc <300d J___I "* I ^ I. Ľ^J 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 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—if 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. Overlaying geographic datasets - ^Spabal Analyst Toe* - & Coraftcnal - &Oensty • & Ostane« - *$ E>tracttn ŕ Extract by Artrfcutes P Ertract by Cn* ŕ Extract b» M«* ŕ Extract by Pote ^ Extract by Polygon ŕ Extract by Rectanpje ŕ Extract Values to Pons a^ Saab Gener abanon Groundoater rtycfotojy 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 datasets attribute table. 5 • Geographic Analysis Overlay analysis merges two or more coincident or overlapping datasets to create a new dataset having the attributes 0f 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 Arc Toolbox, in the Overlay toolset (in the Analysis toolbox). DtfB« e « • ♦).«> Ú -J « * • -I 3 ■ - A i. i TBB • .0««-«t :; »BhOa '■ ■ SJnaajar*» « fl ■------—■ • Sf" * BCD* :« Is • I2U M *.* t> ' ■OMC ■ * ■Me BU> =. «= *••! MLß=Ji lArcToobox :3D Anary« Toe* AneryssTook • & Extract - i> :•■--!• ŕ Eras» 4>IdBr<«y ^SpaBdXxn S Symmetrica! Otffarance ,* Irton »»Uxtate * O Proomty --•; .- feerurt : „, |C Wo*» m«H*e«c*b..a»d_r*aMCt *e |*u ú Clustw Tolarmc (acttonan ň A ■: _E=íJ. When layers are overlaid—as with Intersect—a new layer is created. The features in the new layer have all the attributes of both original layers. 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. Parcels (the input layer) and a flood zone polygon (the overlay layer). DMM______„ The output of Intersect is only features—or portions of features-common to both the input and overlay layers. The output of Union contains the features of both the input and overlay layers—features are split where they overlap. Identity maintains the input features—features are split where overlapped by the overlay features. Symmetrical Difference is the inverse of intersect—it excludes features common to both input layers. 374 Intersect and Union can be used to overlay many layers at one time. 5 • Geographic Analysis • F=l -* a a a Iff- "VX " VŽJflS1 '^" 5 tv :: .■ — 0 n # • * • it * U ■■»M taM ~+l *J ♦I ♦1 Outtul fMtur. CU.I ±lX\ Stoff* S*»*< | ftoOi Pairf TUPŠÍMI Pan» -| Use Union to append fields from multiple layers—in this example, slope, soil types, and vegetation types—to find features meeting specific criteria. New polygons are created where input polygons overlap. 375 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. 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 that layer's weight value before being summed with the other layers). The Weighted Overlay tool lets you do this. / Map Algebra—among other things—lets you add layers representing different criteria. 5 • Geographic Analysis Weighted Overlay lets you assign relative importance to the various criteria. 377 Using ArcGlS 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. j ^ Overlay 1 (taaerCraabon I Mm • & Solar RadauDn I , ':-)■/>- I i Zonal ^ Zonal FÍ ^ Zonal Geometry ŕ Zonal Oomatry < /»HO ŕ Zonal aaMxs«Tabt« F«or*t» Und» I S-ch| 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. haMrmMM Bark« m ^aixl 1— d j*j |OWNtR_>«U« •A IfOJ KMoW» 0«. ata ae>- J * 0-W p6.C0M d OxOiubk fc\*n AaMfcgcaMal« ■Jmťfco. 13 •orat (1000 *l - i ErMoraara- | SroHeb» | OK | Cane* r,~« - r, , D - A » :"•: \T**~ "3PÓ-3 ■ / b A- - 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. STAn.UUH» [ ^m sen* «noooooo xni "jcoxtrv « ? 79000000 sn 5O00OX «63 ľJSXttOX 010 .WJAiui ' 5i a UlOÜUÜUÜ 5iai M'töÄC 56000000 šoooooo 279000000 ST2000000 COUNtV.LAWS ,C_m%m | «FlJWTWHWt jo I -i .hJJ- Ô >|"| 5to.|ir SaWata11 BtaMi PoJolUSatienol 378 5 • Geographic Analysis Measuring distances between features Finding distances is one of the most basic types of geographic analysis. ArcGlS 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. _________________________._______________________________________ mima nxaamn—. ..... 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. 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. ? . l«rcToobox S 30 Analyst Too» AiyrrtBToc« » & Extract • a Viator - § Pronmty ^Buffer ŕ Ovate Th«»s«n PoVgon— $ xjtc* Bngftuffa- ŕ Pont Distance • £ Statistics - ^ Cartography Took For each point in a layer. Near finds the nearest point (in the same or a separate layer) or line—in this example, the nearest street to each building. Input raaturet J |ar buajnajipBnl "3 a Near Features k~.-c ~3M 1 i-..- ~3 r Location lnwd T Angle (opoonal) | OX | Card | Emeonaemt | St—Hebi ■ »|H| «[AT Near adds two fields (NEAR^FID 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 ofthat 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. ^JLSJ 38* Be) 4 * ' ■■ ~3 -J. *.»o *• The Buffer tool (in the Proximity toolset) creates a boundary area at a given distance surrounding each feature. | ArcToobo* £ 30 Andy« Tools I %A>vJysS Tot* • & !««: I & Overlay - 4s Proxvnty g MJWeBng Buffer ŕ Near ŕ PoMDuUnce • *£ Stabsbcs ■% Cartography Tools t% Conversion Tools tj^ Coverage Tools (j) Data Management Tools I Ä Geocodng Toos F««*«|lnd».|S—ch| o» I* »» 1 • su* 4 a. -> . i >• ■»«- a* I > •> • ♦ f: . .J—J - "3 J *• • d *r .JDJjeJ Input Features \tr buaargi_porr J Output Feature ct«i Distance [value or hold] 8 Ummwt 300 |—. r"F*M d 1 J 1] sřJa_rIříJ2D£ona!l_ BtU n ajg fchiT—feath oott pö* Sh»Hap» | t A- »• ^- J." 380 5 • Geographie 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 field in the input dataset's attribute table containing the distance to buffer each feature. In this example, the BUFF_DIST field specifies the buffer distance, based on the type of building. y^jgaSl I i» 1 il'!WaMaMMMMa» -m t- 1— **— »■" ■"•- "• ■M The Dissolve Type option on the Buffer dialog box lets you erase overlapping boundaries when buffering multiple features. t» t» »- I D sum « * -BIJÚ >«•;•> |73S 3 u *. • □ «r —... .-n - - a • • J=Ti -- A- .: ri=T in » ' « A- »- J.- j.- The Multiple Ring Buffer tool lets you create buffers of multiple distances at one time. JBLSJ TJie 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. AreToobo» 3D Ana*« Tods Aruryas Toots E»fcect Overlay Praonsty ,»Duffer ŕ Port Distance • & Sutstxs S Cartography Tools Conversion Tools * t% Cover age Tools • % Data Management Tools - % Geocodng Tools i f avdei I Tri» 1 Search I )ŕ- ĎufcSnpijcvr Output Feature dass |C Wo^ao maprtbl4L>J*u». riv ■3JÜ -a *l ♦i *i Buffer Unelopoooal) [ÖefeA WHHW ■;;--, OŤMohe option (oobonaO _______L^ Canal | imeon—t» | Sho-Hafc» | I A- »-ai-U.- T"/ie resulting buffers are stored in a single layer— each feature (buffer) includes its distance as an attribute. 381 Using ArcGIS Desktop Linear features and areas can also be buffered using the Buffer or Multiple Ring Buffer tools. "3 U *-»a f -JfflJU I----------: »-,- k n- a- zrzr "HFT^ . / i A- »-^-J." 4 sef 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). 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. 382 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— vou 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. % Spatial AnaV«. Took" ' i Condbonal iMnfty »Man ^Cemdor f Co« Aleutian ŕ CoftBtckLi* ŕ CottCounce ŕ COB Path ŕ Euddean Akcatxn ŕ Euddoan ejection /■muměěm ŕ Path OWane« p Path Bmnce AfccaBon ŕ Path Dstar« Bac* Ur* I Extraction Fa»crt»['nde«|S.«ct.| 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. 383 Using ArcGIS Desktop 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). t% Spatial analyst Toob~ • &CcrdtJorW • Soensty • £ Dtstaxe I Extraction i Generababon l Groundwater • & rr,droloa> • I p interpolabon • I j Local • I »KapNgefa • & Math • I f Mubvanate • j É Nnghrxrhootj • I »Overlay • j » Paster Creation - I »Rad« a* lookup ŕ "«dass by »SCH He ^ RedjMby Tat* -i| favosa». 11"*» j Search | -iDJiEJ 14 5 a s 30 S O-». 1 . u— 1 ■ «■»Er«, [ ■ P----------1 r~ Change mn ung values ta NoOata (opeanal) OK | Cancel I :- A cost surface is required to create a cost distance surface—onen 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. °—f^T'----1 o—.- t ; a- a- • ts~ -3FT3 ■ -a.* «*' «e» j. ■araaun-». 384 5 • Geographic Analysis 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. pmrmmm^mm nxi Daurcato: Maxaua oatanca Output cat am T CaMtecavcaon T OaaU afceaoon Output taakr roads. surf ace d J*| 220008313 T r-c cis.-- *l A OK í Car^T"] wmsmrn^mt nxi Oauncata |foedt_ surface J *| Coatra«ter |cam30 J *| Maemm oatancs T Create caection T Cnalaakxabon 'jA Oiapuliaalac | <*l OK 1 Cane- [ The Straight Line option performs the same function as the Euclidean Distance tool. 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. x I ArcTooboj % 3D «narrst Tools I Converaon I Functional Surf ace ŕ Interpolate Shape ^uneOfaoM a» ŕ Surface Spot «A Surf ace Volume I Raster Interpolabon I Raster Math ^m\ _ . . , Length Original over length surface -In! »I The 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. 385 ArcGIS 9 Using ArcGIS Desktop ESRI • 380 New York Street • Redlands, CA 92373-8100 909-793-2853 • FAX 909-793-5953 • www.esri.com ISBN-13: 978-1-58948-167-1 S59.95 ISBN-10:1-58948-167-4 9 "7 8 1 5 8 9II48 1671" 55995 104124 RRD15M10/07hc Printed in the USA 9781589481671