qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.6k stars 3.01k forks source link

When zooming into Antarctic EPSG:3031 WMTS layer, image becomes distorted #43165

Open minniewong opened 3 years ago

minniewong commented 3 years ago

Describe the bug Loading and zooming into a WMTS layer in EPSG:3031 from https://gibs.earthdata.nasa.gov/wms/epsg3031/best/wms.cgi causes the layer to become distorted/stretched.

How to Reproduce

  1. Go to Add WMTS Layer, Connect to https://gibs.earthdata.nasa.gov/wms/epsg3031/best/wms.cgi
  2. Click on Corrected Reflectance, MODIS_Terra_CorrectedReflectance_TrueColor and Add
  3. Change date to 2021-02-24 using the Temporal Controller. See full "square" view of Antarctic then zoom in once.
  4. See error --> Image becomes stretched horizontally.

QGIS and OS versions

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

QGIS version | 3.16.6-Hannover | QGIS code revision | 5fc23455ff -- | -- | -- | -- Compiled against Qt | 5.14.2 | Running against Qt | 5.14.2 Compiled against GDAL/OGR | 3.2.1 | Running against GDAL/OGR | 3.2.1 Compiled against GEOS | 3.9.1-CAPI-1.14.2 | Running against GEOS | 3.9.1-CAPI-1.14.2 Compiled against SQLite | 3.31.1 | Running against SQLite | 3.31.1 PostgreSQL Client Version | 12.3 | SpatiaLite Version | 4.3.0a QWT Version | 6.1.4 | QScintilla2 Version | 2.11.4 Compiled against PROJ | 6.3.2 | Running against PROJ | Rel. 6.3.2, May 1st, 2020 OS Version | macOS 10.15 Active python plugins | DataPlotly; timemanager; processing; db_manager; MetaSearch

This also occurs in the newest version, v3.18.2, but works fine in v3.14

Additional context Full "square" view

normalview_epsg3031

Zoom in once using mouse wheel and the raster becomes stretched. (zoom in more and it is still distorted)

stretchedview_epsg3031
gioman commented 3 years ago

Windows too. Can't test on Linux because of this https://github.com/qgis/QGIS/issues/32920

elpaso commented 3 years ago

I can confirm that this also happens on Linux/master.

Pedro-Murteira commented 2 years ago

Still valid on QGIS 3.22.3. (Windows 10)

glacierGuy commented 2 years ago

Any way to work around this bug?