QGIS 3 plugin for working with IMAER files
The user documentation can be found here: Github Pages
The plugin contains a toolbar button that will bring you to the right version of the documentation in your web browser.
- In the folder
ImaerPlugin/testcreate adev.ymlfile with your local settings (use dev_example.yml as a template) - To run tests in Linux: Run
./test_imaer.shfrom the test folder - To run tests in Windows: Open the command line from the test folder and run
python -m unittest test.test_imaer
The current tests are only covering the generation of GML and validating the generated files to the XSD. XSD validation can take longer and can be turned off in the script
- Start QGIS and make sure the plugin is installed and turned on
- Open a python console
- Open the script
ImaerPlugin/test/gui_test.pyand run it
For testing the GUI, the script will change the user configuration (country, crs and work directory). If all tests pass without errors, these settings should be restored. If errors occur, you will need to reset the settings manually.
- Make sure the plugin runs fine!
- Run tests
- Test for different QGIS versions
- Update the metadata.txt (version, changelog)
- Update the self.version in the ImaerPlugin class
- update the version (and fields) in the json configuration files for the gui tests
- Run the release script:
python3 Make_zip_release.py 3.0.0 - Move the zip file to the
releasesdirectory - For new major and minor releases, create (and update) a copy of the documentation
- Upload to plugins.qgis.org
Changes in IMAER and CONNECT can affect the working of the plugin. The following parts of the IMAER data model and CONNECT API are supported by this plugin.
- Version number
- Metadata
- Calculation results (depositions, concentrations)
- Emission sources:
- generic ("other")
- roads (adms & srmt)
- buildings
- diurnal variation / time varying profiles
- calculation points
- Version number
- URL
- Services:
- actuator/health
- user/generateApiKey
- jobs
- wnb/calculate
- receptorSets
- utility/validate