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 <[email protected]> wrote: > Hi, > I have some raster files spanning the globe from 0 to 360 degrees longitude. > However, I would rather they be in the -180 to 180 degree range. While I can > do this converting into VRTs and playing around with the SimpleSource > element, I also saw a posting on this list that suggests that one can easily > use gdalwarp for this > <http://lists.osgeo.org/pipermail/gdal-dev/2006-June/009293.html>. The > suggested command is > > gdalwarp --config CENTER_LONG 180 openev/utm.tif ll.tif -t_srs WGS84 > > I have tried this command on my file (which is initially in WGS84 0 to 360), > set the value of CENTER_LONG to 0, but I basically get my old raster back, > with the longitudes going from 0 to 360. > > Anything other than scripting/VRT editing? > > Thanks! > Jose > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
