1084 Commits

Author SHA1 Message Date
Alexander Bruy
629afb685c cover gdal merge algorithm with test and add support for additional
command line parameters
2019-06-25 09:59:50 +03:00
Alexander Bruy
97806eaa5d additional parameters for hillshade algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
ceb0633f89 additional parameters for grid nearest neighbor 2019-06-25 09:59:50 +03:00
Alexander Bruy
d1562a4149 additional parameters for grid linear 2019-06-25 09:59:50 +03:00
Alexander Bruy
c351bb85fc additional command line parameters for grid IDW NN 2019-06-25 09:59:50 +03:00
Alexander Bruy
10062dcc80 additional parameters support for grid inverse distance 2019-06-25 09:59:50 +03:00
Alexander Bruy
3c03629fa7 additional parameters for grid data metrics algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
629f299b17 additional parameters support for grid average algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
1e7704ab60 additional parameters support in gdalinfo algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
5b27b72191 allow additional parameters for gdal_calc 2019-06-25 09:59:50 +03:00
Alexander Bruy
c0c16cdd31 additional parameters for gdaladdo algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
45b12a7e5c support for additional command line parameters and creation options in
the fillnodata algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
18a56f97e0 allow pass additional parameters in the contour algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
c64c2948d9 fix not used creation options parameter in the color relief algorithm and
allow to pass additional command line parameters to it
2019-06-25 09:59:50 +03:00
Alexander Bruy
0128135c64 allow to pass additional parameters to the clip raster by mask algorithm 2019-06-25 09:59:50 +03:00
Alexander Bruy
d40d040ebe allow to pass additional parameters to the clip raster by extent
algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
7c06db6d7b allow to pass additional command-line parameters to aspect algorithm 2019-06-25 09:59:50 +03:00
olivierdalang
8f629cab5e [FEATURE][processing] new algorithm point to layer 2019-06-22 05:49:28 +10:00
Matthias Kuhn
0640e51e48
Merge pull request #10005 from ghtmtt/processing_climb
[Processing] climb along line algorithm
2019-06-21 16:13:15 +02:00
Matthias Kuhn
24e56a810c
Merge pull request #30176 from jgrocha/redmine2github
References to issues.qgis.org updated
2019-06-17 11:34:12 +02:00
Nyall Dawson
b25fa7a2e3 Try to fix crash on travis 2019-06-15 15:05:48 +10:00
Nyall Dawson
fbd243be65 [processing] Port map layer selection combobox widget to c++
And:

