62175 Commits

Author SHA1 Message Date
Martin Dobias
0973da69b1 Nyall's review suggestions, test fixes, windows build fix 2020-04-21 13:28:56 +02:00
Martin Dobias
da4764472e sip fix 2020-04-21 13:28:56 +02:00
Martin Dobias
41db54aa16 [FEATURE] Vector tiles writer API
Initial work... Currently supporting output to a directory based on XYZ template, using Mapbox vector tiles encoding.

New classes:
- QgsVectorTileMVTEncoder - low-level class that operates on a single tile, converts vector features to raw tile byte array, for internal use
- QgsVectorTileWriter - higher level class that manages generation of multiple tiles, for use by clients
- QgsVectorTileMVTUtils - assorted helper functions for MVT encoding/decoding
2020-04-21 13:28:56 +02:00
Alessandro Pasotti
4059305d58
Merge pull request #35881 from nyalldawson/fix_35558
Correctly utilise expression contexts for attribute form container visibility
2020-04-21 08:33:31 +02:00
Nyall Dawson
5c587c0576 Fix detection of broken images in layouts (master only) 2020-04-21 12:37:07 +10:00
Nyall Dawson
2ee717e593 Silence doxygen warning 2020-04-21 10:40:50 +10:00
Nyall Dawson
5f834d66df Spelling 2020-04-21 10:40:50 +10:00
Nyall Dawson
ddbcb1f478 [FEATURE][layouts] Allow configuring legend patch shapes by
double-clicking on legend items

Allows users to set custom legend patch shapes for items by
entering a WKT string representing the patch geometry
2020-04-21 10:40:50 +10:00
Nyall Dawson
3d7e5d6207 Fix scaling of totally horizontal/vertical legend patch symbols 2020-04-21 10:40:50 +10:00
Nyall Dawson
fe435a325e Add optional shape argument to symbolPreviewPixmap/symbolPreviewImage 2020-04-21 10:40:50 +10:00
Nyall Dawson
ae8e5cfeaa Move default legend patch shape handling to QgsStyle 2020-04-21 10:40:50 +10:00
Nyall Dawson
e5be0de36a Add a more convenient constructor for QgsPolygons 2020-04-21 10:40:50 +10:00
Peillet Sebastien
472ac281ff
Fix old Qgis 2.18 slot in QgsAttributeFormlegacyInterface
Fixes old projects which use python script actions for opening attribute form
2020-04-21 09:05:57 +10:00
Nyall Dawson
f56327ad1a Ensure correct expression context is shown in expression builder
for form container visibility
2020-04-21 08:23:31 +10:00
Nyall Dawson
4ca931dabd Correctly utilise expression contexts for attribute form container visibility
- we shouldn't use a single member instance of the context here, because continually
adding new scopes to that single instance will eventually cause the context to
become massive and slow
- correctly populate the context with the global/project/layer scopes

