Agreed, don't start field names with numbers.

(from ESRI, but I think should apply equally to shapefiles used in QGIS):
http://support.esri.com/cn/knowledgebase/techarticles/detail/23087


Phil


On Tue, May 10, 2016 at 1:55 PM, Anita Graser <anitagra...@gmx.at> wrote:

> ​Hi Ian,
> If I remember correctly, Shapefile attribute names must not start with a
> number. Im not sure why this is but I think that could be part of the issue.
> Best wishes,
> Anita​
>
> On Tue, May 10, 2016 at 3:26 PM, Ian Turton <ijtur...@gmail.com> wrote:
>
>> I have a shapefile with a bunch of attributes called 1980,1990,2000, etc
>> to represent the years the data is for. They are integers (if that matters)
>> but when I try to use them in a Qgis (2.14.2-Essen) the styler recognises
>> them as numeric but when I try to produce a graduated style all the classes
>> are  set to -2147483648 - -2147483648. If I rename the attribute to
>> 1980_inc or inc1980 the classifier is happy and everything works as I
>> expect.
>>
>> Does anyone know what might be going on?
>>
>> Ian
>>
>> --
>> Ian Turton
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to