[gdal-dev] gdaltransform - output into textfile

Ernest Menville menville.ernest at gmail.com
Tue Oct 23 09:40:22 PDT 2012


> Maybe the output of gdaltransform is going to stderr?  In that case, try:*
> ***
>
>                 gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 <
> WGS84.txt 2> Grid.txt****
>
> I tried that, with no success - the file is still empty.

Regards,
Ernest

> ** **
>
> -Bob****
>
> ** **
>
> Robert Moskovitz****
>
> California Geological Survey****
>
> Seismic Hazards Zonation Program****
>
> ** **
>
> ** **
>
> CONFIDENTIALITY NOTICE: This communication is intended only for the use of
> the individual or entity to which it is addressed. This message contains
> information from the State of California, California Geological Survey,
> which may be privileged, confidential and exempt from disclosure under
> applicable law, including the Electronic Communications Privacy Act. If the
> reader of this communication is not the intended recipient, you are hereby
> notified that any dissemination, distribution, or copying of this
> communication is strictly prohibited.****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* gdal-dev-bounces at lists.osgeo.org <javascript:_e({}, 'cvml',
> 'gdal-dev-bounces at lists.osgeo.org');> [mailto:
> gdal-dev-bounces at lists.osgeo.org <javascript:_e({}, 'cvml',
> 'gdal-dev-bounces at lists.osgeo.org');>] *On Behalf Of *Ernest Menville
> *Sent:* Tuesday, October 23, 2012 7:14 AM
> *To:* Hugo Benicio
> *Cc:* gdal-dev at lists.osgeo.org <javascript:_e({}, 'cvml',
> 'gdal-dev at lists.osgeo.org');>
> *Subject:* Re: [gdal-dev] gdaltransform - output into textfile****
>
> ** **
>
> Hi,****
>
> ** **
>
> 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)****
>
>   ****
>
> Yes, the output without redirection is correct:****
>
> ** **
>
> 1178964.68948322 5931513.41439894 0****
>
> 1213208.56860206 5931513.41439894 0****
>
> 1213208.56860206 5907053.53893779 0****
>
> 1178964.68948322 5907053.53893779 0****
>
> ** **
>
> But I can't save it to a file.****
>
> ** **
>
> regards,****
>
> Ernest****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121023/9db9745f/attachment-0001.html>


More information about the gdal-dev mailing list