There are no opportunity cost involved when obtaining it.
The supply of land is prefectly inelastic.
examples: fish in sea, trees in the forest...
For farmland, as mentioned in your question, is undeniably not regarded as land. Farmland is not a natural resource indeed. The farmer has cultivated it.