See https://github.com/camptocamp/sitn_c2cgeoportal/pull/176