Support Centre

Attribute Schemas (iOS)

Last Updated: Sep 10, 2018 11:20AM EDT

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.  Attribute schemas can then exported and shared between users to ensure data collection is standardized between users. 

Creating an Attribute Schema
There are two ways to create an attribute schema within the app - for an individual feature, or for an entire layer.  Creating an attribute schema for an entire layer is often the best method as it ensures that any subsequent data collected on that layer will have access to the same attribute selections.  Creating an attribute schema for a layer can be done from within the Map View (Map Features list) or from the Layers tab directly.

To create an Attribute Schema for a layer:

  1. Tap Edit from the Layers tab, or from the Map Features list (within the Map View)
  2. Tap the 'i' icon for the desired layer 
  3. Scroll down to the bottom of the Edit Layer dialog and tap on the '+' icon next to 'Add a New Attribute'.  This will open the Edit Attribute dialog
  4. Rename the attribute as desired (e.g. Tree Type)
  5. Set the type of attribute 
    1. String - alphanumeric characters
    2. Boolean - yes or no values
    3. Real - numbers that can contain decimal values
    4. Integer - whole numbers
  6. If desired, set a picklist value
    1. Tap the '+' icon next to 'Pick List'
    2. Type in the appropriate value
    3. Tap the back arrow to return to the Edit Attribute dialog
    4. Repeat as required
  7. Tap the back arrow when the attribute is complete
  8. Repeat steps 3-7 for each desired attribute

Example of attributes to collect for a tree inventory:

  1. Tree Type > String > Pick List Values: Oak, Pine, Cedar, Maple
  2. Cut (Y/N) > Boolean
  3. Circumference > Real 
  4. Lot number > Integer > Pick List Values: 1, 2, 3, 4, 5

NOTE: While attribute schemas can be created outside of the app in other software, it is currently not recommended, as Avenza Maps requires the schema to be in KML format for importing, and often times problems can arise when creating such files in other software packages.  If you wish to create your schema outside of Avenza Maps, the best option available is to use a text editor (e.g. Notepad++) with an existing KML schema created from the app as a template.  


Exporting an Attribute Schema

To export an attribute schema to share with other users or for use elsewhere, you will use a similar process to Exporting Map Features:  

  1. Open the map that has the schema you wish to export
  2. Tap on the Map Features icon (next to the wrench)
  3. Tap Export Map Features (square with an upward arrow)
  4. Adjust the settings as desired (NOTE: to re-import into Avenza Maps as a schema, the format must be set as KML)
  5. Choose 'Schema Only' (NOTE: no data will be exported, only the schema information)
  6. Tap Export

Importing an Attribute Schema
To import a custom schema provided to you or that you have created, you will use a similar process to Importing Map Features:

  1. Open the map that you want the schema on
  2. Tap on the Map Features icon (next to the wrench) (NOTE: you can also import the schema to the Layers tab and choose not to link it to a map.  The remaining steps are the same for both options)
  3. Tap Import Map Features (square with a downward arrow)
  4. Tap Import Schema
  5. Navigate to the desired file.  (NOTE: the schema must be in KML format)

NOTE: Once imported, the schema will be on its own layer and may require additional changes in order to be the active layer for data collection. Please see below on how to use schemas in the app.  

Using Attribute Schemas
With an active layer schema, 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:

  1. Set the schema as the active layer on a map
    • Tap the 'i' icon beside the layer from the Map Features list
    • Choose "Set As Active Layer"
    • Tap Back and then Close to return to the Map View
  2. Add a placemark to the map
  3. Before confirming the addition of the feature ('Submit' in the top right corner), scroll down to 'Attributes'
  4. In the Attributes section, tap the attribute you need to enter data for
  5. If the attribute has a picklist, choose the appropriate value, or enter a new value
  6. Tap the back arrow to return to the Add Placemark screen
  7. Repeat steps 4-6 for each remaining attribute
  8. Tap 'Submit' to confirm the placemark addition
  9. Repeat for any other features

Related Topics

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found