2.4 Gather Field Data with ArcGIS Collector

Note: ArcGIS Collector is in the process of being replaced by ArcGIS Field Maps. This section will be updated as time permits. Much of the preparation for Field Maps remains the same as for Collector, but there are additional configuration steps for Field Maps. For now, see the Field Maps documentation for details.

Field data collection typically involves marking waypoints and tracks on a mobile GPS receiver, and writing down observations or attribute values on a paper data sheet. GPS-enabled smartphones and tablets now enable more efficient, all-in-one field data collection (Figure 2.15). Esri’s ArcGIS Collector app, available for Android and iOS, sends location and attribute data collected on a mobile device directly to ArcGIS Online. The data can be seamlessly integrated into ArcGIS Pro to create maps that update themselves in real time as new field data is collected. This section demonstrates how hosted feature layers are used to gather field data through the Collector app and make it available for use in any GIS application.

Figure 2.15: Comparison of field surveying on a smartphone (left) and handheld GPS receiver (right)
Figure 2.15: Comparison of field mapping on a smartphone (left) and handheld GPS receiver (right) (photo by Tom Urbanski)

Section Outcomes

In this section, you will:

  • Create a new hosted feature layer in ArcGIS Online,
  • Add and configure attribute fields,
  • Adjust layer settings,
  • Configure a web map for data collection,
  • Test and refine the web map,
  • Use Collector for ArcGIS to collect field data, and
  • Add the hosted feature layer to an ArcGIS Pro project.

Stage 1: Forming the Goal IconTeachback 8 – Goal

What type of field data do you plan to collect? Write down what feature type and attributes you will record to inform your setup of the hosted feature layer that you will use in Collector.

Stage 2: Forming the Intention iconCreate a new hosted feature layer in ArcGIS Online

A hosted feature layer is a vector feature collection stored in the Content area of ArcGIS Online that allows others to interact with it when added to a web map. A new hosted feature layer must be created for storing the field observations to be gathered with ArcGIS Collector.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

1. In a browser, go to ArcGIS.com.

2. In the upper-right corner of the web page, click “Sign In”. Enter your ArcGIS Online organizational account credentials.

3. In the menu bar at the top of the Home page, click “Content”.

4. On the left side of the page, just below the blue header bar, click “Create”, then click “Feature Layer” (Figure 2.16).

Figure 2.16: Creating a new feature layer in ArcGIS Online
Figure 2.16: Creating a new feature layer in ArcGIS Online (© Esri; see copyright notice for details)

5. In the Create a feature layer window, on the left side menu, click “Build a layer”.

6. In the main part of the window, under “Select a feature layer template”, click on “Points”, “Lines”, or “Polygons” depending on the dimensionality of the field data you plan to collect (see your answer to Teachback 8). Most field observations are collected as point locations, so if you’re not sure, select “Points”.

7. Click “CREATE” (Figure 2.17).

Figure 2.17: Selecting a point feature layer template
Figure 2.17: Selecting a point feature layer template (© Esri; see copyright notice for details)

In the lower part of the Create a feature layer window, there are two checkboxes: “Capture GPS receiver information” and “Z values – coordinates include z values to store 3D data”. The first checkbox adds fields to the layer that automatically record metadata from the GPS receiver in the mobile device used to capture data, including the accuracy of the recorded position and sources of position error. Checking this box will add quite a few fields to your feature layer, so it best to only do so if you plan to perform very precise surveying. The second checkbox automatically stores altitude data from the GPS receiver with the feature coordinates. Only check this box if vertical position is important to the type of field data you are collecting (for example, if you are working in a mountainous area, and the elevation of each observation is meaningful).

8. Check one or both checkboxes if desired; if you are unsure, leave them unchecked. Then click “Next”.

9. Pan and zoom the map to focus on the geographic area where you plan to collect your field data, then click “Next”.

10. Enter a title, tags, and summary for the feature layer, and choose a content folder in which to save it (if any are available), then click “Done” (Figure 2.18).

Figure 2.18: Adding basic information to the new feature layer
Figure 2.18: Adding basic information to the new feature layer (© Esri; see copyright notice for details)
Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The Create a feature layer window remains open with fields grayed out for several seconds while the layer is created. Once the layer has been created, the window closes and a web page loads that shows an overview of the new hosted feature layer along with several menu options and buttons for actions that can be taken with the layer.

