Spatially resolved spectra in semiconductor quantum structures: Spatially averaged spectra compared to far-field spectra