Compose : Compose Support Files : SCAMIN : Non-Sounding Features : Scale Factor
 
Scale Factor

The scale factor method applies scale factors to calculate SCAMIN for area, line, and point features using one of the following files, depending on the product:

assignscamin.xml: ENC and AML products.

assignEUIENCSCAMIN.xml: European IENC products, based on the IENC Encoding Guide 1.3.1.

assignUSIENCSCAMIN.xml: US IENC products, based on the IENC Encoding Guide 1.3.1.

These files are located in ...\CARIS\BASE Editor\4.3\modules\Compose\support.

The files are mapping files and follow the same structure and syntax as other mapping files.

This is an example from assignscamin.xml:

<Object Acronym="LNDMRK">

   <Filter>

      <AttributeAcronymIsEqualTo Acronym="SCAMIN" />

   </Filter>

   <MapObject>

      <SetScaminAttribute ScaleFactor="4" />

   </MapObject>

</Object>

In this example, a scale factor of 4 is used to calculate the SCAMIN value for the LNDMRK (land mark) feature.

The following formula is used:

SCAMIN = (compilation scale ÷ divisor) × scale factor.

For the LNDMRK feature, SCAMIN is calculated as:

(compilation scale ÷ divisor) × 4

The compilation scale can be derived from either the S-57 product or a meta-compilation scale area feature (M_CSCL). If a feature falls within the boundaries of a meta-compilation scale area, the CSCALE attribute overrides the product compilation scale.

If the data set has a scale of 0, SCAMIN is undefined. When the compilation scale is derived from a meta-compilation scale object, the divisor is 1.0. When the compilation scale is derived from the product, the divisor is 2.0.

If a feature overlaps more than one meta-compilation scale area, the scale of the first area is used.

An alternate method of calculating SCAMIN is to use the CSCLMultiplier. The CSCLMultiplier is a user-defined value that overrides the divisor. This method gives you greater control over SCAMIN calculation. For example, to calculate SCAMIN using the product compilation scale without a divisor, you can set CSCLMultiplier to 1.0.

The following formula is used when calculating SCAMIN using the CSCLMultiplier:

SCAMIN = (compilation scale × CSCLMultiplier) × scale factor

The CSCLMultiplier value is not included in any of the product-specific files distributed with Compose. You must edit the file to add the multiplier.

This example shows the LNDMRK feature with CSCLMultiplier.

<Object Acronym="LNDMRK">

   <Filter>

     <AttributeAcronymIsEqualTo Acronym="SCAMIN" />

   </Filter>

   <MapObject>

     <SetScaminAttribute CSCLMultiplier="2.0" ScaleFactor="4" />

  </MapObject>

</Object>

Here CSCLMultiplier is set to 2 and the scale factor is set to 4. For the LNDMRK feature, SCAMIN is calculated as follows:

SCAMIN = (compilation scale × 2.0) × 4

CSCLMultiplier cannot be used with a scale value from a meta object such as. CSCALE.