I think that the problem is the field names. You cannot have a name that begins with a digit. Try to rename the column headers yr_2013, yr_2014, etc.

On 26-May-14 7:52 PM, João Gaspar wrote:
Yes i confirm this behavior with numbers, with the text fields works ok.

Test in QGIS 2.2 Valmiera OSGeo4W 32-bits Installer in Windows 7 64-bits.

Alexandre, do you have the same behavior?

Regards
João


2014-05-26 17:36 GMT+01:00 Ourizo Cacho <[email protected]>:
Sure,
the situation could be:

csv file content:

NAME,2013,2014
REGION1,"1000","2000"
REGION2,"3000","4000"

I try to add this file into QGIS as an only table, with no geometries associated and the result I get is like this:


NAME,field_2,field_3
REGION1,"1000","2000"
REGION2,"3000","4000"



El 26/05/2014 18:26, Alexandre Neto escribió:
Hello,

can you please send a sample of your csv file?

Alexandre Neto


On Mon, May 26, 2014 at 5:24 PM, Ourizo Cacho <[email protected]> wrote:
Hello everyone,
I have a *csv file that I´m trying to add as an attribute only table. The question is that QGIS only recognizes the name of the first field. The others are named, field_2, field_3 and so on... The rest of the table, including attibutes are ok.
How can I get the correct names of the fields into a new QGIS attribute table??
Any help, please?

---
Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa.
http://www.avast.com

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user





Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa.



_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user


This mail was received via Mail-SeCure System.


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user
This mail was received via Mail-SeCure System.



-- 
Moshav Idan
D.N. Arava, 86840
cell: 0523-665918
http://www.surfaces.co.il
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to