Nyall Dawson
f51487551b
[processing] Use display name, not alg ID in undo history for in-place mode
2018-09-18 08:27:33 +10:00
nirvn
9f51a4c7d1
[processing] fix large points in polygon count overflow by using an int64 field
2018-09-17 18:54:06 +07:00
Juergen E. Fischer
239e93deeb
run gdal_calc on Windows and gdal_calc.py on othes platforms ( fixes #19482 )
2018-09-17 02:34:36 +02:00
olivierdalang
953ea96bfb
fixes #19825
2018-09-15 14:56:45 +10:00
olivierdalang
77d7d666d1
add tests for #19824
2018-09-15 14:53:40 +10:00
olivierdalang
340631f850
fix #19824 where modifications to project models were not saved
...
Models definitions are now stored in a dict rather than list
which allows for less verbose code to reference models by name
2018-09-15 14:53:40 +10:00
Luigi Pirelli
efa72779af
Merge pull request #7890 from luipir/fix_cascaded_grass_algs_in_modeler
...
Fix cascaded grass algs in modeler
2018-09-14 18:32:34 +02:00
Luigi Pirelli
8b07b4ed9e
Merge pull request #7626 from rudivs/kneighbour
...
[feature] Adapted k-neighbour concave hull plugin as QGIS 3 algorithm
2018-09-14 15:32:46 +02:00
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