[Qgis-user] ordering an attribute table

Bernhard Ströbl bernhard.stroebl at jena.de
Thu Sep 26 09:18:10 PDT 2013


Hi,

Am 26.09.2013 18:07, schrieb Michael Spencer:
> Having a strange problem at the moment.
>
> If I open a vector attribute table and click on a column heading to sort
> the column then this doesn't seem to work. The column contains mainly
> numbers with some NA and some NULL strings.
>
> The sort action groups most together most NA and NULL, and orders the
> numbers, but some strings slip through the gaps and appear where they
> aren't wanted in the number sequence!
>
> I'm working in QGIS 2.0.1 on Ubuntu 12.04.
>
> The reason I want to do this is to delete all records that aren't
> numeric, so if there's a neater way to accomplish this that would be great!

A neater way would be to select the records in question and then simply 
delete the selected. Hint select for nulls with
<code>"my_field" is null</code>

Bernhard

>
> Ta,
> Michael
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>


__________ Information from ESET Mail Security, version of virus signature database 8847 (20130926) __________

The message was checked by ESET Mail Security.
http://www.eset.com





More information about the Qgis-user mailing list