You are on page 1of 13

Out of the Office and Into the Field: Introduction to ArcPad and ArcPad Application Builder

A Yale Map Collection GIS Workshop Preparing For the Tutorial


1. 2.

Navigate to the C:\Temp folder on your harddrive. Make a New Folder using your initials as the name of the New Folder. For example, if your name is John Jacob Jinglehymer-Smith, you would make a new folder called C:\Temp\JJJ Open the web browser available on your machine and navigate to the Map Collection website at http://www.library.yale.edu/maps. Click on the Download GIS Workshop Materials link under Quicklinks and look for the Out of the Office and Into the Field: Introduction to ArcPad and ArcPad Application Builder materials. Download the Data file to your C:\Temp\intials folder.

3.

Unzip the dataset to your initials folder (You should be able to simply right-click on the file and select Extract Here). This file contains the datasets we will use for the exercises that follow.

Preparing the Data for Your ArcPad Application


1.

Browse in to the folder that resulted from extracting the Zipfile you downloaded. Double-Click the Yale_Map.mxd map document to Open it.

2.

This is the data that you will be exporting to put into your ArcPad Application. What you see now is the base data that provided you reference while performing the survey. This base dataset contains a simple line file which shows features of the built and natural environment on the Yale Campus. It does not, however, contain the information you are interested in, which is where the bike racks are located, and the attributes that apply to them.

Creating the Empty Shapefile for your ArcPad Application


1. 2.

Open ArcCatalog Browse to the \Shapefiles\ folder in the tutorial dataset. Right-Click on the \Shapefiles| folder name in the CatalogTree at the left side of the ArcCatlog window.
4. 5. 6. 7. 4.

3.

Select New>Shapefile.

Rename the Shapefile Bike_Racks. Make sure the Feature Type is set to Point. Click on the Edit Button, under the Spatial Reference section of the Create New Shapefile dialog box.
8.

Click on the Import Button and browse to the \Shapefile\ folder in the tutorial dataset.

9. 10. 11.

Select the plain_polyline.shp file and Click Add. Click OK to apply the Spatial Reference. Leave the remaining items and click OK to create the new Bike_Racks.shp shapefile. Right-Click on the new Bike_Racks.shp Shapefile and Open its Properties dialog box. Click on the Fields Tab. Click on the first empty Field Name box in the list and begin entering Field Names (in ALL CAPS) to your new Bike_Racks.shp Shapefile. Enter the Field Names and Data Types as shown below:
Data Type Text Short Integer Short Integer Short Integer Text Short Integer Text Date Other

12.

13. 14.

15.

Field Name DESIGN CAPACITY INTACT CARCASS PHOTOTK PHOTONUM NOTES SURVDATE

Length=254

16.

Click OK to save the changes to the Attribute Table.

Exporting the Base Data for Use in ArcPad


1.

Return to ArcMap and Add the empty Bike_Rack.shp Shapefile to the layout. Save your work. If it is not already active, Right-Click on an empty area of the Toolbar and activate the ArcPad tools.

2. 3.

4.

Click on the left-most button to begin the Get Data for ArcPad Wizard. Click on the Select All button to select all of the data layer and Click Next. Select the options in the next window as shown below:

5.

6.

7.

Save the resulting folder to the \Data\ folder in the tutorial dataset. Click on Finish to export the data. Click OK on the results report window, if all went well.

8.

9.

10.

Close ArcMap, saving your work if necessary.

Creating the Custom ArcPad Form for Your BikeRacks.shp Shapefile


1.

In the Windows Start Menu, look for the ArcGIS Program Group and Open ArcPad Application Builder 7. When prompted, select New Layer Definition Project, and click OK. Browse to the \Shapefiles\ Folder and select the BikeRacks.shp Shapefile. Click Open.

2.

3.

4.

You will immediately be presented with the Form Wizard. This wizard interface will help automate many of the initial tasks in building the new custom form.
1.

Change the Drop-Down in the Layout Tab to 1/4 VGA 240x320. Uncheck all but the Page Tabs item. Since the application is ultimately to be used outside, use a high contrast Text/Color scheme to allow for bright sunlit conditions. Click on the Fields Tab.

2.

3.

4.

5. 6.

Make sure that all fields are checked. Click on the Controls Tab.

The Controls Tab is where you will begin entering some of the basic attributes of the form items that will appear in your application. You can change the names of the control labels, assign tooltips, make fields required, and assign ranges and list values for drop-downs (we will do this using a values table). Fill out this tab as shown below to finish the Form Wizard:

Click OK when you have completed the Forms Wizard. ArcPad Application Developer will create the base ArcXML document which defines the form for the BikeRacks.shp Shapefile.

Editing the Final Form: Creating a Drop-Down with List Values


1.

Navigate to the \Tables\ folder in the tutorial dataset and copy the value_table.dbf file. Navigate to the \DataforArcPad1\ folder and Paste the

The Form Controls Design Toolbar

2.

value_table.dbf file.
3.

