[Qgis-user] how to properly reference longitude values in different datasets

Saber Razmjooei saber.razmjooei at lutraconsulting.co.uk
Wed Dec 19 23:46:45 PST 2018


This is a known issue and can be fixed with some external tools.
I have filed a bug:
https://issues.qgis.org/issues/20853
And hopefully get around to fix it in 3.6

Regards
Saber

On Thu, 20 Dec 2018 at 01:44, Lee Eddington <lee.w.eddington at gmail.com>
wrote:

> I’m pretty new to QGIS and am trying to figure out how to modify longitude
> values of layers.  I was able to add a raster layer in GRIB2 format (NCEP
> global meteorological data).  The longitude values range from 0 to 360
> degrees.  I’m able to view and do calculations on the data with no
> problem.  I also added shaded relief and coastline data from Natural
> Earth.  This data has longitude values from -180 to 180 degrees.  So from
> -180 to 0 degrees I only see the Natural Earth data, from 0 to 180 degrees
> I see both datasets and from 180 to 360 degrees I only see the GRIB2 data.
> I want both datasets to be referenced the same with regards to longitude
> (-180 to 180, 0 to 360 or whatever).  It seems like this should be a fairly
> easy problem to fix by either adding 180 degrees to longitudes from the
> Natural Earth data or subtracting 180 from the GRIB2 longitudes, but I
> can’t figure out how to do it.
>
> I’m using QGIS version 3.4.1-Madeira.  The CRS I’m working in is what QGIS
> put the GRIB2 data into when I added it:   * Generated CRS (+proj=longlat
> +a=6371229 +b=6371229 +no_defs)
>
> Thanks,
> Lee
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181220/3beb15d7/attachment.html>


More information about the Qgis-user mailing list