[Qgis-developer] Matching canvas dimensions on workstation to Travis environment

Matthias Kuhn matthias at opengis.ch
Thu Nov 19 02:49:58 PST 2015


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
> Qgis-developer at lists.osgeo.org
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151119/b0829b3a/attachment.sig>


More information about the Qgis-developer mailing list