If you are new to ArcGIS, or GIS in general, we will demonstrate and teach five fundamental GIS tasks: (1) how to build a geodatabase, (2) creating and using a map in ArcMap, (3) data editing and compilation with the ArcMap editor, (4) managing datasets and metadata in ArcCatalog, and (5) using geoprocessing to automate tasks and perform analysis.
00:01 Welcome, everyone. My name is Geri Pepe, and I'm an instructor for Esri at the Philadelphia regional office.
00:08 And my name is Robert LeClair. I'm also an instructor out of the Denver regional office...
00:12 ...and I'd like to welcome you guys to this first workshop.
00:15 Absolutely. So we're here to talk about the essential GIS workflows that we can follow when we start working with ArcGIS.
00:23 So this is an introduction. It's an introductory-level course.
00:29 So let's take a look at the agenda and what we're going to be doing for this hour and 15 minutes.
00:34 So we'll take a look at ArcGIS Desktop and particularly the main ArcGIS Desktop applications that we have available.
00:41 Then we'll talk about the geodatabase. We'll talk about why this geodatabase is so important.
00:47 And it's a data structure that we use that's native to ArcGIS, and we'll talk about the advantages of this geodatabase.
00:54 And then we'll take a look in a number of different tasks of this workflow that we are to follow...
00:59 ...whenever we start working with GIS.
01:01 So we'll take a look at how to build a geodatabase. We'll take a look at how to manage data inside of this geodatabase.
01:08 We'll take a look at how to edit this data.
01:10 So all of these different tasks that we're going to talk about, just think of them as a workflow.
01:15 So once you edit data, once you do all these changes and all these modifications to your data, then you can do analysis.
01:22 And then once you're done your analysis, you're actually ready to start creating a map output.
01:28 Does that sound good? So how many people are beginners? Okay. Almost all of you. Good. Alright.
01:37 Alright, so let's talk a little bit about ArcGIS. And how many people attended the plenary yesterday? All of you. Good.
01:44 So then you heard Jack say that ArcGIS, really it's a system.
01:49 So it's a system that's composed of a number of different components, and on one end, we have the ArcGIS Desktop.
01:55 So this is where we're going to be creating maps with this, we're going to be managing data, creating GIS output and GIS content.
02:03 Then we have a technology called ArcGIS Server with which you can take all of these maps, you can take all of this data...
02:11 ...and publish them online so that other people and other users can start using and consuming this data.
02:18 And then you can have a number of different clients to ArcGIS Server, such as a web client or a web browser...
02:23 ...such as perhaps a mobile device, just like Jack talked about yesterday.
02:28 Or we have a free application called ArcGIS Explorer.
02:31 So we have a number of different options that you can start using these services.
02:36 And then we have the cloud, which is really the Internet cloud in this case...
02:40 ...where all of these components are essentially sharing all of this data and all of this content.
02:50 So the two main desktop applications that we have, ArcMap and ArcCatalog.
02:57 So ArcMap is the main mapmaking application...
03:00 ...so here's where you're going to do all your mapping, all your editing, all your analysis, all the visualization.
03:07 And now, at ArcGIS 10, you can actually do data management inside of ArcMap.
03:13 So you can actually get access to that Catalog tree, and you can start creating new data...
03:19 ...managing your data, copying/pasting data, and so on.
03:24 And ArcCatalog now is preserved pretty much mostly for major data management functions.
03:31 Does that make sense? Okay.
03:35 Alright, now what is a geodatabase? It's the core ArcGIS Desktop data model that we can work with...
03:41 ...and there are a number of advantages of using this geodatabase.
03:47 One of them, it's a repository for a number of different types of geographic datasets, so it's a container.
03:54 It's this great container, and you can put many different things inside of this geodatabase.
03:59 So you can put simple feature classes, you can put raster data.
04:03 You can put some more complex datasets such as a topology, such as a geometric network.
04:10 And this is one of the other advantages of this geodatabase is the fact that you can create behavior...
04:18 ...and you can model real-world spatial relationships.
04:21 So an example of a topology is, let's say, you're working with parcels...
04:26 ...and you want to make sure that your parcels are adjacent to each other, that there are no gaps, that there are no overlaps.
04:32 So you can actually set up a rule with this geodatabase saying that parcels must not overlap or parcels must not have gaps.
04:40 Every time there is an overlap, every time there is a gap...
04:45 ...the software is going to discover the error, and you can go ahead and fix it.
04:48 So you can model these kinds of spatial relationships, because really, one of the biggest challenges organizations have...
04:54 ...is maintaining the accuracy and the integrity of data, and this is where this behavior is going to come from.
05:01 So you might have heard of shapefiles or coverages or, perhaps, CAD data.
05:05 You cannot set up this behavior on any of these other data structures, only on the geodatabase, and it's why it is so special.
05:13 And it is scalable.
05:14 There are a couple of different versions of a geodatabase, a couple of different implementations of a geodatabase.
05:19 So if you're starting small, you can actually start with this desktop-type geodatabases...
05:24 ...and as your organization and as your needs grow, you can kind of migrate to what we call an enterprise geodatabase.
05:31 And we'll take a look at these in a few seconds.
05:35 So we already mentioned that we can store simple feature classes inside of a geodatabase...
05:40 ...and what a feature class is, it's a collection of features that have the same geometry, so points, lines, and polygons...
05:48 ...and you can also store z- or m-measures.
05:53 So all of these datasets -- so let's say we have a reality. We have trees, we have highways, we have buildings...
05:59 ...so for all of these different entities, we actually have a feature class inside of this geodatabase.
06:05 So we're modeling the real world as accurately as possible.
06:10 And all of these feature classes, they have what we call spatial reference associated with them...
06:17 ...or coordinate system associated with them.
06:21 So this is one thing you can store in the geodatabase.
06:25 We can also store nonsimple feature classes in the geodatabase, so raster datasets, for example.
06:31 And again, one of the big advantages to the geodatabase is that container, or someone said earlier, like a trashcan.
06:36 You can store everything inside of it.
06:38 So you can store rasters.
06:39 So any type of satellite imagery that you have, any type of aerial photography, you can put it in the geodatabase.
06:45 You can store annotation, which is essentially a way for us to put text on a map that's much more efficient than labeling.
06:53 And Robert will mention that one.
06:55 Also geometric networks or some of the validation rules that I mentioned earlier.
07:00 And when it comes to geometric network, essentially...
07:02 ...this geometric network gives us the ability to model connectivity between features.
07:07 So we can use it for natural resource applications such as, let's say, modeling rivers or mapping rivers...
07:14 ...or mapping any type of utility from oil pipelines, gas pipelines, water/wastewater, and so on.
07:22 So you can manage this connectivity using this geometric network, so you can do...
07:27 Let's say you have water lines or water pipelines.
07:30 You can do upstream/downstream traces, you can find common ancestors.
07:35 So I'm getting dirty water, brown water, someone else is getting dirty water.
07:39 Where is this water coming from and where is the problem?
07:42 So you can do all different kinds of network type of analysis.
07:48 We also have something called a feature dataset inside of this geodatabase, so we can store stand-alone feature classes...
07:56 ...so simple feature classes, and we can have this feature dataset which is another subcontainer inside of a geodatabase...
08:05 ...and what you can do with this feature dataset is you can store spatially related feature classes.
08:12 What that means is that really, inside of a geodatabase, we mentioned that these feature classes have their own spatial reference...
08:20 ...they have their own coordinate system information, but it can be different for the stand-alone feature classes in the geodatabase.
08:28 But if you put feature classes in this feature dataset, they are guaranteed to have the same spatial reference.
08:38 So therefore, all of these things, so parcels, parcel corner, lot lines, and so on, they'll have the same coordinate system information...
08:45 ...and some of the higher behavior that we talked about, such as a topology, such as a geometric network...
08:51 ...or such as a transportation network, you create it at this feature dataset level...
08:55 ...because you want these feature classes to have the same coordinate system information.
09:01 You want them to be residing within the same geographic space.
09:06 So at this point, I'm going to turn it over to Robert for a demonstration...
09:09 ...and the way this is going to flow is we're going to do a few slides, introduce some concepts...
09:13 ...and then Robert will show us a demonstration to kind of confirm and reinforce these concepts. So, Robert?
09:19 Okay, thank you. Folks that are coming in in the back, if you want to, please come down.
09:23 We have plenty of seating up in the front or in the middle as well.
09:27 Okay. So... Yes?
09:29 [Audience question] [Inaudible] questions as you go, or wait for the end or...
09:32 That's a good question. If you could please hold your questions to the very end...
09:35 ...we're going to set 5 to 10 minutes aside for Q&A period.
09:38 So if there's any parts of the discussion, the demo that's not clear, we'll save it for that particular time.
09:45 Okay, so Geri was talking a little bit about the geodatabase.
09:49 And we're not really talking about different types of geodatabases particularly.
09:54 Rather, we're talking about how a geodatabase is formed and what's stored in here.
09:59 So if you look in the ArcCatalog here, and this is ArcCatalog at 10, we have what's termed the Oahu file geodatabase.
10:07 And this particular case, I know it's a file geodatabase 'cause it has a .gdb extension.
10:11 So this is one of the two [ArcGIS] Desktop databases that Esri has.
10:16 Inside of here, we have two feature datasets.
10:19 Currently I have a feature dataset called Basemap and another feature dataset called Transportation.
10:24 And we use these feature datasets to kind of store spatially related features.
10:30 So if we look into the Basemap feature dataset, we see that we have a number of feature classes.
10:35 I have buildings and cities and coastlines and hotels, et cetera, and this is all considered basemap data.
10:42 As Geri was mentioning, they're all spatially related and they're also in the same coordinate system.
10:48 The way I would know that is when I go into the properties of, say, the Basemap feature dataset...
10:53 ...I'm going to see several properties and several tabs here that I use for this.
10:57 And on the XY Coordinate System, it's telling me that I'm working with the state plane for Hawaii.
11:02 So all the feature classes that are existing inside this feature dataset have the same coordinate system.
11:08 And in our classes, we kind of equate this to a data onion, meaning the multiple layers of data in the same coordinate system.
11:15 And the reason we do this is for advanced functionality such as topology...
11:19 ...because you want to make sure that all your layers are in the same coordinate system.
11:23 And so the software does enforce that upon you if you do bring outside feature classes into the feature dataset here.
11:31 So if I go in and start doing some exploring here, I can come in and see that I have a number of feature classes.
11:37 Some are going to be simple, and some are going to be complex.
11:40 And so within this Basemap feature dataset, as I mentioned, I have a point feature class called Cities...
11:46 ...a line feature class called Coastlines; and then I also have several polygon feature classes, Oahu and Parks.
11:54 And so let's go and examine the Oahu feature class.
11:57 And so in ArcCatalog, you have a series of tabs here. You have the Contents, the Preview, and the Description.
12:04 The Contents tab allows me to look and see (A) what's in the contents of that feature dataset...
12:10 ...or, if I click on a simple feature class, I can get a thumbnail.
12:13 This is just a quick graphic image of what that data looks like.
12:18 By default, these are not created for you; you have to create the thumbnails if you wish to have them.
12:23 Now if I click on the Preview, this is a way for me to preview my geometry and also preview my attribute table.
12:30 And you also see that I have a series of tools that should look very similar to you in ArcMap.
12:34 We have a zoom in, zoom out, pan function, as well as full extent and identification.
12:39 So if I want to do some examination of the data, I can zoom in to this particular area and maybe look at it....
12:46 ...or I can do an identify on that feature, but I really can't do much mapping with this.
12:51 The reason for this is ArcCatalog is designed primarily for data exploration and data management.
12:57 So that's what I'm doing in this particular case here.
13:00 If I want to, I can go back to full extent of my dataset.
13:03 Now this is the preview of the geography.
13:06 If I go to the very bottom of ArcCatalog, I can also preview the table.
13:10 And so, when I click on this, you can see that I have one row in this attribute table for this polygon feature class.
13:18 So if I scroll across here, I can see that I have Name and State Name and some codes of FIPS and things like that...
13:24 ...and basically what is interesting about this is it kind of enforces the idea that we have a one-to-one cardinality.
13:31 So one row in the attribute table corresponds to one feature in that particular feature class here.
13:38 The last tab here is called our Description tab. Historically this was the Metadata tab.
13:43 And at 10, we've kind of changed the way metadata looks, and so we have a couple ways of working with this.
13:49 We have what's termed an item description, and you also have a much more detailed description.
13:55 So in this particular case here, this description, this metadata kind of gives us an idea of what the data's all about...
14:03 ...who we can credit for this data, what type of access and use requirements that we have for this...
14:08 ...and you can see there's a lot; get the lawyers involved here.
14:12 And then I can choose to come in and edit this as well.
14:15 So one nice thing about metadata is that if you want to put contact information in there...
14:21 ...who's the person to call to download this data or have them send it to me...
14:25 ...all this information would be available in the Description tab.
14:28 And so we always jokingly say your data's not complete unless your metadata's complete.
14:33 And so as part of your workflows, you start getting more into GIS, definitely incorporate metadata into your practice here.
14:41 Another thing I wish to show you guys is some of the nonsimple data here, and so for that, in this particular case...
14:49 ...nonsimple data refers to data that might participate in a topology or data that might participate inside of a geometric network.
14:58 So for that, what I'm going to do is go into another geodatabase here, and I'm going to go into...
15:04 Let's see. Actually there, I was supposed to be in this one here.
15:07 So I'm going to go into the sewer, Honolulu Sewer file geodatabase here.
15:11 You can see that you have a number of feature classes in here; we have points, lines, and polygons...
15:16 ...and all these different types of feature classes can participate inside of a geometric network.
15:23 Now, if I look at this, I have what's termed a sewer_net...
15:27 ...and this is going to be the icon for this advanced behavior that Geri was referring to.
15:32 And one thing I can do is I could right-click on this geometric network and look at the properties.
15:37 And what this tells me is that these are the feature classes that are currently stored inside of that feature dataset...
15:44 ...that are participating in this geometric network.
15:47 And geometric networks are something that all license levels can read...
15:51 ...but you do have to have an ArcEditor or ArcInfo license to create and edit geometric networks.
15:57 So these are typically one-way-flow networks.
15:59 So sanitary sewer, storm sewer, drinking water, things like that typically are what we use geometric networks for.
16:07 So we can use these networks to do a trace and figure out where water's flowing from a certain point to another point.
16:14 Or if I have a break in the water line, who's going to be affected downstream, et cetera.
16:20 So all this information can be stored and modeled inside of a geometric network.
16:25 And with that, I'm going to turn it back over to Geri.
16:31 Okay. Wonderful. So let's go ahead and let's take this a step further and kind of follow this workflow that I mentioned earlier.
16:39 So what we're going to do in this particular sets of slides, we'll take a look at how to build a geodatabase...
16:45 ...and then how to manage the data and the metadata inside of this geodatabase.
16:50 So this is probably the first step that you're going to undertake.
16:53 Obviously, you're going to need to have a dataset to work with.
16:57 So we also mentioned that there are a couple of different geodatabase options, a couple of different versions...
17:03 ...or a couple of different implementations of a geodatabase.
17:07 And we kind of distinguish them based on geodatabase at the [ArcGIS] Desktop level...
17:12 ...and what we call ArcSDE technology, which is part of ArcGIS Server now.
17:18 At the [ArcGIS] Desktop level, we can have the personal and the file geodatabase.
17:23 So what the personal geodatabase is, it's actually a Microsoft Access file, and it being a Microsoft Access file...
17:30 ...it only has 2 gigabytes of storage limitations, so it's kind of limited as to what you can store in there...
17:37 ...and it has some other limitations, especially when it comes to editing.
17:41 So if one person starts editing data, they lock the entire geodatabase; no one else can go in and edit anything else inside of it.
17:51 At version 9.2, we released the file geodatabase, which is a much better and much improved [ArcGIS] Desktop geodatabase.
18:00 And if you're working at the desktop level, we recommend that you guys use this file geodatabase.
18:05 So in this file geodatabase, you can store however much data you want in there, so it has no storage limitations.
18:14 Also it has some editing advantages, so you can actually...
18:17 Different people can edit different feature classes, so there's really no schema lock.
18:23 There's only a lock on the feature class that someone is editing.
18:27 Other people can edit other features, feature classes inside of this geodatabase.
18:33 And also, in terms of storing the data itself...
18:36 ...so storing the very same data in a personal geodatabase compared to the very same data in a file geodatabase...
18:43 ...the data in a file geodatabase, it's going to take up much less disk space; it's going to be much more efficient. Okay?
18:51 So we have these two types of [ArcGIS] Desktop geodatabases.
18:54 Then we have the ArcSDE technology geodatabases, and you guys remember I mentioned the geodatabase is scalable.
19:00 So you can actually start perhaps at the [ArcGIS] Desktop level...
19:03 ...and then you can very easily migrate to these SDE technology geodatabases, what we call the enterprise geodatabase.
19:12 So there, we can also have desktop, workgroup, or enterprise.
19:18 So it could be a bit confusing, but this desktop geodatabase, which is an ArcSDE technology geodatabase...
19:24 ...utilizes Microsoft SQL Server Express, and that's why we really kind of couple it with these ArcSDE technology geodatabases.
19:33 This desktop geodatabase comes out of the box with ArcView, ArcEditor, or ArcInfo...
19:40 ...which are the different levels of functionality in ArcGIS Desktop. Okay?
19:45 Now we also have the workgroup geodatabase, which also utilizes Microsoft SQL Server Express...
19:51 ...and then we have the enterprise geodatabase, which sits on top of your existing RDBMS...
19:57 ...such as Oracle, such as SQL Server, such as DB2, and so on and so on, and manages your data spatially.
20:03 But again, the thing to kind of note and remember is that you have all these different types of geodatabases...
20:09 ...but they're scalable; you can very easily migrate between these geodatabases.
20:16 Now how do we actually create a new geodatabase?
20:19 And it's going to depend on what type of geodatabase you're creating.
20:23 So if you're creating a file or a personal geodatabase, or if you are creating a desktop or a workgroup geodatabase...
20:30 ...you can go about it two ways.
20:31 You can either create them in ArcCatalog, and all you need to do is you can right-click in a particular directory in ArcCatalog...
20:40 ...and choose the option to create a new geodatabase -- a new file geodatabase, in this case...
20:45 ...or you can use it using the geoprocessing tools in ArcToolbox.
20:51 So ArcGIS also has a number of tools that come out of the box with it, so we call these tools geoprocessing tools.
20:59 So there's one particular tool called Create a, in this case, File GDB, file geodatabase.
21:06 So you can double-click on this tool and then enter the required parameter, enter the name of this geodatabase...
21:11 ...click OK, and then the tool will create a geodatabase.
21:15 So this is if you have a file or personal geodatabase and then if you have a desktop or a workgroup geodatabase.
21:21 And then for the enterprise geodatabase and also workgroup, you can actually create a new RDBMS...
21:27 ...and that's going to be your geodatabase...I'm sorry. New RDBMS database, and that's going to be your geodatabase.
21:36 So how do you actually add data to this geodatabase?
21:38 Once you create this geodatabase, it's an empty container, so there's nothing in it yet.
21:44 So there are a couple of different ways of how you can put data inside of this geodatabase.
21:48 So one of them is conversion tools, import or export.
21:53 So let's say some of you guys might be working with shapefiles or coverages or CAD data.
21:58 Let's say you want to learn how to migrate these over to a geodatabase.
22:02 You can use these conversion tools, and we'll take a look at them in a second. Robert will show them.
22:08 You can also copy and paste and drag and drop.
22:11 So let's say you have a personal geodatabase and you want to migrate data over to a file geodatabase or to a workgroup geodatabase.
22:19 You can just right-click on that feature class and copy it and then right-click over to the file geodatabase...
22:25 ...or wherever you want to migrate it to, and click Paste, or just simple drag and drop.
22:30 We also have something called ArcCatalog Simple Data Loader...
22:34 ...which essentially it's a little utility that we have to load features into an existing feature class.
22:42 So let's say you have this feature class, but every day someone goes out in the field with a GPS unit and collects more data...
22:48 ...and you kind of want to pretty much dump into this existing feature class, you can use this ArcCatalog Simple Data Loader.
22:56 We also have the XML Import/Export option.
23:00 So let's say you want to e-mail someone a geodatabase, so basically it's actually you can't really just e-mail them the geodatabase...
23:07 ...but what you could do is you can export it to XML, and it creates this one XML file.
23:13 You can e-mail that to someone, and then they can go ahead and import that XML file into a geodatabase.
23:19 So it's a good way to kind of share geodatabases with people.
23:25 We also have the Append geoprocessing tool, which, let's say, you have two different feature classes...
23:30 ...but you want to make them one feature class, so you can append them together using this geoprocessing tool.
23:36 And then we have a number of different data models that are on our resources website.
23:41 So these data models, basically a number of industry experts got together and kind of put together all of these models...
23:48 ...and they're composed of perhaps empty geodatabases, just the schema, and then it's up to you to populate it with your own data.
23:56 They could include templates, they could include maps, and so on.
24:00 So it's kind of a good way to, if you're just starting in brand new, to take a look at these data models...
24:06 ...and Robert will point them out to you.
24:10 Now, Robert also mentioned metadata, which really is an important concept because metadata is data about our data.
24:17 So where did this data come from? Who created it? How old is it? Is it okay for you to use this data?
24:24 And really, you should have descriptive information about your data.
24:28 Or let's say you download some data from the Internet.
24:30 You want to make sure that this data is current, and you want to make sure that you're authorized to use it, and so on...
24:35 ...and this is where metadata is going to come into play.
24:39 So with ArcGIS, all items have a brief item description, which Robert just mentioned earlier...
24:46 ...and you can optionally kind of create and start editing and manage this metadata.
24:52 Now, you have to choose a metadata style in ArcGIS.
24:56 And one thing to kind of note, if some of you have worked with prior versions, if you're starting to work with ArcGIS 10 now...
25:05 ...any existing metadata has to be upgraded to version 10 before it can be synchronized and before it can be edited.
25:13 And Robert will show you how to actually start editing this metadata. So back to Robert.
25:20 Thank you, Geri. I'm going to switch over here.
25:24 Okay. One thing I do wish to men-...
25:26 [Inaudible audience question]
25:29 Yes. Yeah, we'll go ahead and do that.
25:31 [Inaudible audience questions]
25:34 It's kind of too light. Yeah. I was wondering the same thing, quite honestly, so...
25:40 [Inaudible audience question]
25:42 We'll try to. We'll see.
25:43 [Audience comment] Thank you very much.
25:44 You're quite welcome.
25:51 Okay. While Geri's starting to work on the lights there...whoop, not more.
25:57 One thing I do want to mention, she had talked about the different types of geodatabases...
26:02 ...and basically, the way the story breaks down is that we do have two major types.
26:06 There's desktop geodatabases and geodatabases that use ArcSDE technology.
26:10 One thing in my classes that I always mention to my students is that how do you know what type you're working with.
26:16 And by default, if you go to Customize, ArcCatalog Options, the Hide file extensions check box is turned on.
26:25 And so when it's checked on, you'll just see Oahu; it won't say, you know, .gdb or .mdb.
26:30 So if you uncheck this, by doing so then you see this extension of .gdb and know that in fact it is a file geodatabase.
26:38 You see that .mdb, well, that would be a Microsoft Access personal geodatabase.
26:43 So the story I want to present to you this morning, we're kind of talking about the Oahu geodatabase...
26:48 ...and so we're going to kind of go on a little story here as far as how to work with our data.
26:52 But I want you to kind of envision about not necessarily being in San Diego; now we're on another island somewhere.
26:58 We're actually in Hawaii, and so we've got the sands, we got the nice ocean breezes, things like that.
27:03 You're not inside a convention center, and you're kind of trying to plan out how you want to do your visit to Oahu here.
27:10 So in doing so, of course you brought your laptop with you...
27:13 ...and you have ArcGIS and you're doing some ArcMap and some ArcCatalog.
27:16 I know everyone does this, right? Maybe not; I don't know if I would either.
27:22 But for the sake of the demo, we'll just pretend that we brought our laptop here.
27:25 So you've done your research already; you've got a file geodatabase, you've got some map data...
27:31 ...you've got some feature datasets with the basemap and the transportation...
27:35 ...but you also realize that you've got data in different sources, or different formats rather.
27:40 You have file geodatabase data, you've got legacy ArcInfo coverage data, and you also have a shapefile.
27:47 Well, part of data management is you want to bring all this data into that container, that Oahu file geodatabase.
27:54 And a lot of the tools in ArcGIS allow you to do it rather easily.
27:58 So the first thing that we want to do is to go and convert our legacy ArcInfo coverage, point feature class...
28:05 ...into a point feature class inside of the Basemap feature dataset.
28:11 So I always tell my students, when in doubt, right-click, because you're going to get something; you're going to get a context menu.
28:16 So in this particular case here, I'm going to go to the Hotels ArcInfo coverage...
28:20 ...right-click on Point, and that gives me a context menu.
28:24 And so in this particular case, I want to export this point feature class to a file geodatabase point feature class...
28:31 ...and so I'm going to just say To Geodatabase Single.
28:35 Now one thing you may notice while I'm doing this is I'm running a Catalog window inside of ArcMap.
28:41 So this is new functionality at 10 that you can have a Catalog window to do data management...
28:46 ...while still inside of the ArcMap application here. So this is very nice functionality.
28:52 So because I right-clicked on that particular ArcInfo coverage...
28:56 ...you can see that the Input Features has already been filled out for you pointing to that particular file here.
29:01 So I'll just come out a little bit, and we see Hotels and Point.
29:05 So for the output location, well, I want it to be in the Basemap feature dataset.
29:11 So this drag-and-drop functionality is also built into the tools as well.
29:15 I don't necessarily have to point to the folder here; I can just drag and drop the destination.
29:20 And then we name the output feature class. Well, in this case, I want to call it Hotels.
29:27 And then for the remainder of this information, you'll see optional fields.
29:30 This optional field allows you to screen out particular things that don't meet a criterion.
29:35 In my particular case, I want all the hotels to come across.
29:38 And then if we look at the field map, what this is...
29:41 ...is basically all the attribute fields that were in that legacy ArcInfo coverage format.
29:46 And quite honestly, some of these I really don't need. I don't want to bring them over into that point feature class.
29:51 So area. Well, I'm dealing with a point; I don't have area for points; somehow that's there. I'll just delete that.
29:57 Perimeter. Again, it's a point, and I'm going to do this deletion all the way down to that field called Arc Street.
30:05 Now all I have is Hotel, Address, City, State, ZIP, Major Chain.
30:09 And then I have this Polygon ID and Scale and Angle. I really don't need that; that's also from my coverage days as well.
30:16 I'll just delete those, and now I have a very simple attribute table for my point feature class...
30:22 ...that's going to be stored in that file geodatabase. I click OK.
30:26 And within 10, we have what's called background geoprocessing, which means that as this tool is functioning...
30:32 ...I can now be in ArcMap and I can be switching the data viewer to layout view...
30:36 ...doing whatever I want to do while that tool is running.
30:39 I get a little check box that says, "Congratulations. Your data is complete."
30:43 And now what I see in ArcMap is that data that's been brought over, and this is going to be all the point feature classes for hotels.
30:50 So this is one way that we can convert data using these context menus that Geri was referring to.
30:56 A second way is that I want to come in and create new empty data.
31:01 And so I'm still working inside of that Oahu file geodatabase, and I'm going to right-click on the Basemap feature dataset.
31:09 Now I get a slightly different context menu here because I right-clicked on something else.
31:14 So in this case, I'm going to say New, Feature Class...
31:17 ...and this starts up a wizard in which I can create a new empty feature class.
31:22 So in this particular case here, I want to bring in what's called points of interest, because on my visit to Oahu...
31:28 ...I want to go to some fine restaurants, maybe go catch the latest movie, go just basically have a good tour.
31:36 So I might want to do an alias field; this is not necessary if you don't wish to fill this out.
31:40 And then we're going to be bringing in point geometry, so I'll click and say Point Features.
31:45 The other items, the geometry properties of m- and z-values, m is going to be for measures...
31:50 ...so linear referencing, linear measuring on a line feature class....
31:54 ...and z has to do with the elevation, if you will; the x,y,z is what you hear that termed.
32:01 In this particular case, it's not appropriate; I'm just going to hit Next, and I'm going to go and hit Next to a couple of these...
32:08 ...until we get to this particular last dialog box here.
32:11 Now notice that, if you've ever created a feature class before, there's one screen missing, and that would be for the coordinate system.
32:18 Well, if you remember in the previous demo, we said that feature datasets have coordinate systems defined on that level.
32:24 So because I'm creating this feature class inside the feature dataset, it already knows what coordinate system it should be in...
32:30 ...so it skipped it.
32:32 So in the last part here, brings me right to the attribute table, and all I have is ObjectID and Shape.
32:38 Well, in this particular case, I know that the shapefile that I have, that's over here, pointsofinterest.shape...
32:44 ...has attributes already defined, and I want to bring that schema, meaning those attribute fields...
32:50 ...from the shapefile and have that same schema structure inside of that point feature class.
32:56 In order to do so, I could click on the Import button and then it will take me right to that Points of Interest.
33:02 So I'm saying pull the attribute fields from the shapefile...
33:06 ...and have the same attribute fields in the point feature class inside of that geodatabase.
33:11 And you notice that Name, Address, ZIP, Phone Number, Type, and Description have already been added for me.
33:17 I'm going to click on Finish, and it's going to create that points of interest feature class here.
33:23 Now again, if you look in ArcMap, it added this as a layer inside of ArcMap as well, but if I look at it...
33:29 ...if I open up the attribute table, there's nothing there.
33:31 It is new empty data that I can then use to populate other data into. So let's do that.
33:38 I've got this points of interest feature class here, and I want to basically load the data from the shapefile...
33:45 ...into this new existing feature class that happens to be empty in the Oahu file geodatabase.
33:51 Well, again, to do so, I right-click and I'm going to get a context menu for Load.
33:56 And this is going to be what's called the Simple Data Loader, and so we can use this to load simple data...
34:01 ...which means that that data has no advanced behavior on it.
34:05 It doesn't participate in topology, it does not participate in geometric network, it's not annotation.
34:12 It is just simple points, lines, polygons; that's it.
34:15 Well, because I'm bringing in a shapefile, that is simple data as well, so it meets that criterion.
34:21 I'm going to go and click on Next.
34:23 What do we want to bring in for the input?
34:25 Well, I want this points of interest shapefile, and then I have to click on Add.
34:30 And then from there, we have a couple other screens which allow me to kind of limit perhaps the type of data coming in.
34:35 In this case, I want all the data to come in.
34:38 And then we look at this field matchings.
34:40 So in our particular case, because I created this point feature class from the shapefile attribute fields as well, the fields match.
34:49 And so it's almost like Name = Name, Address = Address, et cetera, here...
34:53 ...so the software knows to bring in those corresponding attribute fields.
34:58 Click on Next. I'm going to say Load all the data, and then we get a summary.
35:03 And this is kind of telling us what is going to be brought in to this point feature class for the points of interest.
35:08 Click on Finish, and again, this is going to be background geoprocessing as well.
35:13 And I should see a little window that will pop in there. Maybe it's in fact going to already be there. Oh, there it is. Okay.
35:19 The colors are both green, so it doesn't really help out too much for symbolization.
35:23 So in this particular case, all the data from that points of interest shapefile...
35:27 ...have now been put into the Points of Interest feature class inside the Oahu file geodatabase.
35:33 So this is one of -- actually two of many different ways we can load data inside of our geodatabase.
35:40 One thing I do want to point out to you guys -- whoops -- is going to be the data models.
35:46 Now Geri had mentioned these as being skeletal frameworks of geodatabases, and they are broken down by industry.
35:53 So if you go to support.esri.com under the Downloads portion here, you're going see data models.
35:59 And when I click on that, this is where I can see all the different industry-standard data models...
36:05 ...that have been created by folks inside of Esri as well as our business partners.
36:10 And you can see that we have a series of them that range from a basemap and biodiversity to carbon footprint...
36:15 ...defense, groundwater; it really goes on and on and on.
36:19 And this is one way in which it can assist you to create very accurate geodatabases...
36:25 ...have the correct attribute fields and the correct behaviors for your data.
36:30 For our particular demo here, we're actually working with a basemap data model here.
36:35 And you can see there are a series of downloads.
36:37 You can download the schema, which is basically the skeletal framework of that geodatabase...
36:43 ...all participating feature datasets, et cetera, as well as the poster.
36:47 Now, for this demo, I have gone in and downloaded the poster, and what do you think? Pretty clear?
36:53 There's a lot going on here, so I'm going to zoom in a little tighter for you guys so you can see it.
36:58 And when I do so, we're only going to be able to see bits and pieces, but what this basemap data model is telling me...
37:04 ...that I can have different types of feature classes...
37:07 ...such as reference and transportation and administration, et cetera, participating in here.
37:13 And if I go over there, it kind of gives me visual representations of what it looks like, and then if I go to the feature classes...
37:19 Now, keep in mind these are in fact empty. ...but this would be a feature class for county boundaries.
37:25 Well, we know it's going to be a line feature class. It's going to have certain fields.
37:29 It will have a source field, it's going to be a double type of data type; can you allow nulls or not.
37:35 These can be rather advanced or rather simplistic as well.
37:38 So it kind of lays out your road map, if you will, on how to create your feature classes in these particular data models.
37:46 Now, you also as part of the download get the geodatabase as well.
37:50 And so I'll click on this, and in fact, I do have this downloaded over here into a folder called Topobasemap_schemalayerstyleonly.
38:00 Not the most simple terminology.
38:02 But inside of here, we've got this .mdb which is going to be a personal for Access geodatabase.
38:09 And if I click on here, we'll see that we have the very similar structure.
38:12 We have a series of feature datasets, and we have a series of nonspatial tables as well.
38:18 If I click on Administrative Feature Datasets, here are all those feature classes that in fact participate...
38:23 ...inside of that particular feature dataset here.
38:27 One last thing -- I wish to return back to Oahu, and then we'll go back to our presentation here...
38:33 ...is that one part that I almost failed to mention was that part of your data process is to go in and to update your metadata.
38:41 One thing at 10 is, again, working with the Catalog window, I can come in to Points of Interest...
38:47 ...right-click on Points of Interest, and go to Item Description.
38:51 Nice thing about this now, and keep in mind this is all being done inside of ArcMap rather...
38:56 ...is that I can come in and edit my metadata while still in an ArcMap session.
39:01 So to do so, I can click on Edit, and so we can see that we have a title, we have some searchable tags...
39:07 ...so I can say this is going to be points of interest. Maybe we have an abbreviation of POI, for example.
39:16 And then for the description, These points... You get to see my typing ability here, which is not so great.
39:22 "These points of interest represent data for Waikiki Beach, Hawaii."
39:31 And then for credits, we have to credit the city and county of Honolulu. Boy, if I could type, it'd be wonderful.
39:41 There we go. And I hit Save, and now that data, my metadata, has been updated inside of Item Description inside of ArcMap.
39:51 So with that, I'd like to turn it back over to Geri, and we'll continue.
39:56 Thank you, Robert.
39:59 Alright, so now that we have learned how to create a new geodatabase, how to populate this new geodatabase...
40:06 ...how to bring data inside of the geodatabase and how to edit the metadata...
40:10 ...let's kind of take a look at the next step in this workflow and particularly data compilation and editing.
40:17 And when it comes to editing, just think of it as we're modeling real-world features with ArcGIS...
40:23 ...and there's new schools that are being built, there're new roads that are being built, there are new subdivisions that are being built.
40:29 We have to have a way to actually make these changes in our existing database...
40:35 ...and this is where editing is going to come into play.
40:38 So when we do editing in ArcGIS, we kind of follow this editing workflow.
40:43 So the very first thing we're going to need to do is select the workspace and the data that we'd like to edit.
40:51 Next thing we need to do is we need to manually start what we call an edit session, and you'll see that in a second.
40:59 Afterwards, we set the snapping environment, and what snapping is, it's going to make sure...
41:03 ...it's going to make sure that we essentially have connectivity between features.
41:08 So let's say you have a street and you're digitizing, you're creating a new street.
41:12 You want to make sure that these two are connected, that they snap to each other...
41:15 ...so that if you are doing any kind of transportation modeling, there actually is connectivity that exists there.
41:21 And this is where snapping is going to come into play.
41:23 Or let's say you want to build adjacent parcels.
41:26 You want to be able to use the snapping environment to make sure that there are no gaps.
41:32 So once we set the snapping environment, we choose a feature template, and this is something new in ArcGIS 10.
41:39 And we've kind of moved to this layer-based editing, which makes things much more simpler, and we'll see that in a second.
41:47 So we pick a construction tool; there are a number of construction tools that are available to us.
41:52 We essentially create a new feature, whether it's a point, line, or polygon, or perhaps annotation, and so on.
42:00 Once you create this new feature, you have to also add attributes to this feature.
42:05 So by default, ArcGIS doesn't really populate all the attributes that you have.
42:10 It's going to be up to you to update this descriptive information about this new feature that you just created.
42:16 And then afterwards, you simply save your edits and stop editing.
42:22 Now when it comes to editing in ArcGIS Desktop, I mentioned that we're working with...
42:27 ...feature template editing at version 10, which essentially it's a layer-based editing.
42:31 So you have this nice Create Features window, you can pick the template that you want to edit with the proper symbology...
42:38 ...so buildings, hotels, coastline, and so on, and you can start digitizing.
42:43 We do have very efficient feature construction, so we have a couple of different toolbars to help us with that.
42:50 So Editor toolbar, for one, and also some of the same tools are available as we're digitizing features.
42:57 This little toolbar is going to come up and you can pick a number of these different tools...
43:01 ...which Robert will show you a couple of them in just a second.
43:05 I also mentioned snapping. We need to make sure that we have turned the snapping environment on...
43:11 ...we have set the snapping properties so that there is connectivity between our features.
43:16 And this whole workflow -- I don't know if some of you have used the prior versions...
43:21 ...but it really has been much improved in this new version 10.
43:28 Now I also mentioned that, let's say you've just created a new feature, you've just created perhaps a new park or a new street...
43:35 ...and next thing you need to do is you need to enter attributes for this new feature.
43:41 So when you create a feature, when you digitize a feature, by default ArcGIS is automatically...
43:48 ...as long as you're working with geodatabases, it's automatically going to populate the ID field...
43:54 ...what we call the ObjectID field.
43:57 So if you're working with points, ArcGIS will populate this ObjectID field.
44:02 If you're working with lines, with line geometry, ArcGIS will create the ObjectID and then the Shape Length field...
44:09 ...which specifies the length of this particular line segment that you've created.
44:15 And then if you have polygons, you'll get all three -- ObjectID, Shape Length, and then Shape Area.
44:21 And it is going be up to you to populate the rest of these fields such as Park Name, Park ID if you'd like...
44:29 ...if you have a separate ID, and so on and so on.
44:31 So it's going to be up to you to enter these attributes.
44:35 And you can copy and paste between attributes, and you can also, with these feature templates...
44:41 ...set some defaults for these what we call user-defined fields or user-defined attributes...
44:47 ...that they will automatically be populated for you for all your features that you create.
44:55 We can also now edit with geoprocessing...
44:58 ...and we have a number of new geoprocessing tools that are available to us for editing.
45:04 These geoprocessing tools, they're tied to a particular edit session, so remember when we start editing...
45:10 ...we literally have to click the Start Edit Session button, and they're tied for that particular edit session.
45:16 And with these geoprocessing tools, there's no new output that gets created...
45:21 ...so what you're doing is you're either setting snapping or you're deleting a point, extending a line.
45:26 There are a couple of tools that are out there, but there's really no new data that gets created; they're simply designed for editing.
45:36 And we also talked about topology a little bit earlier...
45:39 ...which is a great way for us to maintain the spatial relationships between our features and to find errors in our data.
45:46 So we can edit with topology to be able to discover these errors.
45:51 So in this case, we have our Oahu topology, and let's say we have said that all of these hotels, they have to reside...
45:59 ...or they have to be properly inside, they have to be properly inside the Oahu boundary.
46:05 So for some reason, there are three hotels that happen to be out in the water, so what you can do with this geodatabase topology...
46:13 ...even if sometimes visually you cannot easily discover these errors, but you can validate to discover these errors.
46:19 And then we have this Error Inspector tool that will give you the ability to look at all of these errors...
46:26 ...then you can pick an error, you can right-click, you can choose the option to fix this error.
46:30 And there are a number of different fixes that you can apply depending on what kind of geometry you are working with...
46:36 ...points, lines, and polygons.
46:38 And really, this topology is a great way, like I mentioned earlier, to maintain the accuracy and the integrity of our data.
46:46 I was teaching in New York a couple of months ago, and I had a student from the New York City Fire Department...
46:51 ...and he said they end up getting data from the local DEP...
46:55 ...and they end up having fire hydrants in the middle of the Hudson River.
46:58 So you cannot have that kind of behaviors, a fire hydrant in the middle of a river...
47:02 ...and that's where this topology is going to come into play...
47:04 ...where you actually can start setting these rules on your data to discover these spatial errors.
47:11 So let's go ahead and I'll shift it back to Robert for a demonstration.
47:15 Alright, thank you. Fire hydrants in the Hudson and hotels in the water; we have some problem here.
47:21 Okay, so we're back in Oahu. We've got a basemap showing building footprints.
47:26 And so a part of my research as we've been kind of working through here has been to convert data...
47:33 ...from an ArcInfo legacy coverage, also from a shapefile as well, and bring that into the file geodatabase.
47:39 Now one thing I want to do as part of my vacation is to make sure that my data is in fact correct, spatially accurate here.
47:46 So I happened to create a topology, and I did this inside of ArcCatalog...
47:51 ...or I could have done it inside of the Catalog window as well.
47:54 And I had the Topology toolbar turned on. Right now it's all grayed out.
47:57 And the reason for this is I have to be inside of an edit session in order to work geodatabase topology.
48:03 So what I want to do is come in and I'm going to start an edit session, and it kind of asks me the question...
48:08 ...Which type of data do you wish to work with? In this case, I have shapefiles and also the file geodatabase.
48:14 I'll click on the file geodatabase, and we'll begin our editing.
48:17 So one thing that we see immediately that popped in front of us is that we have this Create Features dialog box.
48:23 Mine, in this particular case, is pinned to my screen here.
48:26 You can choose to do an autohide and bring this back and forth if you wish. I'm just going to pin it on here.
48:32 What we have inside of here is a series of feature templates for buildings, for parks, for points of interest.
48:39 But what I first want to do is go in and use my topology to locate errors.
48:44 So as soon as I got into that edit session, we see that topology is now active.
48:48 We have a series of tools that are available to me and which I can use to discover my errors.
48:53 One way I can do this is with what's called the Error Inspector, and when I click on that, it's a little screen that pops up...
49:00 ...and allows me to search for errors based upon rules that I set when I defined my geodatabase topology.
49:07 So right now, I'm going to click on Search Now and Visible Extent Only...
49:12 ...and now I have discovered that, in fact, I do have an error that violates a rule of Must Be Properly Inside.
49:19 And so what we're saying with that particular rule is that the hotel point feature class must be inside of the Oahu polygon...
49:26 ...and that Oahu polygon represents the island.
49:29 So if I'm looking at this, I'm like, well, is it really a problem or not, and I'll zoom in pretty tight...
49:35 ...and you notice that yes, in fact, that point for that hotel is in fact in the ocean.
49:41 It's pretty darn close to where it should be, but it does fall outside of that polygon there, so that is in fact an error.
49:48 So I have a couple ways in which I can choose to correct this error.
49:52 If I want to, I can right-click on this particular error here, and there's going to be a series of common fixes.
49:58 The only one I have right now is to delete it.
50:00 Well, I really don't want to delete that hotel because in fact that hotel is located on Oahu.
50:06 What I could do, rather, is grab my Edit tool -- gesundheit! -- is to go in and double-click on that field and make it active.
50:12 And what I can do at that particular point here is go into sketch properties.
50:16 And the sketch properties are going to be the x,y location for that particular point in that point feature class.
50:22 So in fact I went out and GPS'd the hotel location earlier that morning when I was walking by with my coffee...
50:28 ...and said, oh, in fact I have x,y coordinates here. I really don't do this.
50:35 I'm going to type in new coordinates here of 558961.232...
50:42 ...and then I'm also going to type in a new y-coordinate here, say 40213.281...
50:48 ...click OK, and then I'm going to close those sketch properties there, and I'm just going to uncheck it, or unselect it rather.
50:56 So I think that my point has moved, but now I want the geodatabase topology to verify that in fact that error is gone.
51:04 So now that I've done some type of edit, I have to validate this topology again, and by validating...
51:09 ...it means run against my rules, my ranks, and my cluster tolerance for that geodatabase topology.
51:15 So I'm going to just click on this Validate and Current Extent, and then, using the Error Inspector...
51:19 ...click on Search Now, and I have zero errors.
51:23 So now I've made that edit, I know that my hotel feature class is spatially accurate...
51:28 ...I'm going to dismiss this Error Inspector to get this real estate back.
51:32 So now I know my data's correct. Another thing I want to do is I want to work with restaurant data here.
51:38 So if I open up the restaurant attribute table, I can see that I have some restaurants in here, but I want to have more.
51:45 And so in this particular case, I've got restaurants with the Points of Interest feature class.
51:50 If I open up that attribute table, I can probably look through here and I don't really have any restaurants...
51:56 ...so I can come over to the very right of that and see I've major attractions, shopping centers, shows, theaters, but no restaurants.
52:03 So while I'm in an edit session, what I'm going to do is use a series of copy and paste techniques...
52:08 ...to copy the information from the Restaurants point feature class and push it into Points of Interest feature class.
52:15 To do so, I right-click on Restaurants here, and I'm going to go to Selection and Select All.
52:21 So what this does is selects all the restaurants in that point feature class...
52:25 ...and if I go up to my Standard toolbar, I'm going to go and click on Copy.
52:30 And so I want to copy the restaurants from the Restaurants point feature class and paste it to the Points of Interest feature class.
52:38 So by doing so, I click on Paste, and we get the Paste dialog box and says, Which target would you like that to go to?
52:44 Well, you can only do like-minded data, so it has to go to a point feature class since it came from a point feature class...
52:51 ...and so I'm going to say push that into the Points of Interest feature class, and click OK.
52:56 And then by doing so, when I uncheck Restaurants and unselect everything, that now I have a series of knives and forks to say yes...
53:04 ...those restaurants were copy and pasted now into the Points of Interest feature class there.
53:09 Now as I'm going through Oahu, I discover that the city has also built a new restaurant here...
53:14 ...and so I'm going to use a bookmark and go to the Restaurant bookmark.
53:18 And at the corner of Cleghorn and Kapili, I realize that there's a new restaurant here...
53:22 ...and so I'm going to use this feature template and this layer-based editing to create it.
53:27 So two ways in which in fact I could do it; I can come in and click on the Restaurant feature template...
53:32 ...and I have a series of construction tools that become active, either Points or Point At End Of Line...
53:37 ...or another thing I can do is just grab the Restaurant feature class, bring it over here, and just place it in that building...
53:45 ...and now I've created that restaurant on that building at that intersection.
53:49 Last part for this is that I need to go in and update the attributes for this particular new point...
53:54 ...so I'm going to click on Attributes here.
53:56 And notice that the attributes is now also...has superseded the feature templates for Create Features.
54:02 Well, in fact, it's in the same dialog box area -- I have to create features and attributes, it's all right here...
54:09 ...and so I'm going to go in and type some new attributes, and we're going to call it Robert's Crab Shack.
54:13 I think it has a great ring to it myself.
54:16 And then for the address, we're going to say 2450 Cleghorn.
54:21 We're going to do a ZIP with just 00001, and then for the phone number, we'll do 808-555-1212...
54:29 ...and then hit Enter, and the attributes for that new feature class now have been added.
54:34 And I can do an identify on there, and see that yes, Robert's Crab Shack is in fact there.
54:38 So I would be done with my editing at this point, and so the next part of my workflow is to come in and say...
54:44 ...Editor, Stop Editing and choose to save my edits.
54:47 And in this case, I really don't want to do that, but I'm just going to say no, and we'll go back to that.
54:53 So with that, I'm going to turn it back over to Geri, and we'll continue on.
54:59 Wonderful. Thank you, Robert.
55:01 Alright, so now that we have learned how to create a geodatabase, we've populated it, we've learned how to do some editing...
55:08 ...the next thing we'll take a look at is how to do geoprocessing and how to actually do analysis.
55:14 So just think of this as a workflow that you would follow.
55:18 So when it comes to geoprocessing, what exactly is geoprocessing?
55:22 So every time you take raw data or any data and you perform some function on this data...
55:29 ...you perform some action on this data to modify this data, that really is geoprocessing.
55:35 So every time you run a tool from ArcToolbox, that's an example of geoprocessing.
55:41 So here are some other examples. Querying data; that's geoprocessing. Performing analysis, editing...
55:47 ...reprojecting data, converting data. So all of these are geoprocessing functions.
55:51 And what we've done here in the graphic is let's say the one above has certain shape...
55:57 ...and let's say we have applied a projection to this data or perhaps we have changed the projection to this data.
56:02 We're doing geoprocessing; we're modifying something.
56:08 So there are a number of different ways of how we can do geoprocessing in ArcGIS...
56:12 ...and this is what we call the geoprocessing framework.
56:16 So one of these ways, or one of the ways to access this geoprocessing framework, is using ArcToolbox.
56:23 So ArcToolbox is a collection of all the tools that we have available, so they're all grouped into a number of different toolsets.
56:30 So you double-click on a tool, you input the required parameters, click OK, and then the tool runs.
56:35 And Robert actually showed us how to run a couple of tools.
56:39 Another way to access the geoprocessing framework is this environment called ModelBuilder...
56:45 ...which is a great way to automate our workflow.
56:48 It gives us the ability to build models, to start chaining tools and data together to create this model...
56:54 ...and you can keep reusing this model over and over and over again.
56:58 So we'll take a look at that.
57:01 Also another way to do geoprocessing is using scripts...
57:04 ...and we started supporting or incorporating Python quite a few versions ago...
57:12 ...but now with the new ArcGIS 10 version, we've really, really incorporated Python.
57:17 We've made it very easier to start using Python as part of this geoprocessing framework.
57:23 And of course, ArcObjects. And ArcObjects is kind of the library of components that ArcGIS is built upon...
57:30 ...so if you're a developer, you can really automate anything with code.
57:36 So there are a couple of different ways of how we can perform these geoprocessing operations.
57:41 So one of them is we have this Geoprocessing drop-down menu from within ArcMap, and this is again new at version 10.
57:49 So in this Geoprocessing menu, you have a number of tools that are kind of commonly used...
57:55 ...such as Buffer, such as Intersect, and so on, and you have quite a few other options available on there.
58:01 We also have a Results window, which simply gives you the ability...
58:06 ...gives us the ability to take a look at the results of these geoprocessing tools.
58:11 So let's say we've run a tool and we'd like to take a look at what were the inputs or what were the outputs...
58:17 ...what were the environments, what are some of the messages associated with this tool.
58:21 And sometimes, very often -- we all do it.
58:23 We've tried things with ArcGIS, and you're trying, you know, 5, 10 different tools, and you kind of want to go back and check...
58:28 ...well, what did I just run? What did this tool do? This Results window is one way to kind of backtrack and see things.
58:37 We also can set environment settings, which let's say you're working in an ArcMap document...
58:43 ...and you'd like all the data that you create to go to a particular workspace...
58:47 ...to go to a particular folder, to go to a particular geodatabase.
58:51 Let's say you want all the data that you create to have a particular coordinate system associated with it...
58:57 ...or particular extent associated with it.
58:59 So we can set these up in environment settings...
59:03 ...and these environment settings will persist for any tools that you run inside of this ArcMap document.
59:11 And we have a number of different geoprocessing options that you can specify.
59:15 Let's say, do you want add data automatically to a table of contents, or let's say how long do you want to keep these results...
59:23 ...the results of running geoprocessing tools, you can have the option to overwrite the results of geoprocessing operations.
59:30 So let's say you're running a tool, you're trying different things, running it over and over again...
59:35 ...do you want to overwrite existing output, or do you not?
59:38 So we have quite a few different options of how to manipulate this geoprocessing framework.
59:45 Alright, so let's take a look at a couple of these options in the geoprocessing framework...
59:49 ...and one of them we mentioned already is ArcToolbox. It's all the tools that we have available to us.
59:55 We double-click on a tool, we input the required parameters, and then we click OK and the tool runs.
1:00:01 Anything or anywhere that you see a green dot on the tool interface, this means that it's mandatory input.
1:00:08 Anything that there's no green dot, this means that it's optional; you don't need to input information in there.
1:00:17 Now we've also implemented this nice Search window, which if you guys remember, it was shown in the plenary.
1:00:22 And you can search for a number of different things.
1:00:25 One thing you can search for is tools.
1:00:28 So let's say you'd like to find the Feature Class To Feature Class tool if you'd like to convert from a shapefile to a geodatabase...
1:00:35 ...but you're really not sure where this Feature Class To Feature Class tool is located.
1:00:39 You can come to the Search window, type up Feature Class, and you'll take...
1:00:44 ...and you'll be able to find all the tools that have this Feature Class name in them.
1:00:49 But you can not only search for tools, you can search for maps, you can search for data, and so on and so on...
1:00:54 ...so it's a really nice interface that we have implemented.
1:01:00 We also mentioned ModelBuilder, which simply gives us the ability to automate our workflow...
1:01:05 ...and really, it's a great environment to use because it gives us the ability to build a model...
1:01:11 ...to bring some data in, bring some tools, and put everything together.
1:01:15 So let's say every morning you come in the office, and it's a set of repetitive steps that you have to do.
1:01:23 You get some GPS data, you have to format it, perhaps you have to clip it, you have to project it...
1:01:27 ...so there are a number of different things that you're doing.
1:01:29 So rather than running these tools one at a time, one at a time, one at a time, what you could do is you can build a model...
1:01:37 ...and you can actually keep reusing this model over and over and over again for different sets of data.
1:01:42 And it's really, really nice; nice way to automate our workflow.
1:01:46 And also, it kind of gives us a nice graphical visualization and documentation of what tools are we running exactly.
1:01:54 And the other advantage of using this ModelBuilder environment is it gives us the ability...
1:01:59 ...to change the parameters on some of these tools and run this model again, over and over again.
1:02:06 So it's really a great interface, which we'll take a look at in just a second.
1:02:12 We also mentioned scripts.
1:02:14 We have implemented the new Python window that now is part of ArcGIS, and you can start doing scripting.
1:02:23 So ArcPy is a native Python site package that we can work with.
1:02:27 And if you've never done scripting, don't really get intimidated by it.
1:02:31 We have this nice IntelliSense that now it's going to lead you and show you...
1:02:35 ...what you are about to enter, what you should be entering.
1:02:38 It's going to show you, obviously, if you've made a mistake somewhere.
1:02:42 If you're completely new to scripting, probably one good way to start is start with ModelBuilder.
1:02:48 You can actually export the model to a script, and now that you'll be able to see, well, how is this script put together...
1:02:55 ...what are all of these parameters, and what do all of these things mean.
1:03:00 So back over to Robert.
1:03:02 Alright, thank you, Geri.
1:03:04 Okay, so far in our workflow, we've kind of looked at data; we've created some new empty feature classes...
1:03:09 ...we've loaded data into other existing feature classes.
1:03:13 Now we're going to start doing some geoprocessing here. So we're still working with the Oahu file geodatabase.
1:03:19 And now what I want to do is start to maybe potentially live here on Oahu...
1:03:24 ...and I'm going to have to form a new business, and so I've started working with the different hotels.
1:03:28 And the hotels are very interested in points of interest within a quarter mile of the hotel...
1:03:33 ...because they know that their folks that stay at the hotel will walk about a quarter mile...
1:03:38 ...and they're interested in going to restaurants or maybe movie theaters, other points of interest here.
1:03:42 So having brought my laptop on vacation, I could provide consulting services here.
1:03:48 So what I'm going to do is, we're going to be working with a hotel, and so I'm going to use a series of tools to select the hotel...
1:03:56 ...it's going to be the Hotel Miramar, and so I'm going to come in and type Selection, Select by Attributes.
1:04:01 And this is going to be a dialog box which allows me to go and select...
1:04:05 ...individual or multiple features based upon the attribute table.
1:04:09 So to do so, I change my layer and click on Hotels, and when I do that...
1:04:13 ...the fields in this particular GUI update for the fields in the Hotel feature class.
1:04:19 I'm going to double-click on Hotel and start creating a SQL query that's going to be forming at the very bottom here.
1:04:25 So I just double-clicked on Hotel, and we say equals. And so what I could do is come in and type Miramar Waikiki...
1:04:33 ...but you've kind of seen my typing ability so far, so rather than doing that, I'm going to come in and click on Get Unique Values.
1:04:40 And we can see that we have a series of hotels here -- Holiday Inn, Hyatt, et cetera --
1:04:45 ...and a lot of them, I could easily go through and pick one...
1:04:48 ...or if I want to, I could just type in M-i-r, and there's the Miramar at Waikiki, and that is in fact the hotel that I'm looking for.
1:04:56 So I'll double-click on this particular hotel, and now I have a SQL query, hotel = Miramar at Waikiki.
1:05:03 Good thing to do when you're doing these SQL queries is click on Verify...
1:05:06 ...and in this particular case, my SQL syntax is correct, so I'm going to go and apply that SQL query.
1:05:13 And now we see in the middle here that that point, that hotel, has been selected.
1:05:18 So that's the first step.
1:05:19 The second step is now I want to buffer that hotel by a quarter mile, and I'm going to use the geoprocessing framework to do that.
1:05:25 So I don't know where that tool is located, so I'm going to use the search functionality to find that tool.
1:05:30 And I'm going to type in Buffer and hit Enter.
1:05:33 When I do so, every single tool or toolbox that has a buffer word in it is identified.
1:05:40 So we have an analysis tool called Buffer. If I hover over the hyperlink, it gives me a description about it.
1:05:46 I also have multiple ring buffers and some other ones as well.
1:05:49 If I click on the first hyperlink, this will bring me directly to that tool and I can start using it...
1:05:54 ...but for my interest, I want to know where's that tool located.
1:05:58 So if I click on this third hyperlink, Toolboxes, what that's going to do is in the Catalog window, which I need to pull up right here...
1:06:05 ...we can see that in fact the Buffer tool is located in the Analysis toolbox under the Proximity toolset...
1:06:12 ...and I can come in now and double-click on that Buffer tool.
1:06:15 So we'll do that, and that brings up the interface here.
1:06:19 So remember I'm working inside of ArcMap, so I do have the drop-down functionality here...
1:06:24 ...so I'm going to say I want to buffer that selected hotel.
1:06:27 So I click on the drop-down for hotels, and then I define the output feature class.
1:06:33 Well, in this particular case, it's going to be called Hotel Buffer, and then I want to go a quarter mile...
1:06:40 ...so I'm going to type in 0.25 and change my units of measures from feet to miles.
1:06:45 The rest of the information, I'll just let it default out, and then I'll click OK.
1:06:49 So again we have background geoprocessing working right now, and we can see the terms Buffer, Buffer, Buffer going there...
1:06:56 ...and I've got a...ooh. That's not good. I got a red X. Okay. So let's run this tool again here, and we have a problem.
1:07:03 So I'll type it in again, and we'll have Hotels, and I'll just point to that particular feature class here.
1:07:10 So it's going to be in the geoprocessing one, and we'll say Hotel Buffers.
1:07:19 And then I'll have it go 0.25 feet, or miles rather, and click OK.
1:07:26 So I'll have this run here and okay. It worked.
1:07:30 So what I'm going to do is just rather quickly go in and just do a little transparency here so I can see through that...
1:07:36 ...50 percent transparency, and there's our quarter-mile buffer around the hotel.
1:07:41 Well, the third step now is I want to use the Python window to go in...
1:07:45 ...because I'm actually a veteran of ArcInfo command line back in the days and I still reminisce about that all the time...
1:07:51 ...and so I want to come in here and go and use the command line.
1:07:54 So we're going to click on the Python window here and drag this over here.
1:07:58 And I'm going to do a select by location, and so in order to do that, I have to go in and type in the term ArcPy.
1:08:06 And so let's do that right now, and I do a period, and I'm going to come in and do Select Layer...
1:08:12 ...and you notice the IntelliSense is starting to appear here, and so I'm going to click on Location Management...
1:08:17 ...so I want this one, and then I'm going to go in and do a parenthesis.
1:08:20 So you notice over here on the right that the IntelliSense is certainly walking me through...
1:08:24 ...but I can also see the syntax of this as well.
1:08:27 And so what I want to do is select the points of interest that intersect or are completely within the hotel buffer.
1:08:33 So I'm going to define the points of interest right here and do a comma, and then you notice that's prompted me again...
1:08:40 ...so Completely Within, and then I do a comma again, and then we'll say Hotel Buffers.
1:08:46 And then I finish that and hit my return, and it will go and process that information.
1:08:52 If I move this out of the way here, that we can now in fact see...
1:08:56 ...that I have several points that were selected using the Python window.
1:08:59 I'm going to dismiss the Python window right now and click on the List By Selection...
1:09:04 ...and I can see yes, in fact I have 14 points of interest that fall within that quarter-mile buffer around the hotel.
1:09:11 Now the last part here is I want to go in and create a model...
1:09:14 ...and so I can use the Catalog window to create a new custom toolbox.
1:09:18 So in this particular case here, I'm going to right-click on Oahu file geodatabase and say New Toolbox.
1:09:25 Well, I come in, I'm going to type in a small z just because I like to have that for my naming conventions, and say Points of Interest.
1:09:35 And then inside of there, I'm going to create a brand-new model, so again right-click and click on Model here.
1:09:41 So what this is going to do is open up the ModelBuilder interface for me, and currently it's empty.
1:09:45 And I want to go in and do the same thing that I did before, but now I want the...
1:09:49 ...I'll have a standardized model that I can use over and over again to do this.
1:09:54 So I'm going to start doing a series of drag-and-drop tools to do that, so in this particular case here...
1:09:59 ...I'm going to come in here and we're going to go in and do the select.
1:10:02 So I'm going to type in Select in my search dialog here and see what comes up.
1:10:06 And I can see that I have a series of them -- Select Layer By Attribute -- well, that's in fact what I want.
1:10:11 So I'll click on the toolboxes here, and that'll bring me...let me get my Catalog window back open. There we go.
1:10:18 So I'll say Select By Attribute, drag and drop that in here.
1:10:21 And so you can see that I have that geoprocessing tool brought into ModelBuilder.
1:10:25 It's not filled out properly yet, so I have to go in and I'm going to fill out the mandatory parameters for this.
1:10:31 And so the layer that I'm working on currently is going to be Hotels; it's going to be a new selection...
1:10:36 ...and I'm going to do the same query that I did before. So we'll do Hotel = Miramar at Waikiki.
1:10:44 And so I can just scroll down here if I want to, click on this, click on Verify, and click OK...
1:10:50 ...and now that tool is now correct; I get the different colors here in ModelBuilder.
1:10:56 So that's the first part. Now I want to come in and do a buffer.
1:11:00 So I know that the Buffer tool was located in that Proximity toolset, so I'm going to drag and drop that in here.
1:11:06 Now one thing that you notice as you start working within ModelBuilder, you might have to start doing some resizing here...
1:11:12 ...and so I'm going to tell it to do an autolayout, and so right now, that's what it's going to do.
1:11:17 I can also choose to rename some of these things, so I'm just going to call this the Miramar Hotel...
1:11:22 ...just so I know exactly what I'm selecting here.
1:11:25 And now I'm going to put the mandatory parameters for buffer, click OK...
1:11:30 ...and my input feature class is going to be the result that was selected from Miramar Hotel.
1:11:35 The output feature class is going to be that Hotel Buffers that I created before, and notice that the software's prompted me...
1:11:42 ...Hey, this already exists; do you wish to replace it? Well, in fact, I do.
1:11:45 I'm going to have a Yield sign here, which is just kind of giving me a heads-up that something's not quite right, but it will process.
1:11:52 And then I'm going to type in 0.25 miles, click OK.
1:11:56 And now look that Miramar's pointing back to Buffer, again do the autolayout and full size...
1:12:02 ...and now I've got two components done for a three-component tool.
1:12:08 Last part here is I'm going to do that select by location that we did just a moment ago, and so I'll drag and drop that in here...
1:12:15 ...and then I'm going to start filling out the necessary parameters for Select By Location.
1:12:19 So I'm going to open that tool here, and so my input layer is going to be...let's see here. Hotel Buffers...
1:12:28 So I want to select the points of interest that are completely within the hotel buffers that I just created.
1:12:38 And it's going to be a new selection, and again the arrows pointed to that.
1:12:42 I come in and click on the Auto Layout and the Full...
1:12:45 ...and now I have a model that will do the same thing that I was doing very much manually.
1:12:50 So what I can do now is come in and say validate the entire model; I get no errors, and then I run this model...
1:12:56 ...and I'll move this out of the way, and it went rather quickly, but it was processing through here and ran that model for me.
1:13:03 If I minimize this, in fact those same points are now selected.
1:13:08 One thing I could potentially do with this model if I want to run through this over and over again...
1:13:12 ...is to go and change some of the parameters; those are some of the necessary things.
1:13:16 So maybe I'll work for another hotel, and they want to do the same thing, well, I could change that parameter...
1:13:21 ...and say now it's going to be the Holiday Inn at Waikiki Beach.
1:13:24 So this allows me to kind of standardize the workflow and quickly do the same process in seconds...
1:13:29 ...what would rather take me minutes or maybe hours if it's a complex model.
1:13:33 Last part here, since Python is so dominant in ArcGIS 10, if you want to, you can come in and export this model out...
1:13:40 ...by clicking on Model, Export to Python Script and push that out to a script.
1:13:45 In this case we have one called Miramar.py, and I could overwrite it.
1:13:49 So then you could share this model as a Python script with your colleagues in your office or with your clients as well.
1:13:56 And with that, I will turn it back over to Geri.
1:14:00 Thank you. And now let's take a look at the very last task, and this is creating and using a map in ArcMap.
1:14:06 So within ArcMap, we actually have two different environments that we can work with.
1:14:11 So, so far, we've seen this data view, so here's where we can do symbology, editing, analysis, querying...
1:14:17 ...so all of these things that we're doing so far, we'll do in data view.
1:14:21 Once we are ready to create our map, we're going to go to layout view, and what this layout view is...
1:14:28 ...it's a virtual sheet of paper, and here, we can actually start adding various map elements...
1:14:34 ...such as north arrow, such as scale bar, such as legend, and so on.
1:14:38 So this is where we start creating our map output.
1:14:41 And there are quite a few different types of map elements that we can create, so we can have different data frames...
1:14:47 ...legends, title, source text, and so on, so we'll take a look at these. But how we add these map elements?
1:14:55 So we go to the Insert drop-down menu...
1:14:57 ...and here is where we actually can start picking and choosing what kind of map elements we'd like to add.
1:15:03 We also have this Draw toolbar, which is usually down at the bottom of ArcMap...
1:15:08 ...where we can start either again inserting text or drawing various graphics on the screen.
1:15:16 There are quite a few different types of data properties that we can set, and these are just a couple of them.
1:15:21 But one of them is perhaps background color, so if you create a map, and let's say, you know...
1:15:26 ...in this case we're working with Oahu but we don't really have anything for the oceans layer...
1:15:32 ...you can simply set the background to be blue for water, and then that would make your map a little more effective.
1:15:39 Another thing we have is something called extent rectangles with which we can simply connect two different data frames together...
1:15:47 ...which simply gives us the ability to, once we zoom in on one, we can actually have a little overview map...
1:15:53 ...that shows us where exactly are we zoomed in on this overview map.
1:15:58 And that being said, let's go back to Robert.
1:16:00 Okay. Alright, thank you. This'll be the last demo; I realize it's nine forty-five so we're getting close here...
1:16:07 ...so I'll go quickly through this demo here.
1:16:10 So we have right now what was in front of us called data view and layout view.
1:16:13 In fact, this is data view, so this is where I do all my symbolization, all my analysis.
1:16:18 If I want to switch over to layout view, this is where I start constructing that virtual map...
1:16:22 ...on that virtual piece of paper that we see right there.
1:16:26 And so what I can do is if I want to work with some of the tools inside of ArcMap, I can turn on my Layout toolbar.
1:16:33 And let me turn off the Topology toolbar, 'cause it's taking up too much space here.
1:16:37 And so the Layout toolbar allows me to come in and I can do some pans...
1:16:41 ...or I can come in and work with some of these tools inside of here.
1:16:44 So I've got two data frames; I've got one for the city of Waikiki with our example for the hotel...
1:16:49 ...and then I also have an overview map of the island itself.
1:16:53 So part of my map is I want to come in and insert some text...
1:16:56 ...and so in this particular case here, I'm going to do some text for a title.
1:17:01 And I'm going to say Points of Interest within 1/4 Mile of Waikiki Beach, or Miramar Waikiki.
1:17:13 So this'll be my title for that. And as soon as I do this and hit OK...
1:17:18 ...what we're going to see is that this entire title here takes up way too much -- well, actually, it's too small.
1:17:25 So I can come in and turn on my Draw toolbar and change the size of that.
1:17:28 So in this particular case, I can make it into 16 point, and that might be a little too much here...
1:17:33 ...so I can come in and then move this into a second line.
1:17:40 And notice that I have a typo, and then we'll go and get that corrected.
1:17:44 And now I have the title there.
1:17:46 Another thing that I may want to do is come in and insert a north arrow, so I can use the Insert dialog box...
1:17:52 ...and come in and say Insert North Arrow.
1:17:55 And in this particular area, I have over 90 different north arrows...
1:17:58 ...so I'll just go and click this one here and work with that north arrow...
1:18:02 Where did it go? I'm not seeing it.
1:18:08 Oh, there it is. Sometimes they hide on you, so you might want to move them a little bit here.
1:18:12 And as I'm doing this, you notice that things aren't lining up exactly how I want, so I'm going to use some guides and grids.
1:18:19 And so this ruler is turned on in the sides here for me...
1:18:22 ...so I can use this to snap my maps to these grids to make them fit even nicer into my map.
1:18:28 And we move this Draw toolbar out of the way here, and then I'm going to zoom to the full page.
1:18:34 And I'm also going to set a guide up here, 'cause now I want this title to snap over there.
1:18:39 And then the last part, I'll come over for that north arrow and move that here.
1:18:43 I'm also going to come in and put in a scale bar, and as soon as I do that...
1:18:46 ...I have multiple scale bars that I can use and I can drop that down here.
1:18:51 Right now, it's currently working with feet, which is not too helpful...
1:18:54 ...but if I double-click on this, I do have different properties in fact that I can set.
1:18:58 Change my units of measure from feet to miles and maybe make it a five-mile toolbar [sic].
1:19:04 And that's maybe too large, so I'll just double-click and make it a one, for example.
1:19:10 And I also want to come in here and insert a legend, so when I click on that, this is going to be wizard based.
1:19:16 And I'm just going to quickly go through all the defaults here and just accept the defaults.
1:19:20 If we had more time, and I was truly making a really pretty map, I could go in and make this really nice here.
1:19:27 And I can just move this over here.
1:19:29 So cartography of course can take a lot of time, but for the sake of the demo, we'll keep it rather short.
1:19:37 And then the last part here is I want to do an extent rectangle that shows where on this island is this particular data frame located.
1:19:44 Now in order to do that, I right-click and go into properties here and click on the Extent Indicators tab...
1:19:51 ...and then click on the Waikiki data frame.
1:19:54 When I click OK, I don't know if it's hard to see or not, but there's a little red box that got put right here on the island.
1:20:01 So as I zoom in or out or change my scale, that particular X, box, is also going to change as well.
1:20:09 Notice it got much larger when I went to 1 to 100,000 or 1 to 24,000. It does change.
1:20:15 So the layout and mapmaking can take a long time as well.
1:20:20 So with that, I'd like to remind you guys to fill out your surveys for this particular lesson.
1:20:25 We want to thank you for attending this.
1:20:27 If you have any questions, both Geri and I will be up here for assistance with those questions.
1:20:33 And thank you for attending. Enjoy your conference.
1:20:35 Thanks a lot, guys. We hope that you learned a lot.
© Esri 2013 http://www.esri.com