[Qgis-user] Csv file.

Alexandre Neto senhor.neto at gmail.com
Mon May 26 09:56:00 PDT 2014


This happens when the field name is a number. adding a string character and
it works:

NAME, y2013, y2014
REGION1,"1000","2000"
REGION2,"3000","4000"

Don't know if this is a bug or a limitation.

Alexandre Neto


On Mon, May 26, 2014 at 5:52 PM, João Gaspar <joao.f.r.gaspar at gmail.com>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 <usuario7 at gmx.es>:
>
>  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 <usuario7 at gmx.es> 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
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
>>
>>
>>
>> ------------------------------
>>    <http://www.avast.com/>
>>
>> Este mensaje no contiene virus ni malware porque la protección de avast!
>> Antivirus <http://www.avast.com/> está activa.
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140526/c49f1e31/attachment.html>


More information about the Qgis-user mailing list