Geometry in the solar system