[gdal-dev] Gdalinfo does not print into file on Windows

Kyle Shannon kyle at pobox.com
Tue Sep 17 07:56:15 PDT 2013


On 09/17/2013 05:07 AM, Jukka Rahkonen wrote:
> Hi,
>
> I noticed that gdalinfo and gdallocationinfo tools do not print into file
> with command
> gdalinfo test.tif >report.txt
>
> The file report.txt is created but it remains empty. With ogrinfo printing
> into file goes well. I also had a try with some old FWTools and with that I
> could redirect also gdalinfo report into file.
>
> I was testing on Windows 7 and last nights 64-bit GDAL from trunk
> http://gisinternals.com/sdk/Download.aspx?file=release-1600-x64-gdal-mapserver.zip
>
> -Jukka Rahkonen-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
Jukka,
There is a ticket that may be related.  See:

http://trac.osgeo.org/gdal/ticket/5073

and

http://trac.osgeo.org/gdal/ticket/5128

That user reports failure of redirection if the ecw plugin is installed.

kss


More information about the gdal-dev mailing list