<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Maybe the output of gdaltransform is going to stderr? In that case, try:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 < WGS84.txt 2> Grid.txt<u></u><u></u></span></p>
<p class="MsoNormal"></p></div></div></blockquote><div>I tried that, with no success - the file is still empty.</div><div><br></div><div>Regards,</div><div>Ernest <span></span><br></div><div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Bob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Robert Moskovitz<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">California Geological Survey<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1f497d">Seismic Hazards Zonation Program<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:gray">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.</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="javascript:_e({}, 'cvml', 'gdal-dev-bounces@lists.osgeo.org');" target="_blank">gdal-dev-bounces@lists.osgeo.org</a> [mailto:<a href="javascript:_e({}, 'cvml', 'gdal-dev-bounces@lists.osgeo.org');" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Ernest Menville<br>
<b>Sent:</b> Tuesday, October 23, 2012 7:14 AM<br>
<b>To:</b> Hugo Benicio<br>
<b>Cc:</b> <a href="javascript:_e({}, 'cvml', 'gdal-dev@lists.osgeo.org');" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [gdal-dev] gdaltransform - output into textfile<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">if you remove the output redirection >"Grid.txt", what does it do?<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 < "WGS84.txt"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal">Does it print the output on you console/terminal? gdaltransform is actually generating an output?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">(You redirection syntax seems ok)<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Yes, the output without redirection is correct:<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">1178964.68948322 5931513.41439894 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1213208.56860206 5931513.41439894 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1213208.56860206 5907053.53893779 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1178964.68948322 5907053.53893779 0<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But I can't save it to a file.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Ernest<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>