Creating and Editing A New Shape File
Creating and Editing A New Shape File
Before you start the process of physically creating a new data layer, you need to have thought through
the data design issues for both the geographic part (point, line, polygon?) and the attribute table (what
information do you need in the table, will you use codes, what type will each field be, how long does
each field need to be, what will be the field name, taking account of the 11 character constraint, plus no
spaces).
1
Tufts GIS Center
good idea to put in an area field (make the type double, a kind of numeric field type) and any other
fields you know you will need.
3) Left-click onto the Edit icon to start creating the metadata for the shapefile.
Use the Table of Contents (TOC) on the left to navigate through the metadata. Start with the Item
Description and fill in the essential information such as title, tags (keywords), summary and
description.
2
Tufts GIS Center
Next go to 1) Fields in the TOC to give a definition to your new fields and code definitions (domain
values). 2) Click on Attribute to populate each variable with needed information, such as label and
definition of the variable.
For each attribute, you can define the domain as well. This means defining the kinds of values
permitted, e.g., a set of specific codes that you have created (enumerated domain), a range of values
from minimum to maximum (range domain), the use of an existing standard code (codeset domain), or
specifying that the values cannot be defined in advance (unrepresentable domain).
3
Tufts GIS Center
If you know the data source you are using you can go to Data Quality and define the data source. The
process steps are also defined under Data Quality.
When you are done, press Save and check out your work. You can view it either in ESRI stylesheet
format or the FGDC format or the FGDC FAQ format.
Once you have added the shapefile, make the Editor toolbar visible (choose Tools-Editor Toolbar).
Follow the instructions in ArcGIS Desktop Help or the digital manual for Editing in ArcMap - creating new
features. Always remember to look at the Editor toolbar to make sure you are performing the right task
(e.g., creating a new feature) in the correct shape file.
In the Editor toolbar pull-down, chooseStart Editing. The file you want to edit is your new
shapefile. A new window opens on the right appears called Create Features.
You are now ready to create the new feature. To do this, 1) select the layer you want to work
with in the Create Features window. 2) In the bottom panel Construction Tools new options
appear. In this case, we are make a Polygon, so left-click on that option.
4
Tufts GIS Center
Place the cursor on the map where you want to begin your new polygon feature - you should
see a circle with a cross-hair in it, and click once. Then go to the next point that defines your
polgyon and click again. Continue doing this until you are almost back to the last point. To close
the polygon, double-click on the next-to-last point, or press F2 after the next-to-last point. If you
get messed up, you can either double-click to finish, and then press the Delete key on the
keyboard, or you can right-click and choose Delete Sketch. It may take a few attempts to get it
right.
5
Tufts GIS Center
When you have a boundary polygon complete for your area, Click on the Editor toolbar’s Editor
and choose Save Edits.
You can add attribute information at this point or later. To add it now, click on the Attributes
Be sure to save your edits again when finished (Editor – Save Edits)
Get out of editing mode by choosing Editor-Stop Editing