This script was created as part of my bachelor-thesis in geography. It aims to automatically classify five different types of buildings in the city of Huế in central Vietnam by. The classification itself was established on a threshold-based decision-tree classifyer which picked the most suitable parameters and indices for this purpose. The parameters and indices themselves are calculated in the course of the script.