[Qgis-user] Shapefiles with all numeric attribute names don't classify right?

Anita Graser anitagraser at gmx.at
Tue May 10 10:55:45 PDT 2016


​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 <ijturton at 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 at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160510/9a3b5a78/attachment.html>


More information about the Qgis-user mailing list