The complexity of learning geometry and measurement