General landscape code.