Added option in configuration to enable spatial ranking (#141)