Correlation between macroscopic transport parameters and microscopic electrical properties in GaN