Stage 2: Forming the Intention iconAdd and configure attribute fields

Once you have created a new hosted feature layer, you need to add fields to the layer’s attribute table for observations that you intend to make about your collected features. It is better to be exhaustive and add fields that may only be relevant sometimes than to not add enough fields and realize later on that you need to record additional attributes (you can come back and add more fields later if needed, though).

You must specify a data type for each field you add. You have other options as well, including whether the field will require a value to be entered, whether the value for each feature must be unique, whether the value can be edited, whether there is a default value, and the maximum length of the value. You can also specify a list of values that are valid for a given field. The changes you make here will determine what information can be entered for each new feature created in the field.

Stage 2: Forming the Intention iconTeachback 9 – Intention

What attributes will you record along with features you collect in the field? Write down a list of fields you will include in your feature layer.
Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

11. In the blue menu bar near the top of the item description page, click “Data”.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The attribute table for the hosted feature layer opens. If you did not check the “Capture GPS receiver information” in Step 8, there are currently only two fields“OBJECTID” and “Photos and Files”—and no rows. If you did check the “Capture GPS receiver information” box, there are many more fields that have been added to capture GPS metadata.

12. In the upper-right corner of the table, click the Options button (which looks like three stacked horizontal lines), then click “Add Field” (Figure 2.19).

Figure 2.19: Adding a new field to the attribute table
Figure 2.19: Adding a new field to the attribute table (© Esri; see copyright notice for details)

13. In the Add Field window (Figure 2.20):

1. Add a Field Name that is 10 characters or fewer, with no spaces or special characters.

2. Add a Display Name, which can be longer and have spaces.

3. From the “Type” dropdown, select the data type:

        • String: for text or any mix of numbers, letters, and other characters
        • Integer: for whole numbers
        • Double: for numbers with decimals
        • Date: for dates and times.

4. If the data type is String, specify a maximum number of characters for values in the “Length” input.

5. If desired, add a Default Value. This is a value that will be automatically added for each feature unless the user changes it.

6. If each new feature should require a value for the field, uncheck “Allow Null Values”. If filling in the field should be optional, leave it checked.

7. Click “Add New Field”.

Figure 2.20: Setting the options for the new field
Figure 2.20: Setting the options for the new field (© Esri; see copyright notice for details)
Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The Data page updates. The OBJECTID field disappears from the table, and the new field is added.

14. Repeat Steps 12 and 13 to create all of the additional fields that are needed for the layer, as you specified for Teachback 9.

15. Above the table, on the right side of the page, click “Fields”.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The page loads a three-column table with a list of attribute fields, including each field’s display name (as blue hyperlinks), field name, and data type (Figure 2.21). The first six fieldsOBJECTID, GlobalID, CreationDate, Creator, EditDate, and Editor—were added automatically and are hidden from the main table view. These fields will populate their values automatically when a new feature is created. If you checked the “Capture GPS receiver information” box in Step 8, there are also many GPS metadata fields that will also populate automatically. The fields you created in Steps 12-14 are at the bottom of the table.
Figure 2.21: The Fields view of the data table
Figure 2.21: The Fields view of the data table (© Esri; see copyright notice for details)

16. Click on the display name of the first field you added (you may have to scroll down if you cannot see the field right away).

17. In the upper-middle of the page, to the right of the “Description” header, click “Edit”.  Add a description for the field and click “Save”.

18. To the right of the “Field Value Type” header, click “Edit”. From the dropdown, select the field value type that best matches the types of values that the field will store (Figure 2.22).

Figure 2.22: Editing the settings for a field
Figure 2.22: Editing the settings for a field (© Esri; see copyright notice for details)

19. If the attribute values for the field should be chosen from a list of specific values:

1. On the right side of the page, click “Create List”.

2. Under “Label”, type what should be displayed for the first value.

3. Under “Code”, type a code for the first value. This can be the same as the label, or something shorter.

4. Click “Add” and fill in the label and code for additional values to add them to the list (Figure 2.23).

5. When finished adding values, click “Save”.

Figure 2.23: Editing the list of available values for a field
Figure 2.23: Editing the list of available values for a field (© Esri; see copyright notice for details)

20. In the list of fields on the left side of the page, click the name of the next field you added.

