<div dir="ltr"><div><div><div><div><div>
Date: Thu, 26 Sep 2013 18:18:10 +0200<br>
From: Bernhard Str?bl <<a href="mailto:bernhard.stroebl@jena.de">bernhard.stroebl@jena.de</a>><br>
<br>
Hi,<br>
<br>
Am <a href="tel:26.09.2013%2018" value="+12609201318">26.09.2013 18</a>:07, schrieb Michael Spencer:<br>
> Having a strange problem at the moment.<br>
><br>
> If I open a vector attribute table and click on a column heading to sort<br>
> the column then this doesn't seem to work. The column contains mainly<br>
> numbers with some NA and some NULL strings.<br>
><br>
> The sort action groups most together most NA and NULL, and orders the<br>
> numbers, but some strings slip through the gaps and appear where they<br>
> aren't wanted in the number sequence!<br>
><br>
> I'm working in QGIS 2.0.1 on Ubuntu 12.04.<br>
><br>
> The reason I want to do this is to delete all records that aren't<br>
> numeric, so if there's a neater way to accomplish this that would be great!<br>
<br>
A neater way would be to select the records in question and then simply<br>
delete the selected. Hint select for nulls with<br>
<code>"my_field" is null</code><br><br></div>Thanks Bernhard, this was my original choice. Unfortunately I find the select tool a total black box and can't get my head around it. Your suggestion works for entries with 'null' in, but I can't get a response when I want to select 'nan' values. I've tried as:<br>
<br></div><"field" is nan><br></div><"field" is 'nan'><br></div><div><"field" = 'nan'><br></div><div><br></div>Both with no joy. Is there a crib sheet somewhere with basic options on?<br>
<br></div>Ta,<br>Michael<br><div><div><div><div><div><div>
<br>
Bernhard<br>
<br>
><br>
> Ta,<br>
> Michael</div></div></div></div></div></div></div>