The conversion of unconsolidated deposits into solid rock.