now generates location object for arbitrary corner