Title: A spatial information system for predicting hazard at railway crossings