Mapping population density in functional urban areas