This paper presents an analytic framework to measure the spatial segregation caused by reducing or forbidding the free movement of pedestrians, due to the existence of a highway or other type of transport facility with barriers that prevent pedestrians from crossing it.