[Gdal-dev] gdal_warp for abnormal extents

Christopher Condit condit at sdsc.edu
Mon May 8 18:56:10 EDT 2006


I've got some tif data that has abnormal extents (in this case 0 to 360
east).  Is it possible to use gdalwarp to get this back into a -180 to
180 file?

I've tried:

%gdal_warp% -s_srs EPSG:4326 -t_srs EPSG:4326 -te -180 -90 180 90 in.tif
out.tif

 

I get the eastern half ok (0 to 180), but everything from -180 to 0 has
a 0 value.

 

Is there a way to do this with gdalwarp or another tool?

 

Thanks

 

Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060508/98a383a2/attachment.html


More information about the Gdal-dev mailing list