Double-click on the <EDITFORMS> Bike_Racks item in the Bike_Racks.apl file (it should be the last line. Your Custom Form will open, ready for editing. Click and Highlight the Text Box for the Design Field. On the Main Menu of the Bike_Racks Form Editor, go to Control>Delete Control. From the Control Design Toolbar, Drag the ComboBox Control to the space where the TextBox for Design was.

4. 5. 6.

7.

8.

Again, on the Main Menu, go to Control>Control Properties In the General Tab, fill out the Control Properties as shown on the right. Click on the List Values Tab. For the Table Item, Browse to the \DataForArcPad1\ Folder and select the value_table.dbf. Click Open. Set the other Control Properties as show on the right. Click OK.

9.

10. 11.

12. 13.

14.

Editing the Final Form: Creating a Numeric Value Selector


1.

Click on the Textbox Control next to the Rack Capacity label to highlight it. On the Main Menu, go to Control>Control Properties. Reduce the Textboxs Size to 50.

2. 3.

4. 5.

Click OK. From the Control Design Toolbar, Drag the UPDOWN Control to the right of the TextBox for Rack Capacity.

6.

Double-Click on the UPDOWN Control to open the Control Properties. In the General Tab, name the Control updCAPACITY and assign its Buddy as CAPACITY. This will cause the values resulting from this control to be written to the CAPACITY Textbox, in the final form.

7.

8. 9.

Reduce the Height to 12. Click on the Values Tab and assign the Lower Limit=0 and Upper Limit=50. Click OK.

10.

Making Final Adjustments to the Form Layout


1.

Note that the Rack Capacity label is partially obscured because it takes two lines. Click on the TextBox next to this label to highlight it. On the Main Menu of your Form Editing window, go to Control>Control Properties. Change the Control Properties as follows: X=55

2.

3.

Width=40
4. 5. 6.

Click OK to apply the changes. Now, click on the Rack Capacity label to highlight it. Use the Resize Handles to drag the right side of the Label toward the TextBox until the label changes to a single line.

More Clean-up
1. 2.

Click on the Page 2 Tab. Click on the Survey Data/Time Label to highlight it. Move it to the Bottom of the Form. Use the Resize Handle to enlarge the Data/Time Label until it is completely visible. Click on the Drop-Down Control associated with the Survey Date/Time Label to highlight it. Drag the Drop-down Control Box to the bottom of the Form and place it with the associated label.

3.

4.

5.

And Still More Clean-up


1. 2.

Click on the Text Box associated with the Notes label to highlight it. Drag the bottom resize handle down until the TextBox fills the form area. Double-click on the TextBox to open the Control Properties. Check the Multiline & Vertical Scroll checkboxes. Click OK. Click OK on the Bike_Racks Form Editing window to apply the changes. Click on the Save Button .

3. 4. 5. 6.

7. 8.

Close ArcPad Application Developer.

Getting Familiar with ArcPad


Now you will open your newly created ArcPad Application in ArcPad. Aside from the screensize, the application will look and operate in the same way it will look and operate on the Windows Handheld device you intend to use it on. One important difference, however, is that you are unlikely to have a GPS unit connected to the desktop that you are working on. This section will demonstrate the collection of data using the Drawing Tools (in this case you will place a point at the location of your bike racks), but the difference between capturing this data manually, or with a GPS point is really only a difference of pressing the capture GPS point button, rather than the Point Drawing button.
1.

From the Windows Start menu, launch ArcPad. When Prompted, Browse to the \DataForArcPad1\ Folder and open the arcpad.apm document. Resize the Application Window so that it looks similar to that on the right Use the Drop-Down Arrow on the Zoom Tool to activate the Pan Tool .

2.

3.

4.

5.

Pan around until you have duplicated the view in the image on the right.

Review the diagram on the next page to quickly familiarize yourself with the tools in ArcPad. Most of the tools are duplicates of those found in ArcMap, so you will already be familiar with how they work.

10

GPS Settings Tools. For setting up GPS Activity in your Application.

The Select Edit Layer menu. The Selected Layer will be editable

Feature Attribute Tool. Opens the Custom Form, or Attribute Table of a selected feature for editing

Capture GPS as Vertices, for creating lines & Polygons

Capture GPS as Vertex, for creating Lines & Polygons

The Feature Selection Tools, for selecting and editing existing features

Capture GPS point, for capturing point data

Drawing Tools for Creating New Features. Activate according to the data type of the selected Edit Layer

11

Creating New Features in Your ArcPad Application


1.

Using the Select Edit Layer Drop-down, make the Bike_Racks layer the Active Layer. The Editing Toolbar & Drawing Tools should become visible.
2.

Using the Drawing Tools Drop-down, make the Point Tool active. The mouse cursor will change to a crosshair. Place a point in front of Sterling Library by clicking once on the map

3.

If you were using GPS to capture your features, in this case, you would have simply pressed the Capture GPS Point button.
4.

The Bike_Racks form will pop up, ready for you to

enter attributes.
5.

Populate the attributes of the digitized feature as shown below:

6.

Click on the OK icon at the bottom left of the screen.

12

Changing Attributes for a Feature


1. 2.

Activate the Select Tool

Click on the feature that you just placed.

3. It will be selected (indicated by a nearly imperceptible dashed bounding box).


4.

Click on the Feature Properties button and the form will be presented, with the attributes for the currently selected feature. Alter the attributes as needed and click OK.

5.

Deleting Features
The easiest means of editing the position of a newly placed feature in ArcPad is to simply delete the feature and replace it. Vertices can be edited for lines and polygons using the Select & Vertex Editing tool.
1. 2. 3.

Activate the Select Tool

Click on the Feature that you just placed. Using the Feature Properties Drop-down, select Delete Feature.

13

You might also like