I understand that the absolute distance to a planet can be measured using earth-baseline (e.g., diurnal) parallax, and that the first reasonably accurate such measurement was made for Mars by Cassini (and his assistant Richer) in 1672, and then, famously (with some modifications) for Venus by Halley, Cook, and others and others during its 1769 transit; but when were earth-baseline relative distance measurements first made for each of the planets?
Interpretation of such measurements requires assumptions about the nature of the orbits of planets, but some of the most compelling evidence for the validity of these assumptions is Kepler's third law of planetary motion, the persuasiveness of which itself rests on observations of relative distances. In fact, all of my texts say, in effect, that the third law "fit" the observed pattern of orbital period and relative distance.
Where did these distance measurements come from? What relative distance measurements were available to Kepler in 1619? When was earth-orbit-baseline parallax used to make these measurements for each of the planets?