SoundingRounding.xml be can viewed in any text editor or XML-compliant browser.
<?xml version="1.0" encoding="UTF-8"?> <CARIS_SdgConfigFile versionID="1.0"> <Rule Name="Default Metres" Description= "Default rounding in metres and decimetres (= 30,30,R)" Whole_Unit_Conversion_Factor= "1.0" Whole_Unit_Label_Singular= "Metre" Whole_Unit_Label_Plural= "Metres" > <!-- Because Subscript is in decimals of the metre, --> <!-- no subscript unit information needs to be defined. -->
<!-- This range applies to soundings deeper or equal to 30 --> <Range Threshold="30"> <Element Precision="1.0" Rounding_point="0.5" /> </Range>
<!-- The last range, with no threshold specified, applies --> <!-- to all other soundings, i.e. dry heights down to 30m --> <Range> <Element Precision="0.1" Rounding_point="0.05" /> </Range>
</Rule>
<Rule Name="Default Feet" Description= "Default rounding to whole feet" Whole_Unit_Conversion_Factor= "3.2808399" Whole_Unit_Label_Singular= "Foot" Whole_Unit_Label_Plural= "Feet" > <!-- Because Subscript is in decimals of the metre, --> <!-- no subscript unit information needs to be defined. -->
<!-- This range applies to all soundings --> <Range> <Element Precision="1.0" Rounding_point="0.5" /> </Range>
</Rule> ... </CARIS_SdgConfigFile> |
The first two lines contain the file declaration:
• Line one means that the file uses version 1.0 of the XML standard and that it can be used on computers that support UTF-8 character encoding.
• CARIS_SdgConfigFile defines the tags and attributes in the sounding rounding file.
Both tags are necessary and must be included in any custom file.