[QGIS-trac] Re: [Quantum GIS] #3790: OTF Raster Reprojection error
Quantum GIS
qgis at qgis.org
Tue May 3 08:28:17 EDT 2011
#3790: OTF Raster Reprojection error
------------------------------------------------+---------------------------
Reporter: davecollett | Owner: rblazek
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.7.0
Component: Rasters | Version: Trunk
Keywords: | Platform_version: Windows XP
Platform: All | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
Changes (by lutra):
* owner: nobody => rblazek
* platform: Windows => All
Comment:
it is confirmed by many, also on Linux.
Radim has already proposed a patch, that would be useful to test
{{{
--- src/core/qgsrasterprojector.cpp (revision 15861)
+++ src/core/qgsrasterprojector.cpp (working copy)
@@ -130,7 +130,7 @@
mSrcExtent = QgsRectangle( myPoint.x(), myPoint.y(), myPoint.x(),
myPoint.y() );
for ( int i = 0; i < mCPRows; i++ )
{
- for ( int j = 1; j < mCPCols - 1; j++ )
+ for ( int j = 0; j < mCPCols; j++ )
{
myPoint = mCPMatrix[i][j];
mSrcExtent.combineExtentWith( myPoint.x(), myPoint.y() );
}}}
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3790#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services
More information about the QGIS-trac
mailing list