Creating Feature Classes from Shapefiles
Table of Contents
- Spatial Error Related to Datums and Projections
- Skill Drill: Setting Up Your Workspace
- Skill Drill: Downloading Data from Natural Earth
- Skill Drill: Connect to Your Workspace Folder in ArcMap
- Creating a File Geodatabase
- Creating Feature Classes from Shapefiles
- Adding XY Data using the ArcCatalog Window
- Skill Drill: Creating Indicatrices Using the Buffer Tool
- Evaluate Distortion Patterns in Map Projections
- Measuring Scale Distortion
- Skill Drill: Evaluate and Measure Distortion
- Troubleshooting Datum Shift
- Repairing Corrupted Data Using the Define Projection Tool
- Skill Drill: Repairing Incorrect Coordinate System Definitions
Until now, most readers should primarily have experience working with shapefiles, which is the most common file format for vector data. In ArcMap, a shapefile appears as a single file (Figure 2.08). However, when viewed in Microsoft File Explorer, you can see that a shapefile consists of many files linked together (Figure 2.06). Some of these files store spatial information, such as geographic location. Some files store attribute data as a database file. Others will save the geometry of a feature. Separating any one of these pieces makes the data unusable.
In this step, you use the shapefiles downloaded from Natural Earth to create feature classes within the geodatabase. In many ways, a feature class works similar to a shapefile. Like a shapefile, it is a collection of geographic features stored in vector format that have the same geometry type, such as point, line, or polygon. For most readers, the most noticeable differences relate to the file structure and file size. When stored in a file geodatabase, a feature class can save a maximum of one terabyte of data. A stand-alone shapefile has a size limit of only two gigabytes (GB).
In the catalog window, right-click on the geodatabase. Select Import, then Feature Class (single) (Figure 2.16).
For the Input Features, choose the shapefile representing countries. The output location is already set to your geodatabase. For the Output Feature Class, name the file countries (Figure 2.17). You do not need to enter a file extension. Leave all other settings as default and click OK.
When the geoprocessing is complete, you should see the new feature class within the geodatabase. ArcMap should also add the new feature class to the map document (Figure 2.18).
Skill Drill: Creating Feature Classes from Shapefiles
Repeat these steps and import new feature classes to the geodatabase for the graticules and populated places. Be sure to give the feature classes human-friendly names. When done, all of the feature classes should be added to the map (Figure 2.19). Take a moment to save your map document within your workspace folder. Call the map document, Exploring Errors.