Fixes #35558
2020-04-21 08:23:31 +10:00
Martin Dobias
0633989524 [browser] React when a custom data item provider is added/removed
Until now, if a plugin adds a custom data item provider that adds
a root item to the browser model, the new root data item would not
get added and a restart of QGIS was necessary.
2020-04-21 08:20:08 +10:00
Paul Blottiere
ea9613e096
Merge pull request #35836 from pblottiere/fix_raster_connect
Fix raster provider connection with statusChanged signal
2020-04-20 21:45:20 +02:00
Alessandro Pasotti
1e4b816a14
Merge pull request #35852 from elpaso/raster-quantile-shader-increase-sample-size
Raster quantile: increase sample size
2020-04-20 10:54:47 +02:00
Nyall Dawson
9d858a0d7e Less model output noise 2020-04-20 17:36:00 +10:00
Nyall Dawson
0a8675a3c5 Allow using folder output values as parameter values during model creation
Fixes #25829
2020-04-20 17:36:00 +10:00
Nyall Dawson
9c00939f1c Skip nonsense algs during model restore 2020-04-20 17:36:00 +10:00
Alexander Bruy
88a9bea48a add missed comma 2020-04-20 09:34:26 +03:00
Vincent Cloarec
8b35ce2b8b
[TEMPORAL][MESH] Update temporal extent when mesh layer becomes temporal for first time (#35819)
temporal extent is updated when the first temporal dataset is loaded (if the mesh layer is non temporal before dataset loading)
2020-04-20 06:53:21 +02:00
Nyall Dawson
60f40f066a [processing] Fix crashes when running algs in "in place" mode
Fixes #35844
2020-04-20 12:01:46 +10:00
root676
003ab16d75 add test for Create normal raster alg 2020-04-20 11:01:01 +10:00
root676
c945d97f89 fix spelling of standard deviation param to STDDEV 2020-04-20 11:01:01 +10:00
root676
f5d566868b add test for Create random raster alg 2020-04-20 11:01:01 +10:00
root676
186936f2ad add control if lowerBound > upperBound 2020-04-20 11:01:01 +10:00
root676
e6c7728b1a fix use of Mersenne Twister in normal raster alg 2020-04-20 11:01:01 +10:00
root676
f3aa8af6b2 fix use of Mersenne Twister in random raster alg 2020-04-20 11:01:01 +10:00
root676
9405b448f0 fix loop variables in random raster algs 2020-04-20 11:01:01 +10:00
root676
ace8e469ec fix filename description 2020-04-20 11:01:01 +10:00
root676
4ce50ee39c fix equal bound parameter input control 2020-04-20 11:01:01 +10:00
root676
3fea2707ac move Create constant raster algorithm to Raster creation group 2020-04-20 11:01:01 +10:00
root676
ca62140a64 register random raster and normal raster algorithms 2020-04-20 11:01:01 +10:00
root676
36d25f39df add normal raster and random raster icons 2020-04-20 11:01:01 +10:00
root676
d6014d5dfe [feature] add Create normal raster algorithm 2020-04-20 11:01:01 +10:00
root676
9be53b6564 [feature] add Create random raster algorithm 2020-04-20 11:01:01 +10:00
Jan Caha
d6829feffe
[FEATURE] ascii function for expressions
Returns the unicode code associated with the first character of a string
2020-04-20 09:28:57 +10:00
Alexander Bruy
9a6b0f58f5 [dbmanager] syntax highlighting for PostGIS raster fucntions (fix #16010) 2020-04-20 09:28:17 +10:00
uclaros
86ac754617 Added field name autocomplete to the query builder 2020-04-20 09:27:33 +10:00
uclaros
664e8da3fd Make autocomplete in expression builder case insensitive 2020-04-20 09:26:38 +10:00
Alessandro Pasotti
ebdb546c10 Raster quantile: increase sample size
Fixes #35465 (part two)
2020-04-19 19:00:43 +02:00
Håvard Tveite
860645ab42
Offer a per feature, as well as a global minimum distance parameter, for the Random points on lines algorithm (#35793) 2020-04-19 14:21:55 +10:00
Alessandro Pasotti
384859ced5 Allow WebP in WMS data source select dialog
Fixes #35664
2020-04-19 14:03:23 +10:00
Basil Eric Rabi
c3b4f8a79c [RPM] package qgis_process from #34617 2020-04-19 08:16:12 +10:00
uclaros
57a11d44ab More minor speed boost to identify highlight
also see #6274
2020-04-19 08:15:52 +10:00
Martin Dobias
520246174a Fixes to SIP finally working 2020-04-19 08:14:49 +10:00
Martin Dobias
cad7cf4a06 Add QgsLayoutItem3DMap to PyQGIS [not working yet] 2020-04-19 08:14:49 +10:00
Alessandro Pasotti
8b61e24e96
Merge pull request #35828 from elpaso/server-cleanup
Server (minor) cleanup
2020-04-18 08:51:06 +02:00