Continuation methods in certain metric and geodesic spaces