From 1fa26fa067474272d2a0d9ba31e840f11c2fe14f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 9 Jan 2012 08:39:22 -0800 Subject: [PATCH] close #970 by removing non-north-up restriction which appears not to be working properly --- plugins/input/gdal/gdal_datasource.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/input/gdal/gdal_datasource.cpp b/plugins/input/gdal/gdal_datasource.cpp index 1e82e486d..b28d53bf7 100644 --- a/plugins/input/gdal/gdal_datasource.cpp +++ b/plugins/input/gdal/gdal_datasource.cpp @@ -152,10 +152,15 @@ void gdal_datasource::bind() const << tr[4] << "," << tr[5] << std::endl; #endif + // TODO - We should throw for true non-north up images, but the check + // below is clearly too restrictive. + // https://github.com/mapnik/mapnik/issues/970 + /* if (tr[2] != 0 || tr[4] != 0) { throw datasource_exception("GDAL Plugin: only 'north up' images are supported"); } + */ dx_ = tr[1]; dy_ = tr[5];