[SoC] GSoC 2021 - Week-5 Report: A new render type On the fly Raster Calculator for QGIS
Francesco Bursi
francesco.bursi at hotmail.it
Sun Jul 11 04:34:12 PDT 2021
Hello to everyone,
As the fifth week comes to an end I would like to share with you the improvments and the issues of this week of coding for the period from5th July - 11th July.
You can find in [1] the main wiki page of the project and in [2] the branch of the forked repo in which you can find all the change I'm doing.
Taks achieved during the week
* According to the defined syntax of the URI and after a meeting and some advices from mentors I changed the behaviour of the decoding/encoding methods in qgsrasterdataprovider, defining a simple struct that contains the different elements that I should pass to my provider with the URI (instead of using a QVarianMap as output in the decode and input in the encode method);
* Add the decode functionality in the constructor of my provider;
* Add a test for the decode/encode method in the unit test class;
* Add a test for the constructor in the unit test class;
* Add some checks in the decode method to detect invalid or missing string element that should be, instead, in the URI;
* Add some checks in the provider constructor to see if the decoded elements are valid.
Plans for next week:
* Continue to develop the checks of the URI both in the provider constructor and in the decode method;
* Work on the block method of the virtual raster provider, avoiding hardcoded data and try to use the provider via python console or in a more general unit test;
* Submit the requested evaluation.
At the moment I'm not blocked on anything in particular. Don't hesitate to ask me for feeback or more specific clarification.
[1] https://wiki.osgeo.org/wiki/A_new_render_type_On_the_fly_Raster_Calculator_for_QGIS#7th_June_-_13th_June
[2] https://github.com/Franc-Brs/QGIS/tree/VRProvider
My best regards,
Francesco Bursi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20210711/a31b80e7/attachment-0001.html>
More information about the SoC
mailing list