Although their presence in the landscape is a bit unexpected, these three landfills where so much New York City trash goes to die look nothing like trash heaps of old. They are soil-topped mountains by the scenic Delaware River  the Tullytown site rises 240 feet above sea level  that are part of a 6,000-acre complex that includes freshwater lakes, misting devices to help control odor and the largest solar-panel farm on the East Coast. As Robert Iuliucci, a senior district manager for Waste Management, drove around the Tullytown landfill, his Phillies cap on the dashboard, neither the World Series nor New York City’s refuse was on his mind.

Image Harry Hansberry and his mother, Henrietta Hansberry, who owns a pizzeria in Morrisville and is not fond of New York's Yankees or its trash. Credit... Jessica Kourkounis for The New York Times

“There’s quite a few of the red-tailed hawks around,” Mr. Iuliucci said, looking skyward.

The garbage at the complex comes primarily from southeastern Pennsylvania, New York and New Jersey. People in Morrisville, Tullytown and Falls Township have long known they live in the shadow of New York City garbage. But this common knowledge still seemed to rankle at least a few local residents, especially when reminded of it by a reporter from New York.

“Talking about it now? Yeah, keep your losing Yankees up there and keep your trash up there,” said the otherwise pleasant Henrietta Hansberry, 59, who co-owns Anthony’s IV Pizza & Pasta in downtown Morrisville, where a poster outside featured the Yankees’ logo with a red slash through it, the balloons read “Spank the Yanks” and, in an even more outrageous slap in the face to all that New York represents, a plain slice costs $1.60.

Though on opposite ends of the waste stream, New York City (population 8,308,163) and Morrisville (population 10,023) have some things in common. Both have neighborhoods called Washington Heights. One is officially a borough, the other is made up of five of them. And the two places share Morrisville’s mayor, Tom Wisnosky, 54, who lives in Morrisville but works in Manhattan, as director of the morning newscast on Channel 11.

“We have to put up with it because it’s there,” Mr. Wisnosky said of the garbage. “But as far as jumping for joy that we’re waving at your trash as it comes down the highway, that’s really not happening here.”

Mr. Wisnosky said Waste Management has been a good neighbor, though he expressed frustration with the fact that, because the landfills have a Morrisville address but are physically in Falls Township and Tullytown, Morrisville receives no host fees from the company. The decades-old firehouse for Morrisville’s volunteer fire company is falling apart, and a red-brick building opened recently on Bridge Street, the first new construction in downtown Morrisville in 80 years, he said.

But the situation could be worse, Mr. Wisnosky and others said. They could be in Florence Township, N.J., across the Delaware River from the landfill complex, and in the path, it turns out, of the prevailing winds.