CARIS HPD : S-57 Composer : Custom Product Example : Create Product Profile
 

Create Product Profile

A profile defines links between product features and attributes, including relationships and allowed primitives. The profile is combined with a dictionary to form a product catalogue.

For a custom product type, you should create a separate profile with its own file name, then add features and attributes.

Attribute entries must correspond to the structure of the product profile. This is an example of the biocov attribute class.

<Attribute value="biocov">

  <Permittedvalue value="1" />

  <Permittedvalue value="2" />

  <Permittedvalue value="3" />

  <Permittedvalue value="6" />

  <Permittedvalue value="7" />

  <Permittedvalue value="8" />

  <Permittedvalue value="9" />

  <Permittedvalue value="10" />

  <Permittedvalue value="11" />

  <Permittedvalue value="12" />

</Attribute>

Feature entries must correspond to the structure of the product dictionary. This is an example of a crlref feature class entry.

<Object value="crlref">

  <Primitives value="ALP" />

  <Attribute value="COLOUR" />

  <Attribute value="INFORM" />

  <Attribute value="NATQUA" />

  <Attribute value="NATSUR" />

  <Attribute value="NINFOM" />

  <Attribute value="NOBJNM" />

  <Attribute value="NTXTDS" />

  <Attribute value="OBJNAM" />

  <Attribute value="PICREP" />

  <Attribute value="RECDAT" />

  <Attribute value="RECIND" />

  <Attribute value="SCAMAX" />

  <Attribute value="SCAMIN" />

  <Attribute value="SORDAT" />

  <Attribute value="SORIND" />

  <Attribute value="TXTDSC" />

  <Attribute value="biocov" />

  <Attribute value="catref">

    <Mandatory />

  </Attribute>

  <Attribute value="crlzne" />

  <Attribute value="densty" />

  <Attribute value="geostr" />

</Object>

When you are finished, save the file to C:\Program Files\CARIS\HPD\<version>\system\S57Config\system.