[gdal-dev] Change an image from 0-360 to -180 to 180

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] Change an image from 0-360 to -180 to 180

Meghan Burris
Hello,

I have an image that is 0-360 degrees but I want to visualize it in -180 to 180 degrees. Everything I try makes the western hemisphere (-180-0) completely black, so half the map doesn't get displayed. Any chance there is an easy fix to this? 

Thank you so much for any help!
 
- Em 



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: [EXTERNAL] Change an image from 0-360 to -180 to 180

Hare, Trent
Maghan,
    I prefer the VRT method (near the end of this page) which I use all the time, but this page (listed next, which also lists this VRT method) has a couple other options:

good luck,
Trent

On Wed, Apr 24, 2019 at 4:16 PM Meghan Burris <[hidden email]> wrote:
Hello,

I have an image that is 0-360 degrees but I want to visualize it in -180 to 180 degrees. Everything I try makes the western hemisphere (-180-0) completely black, so half the map doesn't get displayed. Any chance there is an easy fix to this? 

Thank you so much for any help!
 
- Em 



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: [EXTERNAL] Change an image from 0-360 to -180 to 180

Meghan Burris
Thanks Trent! 

I'll take a look at that right now. I appreciate your help. 


On Wed, Apr 24, 2019 at 4:27 PM Hare, Trent <[hidden email]> wrote:
Maghan,
    I prefer the VRT method (near the end of this page) which I use all the time, but this page (listed next, which also lists this VRT method) has a couple other options:

good luck,
Trent

On Wed, Apr 24, 2019 at 4:16 PM Meghan Burris <[hidden email]> wrote:
Hello,

I have an image that is 0-360 degrees but I want to visualize it in -180 to 180 degrees. Everything I try makes the western hemisphere (-180-0) completely black, so half the map doesn't get displayed. Any chance there is an easy fix to this? 

Thank you so much for any help!
 
- Em 



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev