Support Centre

Attribute Schema (Android)

Last Updated: May 04, 2018 10:01AM 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. Long press on the desired layer from the Layers tab, or from the Map Features list (within the Map View)
  2. Tap the pencil icon (Edit) displayed in the toolbar at the top of the screen.  This will open the Edit Layer dialog, which displays all the details for that layer
  3. Scroll down to the bottom of the Edit Layer dialog and tap on the '+' icon next to 'Attribute Schema'.  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 the menu icon (lower right corner)
  4. Select 'Export Map Features'
  5. Adjust the settings as desired (NOTE: to re-import into Avenza Maps as a schema, the format must be set as KML)
  6. Choose 'Export Schema Only' (NOTE: no data will be exported, only the schema information)
     

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 the menu icon (lower right corner)
  4. Select 'Import Map Features'
  5. Select the checkbox for "Import Schema Only" and 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
    • Long press on the layer from the Map Features list
    • Select the pencil icon (Edit)
    • Choose "Set to Current Layer"
  2. Add a placemark to the map
  3. Before confirming the addition of the feature (checkmark 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 the checkmark to confirm the placemark addition
  9. Repeat for any other features


Related Topics

Contact Us

470780163d9e7375078734b8b53cc574@avenza.desk-mail.com
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete