Feature request #13038

Add ability to choose field type in CSV plugin provider import

Added by Regis Haubourg about 4 years ago. Updated over 1 year ago.

Status:Open
Priority:Normal
Assignee:Chris Crook
Category:Data Provider/Delimited Text
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21113

Description

Hi,
when importing CSV, we often have text identifiers that are similar to numerics, ie: "09123". CSV plugin auto types this filed to numeric 9123 when we need to keep it as it should be.
It would be nive to be able to choose field type destination and have an automatic cast to this.
Currently, we need to switch to ods / xslx to keep those types, but that is not straightforward
Cheers
Régis


Related issues

Duplicates QGIS Application - Feature request #4212: Data types for csv Open 2011-08-23
Duplicates QGIS Application - Feature request #5606: Defining column types for CSV imports Open 2012-05-16

History

#1 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

#2 Updated by Johannes Kroeger over 1 year ago

This is a dupe of #4212 and #5606

#3 Updated by Jürgen Fischer over 1 year ago

#4 Updated by Jürgen Fischer over 1 year ago

Also available in: Atom PDF