Thanks. That worked for me.<br><br>Chris<br><br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 4:52 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Le dimanche 17 avril 2011 22:10:57, Christopher Dedels a écrit :<br>
<div class="im">> I am using gdal_grid to create a grid from a point shapefile. gdalinfo<br>
> reports inverted y-axis coordinates for the output raster. The command I<br>
> am running is:<br>
><br>
> gdal_grid -ot Float32 -outsize 800 600 -l sites -zfield elev sites.shp<br>
> /tmp/sites.tif<br>
<br>
</div><div class="im">> Is there any way to invert the y-axis back? Thanks for the help.<br>
<br>
</div>Yes, 2 possibilities:<br>
<br>
1) After gdal_grid, just run "gdalwarp sites.tif sites_inverted.tif" and this<br>
will correct the y-axis order to the usual order.<br>
<br>
2) Or run gdal_grid by specifying the -tye option in the "-tye ymax ymin"<br>
order.<br>
<br>
</blockquote></div><br>