[gdal-dev] gdal_grid utility

David Hildebrand David.Hildebrand at afsc.ca
Tue Sep 14 11:55:20 EDT 2010

I am trying to grid a set of points.  My input is a CSV file for which I
have created a VRT file.  The input coordinate system is WGS84 but the
output is Transverse Mercator (for which I have an ESRI PRJ file).  The
command completes but the output is upside down.  Here is the command



  -ot Float32

  -of GTiff

  -a_srs "a10tm.prj"

  -txe 134498.3 865501.7 -tye 5425283.9 6659287.2

  -outsize 73 123

  -a invdist:nodata=9999

  -l alberta_out

  "alberta_out.vrt" "abl_val_16.tif"


Here is the console output.


Grid data type is "Float32"

Grid size = (73 123).

Corner coordinates = (129491.408618 6664303.466297)-(870508.591382

Grid cell size = (10013.745713 10032.546852).

Source point count = 835.

Algorithm name: "invdist".

Options are



0...10...20...30...40...50...60...70...80...90...100 - done.


An output image is created but upside down.  The top should be the
bottom and vice versa.


Any ideas?  If so, please respond to this email address.  Thanks.




David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca <about:www.afsc.ca>  <http://www.afsc.ca
<http://www.afsc.ca/> >
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100914/b7495dd5/attachment-0001.html

More information about the gdal-dev mailing list