[Qgis-developer] Raster rendering difference tracked down
Tim Sutton
tim at linfiniti.com
Mon Jul 14 11:55:18 EDT 2008
Hi Peter
Thanks for the update on this.
Regards
Tim
2008/7/14 Hugentobler Marco <marco.hugentobler at karto.baug.ethz.ch>:
> Hi Peter,
>
> Ok, looks like it is an issue introduced by me. I will investigate.
>
> The raster scale factor for rendering should always be 1.0 in the main map canvas (it is different only for map composer).
>
> Regards,
> Marco
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: qgis-developer-bounces at lists.osgeo.org im Auftrag von Peter Ersts
> Gesendet: Mo 14.07.2008 16:47
> An: QGIS Developer Mailing List
> Betreff: [Qgis-developer] Raster rendering difference tracked down
>
> Tim and Marco,
>
> Here is a little update. I have tracked down the difference in rendering
> behavior, which is causing the two units tests to fail, to revision
> 8440. This was the merge into the trunk of the Render Context Branch.
> More specifically, I believe the difference has to do with the scale
> factors that are being computed in QgsMapRender.cpp.
>
> As it is right now, I will say the test results for the landsat_basic
> looks like it has artifacts compared to the expected result in the area
> being marked as different. However, when you load the original raster
> data for the landsat_basic test and 'Zoom to best scale' the displayed
> result does not exhibit any artifacts. So I think the next logical place
> to start digging around is the QgsMapRender->setExtent() and looking
> more at the scale factors, unless anyone has other ideas.
>
> -pete
>
> --
> ====================================
> Peter J. Ersts, Project Specialist
> American Museum of Natural History
> Center for Biodiversity and Conservation
> Central Park West at 79th Street
> New York, New York 10024
> Tel: Home Office (518)-632-4745 or NYC Office (212)-496-3488
> Web: http://biodiversityinformatics.amnh.org
> Web: http://cbc.amnh.org
>
> Quantum GIS Raster Development Team. Visit http://www.qgis.org
> to learn more about QGIS, a free and open source desktop GIS
>
> Open Source,
> ...evolving through community cooperation to change the world bit by bit
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer
mailing list