Segmenting cities and real estate