21. Repeat steps 16-19 for all of the attribute fields you added to the table.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The information window for each field gives the added description and field value type, and lists the field settings in the Settings table. The settings that can be edited have an Edit button on the right side of their rows. If you created a list of values for a field, the list appears below the Settings table, with an Edit button in the upper-right corner that allows you to edit the list.

Stage 2: Forming the Intention iconAdjust layer settings

With hosted feature layers, you can control who has permission to access and edit the layer, and what types of editing other people can do. It is important to consider who will have access to your data and how much power you want to give other people over it. Will you allow others in your organization or members of the public access to the layer? Do you trust others who will have access to the layer to edit or delete existing features? Should they be able to edit their own features once they have created one? The more people have access to editing your data, the more carefully you should think about restrictions that will maintain the security and integrity of the data. No matter what settings you choose, you are the administrator of the layer and will always have the ability to modify and delete it, and it will not appear in anyone else’s ArcGIS Online content area.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

22. In the blue menu bar at the top of the page, click “Overview”.

23. On the right side of the page, at the bottom of the list of action buttons, click “Share”.

24. Choose whether to maintain exclusive access to the layer, or give access to others in your organization or the general public. If you are a member of one or more groups within the organization, you will see an “Edit group sharing” button that allows you to choose which groups to share the layer with. Make the appropriate selections and click “Save” (Figure 2.24).

Figure 2.24: Sharing hosted feature layer access
Figure 2.24: Sharing hosted feature layer access (© Esri; see copyright notice for details)

25. In the blue menu bar, click “Settings”.

26. Scroll down to the “Feature Layer (hosted)” area. Examine each option and decide whether to maintain the option as is or change it.

Stages 5, 6, and 7: Perception, Interpretation, and EvaluationTeachback 10 – Perception, Interpretation, and Evaluation

For each of the bulleted hosted feature layer options, what settings did you choose for the option, and why did you choose them? Justify your answers based on how your layer will be shared and used.

Stage 2: Forming the Intention iconConfigure a web map for data collection

Once your hosted feature layer is set up and ready to receive field data, the next step is to create a web map to allow for data collection. Any web map with an editable feature layer that you have been given access to, including those you create yourself, will appear in ArcGIS Collector when you are signed in with your organizational account. The web map configuration determines the basemap that will be used, how features in the layer will be symbolized, and what fields will be shown on the data collection form. The web map can be created in ArcGIS Online using the Map Viewer or Map Viewer Beta apps. As of this writing, Map Viewer is the default web mapping interface in ArcGIS Online, so these directions are specific to it.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

27. In the blue menu bar at the top of the page, click “Overview”.

28. On the right side of the page, at the top of the list of buttons, click “Open in Map Viewer”.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The web page reloads to open the Map Viewer app. The app has a title bar with navigation menus, a tool bar, a left side panel with “About”, “Content”, and “Legend” views, and a main map area.

29. In the toolbar, toward the left side, click “Basemap” and select a basemap that you want to display while collecting field data (Figure 2.25).

Figure 2.25: Selecting a basemap in Map Viewer
Figure 2.25: Selecting a basemap in Map Viewer (© Esri; see copyright notice for details)

30. In the Content pane on the left side of the page, hover over the name of the hosted feature layer to reveal the layer option icons, then click the three dots to the right of the other icons (“More Options”), then click “Configure Pop-up” (Figure 2.26).

Figure 2.26: Opening the Configure Pop-up pane for the hosted feature layer
Figure 2.26: Opening the Configure Pop-up pane for the hosted feature layer (© Esri; see copyright notice for details)

31. In the Configure Pop-up pane, under the list of attributes, click the “Configure Attributes” link.

32. In the Configure Attributes window, scroll down, review which fields are selected for viewing and editing, and adjust as needed. Fields with their “Edit” box checked will be made available on the input form when a new feature is added in Collector. You can also edit each Field Alias by clicking on the current alias. The Field Alias will be displayed in the pop-up and Collector form. Click “OK” when finished (Figure 2.27).

Figure 2.27: Configuring attributes for display and editing
Figure 2.27: Configuring attributes for display and editing (© Esri; see copyright notice for details)

33. At the bottom of the Configure Pop-up pane, click “OK”.

34. In the Content pane, hover your mouse over the feature layer name, then click the “Change Style” button (which looks a circle, square, and triangle of different colors).

