[Qgis-developer] QGIS 2.10.1 Pisa - Read CSV file problem

Zoltan Szecsei zoltans at geograph.co.za
Tue Aug 4 03:26:57 PDT 2015


Hi,
Using the above version on Win 7 64 bit, I read a CSV file (as 
attributes only) stipulating that "first record has field names"
Record 1 is as follows:
"SALnum","SALnam","1","2","3","4","5","6","7","8","9","10+"

When I open the attribute table, I see that fields 1 & 2 have names 
SALnum and SALnam, but the rest are called 'Field_3', 'Field_4' and so on.

When I edit record 1 of this CSV file to look like:
"SALnum","SALnam","1p","2p","3p","4p","5p","6p","7p","8p","9p","10+p"

The I get the correct field names (albeit 1p instead of just "1")

Is this an error, or is there some reason further down the line, that 
attribute tables cannot have 'numeric' field names?

Thanks and regards,
Zoltan


-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:    +27-86-6115323     www.geograph.co.za
===========================================



More information about the Qgis-developer mailing list