Rudi von Staden
8fa27e106a
Fix imports for ConcaveHull
2018-09-14 13:24:57 +02:00
Martin Dobias
9bcd21fb19
Merge pull request #7194 from wonder-sk/snap-geometries-alg
...
[FEATURE] Snap geometries algorithm
2018-09-14 12:36:41 +02:00
Rudi von Staden
fd728c0854
Improve test coverage for k-nearest neighbor concave hull
2018-09-14 11:44:53 +02:00
Alessandro Pasotti
a60324b79b
Accept geometry-less features in a geometry layer
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
699a9a3bfb
Raise exception if prepare fails
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
0626a0ff5d
Disable some more algs
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
e01449f5c5
Handle bad/null geometries and geometryless
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
08fbf38a88
Fix in-place support check for some more algs
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
7b162b535f
Feature fixer: multi part to single part
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
c7ac4fe7fd
Fix widget (broken by rebase)
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
08f79bed43
More tests for Z/M add back
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
4549ee5fff
In-place moved check logic into QgsAlgorithm
...
+ new tests
+ fixed fixer function
+ drop z/m
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
11aaf90393
Function to make output features compatible
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
db98a38c02
Remember button checked status
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
d1ec4ac0aa
Sync in-place button state
2018-09-14 18:23:03 +10:00
Nyall Dawson
681d44f11f
Messy mockup of feature
2018-09-14 18:23:03 +10: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
1a26d9401d
Fix failing test for K-nearest concave hull group by field
2018-09-13 20:58:29 +02:00
Luigi Pirelli
0f07c41b19
Fix set of grass command if not set yet
2018-09-13 17:18:11 +02:00
Martin Dobias
1af35b294e
Moved new snapping alg as another mode of "Snap geometries" processing alg
2018-09-13 16:24:37 +02:00
Martin Dobias
4a0669714b
[FEATURE] Snap geometries algorithm
...
Makes sure that any two vertices of the vector layer are at least at distance given by the threshold value.
The algorithm moves nearby vertices to one location and adds vertices to segments that are passing around other
vertices within the threshold. It does not remove any vertices. Also, it does not modify geometries unless
needed (it does not snap coordinates to a grid).
This algorithm comes handy when doing vector overlay operations such as intersection, union or difference
to prevent possible topological errors caused by numerical errors if coordinates are very close to each other.
After running the algorithm some previously valid geometries may become invalid and therefore it may be useful
to run Fix geometries algorithm afterwards.
2018-09-13 11:46:29 +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
Nyall Dawson
6935027ead
[processing] Fix API break in widget wrapper
...
Fixes #19820
2018-09-13 05:40:39 +10:00
Geoff Kimbell
cb0b335a95
[FEATURE][processing] Add custom OPTIONS to contour algorithm ( #7834 )
2018-09-12 04:36:06 +10:00
Nyall Dawson
d65bd5f08e
[processing] Fix another exception in modeler
2018-09-11 15:40:27 +10:00
Nyall Dawson
97f43d4bb2
[processing] Fix warning on close
2018-09-11 15:40:27 +10:00
Nyall Dawson
90dbf72e98
[processing] Fix exception when showing advanced parameters for alg in modeler
2018-09-11 15:40:27 +10:00
Nyall Dawson
c8abd40250
[processing] Fix gdal algorithm use of old wrapper API
2018-09-11 15:40:27 +10:00
nirvn
68b7e799f0
[processing] add msg bar links to files when saving/exporting models
2018-09-11 10:30:07 +07:00
Nyall Dawson
ac3b37ffe0
[processing] Fix wrapper value retrieval for some ported wrappers
...
Fixes #19813
2018-09-11 10:26:36 +10:00
Jaka Kranjc
d54bd1a203
[processing] Fix DeleteColumn output hint
...
the dropped fields are discarded, the modeller get the rest, as expected
2018-09-11 09:35:45 +10:00
Nyall Dawson
8ecb943a43
Fix some tiny browser icons on hidpi screens
2018-09-10 19:36:03 +10:00
Nyall Dawson
1c5250b147
[processing] Fix some exceptions in batch dialog after refactoring
...
Fixes #19779 , #19786
2018-09-08 17:51:42 +10:00
John Kastner
0cc9501df7
Remove try-except block in voronoi.py fixes #19798
...
This block was swallowing all exceptions within the voronoi method.
Removing the block causes exceptions throw in the method to propagate up
the stack and eventually become visible in log files.
2018-09-08 14:38:25 +10:00
Loïc Bartoletti
808963bfae
Fix error with standardPixmap. signature requires QStyleOption
2018-09-08 07:42:01 +10:00
Luigi Pirelli
8fa5b04c03
typo
2018-09-08 07:41:11 +10:00
Luigi Pirelli
7944f6704b
added test for RangePanel widget
2018-09-08 07:41:11 +10:00
Luigi Pirelli
bc8a4605d4
Fix Range wrapper to allow Range parameters to be added in modeler. Not yet fully integrated as input paramter
2018-09-08 07:41:11 +10:00
Luigi Pirelli
e611756f09
fix error because constant is not iterable
2018-09-07 20:40:35 +10:00
Luigi Pirelli
95a4c00584
fix reference to widget as instance attribute not through a method
2018-09-07 20:40:35 +10:00
Nyall Dawson
0ea283190b
Better (finer) proxy task progress reporting for batch execution
2018-09-07 12:19:48 +10:00
Nyall Dawson
45bc2a0798
[processing] Use multi-step feedback for batch execution
...
Gives better indication of total progress vs showing just
current algorithm progress
2018-09-07 12:19:48 +10:00
Nyall Dawson
db1600871a
[processing] Use a proxy task for batch processing execution
2018-09-07 12:19:48 +10:00
Nyall Dawson
1002824cc6
[metasearch] Minor UI updates to conform to HIG ( #7810 )
...
* [metasearch] Use QgsFilterLineEdit for keyword search box
* [metasearch] Remove version number from dialog title
This is no longer required now that the plugin is bundled with
QGIS - the version number now follows QGIS version numbering
* Capitalization, ellipsis
* [metasearch] Use a question messagebox
2018-09-06 20:49:57 -04:00