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

Ramon Andinach custard at westnet.com.au
Fri Feb 10 05:01:13 PST 2017


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.Toutant at inspq.qc.ca wrote:
> 
> Bug already reported, I should have looked before 
> https://hub.qgis.org/issues/15816 <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 
> <Mail Attachment.gif>
> 
> <Mail Attachment.gif>_______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user> 
> _______________________________________________
> 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/20170210/e9eecaca/attachment.html>


More information about the Qgis-user mailing list