60928 Commits

Author SHA1 Message Date
vcloarec
78bd73eb87 fix active faces not supported 2020-03-09 06:06:06 +01:00
Peter Petrik
0675c0b697
[FEATURE] Mesh 1D Renderer (#34848)
* MDAL 0.5.90 : support for custom Logger and 1D meshes
* [FEATURE] [MESH] Support rendering of 1D meshes, see https://github.com/qgis/QGIS-Enhancement-Proposals/issues/164

1D mesh consist of edges (edge is straight line segment with 2 vertices) and the data that is defined on either
vertices or edges. Such data can be loaded by MDAL and rendered as mesh layer in QGIS.
2020-03-09 05:59:51 +01:00
Harrissou Sant-anna
a4b97741da Top align widgets in expression builder dialog 2020-03-09 07:31:51 +10:00
Harrissou Sant-anna
375242cb18 Fix geom_from_gml example display 2020-03-09 07:30:55 +10:00
Nyall Dawson
6dbf341d04 [FEATURE] Add expression variables for current map temporal range
Adds:

@map_start_time: Start of the map's temporal time range (as a datetime value)
@map_end_time: End of the map's temporal time range (as a datetime value)
@map_interval: Duration of the map's temporal time range (as an interval value)
2020-03-09 07:29:45 +10:00
Juergen E. Fischer
722dd8ad45 debian packaging: update libpython detection also on sid (followup 4987a5621d3) 2020-03-08 16:11:38 +01:00
Alessandro Pasotti
8addbde0a5 Disable foreign table test on Travis 2020-03-07 13:55:29 +10:00
Alessandro Pasotti
6c86055e57 PG: expose foreign tables 2020-03-07 13:55:29 +10:00
Samweli
abdef05aef added fix for the missing category layers 2020-03-07 09:03:48 +10:00
Samweli Mwakisambwe
0facf5450d
QGIS Project temporal settings
Adds the ability to set a temporal range for a project
2020-03-07 07:43:13 +10:00
vsklencar
36e773f0ee [QgsQuick] Use generic function onImageCapture otherwise use default PhotoPanel 2020-03-06 14:55:36 +01:00
Alessandro Pasotti
1773270f69
Merge pull request #34904 from elpaso/pgraster-test-fix
Try to make PG raster test more robust
2020-03-06 11:51:21 +01:00
Alessandro Pasotti
beab5a3db6
Merge pull request #34819 from obrix/fix_missing_context_attributes
Add missing attributes at QgsAttributeEditorContext creation.
2020-03-06 10:14:08 +01:00
Alessandro Pasotti
5a845849e5
Merge pull request #34888 from elpaso/server-standalone-bugfixes
Server standalone bugfixes
2020-03-06 10:00:45 +01:00
Juergen E. Fischer
2748295979 debian packaging: drop dependency on python-gdal for ubuntu focal (fixes #34897) 2020-03-06 09:53:18 +01:00
Alessandro Pasotti
3b6bc304ea Try to make PG raster test more robust 2020-03-06 09:52:51 +01:00
Nyall Dawson
bc3077e52e [processing] When running an algorithm in place mode, don't auto close
the dialog after changing features

Otherwise it can be a real pain to iteratively change/undo/tweak parameter
value
2020-03-06 18:24:01 +10:00
Nyall Dawson
4e1e68461d Snap Geometries algorithm is capable of running in-place mode 2020-03-06 18:24:01 +10:00
Nyall Dawson
56610002e3 Identation 2020-03-06 18:22:49 +10:00
Nyall Dawson
034b8754a0 Add test for storage of designer parameter values 2020-03-06 18:22:49 +10:00
Nyall Dawson
0b3f7a58c1 Hookup toggle to hide comments from model designer 2020-03-06 18:22:49 +10:00
Nyall Dawson
08b47a496b Fix missing icon, less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
b84bf68dab Bit less Python 2020-03-06 18:22:49 +10:00
Nyall Dawson
8845b535c5 More c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
df7dd5ba90 More model dialog Python -> c++ ports 2020-03-06 18:22:49 +10:00
Nyall Dawson
a0e6a374eb Port some more model designer Python code to c++ 2020-03-06 18:22:49 +10:00
Nyall Dawson
eefd04cbc1 Start creation of a c++ base class for modeler dialog 2020-03-06 18:22:49 +10:00
Nyall Dawson
93355082a2 Add a menu bar to model designer 2020-03-06 18:22:49 +10:00
Nyall Dawson
2a1bf56493 [FEATURE][processing] Remember parameter values between model designer runs
When designing a model, users typically will need to run the model
many times as they tweak its structure.

This change causes the parameters used when running the model from
the designer to be remembered and saved into the model, so that
each time you run the model from the designer you don't have to
re-set all the input parameter values to the desired test ones.

Makes iterative model design SO much easier!

Sponsored by Alta Ehf
2020-03-06 18:22:49 +10:00
Alessandro Pasotti
b3864dbf3a
Merge pull request #34890 from elpaso/bugfix-gh34862-db-manager-stinks-again
DB manager: connections refresh
2020-03-06 08:37:15 +01:00
Nyall Dawson
9bbfe81540 When the canvas temporal range is changed, we need to invalidate any
cached images we have of temporal enabled layers

Otherwise these will not be re-rendered using the update temporal range
when the canvas is redrawn (and we want to avoid a full map redraw during
animations, which is expensive, so we want to be able to reuse as many
cached images as possible!)
2020-03-06 11:56:13 +10:00
Nyall Dawson
c307f0eacf fixup 2020-03-06 11:56:13 +10:00
Nyall Dawson
9959a22e54 Don't inherit QgsTemporalProperty for QgsDataProviderTemporalCapabilities
The QgsTemporalProperty interface has members which are geared more to
user-setable temporal properties (e.g. "isActive()"/"setIsActive()". Instead, use
more explicit "hasTemporalCapabilities()" API in
QgsDataProviderTemporalCapabilities to make it immediately clear
what this flag means for data provider temporal capabilities
2020-03-06 11:56:13 +10:00
Nyall Dawson
ce065059cb Only pass on the render context temporal range to the data provider
when the layer is set to the ModeTemporalRangeFromDataProvider mode
2020-03-06 11:56:13 +10:00
Nyall Dawson
fa6d62f9dd Minor header cleanups and documentation improvements 2020-03-06 11:56:13 +10:00
Nyall Dawson
266d920d99 Dox++ 2020-03-06 11:56:13 +10:00
Nyall Dawson
326f58399e Store canvas temporal range directly in canvas map settings, instead of
a separate variable.
2020-03-06 11:56:13 +10:00
Nyall Dawson
e7ac0ee121
Use widget's logicalDpiX() instead of a screens
Fixes #34772
2020-03-06 07:37:10 +10:00
Matthias Kuhn
6548d6c17c
Merge pull request #34750 from gacarrillor/remove_duplicate_nodes_in_collections
Remove duplicate nodes from each part in a collection
2020-03-05 20:45:11 +01:00
Nyall Dawson
23aa83c23e Add unit tests, minor fixes 2020-03-06 03:49:16 +10:00
Nyall Dawson
64868ce8f2 Bit more Python to c++ porting 2020-03-06 03:49:16 +10:00
Nyall Dawson
889563e5a2 When exporting a model to python, export comments as python comments 2020-03-06 03:49:16 +10:00
Nyall Dawson
0af98f9f5b Nicer comment text appearance 2020-03-06 03:49:16 +10:00
Nyall Dawson
961557dacd UX improvements for comment editing 2020-03-06 03:49:16 +10:00
Nyall Dawson
03fc03355d Don't lose properties of existing outputs when editing algorithm 2020-03-06 03:49:16 +10:00
Nyall Dawson
13fc85d740 [FEATURE][processsing] Add support for comments attached to components
This allows users to create comments attached to model components (inputs,
algorithms or outputs). Comments are shown linked to the associated component,
and can be freely moved around the model.
2020-03-06 03:49:16 +10:00
Alessandro Pasotti
d3649a51b4 DB manager: connections refresh
Fixes #34862
2020-03-05 18:09:29 +01:00
Alessandro Pasotti
542c183f00
Merge pull request #34871 from elpaso/pgraster-set-subset-string-app-expose
[feature] PG raster expose set filter to app
2020-03-05 15:34:33 +01:00
Alessandro Pasotti
c1942a8591 Server standalone better request log formatting 2020-03-05 15:07:41 +01:00
Alessandro Pasotti
b559a153d0 Server standalone: strip initial blank in header values 2020-03-05 14:39:34 +01:00