I think I have found a solution for a PDE of the form
$u_t + g(u)u_x = 0$
where $u(x, 0) = g^{-1}(x)$
The solution is $u(x,y) = g^{-1}\left(\frac x{t+1}\right)$
This solution satisfies 1 and 2 under the assumption that $\forall z, g\left(g(z)^{-1}\right) = z$
However I am worried about the effects of discontinuities in $g$ or its inverse, and issues where the function is not 1-1.
What sort of problems should I watch out for and how can I get around them?