When people finish an ESRI training course, often they tell us they learned a lot, loved the course, but how do they get their own data to work with ArcGIS? Where can they find the specific data they need? The training data used in course exercises is developed and manipulated (by us) to meet specific learning goals, and exercises are scripted to ensure consistent results. For those new to GIS in particular, there's a need to fill the gap between using the software in a training class and doing GIS on their own back at the office.
In previous posts we covered working with Excel and Access data in ArcGIS. This post provides a tutorial to show how you can fairly easily create your own spatial data from scratch using ArcGIS Desktop and free resources from ArcGIS Online. The steps covered are:
- Adding an ArcGIS Online service to an ArcMap map document.
- Exploring information about the service.
- Creating a new file geodatabase and feature class in ArcCatalog.
- Digitizing new features in ArcMap and assigning attributes to them.
- Projecting a feature class.
Note: The instructions below were developed for ArcGIS Desktop 9.3 or higher, but they also work if you're using ArcGIS Desktop 9.2. Some menu commands and dialog boxes may be different.
The Example
Suppose you work for a non-profit organization and you want data about local sports venues that can be used for fundraisers. You want to be able to show the venues on a map and easily access information about their capacity, accessibility, ownership, proximity to other points of interest, and amenities such as snack bars, number of restrooms, etc. You have searched, but the data you want doesn't exist anywhere as far as you can tell. But no worries, with just a bit of work, you can create this data yourself.
Add ArcGIS Online Data to ArcMap
A common way to create spatial data is to digitize features (trace them onscreen) using imagery as a reference background. ArcGIS Online provides access to high-quality imagery that can be added to ArcMap and used to digitize your features of interest.
- Start ArcMap and open a new empty map document.
- From the File menu, choose Add Data From ArcGIS Online.
The ArcGIS Online Resource Center Web page opens and shows available map services, both free and for-fee. For this example, the free World Imagery service will work well. It's a good idea to always view the description for a map service before opening it to see if it will meet your needs. In this case, it does. 
- Click World Imagery, then click Open. The World imagery group layer displays in ArcMap at its full extent (the world).
- Zoom in to your area of interest. In this example, we are interested in sports venues in Redlands, California.
- Tip: You can use the Find tool's Places tab to search for Redlands, CA. Once found, right-click the result in the dialog box and choose Zoom To.
- Turn on the Boundaries and places and Transportation sublayers.
- Close the ArcGIS Online Web browser window.
Take Time to Plan
Before you start creating data, you need to make some decisions.
-
Level of detail — What geometry should you use to represent the sports venue features, points or polygons? Points are easier to create (one click each) but will they give you the desired detail later when you map them? What do you need to be able to do with this data once it's created?
-
Accuracy — At what scale do you want your features to be created? What is the resolution of the imagery you're using as the background? That resolution determines the resolution (and accuracy) of the data you are creating. Your new data is only as accurate as the data you're digitizing from.
-
Coordinate system — Does your organization require a standard coordinate system or commonly use datasets from other agencies that are stored in a particular coordinate system? If so, it's a good idea to use the same coordinate system so all the data will align correctly when displayed together on a map. What coordinate system does the reference imagery use? When you added the service to ArcMap, the data frame's coordinate system was set to the coordinate system used by the service, which means that if you need to use a different coordinate system for your data, it's possible there could be alignment problems when you digitize. One solution is to create the feature class with the same coordinate system as your reference imagery, then after digitizing your features, project the feature class to have the desired coordinate system.
-
Data storage format — Shapefile, geodatabase, or something else? Will you be adding this data to an existing database? Will you need to share the data with colleagues?
Only after thinking through all the issues and doing any necessary research are you ready to create data. For many projects, you have to apply your own local knowledge of the data you're interested in. For example, suppose you know where the sports venues are in Redlands (it's a pretty small town after all).
You decide to create polygon features to represent the sports venues, and to store the data in a file geodatabase feature class. To figure out the appropriate accuracy and coordinate system, you need more information about the imagery. In ArcMap, you can use the Identify tool to access metadata for the imagery.
You see basic information about the World imagery layer, including the date it was collected (December, 2003), the resolution and accuracy (in meters), and the source (USGS).
-
Close the Identify window.
-
In the table of contents, right-click the World imagery sublayer and choose Properties.
- Click the Source tab and scroll down to see the coordinate system.
-
Click OK to close the dialog box.
Now that you have decided on the geometry, data format, coordinate system, and accuracy (the imagery accuracy is fine for your purposes), you are ready to create your data.
Create the Geodatabase and Feature Class
Before you start digitizing, you need to create the geodatabase and feature class to store the data. You work in ArcCatalog to do these tasks.
-
Open ArcCatalog and navigate to the location where you want to create the geodatabase.
-
Right-click the folder and choose New > File Geodatabase, then give the geodatabase a meaningful name.
-
Right-click the new geodatabase and choose New > Feature Class. The New Feature Class wizard opens.
-
In the Name field, type a meaningful name for the feature class. By default, polygon is selected as the feature type. Since this is what you want, click Next.
Now you need to specify the coordinate system. You will use GCS_WGS_1984.
-
In the New Feature Class wizard, expand Geographic Coordinate Systems > World and click WGS_1984.
-
Click Next twice to accept the defaults for XY tolerance and configuration keyword and get to the Fields list.
By default a new feature class has an ObjectID field and a Shape field only.
You will add just two fields at this time: Name and Description. Both are text fields that will help identify the individual features you will create. After digitizing, you can add more fields to store all the desired attributes for this feature class.
-
Click in the empty cell under SHAPE and type Name. Press Tab and make sure Text is selected in the drop-down list.
-
Press Tab again to select the next empty row.
-
Type Description, tab to select Text as the field data type, then press Tab again.
-
Click Finish.
The new feature class is added to the geodatabase and you see it in the Catalog tree. With the basic structure created, you are now ready to digitize features in ArcMap.
Digitize Features in ArcMap
The YMCA in Redlands has a roller hockey rink and an outdoor pool that would both make good venues for fundraisers. You want to include these features in your dataset. You will start by zooming in to the YMCA location and digitizing the roller hockey rink. To create features you must be in an edit session. 
-
Zoom in to the area that contains the YMCA buildings. For those who don't know Redlands, use the Go To XY tool

