Whats the problem here?
Farmer gives land to city.
City goes "We can have 10 million dollars AND a brand new data center, hot diggity"
City is enriched in both money AND services.
Thanks Mr Farmer.
No.
Farmer SELLS land (for $10) with a deed restriction that it is to be used for a public park.
Hand wavey timey wimey...
Deed restriction 'magically' goes away.
Gets sold for $10M.
Farmer donates land for a park
If you are my friend and I gift you a nice item … I would be majorly pissed at you and would not talk to you ever again if you would sell it online.
I would expect you give it back or pass for free to someone who is also close to you.