<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Steve,<div class=""><br class=""></div><div class="">Are you able to add some data to the bug report that isn’t working? </div><div class="">A bit of the csv file and the csvt would do.</div><div class=""><br class=""></div><div class="">(I just failed to replicate it, although I’m sure I’ve seen it in the last month or so…)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Ramon.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 10 Feb 2017, at 04:34, <a href="mailto:Steve.Toutant@inspq.qc.ca" class="">Steve.Toutant@inspq.qc.ca</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><font size="2" face="sans-serif" class="">Bug already reported, I should have looked
before</font>
<br class=""><a href="https://hub.qgis.org/issues/15816" class=""><font size="2" color="blue" face="sans-serif" class="">https://hub.qgis.org/issues/15816</font></a>
<br class="">
<br class=""><font size="2" face="sans-serif" class="">I updated the issue</font>
<br class="">
<br class="">
<br class="">
<br class=""><font size="1" color="#5f5f5f" face="sans-serif" class="">De :      
 </font><font size="1" face="sans-serif" class=""><a href="mailto:Steve.Toutant@inspq.qc.ca" class="">Steve.Toutant@inspq.qc.ca</a></font>
<br class=""><font size="1" color="#5f5f5f" face="sans-serif" class="">A :      
 </font><font size="1" face="sans-serif" class=""><a href="mailto:qgis-user@lists.osgeo.org" class="">qgis-user@lists.osgeo.org</a></font>
<br class=""><font size="1" color="#5f5f5f" face="sans-serif" class="">Date :      
 </font><font size="1" face="sans-serif" class="">2017-02-09 12:23</font>
<br class=""><font size="1" color="#5f5f5f" face="sans-serif" class="">Objet :    
   </font><font size="1" face="sans-serif" class="">[Qgis-user]
BAD field type for CSV Layer when using csvt</font>
<br class=""><font size="1" color="#5f5f5f" face="sans-serif" class="">Envoyé par :    
   </font><font size="1" face="sans-serif" class="">"Qgis-user"
<<a href="mailto:qgis-user-bounces@lists.osgeo.org" class="">qgis-user-bounces@lists.osgeo.org</a>></font>
<br class="">
<hr noshade="" class="">
<br class="">
<br class="">
<br class=""><font size="2" face="sans-serif" class="">I'm creating a layer from a CSV file.
I have created .csvt file.</font><font size="3" class=""> </font><font size="2" face="sans-serif" class=""><br class="">
From the Create a Layer from a Delimited text file I see that the field
rls_est is a string and the leading zero is there.</font><font size="3" class="">
</font><font size="2" face="sans-serif" class=""><br class="">
But when I click Ok, the layer is created and rls_est field type is integer
instead of String, so I lose the leading 0.</font><font size="3" class=""> </font><font size="2" face="sans-serif" class=""><br class="">
See 2 images attached</font><font size="3" class=""> <br class="">
</font><font size="2" face="sans-serif" class=""><br class="">
Bug?</font><font size="3" class=""> <br class="">
</font><font size="2" face="sans-serif" class=""><br class="">
I prefer not using add vector layer because some numeric fields become
String.</font><font size="3" class=""> </font><font size="2" face="sans-serif" class=""><br class="">
Steve</font><font size="3" class=""> <br class="">
</font><span id="cid:_1_DD0F1A84DD0F119C00710E6A852580C2"><Mail Attachment.gif></span><font size="3" class=""><br class="">
<br class="">
</font><span id="cid:_1_DD0F1CF4DD0F119C00710E6A852580C2"><Mail Attachment.gif></span><tt class=""><font size="2" class="">_______________________________________________<br class="">
Qgis-user mailing list<br class="">
<a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br class="">
List info: </font></tt><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" class=""><tt class=""><font size="2" class="">https://lists.osgeo.org/mailman/listinfo/qgis-user</font></tt></a><tt class=""><font size="2" class=""><br class="">
Unsubscribe: </font></tt><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" class=""><tt class=""><font size="2" class="">https://lists.osgeo.org/mailman/listinfo/qgis-user</font></tt></a>
<br class="">_______________________________________________<br class="">Qgis-user mailing list<br class=""><a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br class="">List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br class="">Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</div></blockquote></div><br class=""></div></body></html>