18119 Commits

Author SHA1 Message Date
Alessandro Pasotti
c80093c47a Expose QgsProject::setInstance to API
Fixes #38755

Needs forward porting to all active branches
2020-09-17 07:28:45 +10:00
Nyall Dawson
f018252023 Add a Legend category to the style selection widgets and allow
legend settings to be stored and restored in QML

Fixes #37683
2020-09-17 07:27:34 +10:00
Denis Rouzaud
bc3d8fd988
Merge pull request #38285 from uclaros/split-add-topo-all-layers
Add topological points to all editable layers on split feature
2020-09-16 17:19:43 +02:00
Denis Rouzaud
f6c98ec5f1
Merge pull request #38730 from 3nids/conf-flag-check-cb
Use a checkable combobox for fields configuration flags
2020-09-16 07:02:17 +02:00
Even Rouault
53c5c337ec [Algorithms] JoinByNearest: accept max_distance == 0.0 (fixes #38761) 2020-09-16 06:15:11 +10:00
Nyall Dawson
afd7698460 Extract utility functions for saving and reading raster color map definitions
to file to new QgsRasterRendererUtils class
2020-09-16 06:12:35 +10:00
Denis Rouzaud
7265d9de96 fix sip 2020-09-15 12:23:30 +02:00
Juergen E. Fischer
44b4a75a0a fix #38720 2020-09-15 09:51:00 +02:00
Denis Rouzaud
fb7f7ba697 follow up renaming enum keys 2020-09-15 09:36:15 +02:00
Nyall Dawson
bd9c8a7621 Show warnings generated during mapbox gl style conversion after loading vector tiles with default styles 2020-09-15 14:06:21 +07:00
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
9cf85dd1fe
better enum names, better dox
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-09-15 08:42:19 +02: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
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
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
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
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
vcloarec
09c73433dd move QgsMeshLayerProperties to GUI 2020-09-14 15:55:18 +10:00
Nyall Dawson
229c240b59 Correctly parse 'match' interpolation list values during conversion 2020-09-14 12:42:49 +10:00
Mathieu Pellerin
31b2b89c4e Address review 2020-09-14 08:57:35 +10:00
nirvn
73e73c0319 Convert interpolated icon marker sprites 2020-09-14 08:57:35 +10:00
Matthias Kuhn
d5350c618c
Merge pull request #37602 from rduivenvoorde/console_base_class
Add/use simple BaseClass to Python Console classes
2020-09-12 08:53:15 +02:00
Matthias Kuhn
3bea2e702e
Merge pull request #38695 from suricactus/alg_fieldcalc_cpp_simple
Translate qgis::fieldcalculator to C++
2020-09-11 15:41:24 +02:00
Martin Dobias
7cbf80ff5c
Merge pull request #38309 from vcloarec/TINMeshCreaton
TIN Mesh creation
2020-09-11 13:41:19 +02:00
Ivan Ivanov
bd81e2f1ff Add tests and fix backwards compatibility 2020-09-11 12:27:41 +03:00
Ivan Ivanov
d32369f5ce Translate qgis::fieldcalculator to C++ (simplistic UI) 2020-09-11 10:55:12 +03:00
Denis Rouzaud
59ff516976 QgsField::ConfigurationFlags: add read/save in core 2020-09-11 09:16:49 +02:00
Alessandro Pasotti
63d8ee7fab
Merge pull request #38464 from rldhont/trust-layer-metadata-propagation
Trust layer metadata propagation
2020-09-11 09:08:55 +02:00
vcloarec
89e4d4925a enable QgsMeshTriangulation with SIP and change SIP_CONCAT_PARTS 2020-09-10 20:16:44 -04:00
Denis Rouzaud
5dcca0ec2b
add configuration flags to QgsFields (#38634) 2020-09-10 22:50:29 +02:00
vcloarec
0f60631711 disable analysis/mesh/QgsMeshTriangulation with SIP 2020-09-10 14:50:25 -04:00
vcloarec
5ffc4f298a some fixes and add tests 2020-09-10 14:03:11 -04:00
vcloarec
abd5fad9dd add more feedback cancellation and fix doc 2020-09-10 14:03:11 -04:00