This is fine as long as the light source is at the same distance from the subject as from the point you meter. This applies to sun lit landscapes, since the sun is so far away that there is no practical difference.
For artificial lighting this might not be the case. You would have to meter next to the subject.