The main objective of this study is to provide scenarios and solution to the current problem in the railways network in Qaliobia Governorate. The local community have a problem of illegal moving among both sides of the railways that make life losses and large socio-economic problems. The project was direct contract with the Qaliobia Governorate to map the up-to-date status and provide solutions. The study based on high resolution satellite images, field observation, thematic maps and spatial analysis. Firstly, we mapped the population density alongside the railways network and obtained all the zebra crossing and gates as well as the illegal opening gates. Then statistical spatial analysis was made to propose the different scenarios including: