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.52k stars 2.99k forks source link

Mesh or raster layer with 0-360 extent #28672

Closed qgib closed 4 years ago

qgib commented 5 years ago

Author Name: Saber Razmjooei (@saberraz) Original Redmine Issue: 20853 Affected QGIS version: 3.5(master) Redmine category:map_canvas


GRIB or netcdf files sometimes cover 0-360 degree. Most other layers cover -180 to 180. In QGIS, there is no way of displaying them correctly. QGIS should automatically detects the coverage and uses the default one (-180 to 180).

qgib commented 5 years ago

Author Name: Saber Razmjooei (@saberraz)


Example mesh layer: https://www.unidata.ucar.edu/software/netcdf/examples/ECMWF_ERA-40_subset.nc

Shapefile: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip

qgib commented 5 years ago

Author Name: Jorge Rocha (@jgrocha)


For a workaround, there are tools available for preprocessing these datasets. Check the "QGIS-user":https://lists.osgeo.org/pipermail/qgis-user/2018-December/041908.html thread ("Saber's post":https://lists.osgeo.org/pipermail/qgis-user/2018-December/041910.html).

PeterPetrik commented 4 years ago

This should be handled upstream , when implementing the native GRIB/NetCDF driver in MDAL https://github.com/lutraconsulting/MDAL/issues/165