[gdal-dev] Get dataset area after geotrasform between coordinate systems

Andreas andreas.kiefer at gmail.com
Fri Sep 20 10:55:09 PDT 2013


Hi,

I'm using gdalwarp to convert a raster dataset from EPSG:4326 to EPSG:2202

$>gdalwarp -s_srs "EPSG:4326" -t_srs "EPSG:2202" inputfile.tif
outputfile.tif

after that, the output file is correted converted to the new coordinate
system, but the output raster image has some blank area at the boorders. I
need obtain the lower left corner coordinates from the output raster file
including the blank area.
My question: is enought use the information obtained from gdalinfo (lower
left corner coordinates)?
It does includes the blank area?

Is there a way to cut-off these blank area from output file or just inform
gdalwarp to crop the image just to valid data?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130920/d5f4d32f/attachment.html>


More information about the gdal-dev mailing list