and zoom to the coordinates (in decimal degrees) -117.176, 34.055.
-
Display the Editor toolbar (right-click next to the Help menu and choose Editor).
-
From the Editor menu, choose Start Editing.
-
On the Editor toolbar, click the Sketch tool

.
-
On the map, click with the Sketch tool anywhere on the roller hockey rink boundary line. Drag with the mouse to trace along the rink outline and click to create vertices when the boundary line changes direction.
-
When you get to the end of the feature (back at the first vertex), double-click to finish.
The new feature is selected. Now you will add attributes for it.
-
On the Editor toolbar, click the Attributes button

.
-
On the right side of the Attributes dialog box, click in the Value field next to Name and type Hockey rink.
-
Click in the Value field next to Description and type YMCA roller hockey rink, then press Enter.
-
From the Editor menu, choose Save Edits.
That's it. You have just created spatial data. To create features for the other sports venues in Redlands, you would repeat the process above:
-
Zoom to the feature.
-
Use the Sketch tool to trace the feature boundary.
-
Add attributes.
-
Save your edits.
If you want to practice, digitize the features below.
| Feature Name |
Coordinates |
| YMCA outdoor pool |
-117.177, 34.055 (just to the left of the hockey rink) |
| University of Redlands Ted Runner Stadium |
-117.165, 34.068 |
| University of Redlands Thompson Aquatic Center |
-177.165, 34.067 |
| Ford Park Tennis Courts |
-117.159, 34.043
|
| Moore Middle School soccer fields |
-117.15, 34.049 |
After digitizing all the features, save your edits and choose Stop Editing from the Editor menu.
Project the Data
For convenience, you used the ArcGIS Online service coordinate system when you created the feature class used for digitizing. However, your organization usually works with data stored in a NAD83 projected coordinate system. You can use a geoprocessing tool to project the new data.
-
Open ArcCatalog and close ArcMap without saving changes to the map.
-
Click the Show/Hide ArcToolbox button

to open ArcToolbox.
-
Expand Data Management toolbox > Projections and Transformations > Feature, then double-click the Project tool to open it.
-
For Input Dataset or Feature Cass, drag the feature class you created into the text box.
-
For Output Dataset or Feature class, type feature class name_NAD83. Make sure the path to the output matches the path to the input (i.e., that you're outputting to the correct geodatabase).
-
For Output Coordinate System, click the properties button and click Select.
-
Double-click Projected Coordinate Systems > UTM > NAD 1983 > NAD 1983 UTM Zone 11N.prj, then click OK.
You see a green dot next to Geographic Transformation (optional). The green dot means you need to specify a transformation.
-
Click the drop-down arrow and click NAD_1983_To_WGS_1984_5.
-

How do you know which transformation to choose? The Mapping Center did a very useful
post on this topic.
-
Click OK.
-
When the projection process is complete, close ArcToolbox.
In the Catalog tree you see the new projected feature class. If you preview the table, you'll notice that the Shape_Length and Shape_Area attributes now show appropriate measurements.
At this point, you could open ArcMap, add the projected feature class to the map, and add fields to the feature class table to store all the attributes of interest for the sports venues. After adding the fields, you can add values to them using the Field Calculator or by starting an edit session and using the Attributes dialog box. To get the actual information you want to store as attribute values, you may need to do some Internet searches, make some phone calls, or even visit the physical sites (this is called ground-truthing in GIS).
If you've followed the steps above, hopefully you're realizing that creating data for use in a GIS isn't difficult, though it may require some resourcefulness on your part. The main point is, when you can't find the data you need, consider making your own. ArcGIS provides many tools to help you do this.
If you want to learn more about editing in ArcMap, on September 17th we're broadcasting Editing in ArcGIS 9: Tips and Tricks IV, the latest in this popular series of live training seminars presented by ESRI instructor Colin Childs.