Source: https://mran.microsoft.com/snapshot/2016-04-13/doc/contrib/intro-spatial-rl.pdf