use gdal 1.11 code, not trunk