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?

Thanks

US Raster and Midwest Vector offset

  • 1
    Do the two layers appear to be precisely 360 units apart horizontally? – whuber Nov 8 '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 8 '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 9 '14 at 1:09
2

Thanks @whuber for pointing me in the right direction. I found my answer here. 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.