Intro to Atlas GIS 2.0
Mackenzie, Tanjuakio and Sparco

to next chapter


Chapter 6: Digitizing

Digitizing involves using a digitizer tablet to create digital data files from paper maps. It is important to understand how to digitize, so that you can avoid having to do so whenever possible. Digitizing is time-consuming, expensive and boring, and you should generally consider it a last resort. Always try to get the data you need in digital form first (from TIGER, DLG or other sources). Or ask around: some other GIS shop may already have what you want.

If you do wind up having to digitize your own stuff, here are some general strategies:

  1. Get a tablet big enough to handle the maps you will be digitizing. Having to digitize maps in portions and piece the portions together later is a nuisance.
  2. Hire digitizing slaves so you don't go crazy doing the work yourself. Train them so they clearly understand how to proceed. Digitizing looks like fun at first; try to maintain this illusion. Then pay them whatever it takes to keep them happy and accurate.
  3. Digitize region features as separate boundary line segments, and piece these line features together to form regions later (the full procedure is described later). Digitize each segment only once to avoid gaps and overlap slivers.
  4. Be aware that paper maps are subject to distortion from handling, temperature and humidity changes. This imparts error to your digitizing. Many labs trace relevant features onto mylar sheets (a far more stable medium) and digitize off those. Mylars are also useful for combining features from successive update maps of the same area.
There are three major steps involved in digitizing with Atlas GIS. These are:
  1. Creating a new geographic file or using an existing geographic file and setting the tablet mode,
  2. Setting the control points and saving these to a control point file, and
  3. Digitizing the desired map features.
To digitize, a four or more button tablet cursor is required and the tablet must also be configured (Configure-Tablet). For information on tablet configuration, see "Input Devices" in the Atlas Installation Guide.

Creating A New Geographic File

Atlas GIS offers two alternatives for digitizing. You can add features to an existing geographic file, or create a new geographic file in which to digitize features. To create a new geographic file, use File-Geographic-New. Choose the projection which matches that of the paper map; otherwise, you will receive large errors when transforming the control points and your map will not be accurate. If the map you want to digitize off of does not specify its projection or coordinate system, you may have to pick a user-defined system. Note, however, that you won't be able to merge or overlay this file with geographic files in any different coordinate system! Alternately, you may be able to digitizing a map with an unspecified coordinate system into any standard projection (lat-long) if the map covers a small geographic area.

The File-Geographic-New pop-up menu asks you for a brief file description and the coordinate system (hitting the space bar in the coordinate system field will list all the projections available in Atlas GIS). The initial map view fields can now be entered. Atlas GIS will ask you to specify a Center Longitude, a Center Latitude, and a Diameter. These fields only provide a point of reference for the initial map view and are not important if you will be setting control points (see below). Atlas GIS will automatically reset the map when control points are entered.

Digitizing into an Existing Geographic File

It is generally preferable to digitize into an existing geographic file, provided the existing file has adequate resolution for your purposes. For example, you can import TIGER/Line files to create useful base map files in lat-long for counties or groups of counties (see Chapter 5).

It is often easier to read geographic coordinates for your control points (see below) from the existing file rather than having to determine them from the source map. AtlasGIS requires you set control points in lat-long: if your base map geographic file isn't already in lat-long, use File-Geographic-Tools-Project to transform it. You can re-project it again later.

Setting Up

First, tape the source map securely to the digitizing tablet. A poorly-secured map will shift slightly as you work on it, generating digitizing error. If the source map is too large for your digitizing tablet you can either shrink the map using a reducing photocopier (but be aware that many photocopiers have noticeable lens distortions!), or divide the map into sections and digitize the sections individually.

Next, set the tablet mode with the View-Tablet-Mode command. Select from "On-Template Enabled" (reserving a portion of the tablet for a command template), "On-Template Disabled" (activating the whole tablet for ditizing), or "Off" (for mouse or keyboard input only) in the pop-up menu. For digitizing in the Spatial Analysis lab, choose "On-Template Disabled."

Setting The Control Points

Now mark 5 to 8 control points on the source map. It is a good idea to write in a descriptive name for each point so you can keep them straight later on. AtlasGIS will use these control points to calculate (by regression analysis) an equation by which it translates every coordinate input from the tablet (in an arbitrary X-Y coordinate system) into a real-world (lat-long) coordinate in the geographic file. USGS quad maps have geo-referenced corner points and 4 interior geo-referenced control points as well; on other maps you may choose road intersections or other landmarks which are easily geo-referenced.

The View-Tablet-Control command calls up an entry screen in which you enter and analyze these control points. For each control point marked on your source map, enter the descriptive name ("NWCorner" for example) and the point's geographic coordinates (lat-long) in the appropriate columns of the entry screen. If you are digitizing into an existing geographic file, you can determine these coordinates from the geographic file using Select or Edit-Geographic-Add utilities: move the cursor to each control point, and its coordinates are displayed on the right side of the screen. Write these down, then escape out (don't actually select anything or create any new feature). Enter the longitude and latitude coordinates in the control point spreadsheet.

Now digitize each control point: highlight the appropriate control point in the spreadsheet; then position the cursor as accurately as possible on the marked point on the paper map and simply click the left cursor button. This enters the arbitrary X-Y tablet coordinates (in inches) in the screen's X and Y Tablet columns.

Now use /Tools-Transform to compute the tablet-to-map transformation equation and display each point's mean-squared error in the Tablet Error column of the control point spreadsheet. The transformation error is the difference between the map coordinates you entered and those calculated by the estimated transformation equation. Try for errors that are all 0.01 (inches) or smaller. High errors may be caused by mixed-up control points or sloppy ditizing (both correctible) or wrong map projections. A control point with an error of 0.02 or greater should be re-digitized so that your digitized features will be as accurately geo-referenced as possible. After re-digitizing control points, do another Transform so that new error figures can be calculated.

Save the settings in a control point file (/Tools-File-Save). If your ditizing project is interrupted, you can continue it at a later date by simply replacing the map on the digitizing tablet, re-digitizing the X-Y points and re-Transforming.

Once your control points are established and the Transform utility has yielded acceptably low errors, hit the F10 key or <<Done>> to return to the main menu. The maparea will display the control points as circles with cross-hairs.

Basic Digitizing

The actual digitizing is done via Edit-Geographic-Add, and involves three basic steps: first, choose the layer to add features to, or create a new layer; then enter primary and secondary names and any other attributes for the feature; then digitize the feature. (Remember: only lines can be added to line layers, regions to region layers, and points to point layers. If you try to add a line to a region layer, Atlas GIS will automatically "close" your line to make it a region or polygon.)

For each new feature you will see a pop-up screen with _ID, _LAYER, _NAME and _NAME2 fields. Atlas GIS automatically assigns a unique ID to the feature, and there is usually no reason to change this or the _LAYER field entry. It is usually easier to fill in the _NAME and _NAME2 fields now rather than go back later and try to identify each one after all the features are digitized.

Digitize each feature one at a time by moving the cursor to a starting point on it and entering its successive vertices, point by point, with the left cursor button. You will see your points appear on the screen. If you make a mistake, you can delete vertices one at a time (most recent first) with the Delete key. To continue digitizing, just follow the outline of your region or line with the mouse and continue to click button #1 to create vertices.

When you digitize the last vertex of a line or region feature, hit ENTER. A command menu will then appear at the top of the screen with the following choices: Island, Another, Done, or ESC. Choose "Island" if you want to include an exterior island with (or exclude an internal lake from) the same feature. "Another" starts another feature in the same layer. ESC discards the feature you just digitized.

Cursor Control

While digitizing is generally done freehand, there may be situations where you want to place vertices at precise distances and/or orientations from each other. The F5 key lets you set vertices at absolute locations (lat-long); the F6 key lets you locate vertices by distance and azimuth relative to the current cursor position.

Common Vertices and Border Segments

When digitizing a new feature, you can make it share vertices with existing features with the Grab and Common tools in AtlasGIS's /Tools menu. The Grab tool lets you grab nearest individual vertices of existing features, and the Common tool lets you grab entire adjacent features. Note that these tools grab vertices or common shared boundary segments from existing features in any layer in the geographic file. (You can use the "6" button on the digitizing puck to Grab an existing vertex, or the "7" button to Common an existing border.) These tools highlight common vertices of existing feature (in any layer), place the cursor at the first common vertex, and usually ask you to confirm whether you want this common border or another. (If you digitize all region features in a clockwise direction, the first choice of common border you are offered should be correct.) When you are prompted to move the cursor to the last vertex in the common border, move the cursor to the last vertex and click button #1 of the mouse. When you have finished digitizing the feature, hit ENTER.

Unfortunately, AtlasGIS's Grab and Common digitizing tools aren't as efficient as they might be. When you are digitizing adjacent region features, the Common tool doesn't determine how much of a common boundary segment you might want, and generally gives you the entire existing feature--take it or leave it. On the other hand, Grabbing each individual vertex in a common border can be very time-consuming.

When using the Grab and Common tools on common borders, generally don't want to skip over any vertices. Unfortunately, AtlasGIS's default setup doesn't display individual vertices in draft mode. You can get the individual vertices of existing features to display on the map in draft mode if you go into the "Draft Mode" section of the Configure-Display menu and specify that vertices should be visible.

Digitizing Region Features

Digitizing points and lines is generally pretty straightforward, but digitizing regions is not. Any cluster of region features contains interior boundary segments which are shared by two adjacent features, as well as exterior segments bounding a single feature. When digitizing shared border segments, try not to redigitize segments you have already digitized for a prior feature, so you don't create gaps or overlap slivers.

This requires some strategy. You may want to digitize the individual boundary segments of region features as separate line features. Then form the region features one at a time: first, select and copy the boundary line segments defining a region to a temporary line layer, and Edit-Geographic-Union these to a single closed poly-line feature. (If you Union boundary segments in the original line layer, you can't use them a second time for adjacent features.) Then Edit-Geographic-Move the poly-line to a target region layer. (If you don't Union the segments first, you get a collection of weird regions rather than the one region.) Repeat for each region.

This requires a lot of repetitive keystrokes, but you can write a macro to speed things up tremendously. See Part 9 for a sample macro which does this.

Here's another digitizing strategy for a slightly more complex problem. Suppose you are digitizing multiple contiguous region features within an existing boundary (region) feature. As before, you digitize each interior boundary segment as a separate line feature. The Common tool probably won't work (how would AtlasGIS know how much of the boundary you want?), but you can Grab individual vertices from the exterior boundary (the original region feature).

Another approach would be to extend segments which touch the outer boundary beyond the outer boundary. Then connect these extended segments with extra line features outside the original region. Copy segments to another line layer, union them, and copy them to a new region layer. Finally, use Operate-Split to cut the new region features by the original boundary feature (or vice versa) to obtain the regions you want; discard junk features outside the original region boundary. (Note: the Overlay layer in Operate-Split has to be regions. Edit-Geographic-Split lets you split regions by overlaying line or region features, but we have found this utility doesn't always split regions as we expected.)


EXERCISE 6.1: Conventional Digitizing

Digitize the five major watershed regions of Sussex County, Delaware.

  1. Mark (circle) 5-8 well-scattered control points--county corners, road intersections, whatever--on your paper watershed map with a pencil. Label each control point.
  2. Place the watershed boundaries map on the digitizing tablet under the plastic mat (no need to tape it down). Use Select-One and /Tools-View-Map-In to display the longitude/latitude coordinates of each control point; write these down. Then enter control point labels and their lat-long coordinates into the control point spreadsheet.
  3. Digitize each control point on the tablet (by placing the puck cross-hairs exactly over the point and clicking the upper left button) to obtain its X-Y coordinates; then do a /Transform. Check your errors and re-digitize points as necessary. Save the control point spreadsheet to a file (call it "Sussex" or whatever).
  4. Digitize the watershed boundary segments as region features in a new layer using Edit-Geographic-Add. Specify the Layer Name Field, the Description Field, and the Layer Type Field. Name and digitize each watershed region in sequence. Try using the /Common tool (the "7" button on the puck) when digitizing existing boundary segments. Try out the /Grab tool (the "6" button on the puck). Use the DEL key or the "5" button on the puck to delete erroneous vertices.
  5. When all of the boundaries have been digitized, hit Done to return to the main menu. Activate the Sussex County Census block group attribute file. Calculate the total population in each watershed.

EXERCISE 6.2: Smarter Digitizing

Same objective: digitize the five major watershed regions of Sussex County, Delaware. This time you can insure that these are perfectly consistent with each other and with the county boundary in the existing geographic file (from TIGER/Line data).

    Mark (circle) 5-8 well-scattered control points--county corners, road intersections, whatever--on your paper watershed map with a pencil. Label each control point. Next, circle the interior nodes of each watershed boundary segment. Next, extend the watershed boundary segments outside the county boundary, mark terminal nodes, and then connect these exterior terminal nodes with exterior pseudo-boundary segments. Finally, number each boundary segment in a logical sequence.
  1. Place the watershed boundaries map on the digitizing tablet under the plastic mat (no need to tape it down). Use Select-One and /Tools-View-Map-In to display the longitude/latitude coordinates of each control point; write these down. Then enter control point labels and their lat-long coordinates into the control point spreadsheet.
  2. Digitize each control point on the tablet (by placing the puck cross-hairs exactly over the point and clicking the upper left button) to obtain the X-Y coordinates; then do a /Transform. Check your errors and re-digitize points as necessary. Save the control point spreadsheet to a file (call it "Sussex2" or whatever).
  3. Digitize the watershed boundary segments as line features in a new layer using Edit-Geographic-Add. Specify the Layer Name Field, the Description Field, and the Layer Type Field. Name and digitize each boundary segment feature in sequence.
  4. When all of the boundaries have been digitized, hit Done to return to the main menu. De-select the new features. Now select the line segments bounding one watershed, copy them to a new line layer, union these copies into a single line feature, and then copy this closed polyline feature to a watershed region layer. Repeat this process for each of the other watersheds
  5. The watershed region features extend past the county boundary. Use Operate-Split to split the watershed regions by the county boundary. Select and delete the portions of the watersheds outside the county. Now (finally!) you have a set of watershed regions whose boundaries match each other and the county boundary exactly.
  6. Activate the Sussex County Census block group attribute file. Calculate the total population in each watershed.


previous chapter
next chapter