35. In the Change Style pane, under “(2) Select a drawing style”, in the “Location (Single symbol)” box, click “OPTIONS”.

36. Under “Showing Location Only”, click “Symbols”.

37. Choose a symbol and adjust its size to your liking, then click “OK” (Figure 2.28).

Figure 2.28: Choosing a symbol for features in the hosted feature layer
Figure 2.28: Choosing a symbol for features in the hosted feature layer (© Esri; see copyright notice for details)

38. At the bottom of the Change Style pane, click “OK”, then click “DONE”.

39. In the toolbar, click “Save”, then click “Save”.

40. In the Save Map window, enter a Title, Tags, and Summary, then click “SAVE MAP”.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The map is now configured for data collection and saved to your ArcGIS Online content. The title you entered in the Save Map window appears in the upper-left corner of the page, replacing the name of the hosted feature layer.

Stage 2: Forming the Intention iconTest and refine the web map

Before using your map in Collector, it is a good idea to test it in your browser by creating dummy features. This allows you to see what the data entry form will include and how the features you collect will appear on the map. You can adjust the basemap, pop-ups, and symbolization to your liking, then delete your test features.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

41. Zoom in as far as possible on an area where you will collect data in the field.

42. In the toolbar, click “Edit”.

43. In the Add Features pane, click “New Feature”.

44. Click a random spot on the map to place a test feature. If your hosted feature layer is a line or polygon layer, continue clicking on the map to draw the feature, and double-click to finish it.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: A new feature symbol is added to the map, and a pop-up automatically opens with a fillable field for each attribute value that was selected for editing in the Configure Attributes window (see Step 32).

45. In the feature pop-up, fill in the attribute fields, then click “CLOSE” (Figure 2.29).

Figure 2.29: Adding a test feature to the map
Figure 2.29: Adding a test feature to the map (© Esri; see copyright notice for details)
Stage 7: Evaluating the Outcome iconEvaluation: Were all of the attributes that you want to collect represented in the pop-up? Were there any unnecessary attributes, or any text that needs reformatting? Zoom the map to various zoom levels and decide whether the test feature symbol stands out enough against the basemap.

46. In the toolbar, click “Details”.

47. Make any changes you like to the basemap, pop-up configuration, and layer symbolization, then click “Save→Save”.

48. Click the test feature you placed on the map to open its pop-up.

49. At the bottom of the pop-up, click “Edit”.

50. At the bottom of the editable pop-up, click “DELETE”.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The feature disappears from the map. The blank map is now ready to be used in ArcGIS Collector. You can always return to it and edit it through your ArcGIS Online content page.

Stage 2: Forming the Intention iconUse Collector for ArcGIS to collect field data

Your saved web map should automatically appear in the Collector app once you have logged in using your ArcGIS Online organizational account credentials. The Collector user interface is highly intuitive. If you will collect data on a device that does not have access to cell data or in an area that may not have cell signal, you can save the part of the map where you will be working for offline use. The offline map can be set to automatically sync to ArcGIS Online once your device resumes an internet collection.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

51. On a mobile device (cell phone or tablet), if necessary, download and install ArcGIS Collector from Google Play (Android) or the App Store (iOS). There is no cost for the app.

52. Open ArcGIS Collector on your mobile device.

53. Tap “Sign in with ArcGIS Online” and sign in with your organizational account credentials.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The home screen is a list of maps. You should see the map you just created in the list. It may be the only map if your account does not have edit access to other feature layers used in web maps (Figure 2.30).
Figure 2.30: The list of maps in ArcGIS Collector
Figure 2.30: The list of maps in ArcGIS Collector (© Esri; see copyright notice for details)

54. Tap the Options button (the vertical line of three dots) to the right of the thumbnail image of your map, then tap “Add offline area”.

55. Zoom and pan the map until it covers just the area in which you will be collecting field observations. Limit the extent of the area as much as possible; the larger an area you download, the more device storage will be used by the map.

56. Tap the “DOWNLOAD AREA” button (Figure 2.31).

Figure 2.31: Adding an offline area to Collector
Figure 2.31: Adding an offline area to Collector (© Esri; see copyright notice for details)

57. When the download completes, tap the Options button to the right of the area name, then tap “Rename area”.

58. Enter a new name that fits the area and tap “OK”.

