Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data types for csv #14176

Closed
qgib opened this issue Aug 23, 2011 · 9 comments
Closed

Data types for csv #14176

qgib opened this issue Aug 23, 2011 · 9 comments
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request

Comments

@qgib
Copy link
Contributor

qgib commented Aug 23, 2011

Author Name: magerlin - (magerlin -)
Original Redmine Issue: 4212

Redmine category:data_provider


It would be nice if you inside Qgis could handle the data type selection when opening a csv file by "Add vector layer".

As it is now all will be interpretated as text unless you by hand adds a .csvt file to the folder containing the .csv file.


Related issue(s): #15179 (duplicates), #21113 (duplicates)
Redmine related issue(s): 5606, 13038


@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was configured as Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2012

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.4 to Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2012

Author Name: Pirmin Kalberer (Pirmin Kalberer)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Nice to have

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 8, 2018

Author Name: Håvard Tveite (@havatv)


Feature request #15179 ("Defining column types for CSV imports") has much in common with this one.

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2018

Author Name: Johannes Kroeger (Johannes Kroeger)


This is a problem that comes up all the time when dealing with users from data analysis, journalism and similar backgrounds. For example when joining geographic data and tabular data from official records. In Germany we have a seemingly numeric key for municipalities (AGS) that can have a leading zero. QGIS right now will turn it into an integer and subsequent joins will fail.

That one can manually fiddle around with an additional file is neither obvious nor user-friendly. A related issue would be that the CSV import form shows the fields without the automagical type conversion so what you see is not what you get.

Fixing this might turn those people into happy QGIS users and advocates. It would be awesome! :)

@haubourg
Copy link
Member

haubourg commented Jul 9, 2019

Closed duplicate of #21113

@haubourg haubourg closed this as completed Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants