Capital gains tax for mobile home property

My wife and I live in a 55plus mobile home park. The park was shareholder owned. We as a community voted to sell our land and each shareholder received a check for the land, but we retain the house. Instead of paying an HOA, now we pay rent.  Is the sale of the land subject to capital gains? The amount was $230,000, and deducting the $43,000 share cost, leaves a gain of $187,000.