59. Tap on the area name to open the map.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The map opens and automatically zooms to your device’s GPS location (if you are within the boundaries of the offline area). The level of horizontal GPS accuracy is shown at the top of the map, along with Back, Refresh, Layers, Search, and Options buttons. A Locate button on the map in the upper-right corner allows you to recenter the map on your GPS location. The blue circle with a white + in the lower-right corner allows you to add field observation data to the map.

60. Go to an area within the extent of the offline map where you will collect field data.

61. Tap the blue + button in the lower-right corner of the map to add an observation point.

Stages 5 and 6: Perception and InterpretationPerception and Interpretation: A collection form opens at the bottom of the map, and a point marker and crosshairs appear in the center of the map. If you pan the map, the crosshairs stays in the map center. Tapping the “UPDATE POINT” button will move the marker to the location of the crosshairs (Figure 2.32).
Figure 2.32: Adding an observation point in Collector
Figure 2.32: Adding an observation point in Collector (© Esri; see copyright notice for details)

62. Adjust the position of the marker if necessary by panning the map and tapping the “UPDATE POINT” button.

63. Swipe up on the layer name (above the UPDATE POINT button) to expand the data form.

64. Tap on each required form field and choose or type in a value.

65. If desired, tap the “TAKE PHOTO” button to add a photo of the site.

66. When finished, tap the checkmark in the upper-right corner of the screen.

67. Collect additional data as desired.

68. When back in a location with internet access, tap the Sync button (which looks like a circle composed of two arrows) at the top of the map, then tap “SYNC”. You can turn on Auto-sync to avoid having to do this again if you want.

69. Exit the app.

Stage 7: Evaluating the Outcome iconTeachback 11 – Evaluation

  1. Why is it necessary to add an offline area before collecting field data?
  2. Describe what happens to the data you collect after you add an observation.

Stage 2: Forming the Intention iconAdd the hosted feature layer to an ArcGIS Pro project

Now that you have collected some data in your hosted feature layer, you can easily add the data to a map in ArcGIS Pro. You can then symbolize and perform analysis on the layer as needed.

Stages 3 and 4: Specifying and Executing an Action SequenceAction Sequence

70. Open an existing ArcGIS Pro project or create a new project from the Map template.

71. In the Map ribbon tab, click the “Add Data” button.

72. In the Add Data window, on the left side, expand “Portal” and click on “My Content”.

73. Find your hosted feature layer in the main part of the window, click on it once, and click “OK” to add it to the map (Figure 2.33).

Figure 2.33: Adding a hosted feature layer to the map in ArcGIS Pro
Figure 2.33: Adding a hosted feature layer to the map in ArcGIS Pro (© Esri; see copyright notice for details)
Stages 5 and 6: Perception and InterpretationPerception and Interpretation: The hosted feature layer is added to the map. It is now ready to be symbolized.

74. Zoom the map in on the features contained by the hosted feature layer.

75. In the Contents pane, expand the hosted feature layer and its sub-layer.

76. Right-click the name of the sub-layer, then click “Symbology”.

77. Adjust the layer symbology as desired and save the project (Figure 2.34). (If you need a refresher on working with layer symbology, see Section 1.4).

Figure 2.34: Symbolizing a hosted feature layer in ArcGIS Pro
Figure 2.34: Symbolizing a hosted feature layer in ArcGIS Pro (© Esri; see copyright notice for details)
Stage 7: Evaluating the Outcome iconEvaluation: Any time the ArcGIS Pro map is refreshed, the hosted feature layer will be updated with any new features that were added in ArcGIS Collector. You can keep adding new features with Collector, and they will appear on the map in ArcGIS Pro in real time. You can also export features from the hosted layer to a local feature collection (see Section 3.4) and perform spatial analysis operations using the layer (see Chapter 4).

Further Resources

The ArcGIS Collector Help documentation is organized as a sequential walkthrough of setup, collection, and post-collection tasks. The Learn ArcGIS “Try Collector” learning path includes four tutorial articles and a video that guide you through setting up and using Collector apps.

 

definition

License

Icon for the Creative Commons Attribution-NonCommercial 4.0 International License

The Flexible GIS Workbook for ArcGIS Pro Copyright © 2020 by Carl M Sack is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, except where otherwise noted.

Share This Book