Share 'Measuring distances from tee to basket'

This is so random but I was thinking about this while traveling the other day. Are holes measured from the front of the teepad to the pole in the middle of the basket or the front of the basket itself?