[Qgis-user] How to sort integer value in attributes table

Nathan Woodrow madmanwoo at gmail.com
Fri Aug 12 01:35:18 PDT 2016


Known issue in 2.16 it seems

On Fri, 12 Aug 2016 6:25 pm Amedeo Fadini <amefad at gmail.com> wrote:

> Hi everybody, don't know if it's been in this way from the beginning,
> but today I've noticed that I'm not able to sort the attribute table
> by a numeric value: it's always managed as a text.
>
> I have a vector layer with contour lines, each has an attribute
> "quote" integer. Qhen I try to sort it by quote i have this result:
>
> ____|    quote|
>      1|       100|
>      2|     1000|
>      3|     1025|
>      4|       105|
>      5|     1050|
>      6|     1075|
>      ..|     .....
> 1640|      975|
>
> instead of:
>
> ____|    quote|
>      1|       100|
>      2|       105|
>      3|       110|
>      ..|       .....|
> 1640|     1525|
>
> I'm using Qgis 2.16.0-Nødebo rev  2f9ed29 GDAl 1.10 on Debian 8
> Is it normal or is a issue? Anybody can confirm?
> _______________________________________________
> 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/20160812/cd5f2316/attachment.html>


More information about the Qgis-user mailing list