Re: [gdal-dev] Convert raster from [0,360] to [-180,180]

2010-01-21 Thread Frank Warmerdam
Jose, If you file a ticket with details/data on how to reproduce this problem, I'd be willing to look into it briefly. I had sort of hoped the approach you mention would have worked. On Wed, Jan 20, 2010 at 1:20 PM, Jose Gomez-Dans jgomezd...@gmail.com wrote: Hi, I have some raster files

RE: [gdal-dev] Convert raster from [0,360] to [-180,180]

2010-01-20 Thread Pinner, Luke
Something like the following perhaps? gdal_translate -projwin 0 90 180 -90 g0-360.tif g0-180.tif gdal_translate -projwin 180 90 360 -90 -a_ullr -180 90 0 -90 g0-360.tif g-180-0.tif gdal_merge[.py] -o g-180-180.tif g0-180.tif g-180-0.tif Regards Luke From: