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.
Access Feature Templates by selecting the Configuration button from the File Toolbar or Tools menu, and navigating to the Feature Templates section.
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.
Feature templates are defined with the following dialog:
Attributes - Attributes are defined using the Feature Template Attribute dialog:
Attribute values may be “free form”, allowing the user to enter any string value, or enumerated allowed values.
Allowed Values - Allowed values are attached to the attribute by clicking the “Allowed Values…” button. This opens the Allowed Attribute Values Dialog. Right click on the list to Add allowed values. Then click each <New Item> to enter the value.
Value editable - Select the Value editable” check-box to allow users to edit attributes. Otherwise they will be constant using the default value.
Value input required - If this check-box is selected, the user will be prompted to enter a value for the attribute when a new feature is created. (The user may add additional attributes to a feature if desired.)
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.