Matt Wilkie wrote:
Hello,
With regards to gdalwarp target_extent parameter, are the coords for the
target coordinate system or the source coordinate system?
from http://www.gdal.org/gdalwarp.html:
-te xmin ymin xmax ymax:
set georeferenced extents of output file to be created.
I ask because I'm getting "ERROR 1: Attempt to create 11158x-7438
dataset is illegal,sizes must be larger than zero." and I don't know
whether it's because both the source and targe SRS have negative coords
in their extent or my clipping coords are out of bounds or something else.
gdalwarp -t_srs %dst_proj% in.tif out.tif -te -2949.031, 1322540.680
1002042.239, 652516.412
Creating output file that is 11158P x -7438L.
ERROR 1: Attempt to create 11158x-7438 dataset is illegal,sizes must be
larger than zero.
Matt,
The -te arguments are in the output file coordinate system.
In your case the ymin value is larger than ymax which is causing
confusion.
Best regards,
--
---------------------------------------+--------------------------------------
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