- fix enable state of selected features only after changing between
map layers with/without selections
- fix state of selected features only when running an algorithm
from the history list, e.g. respect original setting for
selected features only (or not)
- ensure no duplicate changed signals are sent, and correctly
emit changed signals in all applicable circumstances
- handle drag and dropped layers from browser panel (UX fix)
- soak with unit tests
2019-06-15 15:05:48 +10:00
Nyall Dawson
4ff8429f7a [processing] Port "Points along geometry" to QgsFeatureBasedAlgorithm
(and c++), allow distance/start/end offset to be dynamic, avoid
algorithm "hangs" when inappropriately small (or 0) distances
are used
2019-06-12 10:08:51 +07:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Harrissou Sant-anna
502e18fa24 Update tests for gdal warp 2019-06-11 13:43:38 +10:00
Martin Varga
4013925083 [processing] deferred transparency/bg_color option in xyz alg 2019-06-07 11:09:41 +02:00
Martin Varga
3a9b32d635 [processing] added new options (alpha, quality, tile_size) to xyz alg 2019-06-07 11:09:41 +02:00
Harrissou Sant-anna
b8e94e9a5e
Better wording
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-06-06 13:50:39 +02:00
Harrissou Sant-anna
065c7518bc
Fixing typo 2019-06-06 13:02:03 +02:00
Alexander Bruy
121a92df7d
Merge pull request #10074 from alexbruy/grass-r-sun
[processing] split GRASS r.sun algorithm into two (fix #21637)
2019-05-25 07:59:19 +03:00
Mathieu Pellerin
a888986567
[needs-docs][processing] Avoid field collision via optional prefix in overlay algorithms (#10092)
Makes for a more predictable collision avoidance, which
can be neccessary for some models.
2019-05-24 19:00:28 +07:00
Alexander Bruy
6009070502 update tests 2019-05-23 10:54:16 +03:00
Nyall Dawson
289e72dc07 Adjust precision of some processing tests to allow them to pass under proj 6 2019-05-21 19:14:55 +10:00
Peter Petrik
6d9b40f634 add TMS (fix #21987)and HTML output (fix #21991) for tilesxyz. Split to 2 algorithms (directory and MBTiles) 2019-05-18 11:34:15 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
matteo
4ca3935fbd [feature[ Processing Climb along lines algorithm 2019-05-15 08:18:45 +02:00
Nyall Dawson
2ec429cb89 [FEATURE][processing] New algorithm "Overlap analysis"
This algorithm calculates the area and percentage cover
by which features from an input layer are overlapped by
features from a selection of overlay layers.

New attributes are added to the output layer reporting
the total area of overlap and percentage of the input
feature overlapped by each of the selected overlay layers.

This is quite a common GIS task request, yet is full
of traps for inexperienced users, and the amount of
manual data work usually done by users to calculate
these figures can often lead to mistakes and inaccurate
results. It's nice to have a robust, fast, inbuilt
algorithm which allows this task to be done in a
single step without risk of human error.
2019-05-14 06:13:10 +10:00
Raymond Nijssen
6e62c0246d tests for rounded values in polygonfromlayerextent algorithm 2019-05-11 08:42:27 +02:00
Nyall Dawson
69c89151ef Add extra raster hashes 2019-05-09 14:04:30 +10:00
Nyall Dawson
6ec58f90c8 Spelling, formatting 2019-05-09 14:04:30 +10:00
Nyall Dawson
e2bd17f3c9 Split processing test files into multiple batches
There's two motivations for this:
- the existing one was getting massive and took ages to run, which was
a pain when developing. Smaller batches allow just a subset of test to
be run which is much faster.
- There's a random segfault on test exit which occurs on Travis. Rather
then disabling these absolutely critical tests altogether, I'm using
this as a method of bisecting exactly which alg is causing this.
2019-05-09 14:04:30 +10:00
Marcel Dancak
9820bb4fa9 [processing] updated test files - tiles with transparent background 2019-05-03 13:43:15 +02:00
Luigi Pirelli
c0ec79ef05
Merge pull request #9172 from luipir/fix_19731
try to reset script path pointing to the current setting path
2019-04-29 10:48:24 +02:00
epifanio
841b191ea8 [processing] Add r.geomorphon grass command and module in grass core plugin (#9625)
* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Update grass7_algorithms_raster_tests.yaml

adding corrected unit test

* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt
2019-04-27 10:37:43 +02:00
Martin Dobias
fdb6a2b79a Add test for XYZ Tiles algorithm 2019-04-25 22:14:08 +02:00
Martin Dobias
ee63cffd88 [processing] Add 'project' to test definition and 'directory' output test
- for algorithms that produce directory output, it is possible to test
  that directory contents are exactly the same (recursively)
- added possibility to have a project file loaded before an algorithm is run
- documented the new additions (+ few existing ones)
2019-04-25 21:40:31 +02:00
nirvn
9ce1093bce [FEATURE][ogr] Add string list field type support 2019-04-10 08:06:12 +07:00
nirvn
5e0fd15570 [FEATURE][processing] Add concatenate_unique support to the aggregate alg 2019-04-05 12:01:06 +07:00
Nyall Dawson
59ed07891a Also store x/y coordinates of nearest points on features when calculating
nearest features

This can be useful, and is difficult to calculate later!
2019-04-03 02:31:03 +10:00
Nyall Dawson
95af4d4a45 [FEATURE] New Processing algorithm "Join attributes by nearest"
K-nearest neighbour joins from the Processing toolbox!

This algorithm takes an input vector layer and creates a new
vector layer that is an with additional attributes in its attribute table
The additional attributes and their values are taken from a second
vector layer, where features are joined by finding the closest features
from each layer.

By default only the single nearest feature is joined, but optionally
the join can use the n-nearest neighboring features instead.

If a maximum distance is specified, then only features which are
closer than this distance will be matched.
2019-04-03 02:31:03 +10:00