[Qgis-user] BAD field type for CSV Layer when using csvt

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu Feb 9 08:57:35 PST 2017


I'm creating a layer from a CSV file. I have created .csvt file.
>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.
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.
See 2 images attached

Bug?

I prefer not using add vector layer because some numeric fields become 
String.
Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170209/7a98cd17/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 39214 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170209/7a98cd17/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 11886 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170209/7a98cd17/attachment-0001.gif>


More information about the Qgis-user mailing list