A novel framework for urban mapping from multispectral and hyperspectral data