It works with GPS. It knows where you are at all times and, therefore, what the speed limit is at that location.
Is GPS accurate to within say 25 feet?