Feature Templates

The Feature Templates section of the Configuration allows for the creation of templates for vector features so that they conform to a predefined set of feature properties and attribute values.

Applying a template will automatically assign various feature properties and attributes to a new feature. An example application of feature templates is when conducting an inventory. The features contained in a feature template can have a pre-defined set of attributes, some that are editable, some with a fixed set of possible values, and some attributes that are pre-filled and not editable.

Like custom feature types, the feature template descriptions are saved in the user data folder. Feature template definitions can be imported and exported for backup or sharing with other users. (When a package file containing feature template layers is opened, the templates described in that file will be added to the user template collection.)

Click on the Configuration button, and select the “Feature Templates” tab to create and edit templates.

Add...

Brings up the Feature Template Dialog to add a new Feature Template. See Creating Feature Templates.

Edit...

Brings up the Feature Template Dialog to edit the highlighted Feature Template in the list.

Delete

Delete the highlighted Feature Template

Load From File...

Load a previously saved Feature Templates file (*.gm_featureTemplates). This will overwrite any currently displayed feature templates. Be sure any of the current templates are saved in a workspace or Feature Templates file.

Save To File...

Create a Feature Template file (*.gm_featureTemplates) from the current list of Feature Templates.

Creating Feature Templates

Feature templates are defined with the following dialog:

Using Feature Templates

Once the desired feature templates have been defined, layers that can apply the templates must be added to your project. Click on the Overlay Control Center button, and right click on the layer list area. Select the menu option “Create a New Feature Template Layer…”. A new layer will be created and a layer property sheet will be displayed. Select the “Template” tab to specify which feature template that layer will apply to new features added to the layer.

The user may only add features of the type defined by the feature template (point, line or area) to the layer.

Once the feature template layers have been defined, the project can be exported to a Global Mapper Mobile Package file (*.gmmp) for use with the Global Mapper Mobile application.

To create features in the Feature Template Layer in Global Mapper, use the Digitizer to create a new feature. Select the feature template layer to place the new feature. Only those template layers with compatible template types (point, line, or area), will be included in the layer list.

If there are any attributes with the “Value input required” option set, the user will be prompted for those values after clicking OK.

A similar procedure is conducted to create features using the mobile application.