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

Finegan Thomas-QTF001 t.finegan at motorolasolutions.com
Fri Sep 20 12:13:34 PDT 2013


Hello,
You can specify geographic extents of the output using gdalwarp's -te (target extents) parameter.
Tom

From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Andreas
Sent: Friday, September 20, 2013 11:55 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] Get dataset area after geotrasform between coordinate systems

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/b4725194/attachment.html>


More information about the gdal-dev mailing list