handle truncating of long fieldnames (mainly for shapefiles)
unittest for QgsZonalStatistics