This work provides a new formulation of the one-dimensional augmented Shallow Water Equations system for open channels and rivers with arbitrarily shaped cross sections, suitable for numerical integration when discontinuous geometry is encountered. The additional variable considered can be the bottom elevation, a reference width, a shape coefficient, or a vector containing these or other geometric parameters. The appropriate numerical method, which is well suited to coupling with the mathematical one, is a path-conservative method, capable of reconstructing the behaviour of physical and geometrical variables at the cell boundaries, where the discrete solution of hyperbolic systems of equations is discontinuous. A nonlinear path suitable for the shallow water context is adopted. The resulting model is shown to be well-balanced and accurate to the second order and is further validated against analytical solutions related to channels with power-law cross-sections, specifically for dam break patterns over a variable-width channel and the run-up dynamics of long water waves over sloping bays.