[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 12:34:53 PST 2017


Bug already reported, I should have looked before
https://hub.qgis.org/issues/15816

I updated the issue



De :    Steve.Toutant at inspq.qc.ca
A :     qgis-user at lists.osgeo.org
Date :  2017-02-09 12:23
Objet : [Qgis-user] BAD field type for CSV Layer when using csvt
Envoyé par :    "Qgis-user" <qgis-user-bounces at lists.osgeo.org>



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 


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170209/873c7c79/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/873c7c79/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/873c7c79/attachment-0001.gif>


More information about the Qgis-user mailing list