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

Import CSV via "add delimited text layer" ignore first line of file csv #21399

Closed
qgib opened this issue Sep 11, 2015 · 6 comments
Closed

Import CSV via "add delimited text layer" ignore first line of file csv #21399

qgib opened this issue Sep 11, 2015 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Sep 11, 2015

Author Name: Carlos Tineo (Carlos Tineo)
Original Redmine Issue: 13346
Affected QGIS version: 2.10.1
Redmine category:data_provider/delimited_text_


Import CSV via "add delimited text layer" ignore first line of file csv.
The first line contain the name of fields, in the process of import this name are missed.
I repeat de first line and this work.

Versión de QGIS
2.10.1-Pisa
Revisión del código de QGIS
exported
Compilado contra Qt
4.8.6
Ejecutándose contra Qt
4.8.6
Compilado contra GDAL/OGR
1.10.1
Ejecutándose contra GDAL/OGR
1.10.1
Compilado contra GEOS
3.4.2-CAPI-1.8.2
Ejecutándose contra GEOS
3.4.2-CAPI-1.8.2 r3921
Versión del cliente PostgreSQL
9.4.3
Versión de SpatiaLite
4.1.1
Versión de QWT
6.0.0-svn
Versión de PROJ.4
480
Versión de QScintilla2
2.8.4


@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2015

Author Name: Carlos Tineo (Carlos Tineo)


file csv with first line repeat


  • 9059 was configured as ptos_dalila.csv

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2015

Author Name: Nathan Woodrow (@NathanW2)


Did you use the "First line is headers" option?

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2015

Author Name: Saber Razmjooei (@saberraz)


  • status_id was changed from Open to Feedback
  • category_id was configured as Data Provider/Delimited Text

@qgib
Copy link
Contributor Author

qgib commented Sep 14, 2015

Author Name: Carlos Tineo (Carlos Tineo)


Nathan Woodrow wrote:

Did you use the "First line is headers" option?

I don't use.

@qgib
Copy link
Contributor Author

qgib commented Sep 16, 2015

Author Name: Jukka Rahkonen (Jukka Rahkonen)


Works OK for me with QGIS 2.10.1 on Windows. I edited the csv file to have headers only once, checked the First record has field names option because obviously that is the case. Ask to discard zero lines and press OK. Select the CRS and points appear on the map with attribute names and attribute values in the table. See attached image which shows my options.


  • 9065 was configured as QGIS_CSV.png

@qgib
Copy link
Contributor Author

qgib commented Sep 16, 2015

Author Name: Carlos Tineo (Carlos Tineo)


Jukka Rahkonen wrote:

Works OK for me with QGIS 2.10.1 on Windows. I edited the csv file to have headers only once, checked the First record has field names option because obviously that is the case. Ask to discard zero lines and press OK. Select the CRS and points appear on the map with attribute names and attribute values in the table. See attached image which shows my options.

REady FIX this
This is my case: attach two image to see the problem (before).
I fix this deleting the config in /home/user/.qgis2 anf /home/user/.config/QGIS
Thank Very much


  • status_id was changed from Feedback to Closed
  • 9069 was configured as oneRowHeader.png
  • 9070 was configured as TwoRow_repeat.png

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant