AMF map vs climates

I'm wondering about climate and land id's. The amf spec says that a pixel holds the following information Climate Id and LandType Id both one byte. However in the Climate file there is nowhere an ID to be found.
So how can I parse the right climate id or landtype id to compare with in the AMF file ?
- Code: Select all
<varlist name="LandTypeList">
<varlist name="Sand">
<bool name="Enabled">true</bool>
<colour name="DisplayCol">230, 230, 120</colour>
<varlist name="Params">
<float name="BaseProb">0.300000</float>
<float name="Water">0.860000</float>
<bool name="MinAltFlag">false</bool>
<bool name="MaxAltFlag">false</bool>
</varlist>
<varlist name="Noise">
<varlist name="Gen1">
<float name="Amp">0.005000</float>
<float name="Freq">1.000000</float>
<int name="nOct">1</int>
</varlist>
<int name="RandKey">12253</int>
</varlist>
<int name="BlendRadius">-1</int>
<string name="MaterialName">std_sand_yellow</string>
</varlist>
<varlist name="Pebbles">
<bool name="Enabled">true</bool>
<colour name="DisplayCol">175, 160, 131</colour>
<varlist name="Params">
<float name="BaseProb">0.270000</float>
<float name="Grad">0.200000</float>
<float name="Water">0.860000</float>
<bool name="MinAltFlag">false</bool>
<bool name="MaxAltFlag">false</bool>
</varlist>
<int name="BlendRadius">2</int>
<string name="MaterialName">std_pebbles</string>
</varlist>
So how can I parse the right climate id or landtype id to compare with in the AMF file ?