This chapter presents an overview of recent developments in the analysis of shapes such as curves and surfaces through Riemannian metrics. We show that several constructions of metrics on spaces of submanifolds can be unified through the prism of Riemannian submersions, with shape space metrics being induced from metrics defined on the top spaces. Computing the resulting Riemannian distances involves solving geodesic matching problems with boundary conditions. To deal efficiently with such variational problems, one can rely on an auxiliary family of "chordal" distances to simplify the treatment of boundary conditions, which we use to come up with a relaxed inexact formulation of the matching problem. This also allows to turn shape matching into optimal control problems and give a common framework to address them in practice. We then specify our analysis to the cases of intrinsic shape metrics defined using invariant Sobolev metrics on parametrized immersions, outer shape metrics induced from metrics on diffeomorphism groups of the ambient space and finally a recent hybrid model that combines those two approaches.2000 Mathematics Subject Classification. 68Q25, 68R10, 68U05.