15 Commits

Author SHA1 Message Date
Rudi von Staden
fd728c0854 Improve test coverage for k-nearest neighbor concave hull 2018-09-14 11:44:53 +02:00
Rudi von Staden
858cd266c7 Use US spelling for neighbor 2018-09-14 10:05:20 +02:00
Rudi von Staden
f4cab1780a Changes from review comments
- Shorten algorithm names (KNearestNeighbour and ConcaveHull)
- Check for feedback cancellation
- remove unnecessary try/except blocks
2018-09-14 09:10:40 +02:00
Rudi von Staden
5076fb6313 Update icon to fit QGIS theme, rename and apply to ConcaveHull also
- Based colours and sizes on mAlgorithmDelaunay.svg
- Renamed from mAlgorithmKNearestConcaveHull.svg to mAlgorithmConcaveHull.svg to be more general
- Applied to ConcaveHull.py also to indicate similarity between algorithms
2018-09-14 08:35:43 +02:00
Rudi von Staden
cef34c5e51 Initialise writer after appending field 2018-09-14 00:15:13 +02:00
Rudi von Staden
6257cf64c4 Fix indentation 2018-09-13 23:26:45 +02:00
Rudi von Staden
9111b557f0 Improve k-nearest neighbour algorithm logic and add descriptive comments 2018-09-13 23:00:51 +02:00
Rudi von Staden
4482c39fc8 Add tests for k-neighbour concave hull 2018-09-12 22:38:39 +02:00
Rudi von Staden
f3e2d268f6 Fix formatting 2018-09-12 21:49:53 +02:00
Rudi von Staden
8d0b0ac8d2 Remove unused function 2018-08-17 16:05:16 +02:00
Rudi von Staden
7f8d406d09 Give a more descriptive output name 2018-08-17 15:17:25 +02:00
Rudi von Staden
bbfd6990f4 Add documentation and improve input parameter descriptions 2018-08-17 14:21:09 +02:00
Rudi von Staden
7da8d727d1 Fix null output for k greater than number of points in k-neighbour algorithm
- if k is greater than the number of points, use the number of points
- if k <3 is provided, use 3
- remove unused as_polygon function
2018-08-16 21:27:22 +02:00
Rudi von Staden
0a1d3e7e87 Fix description of k-nearest output layer
The output layer may have multiple features  - rewording to be more general.
2018-08-15 21:33:08 +02:00
Rudi von Staden
52ccc43ebb [feature] Adapted k-neighbour concave hull plugin as QGIS 3 algorithm
Co-authored-by: Detlev Neumann <dneumann@geospatial-services.de>
2018-08-15 21:18:32 +02:00