dtm2tca.pl conversion script