Identification of high-risk hotspots along railway lines