The object mapping parameters are contained between the <ObjectMappings> tags. There must be at least one object mapping in this section.
The basic structure of the object mapping section is shown below.
<Object Acronym="Acronym"> |
<Filter> |
<PrimitiveIsEqualTo Primitive="Primitive"/> |
</Filter> |
<MapObject> |
<MapObjectAcronym Acronym="Acronym" /> |
<SetAttributeValue Acronym="Acronym" Value="value"/> |
<ApplyAttributeMapping Name="AttributeMappingName"/> |
</MapObject> |
</Object> |
The tags in the <ObjectMappings> section are.
Tag | Comments | Status |
| The Attributes:
| Mandatory |
| The | Optional |
| The | Mandatory |
Object Mapping Example
In the following example, the S-57 AIRARE objects are mapped to the VPF GB005 objects.
<Object Acronym="AIRARE"> |
<Filter> |
<PrimitiveIsEqualTo Primitive="Point"/> |
</Filter> |
<MapObject> |
<MapObjectAcronym Acronym="GB005" /> |
<SetAttributeValue Acronym="EXS" Value="28" /> |
<ApplyAttributeMapping Name="OBJNAMtoNAM" /> |
<ApplyAttributeMapping Name="CATAIRtoAPTForPoints" /> |
</MapObject> |
</Object> |
|
<Object Acronym="AIRARE"> |
<Filter> |
<PrimitiveIsEqualTo Primitive="Area" /> |
</Filter> |
<MapObject> |
<MapObjectAcronym Acronym="GB005" /> |
<SetAttributeValue Acronym="EXS" Value="28" /> |
<ApplyAttributeMapping Name="OBJNAMtoNAM" /> |
<ApplyAttributeMapping Name="CATAIRtoAPTForAreas" /> |
</MapObject> |
</Object> |
From the above example:
• A VPF GB005 area object is created from an AIRARE area object, and a GB005 point object is created from the AIRARE point object.
• Both GB005 objects are created with the attribute EXS=28.
• OBJNAMtoNAM attribute mapping is applied to both GB005 objects (see Attribute Mapping Example).
• The CATAIRtoAPTForPOINTS attribute mapping is applied to the GB005 point objects, and the CATAIRtoAPTForAREAS attribute mapping is applied to GB005 area objects.