[Gdal-dev] gdalwarp with multiple options

Marco Vieira marco_vieira at uk2.net
Fri Aug 5 10:51:33 EDT 2005


Hi list.

It is not a big spot.

$ gdalwarp -s_srs '+proj=tmerc +k_0=0.9996 +x_0=500000 +y_0=10000000
+ellps=intl +lat_0=0 +lon_0=-51' -t_srs '+proj=latlong +ellps=WGS84'
test.tif test_out.tif

works.

$ gdalwarp -tr 150 150 test.tif test_out.tif

works too.

$ gdalwarp -s_srs '+proj=tmerc +k_0=0.9996 +x_0=500000 +y_0=10000000
+ellps=intl +lat_0=0 +lon_0=-51' -t_srs '+proj=latlong +ellps=WGS84' -tr
150 150 test.tif test_out.tif

Returns a float point exception.

Creating output file that is 0P x 0L.
ERROR 1: _TIFFVSetField:test_out.tif: Bad value 0 for "RowsPerStrip"
Exceção de ponto flutuante

My GDAL is:
$ gdalwarp --version
GDAL 1.2.6.0, released 2005/03/13
over
$ uname -a
Linux 41100V4A020 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686 GNU/Linux

Thanks.

Marco Vieira.
Fone:    + 55 21 9499-6800
marco_vieira at uk2.net



More information about the Gdal-dev mailing list