2

Two layers, both allegedly WGS84, one vector layer of the Midwestern US, one raster layer with coverage of the entire US. The vector layer renders correctly (coordinates are correct), but the raster layer is way off. I looked at the metadata, and the origin is set to 200,75.5 (lon,lat). The prj.aux file of the raster layer claims it is wgs84, so having my raster layer inherit the CRS of the vector layer, which is also wgs84, doesn't do anything.

How can I get these layers to properly overlay?

US Raster and Midwest Vector offset

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Max
  • 51
  • 3
  • 1
    Do the two layers appear to be precisely 360 units apart horizontally? – whuber Nov 08 '14 at 20:32
  • The right extents for the States are around (-124.731422, 24.955967) - (-66.969849, 49.371735). There is something wrong with your raster layer. – user30184 Nov 08 '14 at 21:29
  • 1
    @whuber yes! Exactly 360 degrees off horizontally. The vertical coordinates appears to be in line. Any idea how to fix? – Max Nov 09 '14 at 01:09

1 Answers1

2

@whuber pointed me in the right direction. I found my answer at Plotting layer given with Longitudes [0 360] to [-180 180]?

I had to reproject the raster layer into World Mercator (EPSG 3395), and then load it back onto my map where OTF reprojection put it in the right spot. I tried Pseudo Mercator (EPSG 3857) and that seemed to work too.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Max
  • 51
  • 3