59687 Commits

Author SHA1 Message Date
Nyall Dawson
1a74938ba8 [processing] Add option for multiple field parameters to default to
selecting all available fields

For some algorithms this is better UX then defaulting to an empty list
2020-01-04 23:06:03 +10:00
Denis Rouzaud
306a603bac remove falty part 2020-01-04 12:23:38 +01:00
Denis Rouzaud
2ec439982b
useless commit to test doc bot (#33602) 2020-01-04 12:13:32 +01:00
Denis Rouzaud
6be7eaab10 create label on doc from milestone on qgis 2020-01-04 12:11:13 +01:00
Denis Rouzaud
188999ab39 run backport action only when proper label is detected 2020-01-04 08:55:23 +01:00
Denis Rouzaud
969fb3b090 run doc bot action on merge only 2020-01-04 08:10:28 +01:00
Harrissou Sant-anna
c367e770de Move down the "Remove rule" action in contextual menu
to avoid it being accidentally clicked
2020-01-03 12:23:51 +10:00
Nyall Dawson
e6a83c9129 Fix copyright 2020-01-03 05:25:33 +10:00
Nyall Dawson
d788dfc0cb Update menu link 2020-01-03 05:25:33 +10:00
Nyall Dawson
db4c99f4aa Fix progress reports, joined feature count 2020-01-03 05:25:33 +10:00
Nyall Dawson
c6565ef03a [processing] Ensure faster predicates are always tested first before slower predicates
Because we may be able to bypass the slower checks if the faster ones pass first
2020-01-03 05:25:33 +10:00
Nyall Dawson
16c83e061b Fix unjoinable features can get incorrectly added to both outputs when a separate unjoined feature output is set 2020-01-03 05:25:33 +10:00
Nyall Dawson
75cf5f2f62 Fix subtle logic bug in spatial join c++ port when join type is 1:1 and unjoinable features are not being collected 2020-01-03 05:25:33 +10:00
Nyall Dawson
6aa20fbd2f Only increment progress after processing a single feature 2020-01-03 05:25:33 +10:00
Nyall Dawson
bb131c8ab9 Rename variable for clarity 2020-01-03 05:25:33 +10:00
Nyall Dawson
be46152197 Don't use m prefix for local variable 2020-01-03 05:25:33 +10:00
Nyall Dawson
cfa5c317eb Use an enum for join methods for readability 2020-01-03 05:25:33 +10:00
Nyall Dawson
919b40e7fe Remove some unused members, avoid making some locally used variables member variables 2020-01-03 05:25:33 +10:00
Alex
e9aff0b695 join by location c++ port 2020-01-03 05:25:33 +10:00
Julien Cabieces
75ba9b394d fix clazy and fallthrough warnings 2020-01-02 20:59:28 +10:00
Julien Cabieces
710c00e092 install pyproj deb package to avoid owslib pip install error 2020-01-02 20:59:28 +10:00
Julien Cabieces
e5fd756527 Configure Oracle continuous integration 2020-01-02 20:59:28 +10:00
Julien Cabieces
8d4ef80377 Don't forget to rollback at the end of the tests 2020-01-02 20:59:28 +10:00
Julien Cabieces
00d0a062d3 close connection when deleting oracle transaction 2020-01-02 20:59:28 +10:00
Julien Cabieces
94d0b06df5 Don't use sdo_tune.extent_of if user doesn't ask explicitly for
estimated metadata
2020-01-02 20:59:28 +10:00
Julien Cabieces
780d29d5d3 Protect oracle conn method with mutex 2020-01-02 20:59:28 +10:00
Alexander Bruy
000409f9a6
Merge pull request #32922 from alexbruy/range-optional
[processing] add "not set" support for range parameter (fix #29374)
2020-01-02 11:53:25 +02:00
Nyall Dawson
c43613d0b2 Another hash 2020-01-02 18:26:49 +10:00
Nyall Dawson
158dfcc3cc More test hashes 2020-01-02 18:26:49 +10:00
Nyall Dawson
c4672ef984 Add extra raster hashes 2020-01-02 18:26:49 +10:00
Panos Mavrogiorgos
d7f0ea2293 Fix tests 2020-01-02 18:26:49 +10:00
Panos Mavrogiorgos
0c3cb558a8 Introduce GRASS_USE_REXTERNAL setting
GRASS GIS, in addition to importing data in its native formats via
`r.in.gdal`/`v.in.ogr` (and likewise `r.import`/v.import`),
also supports `r.external`/`v.external` which only link the data into
the GRASS DB.

Nevertheless, both `r.external` and `v.external` occasionally have problems,
especially on windows. E.g.:

- https://trac.osgeo.org/grass/ticket/3927

GRASS 7 Processing Plugin already has a setting that controls whether
`v.external` is used (disabled by default).

With this commit the complementary setting for `r.external` gets added too.
Usage of `r.external` is disabled by default. This is changing the existing
behavior, which was to use r`r.external`. The downsides of this change
should be the somewhat lower import speed + higher disk usage. Nevertheless
this way we have the same default value as `v.external` + we circumvent the
`r.import/v.import` shortcomings.
2020-01-02 18:26:49 +10:00
Denis Rouzaud
a83154cad9 add clear token 2020-01-02 09:18:58 +01:00
Denis Rouzaud
02919f8336 move condition to step 2020-01-02 08:13:06 +01:00
Denis Rouzaud
1626bba986 add name to action 2020-01-02 08:10:43 +01:00
Denis Rouzaud
bdf292e101 add documentation bot 2020-01-02 08:05:50 +01:00
Alexander Bruy
34f8ca3a94 NAN -> quiet_NaN() 2020-01-02 08:36:54 +02:00
Alexander Bruy
b5d71d39ac [processing] add "not set" support for range parameter (fix #29374, refs #29269) 2020-01-02 08:36:54 +02:00
Nyall Dawson
d8645f5285 Update rotate function help for optional center point 2020-01-02 14:45:06 +10:00
Nyall Dawson
0d4e4b9eb0 Update rotate function expression tests 2020-01-02 14:45:06 +10:00
Nyall Dawson
5bb63599e6 Make rotation centre point optional, and use geometry bounding box if not specified 2020-01-02 14:45:06 +10:00
Raymond Nijssen
933f1cac72 [FEATURE] rotate() expression function
Allows rotation of geometries around a point
2020-01-02 14:45:06 +10:00
Nyall Dawson
5792966b12 Update test results 2020-01-02 14:20:14 +10:00
Nyall Dawson
e05a04c7e7 Avoid doxygen warning 2020-01-02 14:20:14 +10:00
Nyall Dawson
bbacab4180 [processing] Use optimized spatial index load in Join by Nearest
and Split with Lines algorithms
2020-01-02 14:20:14 +10:00
Nyall Dawson
c46e89f7de [processing] Use bulk spatial index loader in Delete Duplicates algorithm
Cuts processing time to 70% of original for a 3 million point input file
(debug build)
2020-01-02 14:20:14 +10:00
Nyall Dawson
fe6abba251 [api] Add constructor for QgsSpatialIndex which allows for a callback
function during bulk index load from a feature iterator

Allows single-iteration of a source for dual purposes simultaneously,
e.g. doing other feature-based operations while still gaining the full
advantage of the bulk loaded spatial index without having to do multiple
feature iterations
2020-01-02 14:20:14 +10:00
basilrabi
a25f8b970f [RPM] fix broken -u flag in buildrmps.sh
When using `buildrpms.sh -u`, the script fails with:

```
Wrote: /builddir/build/SRPMS/qgis-*.src.rpm
Finish: rpmbuild -bs
Finish: buildsrpm
INFO: Done(qgis.spec) Config(default) 0 minutes 22 seconds
INFO: Results and/or logs in: result
INFO: Cleaning up build root ('cleanup_on_success=True')
Start: clean chroot
Finish: clean chroot
Finish: run
Source package created
Source package unavailable. Abort
```

The reason was because a wrong src.rpm file name was extracted by sed.
Instead of `qgis-*.src.rpm`, what was being extracted is
`qgis-*.src.rpm\r` which includes a carriage return. This change removes
any character at the end of the `.rpm` when extracting the file name.
2020-01-02 13:07:29 +10:00
Vincent Cloarec
30569bce1f Move QgsRasterLayerProperties class to the gui API
Motivation :
Move the QgsRasterLayerProperties class to the GUI API.
So, this class could be used using the QGIS API, notably for standalone applications.

The instance of this class was dependent, since QGIS 3.8, from the QgisApp instance, when calling the askUserForDatumTransform(). As this method, defines a title and only call QgsDatumTransformDialog::run() method from the gui API, this PR purpose to :
2020-01-02 13:02:32 +10:00
Andrea Giudiceandrea
ef9b8c2c25 Fix missing flags in r.reclass.area GRASS alg
Fixes #33569
2020-01-02 11:43:10 +10:00