Lets say a pendulum can swing for about 2 minutes. You just take a 2 minute hourglass, make a bunch of pendulums of different lengths, and assign someone to count the number of swings between the moment you turn the hourglass and the moment the sand has passed trough. The one closest to 120 is the correct length.
Now this solution is mathematically elegant but comes with a lot of problems. First you must rely on a less-than-perfect time measurement device which may suffer from day to day variations due to temperature.
On the contrary, to calculate the distance from the poles to the equator, all you need is a good angle measurement device, from which you can triangulate a distance.