This happens from solution in ground and surface waters , and\/or geothermally heated hot-springs . Travertine is a terrestrial sedimentary rock , formed by the precipitation of carbonate minerals from solution in ground and surface waters , and\/or geothermally heated hot-springs .