Deductions & credits

No you cannot just use the basis of the land ... you did not sell the land.

https://timbertax.org/getstarted/basis/inherited/