[gdal-dev] gdaltransform - output into textfile

Hugo Benicio hbobenicio at gmail.com
Tue Oct 23 07:10:56 PDT 2012


if you remove the output redirection >"Grid.txt", what does it do?

gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 < "WGS84.txt"

Does it print the output on you console/terminal? gdaltransform is actually
generating an output?
(You redirection syntax seems ok)

On Tue, Oct 23, 2012 at 9:49 AM, Ernest Menville
<menville.ernest at gmail.com>wrote:

> Hi,
>
> I have a problem redirecting the output of gdaltransform into a text file.
> The output file is always empty.
>
> my code:
> gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 < "WGS84.txt" >"Grid.txt"
>
> with "WGS84.txt":
>  10.590820  46.935261
>  10.898438  46.935261
>  10.898438  46.785016
>  10.590820  46.785016
>
> The file "Grid.txt" is created, but empty.
>
> Can anybody help me?
>
> cheers,
> Ernest
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121023/944d086a/attachment.html>


More information about the gdal-dev mailing list