I uploaded a csv and a csvt on the bug report
https://hub.qgis.org/issues/15816

Thanks!



De :    Ramon Andinach <cust...@westnet.com.au>
A :     steve.tout...@inspq.qc.ca
Cc :    qgis-user@lists.osgeo.org
Date :  2017-02-10 08:01
Objet : Re: [Qgis-user] BAD field type for CSV Layer when using csvt



Hi Steve,

Are you able to add some data to the bug report that isn’t working? 
A bit of the csv file and the csvt would do.

(I just failed to replicate it, although I’m sure I’ve seen it in the last 
month or so…)


Ramon.

On 10 Feb 2017, at 04:34, steve.tout...@inspq.qc.ca wrote:

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

I updated the issue 



De :        steve.tout...@inspq.qc.ca 
A :        qgis-user@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-boun...@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 
<Mail Attachment.gif>

<Mail Attachment.gif>_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to