<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I am trying to rasterize a set of points from
a CSV file with coordinates. &nbsp;I have created a VRT file to define a
virtual 2D layer. &nbsp;I am using version1.7 so I need to copy a template
output image file to rasterize (output.tif). &nbsp;The field &#8220;abl_val&#8221;
contains the data I want to rasterize and &#8220;f_year&#8221; and &#8220;f_period&#8221;
are filter attributes.&nbsp; I use the following syntax in my rasterize command.&nbsp;
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>gdal_rasterize <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp; -a abl_val
-l alberta_out -where 'f_year = 2010 and f_period = 16 and abl_val is not null'
Alberta_Out.vrt output.tif<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I simply get the standard usage message below
indicating that my syntax is wrong. &nbsp;Yet, I cannot see it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>Usage:
gdal_rasterize [-b band] [-i]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[-burn value] | [-a attribute_name] | [-3d]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[-l layername]* [-where expression] [-sql select_statement]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;src_datasource&gt; &lt;dst_filename&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Any ideas?&nbsp; If so, please respond to
this email address.&nbsp; Thanks.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>===========================<br>
David V. Hildebrand<br>
Agriculture Financial Services Corporation<br>
(403) 782-8239&nbsp;&nbsp; <br>
<br>
</span></font><font color=navy><span style='color:navy'><a
href="about:www.afsc.ca"><font size=2><span style='font-size:10.0pt'>www.afsc.ca</span></font></a></span></font><u><font
size=2 color=navy><span style='font-size:10.0pt;color:navy'> &lt;</span></font></u><font
color=navy><span style='color:navy'><a href="http://www.afsc.ca/"><font size=2><span
style='font-size:10.0pt'>http://www.afsc.ca</span></font></a></span></font><u><font
size=2 color=navy><span style='font-size:10.0pt;color:navy'>&gt;<br>
</span></font></u><font size=2 color=navy><span style='font-size:10.0pt;
color:navy'>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 email.</span></font><font size=2><span
style='font-size:10.0pt'><o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>