There are couple of examples i can give from Turkey:
- Gold Mine project in Erzincan
- Thermal Power Plant projects in the city of Amasra, and Trakya region.
- Third Airport to Istanbul
Most of these projects are still contested by the locals, but probably will be carried out. Most of the time the way to deal with locals is to promise them jobs in the projects. With high levels of unemployment, this becomes attractive especially to youth. In an ideal system if this doesn't balance out the impacts of the project in the community, we would expect the annulation of the project.
However most of the time, in a law dispute, private companies have a very strong lawyer team that works things out, mostly by convincing locals to accept a certain amount of money for their expenses. This almost never cover the expenses of the locals though.
If it is the state that proposes the project, depending on the national benefit of the project, we can observe an annulation to deportation of locals to some place else. The deportation almost always ends up in misery, because one doesn't really notice it in urban areas but in rural areas where you live really matters and it determines one's way of life, you loose your place, you loose your way of life. This has happened in the construction of the dams in the south-east of Turkey. Even some archaeological sites went under the water, but the dams created the necessary infrastructure in order to farm the land for later generations.
I honestly believe that proposing jobs or a privilaged access to jobs and improving overall infrastructure of the locals (schools, hospitals,etc) is a reasonable way to convince people, when, of course, the project doesn't involve any health consequence in the long run, as in the case of gold mine project in Erzincan or plantations.