Bug report #21008

Mesh layer does not work properly with OTF reprojection

Added by Saber Razmjooei about 4 years ago. Updated almost 4 years ago.

Assignee:Peter Petrik
Category:Data Provider/MDAL
Affected QGIS version:3.5(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28827


I have the following datasets:
- Mesh layer (global coverage)
- Countries (shapefile)

It works well with the canvas projection set to the mesh projection. But with canvas set to 3857, the mesh shrinks to a small area and the quantity disappears.

3857.png (177 KB) Saber Razmjooei, 2019-01-15 04:14 PM

4326.png (556 KB) Saber Razmjooei, 2019-01-15 04:14 PM

21008.zip (2.5 MB) Saber Razmjooei, 2019-01-15 04:18 PM


#1 Updated by Saber Razmjooei about 4 years ago

Data attached

#2 Updated by Peter Petrik about 4 years ago

right now the triangular mesh assumes that all vertices from original CRS can be transformed to map CRS. if this is not the case, the QGIS renderer is confused since it has some vertices in map projection and some in original projection. To fix it , we would need to overcome the problem that the triangular mesh can have more/less vertices than the original mesh and adjust the renderers accordingly

#3 Updated by Giovanni Manghi almost 4 years ago

  • Priority changed from High to Normal

Also available in: Atom PDF