Skip to main content
Removed tag prefix from question title as per Jeff Atwood style preference
Link
underdark
  • 84.5k
  • 22
  • 233
  • 415

QGIS - Random selection within subset

added 111 characters in body
Source Link

I'm working in QGIS 2.18.3.

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field (Latitude = Real), Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. 

After pressing "Run" it seem tothe process this okruns without problems as the process bar proceeds to 100%, but then nothing else happens.closes and I know there isreceive no new layer createderror message.

However, but somehow I expectednothing has been selected, i.e. no 5 random points along this transect to be selected andare highlighted in the attribute table (header still shows selected=0).

Am I using the function in a wrong way or do I expect the wrong output?

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field, Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. After pressing "Run" it seem to process this ok, but then nothing else happens. I know there is no new layer created, but somehow I expected 5 random points along this transect to be selected and highlighted.

Am I using the function in a wrong way or do I expect the wrong output?

I'm working in QGIS 2.18.3.

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field (Latitude = Real), Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. 

After pressing "Run" the process runs without problems as the process bar proceeds to 100%, then closes and I receive no error message.

However, nothing has been selected, i.e. no 5 points are highlighted in the attribute table (header still shows selected=0).

Am I using the function in a wrong way or do I expect the wrong output?

Tweeted twitter.com/StackGIS/status/847337200266092545
deleted 78 characters in body
Source Link
Midavalo
  • 29.9k
  • 11
  • 51
  • 105

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field, Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. After pressing "Run" it seem to process this ok, but then nothing else happens. I know there is no new layer created, but somehow I expected 5 random points along this transect to be selected and highlighted.

Am I using the function in a wrong way or do I expect the wrong output?

Tips and help would be much appreciated!

Many thanks in advance, Astrid

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field, Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. After pressing "Run" it seem to process this ok, but then nothing else happens. I know there is no new layer created, but somehow I expected 5 random points along this transect to be selected and highlighted.

Am I using the function in a wrong way or do I expect the wrong output?

Tips and help would be much appreciated!

Many thanks in advance, Astrid

I have point layer which represents GPS points along a transect line. I would like to randomly select 5 points along this transect, i.e. from this layer.

Somehow I expected this to be straight forward, but I seem to miss something here.

I used Research Tools --> Random selection within subset, selected the transect as input layer, Latitude as ID Field, Number of selected features (for the count instead of percentage) and entered 5 as number of selected features. After pressing "Run" it seem to process this ok, but then nothing else happens. I know there is no new layer created, but somehow I expected 5 random points along this transect to be selected and highlighted.

Am I using the function in a wrong way or do I expect the wrong output?

Source Link
Loading