Result logic combined with spatial analysis