Bug report #21008

Mesh layer does not work properly with OTF reprojection

Added by Saber Razmjooei about 5 years ago. Updated about 5 years ago.

Status:Open
Priority:Normal
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

Description

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

History

#1 Updated by Saber Razmjooei about 5 years ago

Data attached

#2 Updated by Peter Petrik about 5 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 about 5 years ago

  • Priority changed from High to Normal

Also available in: Atom PDF