A group of upstate New York landowners has filed a lawsuit seeking to overturn a temporary ban on natural-gas drilling in the city of Binghamton.