- Start up Global Mapper. Load in a shape file, e.g. Incidents.shp.
- Click the Digitizer tool button.
- Press down and drag the left mouse button and select all the features.
- Press down the right mouse button.
A pop up menu appears. - Choose Edit Selected Features.
The Modify Selected Point Features dialog box appears. - In the Feature Attributes combo box, choose the attribute field, e.g. OCCURRENCE.
- Click Delete.
A confirmation prompt appears. - Click Yes. Then Click OK.
The attribute field is deleted from the features in RAM. - Select File | Export Vector Data | Export Shape File.
The Shapefile Export Options dialog box appears. - Toggle on the geometry type, e.g. Export Points. Browse and select the original shape file, e.g. Incidents.shp.
- Click OK.
The changes are saved permanently.
Monday, October 4, 2010
Deleting an attribute field from a shape file using Global Mapper
Sometimes I want to remove an attribute field from a shape file for some housekeeping reason. I could use Global Mapper to do the job. The workflow in Global Mapper is straightforward - basically you load in the shape file, select all the features, then edit and delete the field(s) you desired. Finally, the changes must be saved back to the original shape file. The steps in more detail are illustrated below.
No comments:
Post a Comment