ref https://github.com/mapnik/mapnik/issues/2521