Random points tool doesn't work with non-vector layes

Description

The form of the tool allows all types of layers but the code expects only vector layers.
It should be possible to create random points for raster layers as well.

Activity

Show:
Paul Meems
November 15, 2015, 3:03 PM

I updated the existing unit test for RandomPoints Tool and adding two new ones.
A raster file is now used as an input file, as well as a shapefile and a test is added to use only the selected features of a shapefile.

Paul Meems
November 15, 2015, 11:50 AM

I can confirm this fix. It is working as expected now.

Sergei Leschinsky
November 14, 2015, 4:33 PM

A fix is committed. There was one more newly introduced issue with passing Selected only flag, fixed as well.

Done

Assignee

Sergei Leschinsky

Reporter

Paul Meems

Labels

Fix versions

Affects versions

Priority

Medium