Spatial modelling with Euclidean distance fields and machine learning. (12th July 2018)