58776 Commits

Author SHA1 Message Date
Alessandro Pasotti
797af951c4 Processing rasterize: add extent buffer 2019-11-21 09:58:18 +01:00
Alessandro Pasotti
c25f2745cc Port processing rasterize to C++
roughly 20% faster than Python
2019-11-20 21:23:46 +01:00
Matthias Kuhn
59a766e22a
Merge pull request #32807 from lbartoletti/patch-1
Fix compilation with llvm > 6 (and arch=i386)
2019-11-20 10:27:42 +01:00
Nyall Dawson
2b9921ac2c Lower precision of grass centrality test
Refs #32562
2019-11-20 18:43:29 +10:00
Nyall Dawson
1ca926d72a [FEATURE][layouts] Add search box to layout manager
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Denis Rouzaud
f1e6745fe7
[quick] add utility method to select feature using their IDs from QML (#32735)
* [quick] add utility method to select feature using their IDs from QML

* Update qgsquickutils.cpp
2019-11-20 08:07:09 +01:00
Nyall Dawson
129165a100 Fix warning 2019-11-20 10:08:13 +10:00
Nyall Dawson
0b688348f1 Fix build 2019-11-20 10:08:13 +10:00
Nyall Dawson
9a2e015158 Move QObject declaration to header 2019-11-20 10:08:13 +10:00
Nyall Dawson
986aa713ef Identation 2019-11-20 10:08:13 +10:00
Nyall Dawson
1c128f9df4 Line based exclusion doesn't seem to work with lambdas... 2019-11-20 10:08:13 +10:00
Nyall Dawson
6ce8856741 Fix clazy warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
c8bf6a9b74 Another unused string: 2019-11-20 10:08:13 +10:00
Nyall Dawson
85227322d6 Clear clazy unused variable warning on proj < 6 builds 2019-11-20 10:08:13 +10:00
Nyall Dawson
3b03b87822 Add missing Q_OBJECT macro 2019-11-20 10:08:13 +10:00
Nyall Dawson
942b74fa84 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
8f1cf97f50 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
fd68d8ee97 Use QHash instead of QMap with pointer key 2019-11-20 10:08:13 +10:00
Nyall Dawson
a882ece4f5 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
fe9e6c6934 Fix typos 2019-11-20 10:08:13 +10:00
Nyall Dawson
9fc5d86d74 Add missing Q_OBJECT macro 2019-11-20 10:08:13 +10:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
4b8f37da39 Enable some more safe clazy checks 2019-11-20 10:08:13 +10:00
Nyall Dawson
664223c504 Add backport bot workflow yml 2019-11-20 09:31:40 +10:00
nirvn
e109dc6ac5 [processing] Fix wrong label description for the centroid alg's all parts parameter
(fixes #32940)
2019-11-19 21:09:51 +10:00
Juergen E. Fischer
8fedf7c72a debian packaging: python-gdal still needed for gdal python scripts 2019-11-19 10:52:14 +01:00
nirvn
f63c747c50 [processing] Fix missing icon for polygon to lines algoritghm
The icon went missing when porting the algorithm from
python to a native
2019-11-19 16:35:58 +07:00
Nyall Dawson
0d6599a7b6 [labeling] Fix evalution of letter/word spacing when font size is map units
Fixes #32825
2019-11-19 16:46:54 +10:00
Nyall Dawson
19d0b118a5 Optimise some trivial point/rectangle intersection tests 2019-11-19 16:41:48 +10:00
Alessandro Pasotti
f9f00d3388 Fix fid regenerate on GPKG vector layer exported
Fixes #32927
2019-11-19 06:20:57 +10:00
Juergen E. Fischer
d401c84008 another translation string fix 2019-11-18 18:21:06 +01:00
Juergen E. Fischer
74a6871d9e translation string fixes 2019-11-18 13:19:25 +01:00
Peter Petrik
90cbcc92b1 fix crash when gps source is not available (e.g. missing QT plugins) 2019-11-18 10:20:18 +01:00
Peter Petrik
65182a2775 fix compilation of qgsquick plugin on win 2019-11-18 10:20:18 +01:00
Nyall Dawson
3b29dbafa6 Resolve cpu spikes when options dialog is shown
Disable auto-update of the advanced settings tree widget. This is causing
CPU spikes every 2 seconds while the dialog is open. It's useless for QGIS,
because this dialog is modal and blocking, and changes to settings aren't
saved until the dialog is dismissed. So basically nothing should be updating
these settings while the dialog is opened anyway...

Fixes #32892
2019-11-18 18:29:41 +10:00
nirvn
617955ac1e [expression] Language support for format_date() and to_{date,datetime,time}()
By default, those expression use the application's locale. The addition of an optional
language parameter allows handling of dates that wouldn't match that default
locale (say for e.g. an English system running QGIS trying to transform a
French-formatted string into a date object).
2019-11-18 12:13:47 +07:00
Pete King
0e7edd5588 [feature] is_valid expression
Returns true if a geometry is considered valid according to the OGC validity rules
2019-11-18 02:31:48 +10:00
Nyall Dawson
3b8565115a Also lazy load numpy 2019-11-17 17:08:12 +10:00
Nyall Dawson
2d83fb2e1d Remove unused code 2019-11-17 17:08:12 +10:00
Nyall Dawson
a27db3533c [processing] Only load plotly library on demand (i.e. at time of algorithm
execution)

Because:
1. It's nicer to show all algorithms on all installs, and give a descriptive
error message to users when they try to run algorithms which depend on Plotly
if the library is missing. Otherwise on some installs these algorithms are
just missing for no apparent reason.

2. The plotly library takes a long time to load on windows (3-4 seconds),
so by moving this load to an on-demand load at time of algorithm execution
we can shave a few seconds off the QGIS startup time for ALL users.
2019-11-17 17:08:12 +10:00
Felis Pimeja
d28da131c4 Fix alg description
PostGIS DB -> PostgreSQL DB
2019-11-17 11:55:35 +10:00
Felis Pimeja
60ed888277 Fix alg description
PostGIS DB - PostgreSQL DB
2019-11-17 11:55:35 +10:00
Nyall Dawson
2a5ee9b563 [processing] Warn when we know for certain that no spatial index
exists on a source used for the Join by Location algorithm

Advise users that performance will be severely degraded as a result.
2019-11-17 04:54:41 +10:00
Nyall Dawson
37044b0a26 If we know for certain a spatial index already exists on a vector layer,
adjust the "Create Spatial Index" button in the vector layer properties
dialog to reflect this.
2019-11-17 04:54:41 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Alessandro Pasotti
29824c1765
Merge pull request #32890 from elpaso/processing-raster-calc-expression-check
[feature] Processing raster calc: add missing btns and validate
2019-11-16 08:19:27 +01:00
Juergen E. Fischer
81e645902f travis: avoid pr_has_label.py error 2019-11-15 17:35:02 +01:00
Alessandro Pasotti
25edd83b0a Processing raster calc: add missing btns and validate
Validate expression
2019-11-15 15:49:18 +01:00
Juergen E. Fischer
9b32c0be3b database style manager: translatable & title case 2019-11-15 15:37:26 +01:00
Alessandro Pasotti
2eb410844f
Merge pull request #32694 from elpaso/server-wfs3-transaction-simple-2
[feature] Server OAPIF simple transactions
2019-11-15 14:21:03 +01:00