[Qgis-developer] Getting ready to branch QGIS 0.11.0

Tim Sutton tim at linfiniti.com
Mon Jul 7 19:16:45 EDT 2008


Hi all

I think we are nearly ready for branching - Marco committed the new
srs updates that Maciej, Richard and he have been working on. The new
python plugin manager is being held off till next release. The only
thing left on my todo list is to get all the unit tests to run
successfully. I hope to resolve that tomorrow and then branch during
the course of the day. If I am not able to resolve all the issues in
the course of tomorrow (tues 8 June), I'll hold the branch until such
time as all tests run.

Peter: could you look at the raster tests? Currently 3 tests fail. The
first I fixed easily by changing the test, but I think its bad to
modify the test to make it pass. The issue seems to be that loading a
grayscale image the default histogram stretch is not correct. My
diagnostic hack was to do:

Index: ../tests/src/core/testqgsrasterlayer.cpp
===================================================================
--- ../tests/src/core/testqgsrasterlayer.cpp	(revision 8723)
+++ ../tests/src/core/testqgsrasterlayer.cpp	(working copy)
@@ -112,6 +112,10 @@
 {
   QVERIFY ( mpRasterLayer->isValid() );
   mpMapRenderer->setExtent(mpRasterLayer->extent());
+  mpRasterLayer->setContrastEnhancementAlgorithm(
+      QgsContrastEnhancement::STRETCH_TO_MINMAX, false);
+  mpRasterLayer->setMinimumValue(mpRasterLayer->getGrayBandName(),0.0, false);
+  mpRasterLayer->setMaximumValue(mpRasterLayer->getGrayBandName(),10.0);
   QVERIFY ( render("raster") );
 }


Could you confirm if it is your idea that we should mandate histogram
stretch definition explicitly now, whether it should be set to min /
max using band limits by default and this is a bug, or if something
else is afoot here that I'm missing? I'm going to look at the other
two failed raster tests tomorrow and see if I can work out why they
fail.

Marco: The renderer tests that check symbology and qgs/qml seem to be
performing much better now - there are slight differences as you will
see if you run the qgsrenderer test, but they are small enough that
I'd be happy to recreate the test control images so that the tests
pass. Is your work with rev-up fix for rendering issues complete or
should I hold before creating new control images?


All:

If anyone else has anything pending that we should wait for before
branching and calling for packaging, please let me know as soon as
possible and we can try to accommodate you.

Also please note if you would like us to mention any particular cool
new feature introduced in this release, please let the release team
know so we can include it in the press release.

Best regards

Tim


-- 
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