As the pilot was attempting to return to the airport after a soaring flight, he could not visually obtain it. The pilot then attempted to use GPS data to locate the airport, but another airport was mistakenly selected in the GPS unit. As the altitude of the glider continued to decay, the pilot elected to perform a forced landing to a field. Upon touching down in the field, the glider encountered a ditch, and came to rest upright.