close #970 by removing non-north-up restriction which appears not to be working properly
This commit is contained in:
parent
90cf1a226a
commit
1fa26fa067
1 changed files with 5 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue