Another approach (depending on your requirements) might be looking into the QgsMultiRenderChecker http://qgis.org/api/classQgsMultiRenderChecker.html which has been developped for comparing rendering results in unit tests. Look into the QGIS test suite for dozens of examples.
On 11/19/2015 11:36 AM, Tom Chadwin wrote: > I can't get this to work. I tried adding a canvas resize in the test script, > and also doing the same from my workstation Python console, but it didn't > change the test result bounds - they are still different to the bounds of my > local instance. > > I then noticed that the dummy iface script (taken from InaSAFE) already > explicitly resizes the canvas. I still can't get it to work, though. Nothing > I do to the test seems to change the result of canvas.extent(). > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Matching-canvas-dimensions-on-workstation-to-Travis-environment-tp5237237p5237393.html > Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Matthias Kuhn OPENGIS.ch - https://www.opengis.ch Spatial • (Q)GIS • PostGIS • Open Source
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
