See hats.html for the full explanation.
Here's the full set of kitemaps and metamaps for all the tile types: