65768 Commits

Author SHA1 Message Date
Nyall Dawson
01f942fd63 More helpful warnings generated during style conversion 2020-09-15 14:06:21 +07:00
Denis Rouzaud
1660d726a4 add deprecation details 2020-09-15 08:45:28 +02:00
Denis Rouzaud
81064f6ac1 remove deprecated usage in server 2020-09-15 08:45:28 +02:00
Denis Rouzaud
9cf85dd1fe
better enum names, better dox
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-09-15 08:42:19 +02:00
Nyall Dawson
9e84cf0bf4 Fix build warning 2020-09-15 07:43:06 +10:00
David Marteau
518e48c12f Fix python serialization for geometry processing parameter
Fix regexp for referenced geometry parsing
    Fix suggested doc strings
2020-09-15 07:39:10 +10:00
David Marteau
fc67ddc970 Change CRS serialization/deserialization for geometry parameter value 2020-09-15 07:39:10 +10:00
David Marteau
6262965df9 Register meta type for geometry processing parameter
Fix QgsProcessingParameterGeometry argument list
2020-09-15 07:39:10 +10:00
David Marteau
aa0a8ab628 Add geometry filter for processing geometry parameter 2020-09-15 07:39:10 +10:00
David Marteau
f2b8e6970b Support point and rectangle as geometry parameter values 2020-09-15 07:39:10 +10:00
David Marteau
4eb779798e Implement QgsReferencedGeometry 2020-09-15 07:39:10 +10:00
David Marteau
4eb931e890 Add geometry processing parameter 2020-09-15 07:39:10 +10:00
Even Rouault
cd04374d51 [DelimitedText provider] Avoid false positive detection of some date looking content as Time (fixes #38091) 2020-09-15 07:38:31 +10:00
Even Rouault
c6fe79b60d [Processing] GdalUtils: fix quoting of arguments with '&' (fixes #38674) 2020-09-15 07:38:01 +10:00
Matthias Kuhn
d41e8e1d40 Rename count to __count 2020-09-15 06:48:37 +10:00
Matthias Kuhn
d2c60cca30 Add count to "tradition run in place execution" 2020-09-15 06:48:37 +10:00
Matthias Kuhn
656c533fa2 Show number of features affected by in place editing
Fixes #38680
2020-09-15 06:48:37 +10:00
vcloarec
5729fce778 fix release version 2020-09-15 06:47:58 +10:00
Even Rouault
6cdb866001 [OAPIF provider] Support extra query parameters (such as api key) (fixes #38436) 2020-09-15 06:47:35 +10:00
signedav
9ea7f449e4 store original layer id in the layers customProperties 2020-09-15 06:46:22 +10:00
Even Rouault
a66784465a [DelimitedText provider] Fix performance issue with files with Unix end-of-line characters
Fixes #38068

The performance regression was introduced per commit 644a5647dbdef395993cf406678addfd6978e781
It resulted in quadratic performance in the size of the buffer for CSV files
with Unix '\n' end of line character, due to scanning repeatedly for `\r`
2020-09-15 06:45:31 +10:00
Nyall Dawson
9924b15baf Avoid a bunch of useless string parsing 2020-09-15 05:06:25 +10:00
Nyall Dawson
c35d8e5e90 More optimizations for vector tile decoding 2020-09-15 05:05:57 +10:00
Nyall Dawson
789eccb572 [vectortiles] Optimise rendering of complex vector tiles
Instead of ALWAYS converting all features in a tile to QGIS representations,
now we intelligently skip over any layers which aren't required for
rendering or labeling (e.g. because the current renderer/labeling
configuration is disabling these layers or doesn't have a rule for
them).

This improves rendering speed with sources like the OS ZoomStack tiles,
which have a LOT of detail even at small map scales (e.g. building
data is present in very zoomed out tiles!!).
2020-09-15 05:05:57 +10:00
Nyall Dawson
c11608071b Fix conversion of text alignment 2020-09-15 05:05:31 +10:00
Nyall Dawson
0685c5e0d6 Improve mapbox ems to character count conversion ratio 2020-09-15 05:05:31 +10:00
Alessandro Pasotti
9cb74937c5
Merge pull request #38737 from elpaso/pg-mixed-geometry-iterator-test
New PG test for mixed geometry, no code changes
2020-09-14 18:07:12 +02:00
Damiano Lombardi
85b0590c6e Implemented test for method QgsMssqlProvider::defaultValue 2020-09-14 16:03:57 +02:00
Damiano Lombardi
53c0d4003b Implemented method QgsMssqlProvider::defaultValue 2020-09-14 16:03:57 +02:00
Damiano Lombardi
a715e5079d Merge branch 'master' of https://github.com/qgis/QGIS into master 2020-09-14 16:03:14 +02:00
Alessandro Pasotti
212a52b5e9 New PG test for mixed geometry, no code changes 2020-09-14 15:26:31 +02:00
Denis Rouzaud
b923c4a19f add deprecated dox 2020-09-14 13:25:11 +02:00
Denis Rouzaud
de4a293ec5 use a readable string, fix flag keys, fix opening old project file 2020-09-14 13:25:08 +02:00
Denis Rouzaud
d273f78c23 use a checkable combo box for fields configuration flags in source fields properties tab 2020-09-14 13:24:05 +02:00
Denis Rouzaud
4fd940a352 use configuration flags to save WMS/WFS from vector layer 2020-09-14 13:24:05 +02:00
Denis Rouzaud
19d4b52f10 Add WMS/WFS to QgsField::ConfigurationFlag 2020-09-14 13:24:05 +02:00
Denis Rouzaud
b516a49b9e create helper method QgsCheckableComboBox::addItemWithCheckState 2020-09-14 13:24:05 +02:00
nirvn
4fe3d2f4e6 Make sure fill pattern conversion is hidpi friendly 2020-09-14 16:47:09 +10:00
nirvn
1de8d01e30 Support hidpi sprites when converting mapboxgl styles 2020-09-14 16:47:09 +10:00
Henry Walshaw
1312cfe599 Add square brackets around the saved expression
When saving a raster expression the generated expression didn't contain square brackets around the letters used for band identifiers. Sticking with the NDVI example:

```
("NIR@1" - "Red@1") / ("NIR@1" + "Red@1")
```

becomes

```
(a - b) / (a + b)
```

Due to the way the expression is parsed these would not be interactie parameters for the user to set as the parameters requre square brackets around the layer tags. This change simply updates the string replacement to include the square brackets so you would get instead:

```
([a] - [b]) / ([a] + [b])
```
2020-09-14 15:58:38 +10:00
Nyall Dawson
09ea6bebb4 Scale up buffer sizes when converting, in order to better match actual MapBox rendering 2020-09-14 15:56:31 +10:00
Nyall Dawson
37471e542c Correctly handle some MapBox GL default values 2020-09-14 15:56:31 +10:00
vcloarec
f7916743d2 ui in CMakeList 2020-09-14 15:55:18 +10:00
vcloarec
09c73433dd move QgsMeshLayerProperties to GUI 2020-09-14 15:55:18 +10:00
Nyall Dawson
c192b04e7c Fix data defined expressions cannot use fields in vector tile renderer 2020-09-14 12:42:49 +10:00
Nyall Dawson
229c240b59 Correctly parse 'match' interpolation list values during conversion 2020-09-14 12:42:49 +10:00
Nyall Dawson
91598c7849 Fix incorrect rows are removed when removing vector tile renderer/labeling rules 2020-09-14 12:42:49 +10:00
Nyall Dawson
d214e637fc Show preview icons in rule based labeling list of rules and vector tile
labeling list of rules

Makes it MUCH easier to identify specific rules in the list, and matches
appearance with the rule based renderer/vector tile renderer list appearances.
2020-09-14 11:32:49 +10:00
Nyall Dawson
7cd51dc944 Fix warning 2020-09-14 08:58:48 +10:00
nirvn
3a00572461 Convert label shields 2020-09-14 08:57:35 +10:00