62663 Commits

Author SHA1 Message Date
Matthias Kuhn
84e6378324 Install indentation deps 2020-05-11 15:46:59 +02:00
Matthias Kuhn
02df2577c8
Merge pull request #36307 from m-kuhn/code_layout_test_to_github_workflow
Code layout test to GitHub workflow
2020-05-11 11:52:20 +02:00
Denis Rouzaud
915957cde1
run milestone bot on upstream only (#36342) 2020-05-11 11:07:57 +02:00
Matthias Kuhn
829e76f173
Merge pull request #36302 from m-kuhn/dpi_fix
Set DPI of rendered images
2020-05-11 10:27:03 +02:00
Matthias Kuhn
f171232ee6 Improve wording in verify_indentation 2020-05-11 09:16:34 +02:00
Mathieu Pellerin
7733448563
[vector layer] Fix minimumValue/maximumValue for joined and virtual fields 2020-05-11 14:11:25 +07:00
Matthias Kuhn
aa1a954c1a Fetch depth 2020-05-11 09:09:59 +02:00
Matthias Kuhn
e094ab570e Another try 2020-05-11 08:35:33 +02:00
Matthias Kuhn
90bbd9ab4b Change commit range 2020-05-11 08:21:53 +02:00
Matthias Kuhn
d877d310b5 Fix indentation test 2020-05-11 07:40:47 +02:00
Vincent Cloarec
fca90a7bfb
[MESH] scalar color settings depending on classification (#36313)
* [MESH] [FEATURE] Sets meh color ramp classification from metadata read by MDAL driver.
Some mesh layer formats can provide values that can be compressed by categorizing values in consecutive intervals, each represent by an integer or byte. MDAL has the capabilities to recognize this dataset type and store the bounds of each class an the units in the metadata.
QGIS uses this metadata to setup adapted color ramp shader.

* [MDAL] update to pre-release 0.5.92
2020-05-11 07:19:22 +02:00
Nyall Dawson
b6a7a10703 Fix some more python formatting issues, remove more flake exceptions 2020-05-11 11:41:50 +10:00
Samweli
1377805637 log message for no match wms/wmst service exceptions 2020-05-11 10:52:50 +10:00
Andrea Giudiceandrea
27f345f0bf
Fix tick-style scalebar when subdivisions ticks height > segments ticks height
Take the subivisions ticks height into accout, for ticksscalebar box size calculation and horizontal line and labels position, only if the number of subdivisions to draw is greater than 1
2020-05-11 09:14:24 +10:00
Samweli Mwakisambwe
65d5c14f7a updated cumulative range logic in temporal controller 2020-05-11 09:00:24 +10:00
Samweli Mwakisambwe
f3f04a94d5 remove unwanted ternary operator 2020-05-11 09:00:24 +10:00
Samweli Mwakisambwe
ac0249e8bc enable cumulative temporal controller range setting 2020-05-11 09:00:24 +10:00
Mathieu Pellerin
5bf120a885 Harmonize icon and tooltip of temporal panel in vector/raster/mesh layer properties dialog 2020-05-10 18:58:30 +07:00
Mathieu Pellerin
707d62f632 Insure save map canvas as image/PDF respect temporal settings 2020-05-10 17:49:35 +07:00
Nyall Dawson
0b25bd49f9 [feature][expressions] New variables @animation_start_time and
@animation_end_time and @animation_interval

Contain the OVERALL animation start and end times (the current
frame time ranges is already available by @map_start_time/@map_end_time)
and overall animation interval

Fixes #36320
2020-05-10 19:33:34 +10:00
Mathieu Pellerin
16a45f4e22 One day is today 2020-05-10 14:30:07 +07:00
nirvn
3675af1778 Address review 2020-05-10 14:30:07 +07:00
nirvn
f105add69a [FEATURE][layout] Expose temporal UI for map items 2020-05-10 14:30:07 +07:00
nirvn
ec32e3248e Address flag comment 2020-05-10 14:02:11 +07:00
nirvn
d0060fd89a Address review 2020-05-10 14:02:11 +07:00
nirvn
9be36fdbf3 [temporal] Optimize canvas rendering by avoiding needless cache clearing 2020-05-10 14:02:11 +07:00
nirvn
da23cb6ee0 [canvas] Insure a refreshed canvas due to temporal range changes reflects the last provided range 2020-05-10 14:02:11 +07:00
Nyall Dawson
db7108b26f Cleanup QgsTemporalUtils::calculateTemporalRangeForProject
Move logic to subclasses instead
2020-05-10 17:01:44 +10:00
Nyall Dawson
702675ca64 Forward declare QgsMapLayerTemporalProperty subclasses instead of including in header
Speeds up recompilation time
2020-05-10 17:01:44 +10:00
Tom Palan
4785f3f4a5 Disable linking of server with qgis_analysis if WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Tom Palan
c41a15142f Prevent building of qgis_process when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Tom Palan
3143da21f9 Disable analysis tests when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Tom Palan
3dad4882a7 Do not build python analysis when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Harrissou Sant-anna
cd46c99941 Disable labels in layout scale bar properties
when the referred feature is disabled
2020-05-10 13:01:38 +10:00
volaya
09c62f1e6b Removed email address from Processing metadata 2020-05-10 11:22:02 +10:00
Alexander Bruy
a4eabaf6e8
Merge pull request #36305 from alexbruy/fix-36290
[processing] fix file filter for i.landsat.toar (fix #36290)
2020-05-09 20:53:18 +03:00
Matthias Kuhn
91c79f46a7 Fix WITH_DOT 2020-05-09 13:45:51 +02:00
Matthias Kuhn
9dee38c45a Add window title for expression preview 2020-05-09 13:34:25 +02:00
Matthias Kuhn
83a12fb56b Set DPI of rendered images 2020-05-09 13:32:18 +02:00
Matthias Kuhn
84141677d8 Goodbye travis for code_layout 2020-05-09 13:30:55 +02:00
Matthias Kuhn
77318730a8 [workflows] Add code_layout tests 2020-05-09 13:30:30 +02:00
Matthias Kuhn
e05ad8a2ad [workflows] Rename pyflakes to flake8 - that is the tool we use 2020-05-09 13:30:29 +02:00
Alexander Bruy
30219ecd65 [processing] fix file filter for i.landsat.toar (fix #36290) 2020-05-09 13:33:17 +03:00
Nyall Dawson
da042bb61d [feature][expressions] New expression function "make_interval"
Allows direct construction of interval values from years/months/weeks/
days/hours/minutes/second values, without having to construct
a string representation of the interval first
2020-05-09 20:22:52 +10:00
Nyall Dawson
ca64c6cac9 Add a flexible QgsInterval constructor for creating from years/months/days/etc 2020-05-09 20:22:52 +10:00
Nyall Dawson
072222d2fd [feature][temporal] Add expression variables for frame properties
Adds @frame_number, @frame_rate, @frame_duration, which give
the current frame number, frames per second, and length of frames
respectively
2020-05-09 18:06:58 +10:00
Nyall Dawson
cd1f4f3378 [feature][temporal] Add a new "Redraw Layer Only" mode for temporal vector layers
When set to this mode, the layer will automatically be redrawn whenever
the temporal range is changed, but no time based filtering will be applied
to the features.

This configuration is useful when the layer has symbology settings which
vary based on the temporal range. For instance, when a layer is using
time-dependent rule-based renderer expressions or data-defined symbology
expressions.
2020-05-09 18:06:36 +10:00
Nyall Dawson
16fd1a83cf [expressions] Treat all datetime values as UTC when comparing
While QDateTime has innate handling of timezones, we don't
expose these ANYWHERE in QGIS. So to avoid confusion where
seemingly equal datetime values give unexpected results
(due to different hidden timezones), we force all datetime
comparisons to treat all datetime values as having the same time zone

We should revisit this when/if we start exposing time zone
handling on a user level
2020-05-09 18:05:17 +10:00
Nyall Dawson
9dfa715766 Correctly handle NULL start or end time values when filtering temporal ranges
We treat these as -infinity or +infinity (i.e. no time limit for the
feature start or end respectively)
2020-05-09 18:04:54 +10:00
Nyall Dawson
61f1566285 Optimise comparison of date/time/datetime values in expressions
Avoid forced conversion to string when comparing the same date/time
types
2020-05-09 05:18:06 +10:00