An attribute schema allows users to create a series of attributes for a layer to make data collection more efficient. The schema defines the name, type, and associated properties such as an optional pick list.
Creating an Attribute Schema
There are two ways to create an attribute schema within the app. Both options result in the same workflow but allow for two separate points to create the schema.
- Through an individual feature on a map
- Through the layer itself
The workflow below breaks down how to create the schema through an already added feature on a map.
- Create a feature on a map
- Tap on the feature to access the Edit Map Feature dialog
- Tap on the pencil icon in the Attributes section (this will open the Edit Layer screen)
- With the Edit Layer screen open, you can change the layer name, set a new icon, as well as create your attribute schema. Tap the '+' icon to create a new attribute
- Rename the attribute as desired
- Set the type of attribute
- String - alphanumeric characters
- Boolean - yes or no values
- Real - numbers that can contain decimal values
- Integer - whole numbers
- If desired, set a picklist value (repeat this step for each value required)
- Tap the back arrow when the attribute is as desired
- Repeat steps 6-8 for each desired attribute
Importing an Attribute Schema
To import a custom schema you will use a similar process to importing Map Features. Open the desired map that you want the schema on, and select Import Map Features. Once open, select the checkbox for "Import Schema Only" and navigate to the desired file. Please note that schema must be in KML format.
Once imported, the scheme will be on its own layer and may require additional changes in order to be the active layer for data collection.
Using Attribute Schemas
With an active layer scheme, users can begin collecting data using the pre-designed attributes, icons, any other styling settings. To collect data using a schema please follow the steps below:
- Set the schema as the active layer on a map (please see Managing Features)
- Add a placemark, line, track or area to the map
- Tap on the feature and go to the Edit Map Feature screen
- In the Attributes section, tap the attribute you need to enter data for
- If the attribute has a picklist, choose the appropriate value, or enter a new value
- Tap the back arrow to return to the Edit Map Feature screen
- Repeat steps 4-6 for each remaining attribute
- Close the Edit Map Feature screen when you are satisfied
- Repeat for any other features