Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MDAL for QGIS 3 port #16

Closed
saberraz opened this issue Jul 25, 2018 · 3 comments
Closed

Using MDAL for QGIS 3 port #16

saberraz opened this issue Jul 25, 2018 · 3 comments

Comments

@saberraz
Copy link

Dear developer,

If you are planning to migrate your plugin to QGIS 3, I suggest to port the Telemac output format to MDAL, which is integrated to QGIS master:
https://github.com/lutraconsulting/MDAL
https://github.com/qgis/QGIS/tree/master/external/mdal

An example of MDAL layer in QGIS:
qgis/QGIS#7313

For more background info:
qgis/QGIS-Enhancement-Proposals#119

@ccoulet
Copy link

ccoulet commented Jul 30, 2018

The Telemac output format will not change at least in a near future...
Nevertheless, it's maybe possible to add the Telemac File format in the list of supported format or as it seems to be indicate in the QEP, to develop a python plugin for this.
It could be great if we have some guidelines (HowTo) to develop a new reader or a new plugin.

@saberraz
Copy link
Author

Once you add Telemac to MDAL, you can then load the layer as a mesh layer:
QgsMeshLayer (“path/to/telemacfile”, “my layer”, “mdal”)

Here is more info:
https://qgis.org/api/classQgsMeshLayer.html

You can then access both the native mesh and vectors and also the time:
https://twitter.com/lutraconsulting/status/1018809991103500288

In future, when we add 3D support for mesh layer, your layer will magically appear in 3D canvas with the correct z scale (e.g. water levels will appear on top of the dtm).

@PeterPetrik
Copy link

MDAL(QGIS) now natively supports telemac files https://qgis.org/downloads/macos/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants