<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
    text="#000000">
    On 11/26/2011 04:58 PM, David wrote:
    <blockquote
      cite="mid:1322319488.59553.YahooMailNeo@web24102.mail.ird.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: times new roman,new york,times,serif;
        font-size: 12pt;">
        <div>Hello again</div>
        <div>I'm still having trouble using a csv file.     </div>
        <div><br>
        </div>
        <div>Having loaded the csv file as a layer, right click
          properties opens the layer properties box for the csv file and
          Fields has the full list of columns in my file: so far, so
          good.   </div>
        <div><br>
        </div>
        <div>However they are all described as string, width 0 and
          precision 0 when many should be integer or decimal.     Is it
          possible to change them in the properties box?   I looked at
          the User Manual but don't understand the Edit widget.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Maybe try creating the associated *.csvt file. From the GDAL [1]
    site:<br>
    Limited type recognition can be done for Integer, Real, String, Date
    (YYYY-MM-DD), Time (HH:MM:SS+nn) and DateTime (YYYY-MM-DD
    HH:MM:SS+nn) columns through a descriptive file with same name as
    the CSV file, but .csvt extension. In a single line the types for
    each column have to be listed: double quoted and comma separated
    (e.g., "Integer","String"). It is also possible to specify
    explicitely the width and precision of each column, e.g.
    "Integer(5)","Real(10.7)","String(15)". The driver will then use
    these types as specified for the csv columns.<br>
    <br>
    And a bit more on Anita's blog [2].<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="http://www.gdal.org/ogr/drv_csv.html">http://www.gdal.org/ogr/drv_csv.html</a><br>
    [2]
<a class="moz-txt-link-freetext" href="http://underdark.wordpress.com/2011/03/07/how-to-specify-data-types-of-csv-columns-for-use-in-qgis/">http://underdark.wordpress.com/2011/03/07/how-to-specify-data-types-of-csv-columns-for-use-in-qgis/</a><br>
    <blockquote
      cite="mid:1322319488.59553.YahooMailNeo@web24102.mail.ird.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: times new roman,new york,times,serif;
        font-size: 12pt;">
        <div>David Asquith</div>
        <div>UK</div>
      </div>
      <br>
      <br>
      This mail was received via Mail-SeCure System.<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <p><br>
    </p>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
GIS Consultant, Arava Development Co.
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a></pre>
  </body>
</html>