63675 Commits

Author SHA1 Message Date
nirvn
8794483e89 [decorations] Fix hardcoded black color for the grid decoration
(fixes #37028)
2020-06-12 08:42:42 +10:00
Nyall Dawson
14ee228a4b [processing] Matrix configuration dialog should open as an inline
panel, not a dialog
2020-06-12 08:39:43 +10:00
Nyall Dawson
2bb4aad8c9 Fix callout rendering to rotated labels
Fixes #36681
2020-06-12 05:01:11 +10:00
Nyall Dawson
ef19911f11 [processing][grass] Correctly return the actual generated filename
locations as the algorithm results, don't just echo back the parameter
value

Otherwise we don't return the correct value for temporary file locations
or for file paths during model execution

Fixes #36379
2020-06-12 05:00:49 +10:00
Martin Dobias
af2e50caf7 [vector tile] Add pseudo-unique FIDs where none are given (fixes #36995)
Feature IDs are optional in MVT encoding, and some datasets do not include
them. In QGIS we need FIDs for some functionality to work correctly, for
example labeling ignores label features with duplicate FIDs.
2020-06-11 14:40:01 +02:00
Martin Dobias
b2da49b78b [vector tile] Fix issue with disappearing features (fixes #36982)
The issue was that renderer/labeling were only keeping "their" required fields,
but the final fields may have been extended by the other, making the field indices
cached in expressions invalid.

The fix is to keep the final QgsFields around and avoid creating those QgsFields on-the-fly
from previously requested fields.
2020-06-11 14:39:45 +02:00
Mathieu Pellerin
60fe81a9b1
[ui] Reduce visual attention grab of the authentication settings wiget's warning label 2020-06-11 16:09:18 +07:00
Vincent Cloarec
6c2a63807e
fix MDAL CMakeList.txt for sqlite (#37108)
fix MDAL CMakeList.txt for sqlite
Co-authored-by: Peter Petrik <zilolv@gmail.com>
2020-06-11 10:00:41 +02:00
nirvn
332f16a74d [themes] Fix tab widget's panel missing border for non selected tabs 2020-06-11 13:31:15 +07:00
nirvn
11f6ed772a [themes] Improve hover styling for tree widget and option lists 2020-06-11 13:31:04 +07:00
Alessandro Pasotti
0cd636e8b0
Merge pull request #37093 from elpaso/bugfix-gh33682-image-size-in-attachment-widget
Fix image size ignored in image widget
2020-06-11 08:22:39 +02:00
Vincent Cloarec
48b5d5c2be
fix mesh edges centroid calculation (#37111) 2020-06-11 06:46:48 +02:00
Nyall Dawson
47fba106dd
Improve method for calculation of rectangle centers (#37092)
More numerically stable in the case of massive rectangles.

This is the ultimate cause behind #36898 -- during rendering of the
worldwide layer in Winkel Tripel the inverse transform fails, so
the renderer sets a "maximal" filter extent for the layer (+/- double
max). The previous method for calculating the rectangles center would
fail, because it would overflow. The new method handles this case
and correctly returns 0,0.

Fixes bounding boxes show incorrectly when simplication is enabled
for a layer in certain projections.

Fixes #36898
Refs #30686 (partial fix -- this report includes two different bugs)
2020-06-11 13:53:20 +10:00
Harrissou Sant-anna
db8fa4f664 Add help button when creating/renaming map theme and map view 2020-06-11 13:30:25 +10:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
84ec481aa8 [sipify] Correctly indent multiline list items 2020-06-11 13:29:59 +10:00
Nyall Dawson
860dff9fb0 Fix a broken list 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
Nyall Dawson
e293a9da8f When a list item is immediately followed by a new list, condense the
two -- it's likely that there's extraneous newlines in the middle of
the list
2020-06-11 13:29:59 +10:00
Nyall Dawson
481ece3da3 Manually fix some multiline indented lists 2020-06-11 13:29:59 +10:00
Nyall Dawson
f1dbf4ccaf Update 2020-06-11 13:29:59 +10:00
Nyall Dawson
7ccc7ae36d List indentation fix 2020-06-11 13:29:59 +10:00
Nyall Dawson
83dc3a5769 Make prepare_commit automatically place an empty line before lists
in doxygen blocks

Fixes display of lists in the PyQGIS dox

Fixes #37114
2020-06-11 13:29:59 +10:00
benoitdm-oslandia
7120e5da32
[postgres] correct timestamp comparison in where clause
fix #24163
2020-06-11 08:29:20 +10:00
Juergen E. Fischer
f1e3f82cb7 fix debian rules (followup 28e02f895f) 2020-06-10 23:52:11 +02:00
Nyall Dawson
ccc34c76e7 [processing] Fix manual entry of extent values in widget
Fixes #36787
2020-06-11 05:33:22 +10:00
Nyall Dawson
af19cea5ac [decorations] Use a proper ellipsoidal length calculation when
calculating the size of the scalebar decoration

Avoids a misleading Cartesian-based scalebar (unless project is
set to always use cartesian measurements, that is!)

Fixes #28407
2020-06-11 05:32:58 +10:00
Nyall Dawson
df46fba338 Fix collecting Triangle geometry types
Fixes #36638
2020-06-11 05:32:26 +10:00
Nyall Dawson
d81f498a99 Until we have support for TIN types, the multi type of Triangle
geometries should be multipolygon

Refs #36638
2020-06-11 05:32:26 +10:00
Nyall Dawson
e0c03f9f08 Fix writing triangle geometry type via QgsVectorFileWriter fails
Refs #36638
2020-06-11 05:32:26 +10:00
Nyall Dawson
d3a54eed6f Add flags to control geometry to WKB export behavior
With initial flag to force conversion of triangle types to polygons
2020-06-11 05:32:26 +10:00
Nyall Dawson
61e7a5fc90 When scaling geometries for tesselation, ensure we don't change the
geometry's aspect ratio

If we scale by an uneven amount in the x vs y plane, then the resultant
tesselation uses a misrepresentation of the actual shape of the geometry,
resulting in a poor quality tesselation.

Follow up 8ee1c20b

Fixes #37077
2020-06-11 05:31:45 +10:00
Nyall Dawson
b5b42218af [ogr] Fix layer subset string is ignored when OGR refuses to accept
a compiled feature request expression

Fixes #37073
2020-06-11 05:31:16 +10:00
Nyall Dawson
8d00ae8638 [legends] Fix corrupted data defined legend rendering in layout designer
Fixes #36765
Fixes #34658
2020-06-11 05:30:42 +10:00
Nyall Dawson
98d618b444 Tighten includes 2020-06-11 05:30:42 +10:00
Nyall Dawson
15e6c3ef93 The boundary algorithm isn't suspectible to invalid geometries, so
skip the checks for it
2020-06-11 05:30:10 +10:00
Alessandro Pasotti
dc7f72997c Re-add NULL in "Field and Values" expression
Fixes #37099
2020-06-11 05:29:36 +10:00
Alessandro Pasotti
13bd84640e
Merge pull request #37105 from m-kuhn/safety_guard_attribute_alias
Add safety guard for DD attribute alias
2020-06-10 20:13:18 +02:00
Matthias Kuhn
7cb484cfc3 Add safety guard
Fixes a crash if a widget is configured for an inexistent field
2020-06-10 17:29:10 +02:00
Alexander Bruy
7d58502b3b
Merge pull request #37097 from alexbruy/processing-tests
reduce precision when checking service area test results
2020-06-10 17:09:04 +03:00
Peter Petrik
99c3977cab
fix qgis INSTALL step (#37087) 2020-06-10 13:57:27 +02:00
Alexander Bruy
de6ec479f0 reduce precision when checking service area test results 2020-06-10 14:44:41 +03:00
Alessandro Pasotti
72c0ae73ba Fix image size ignored in image widget
Fixes #33682  (maybe)
2020-06-10 12:56:05 +02:00
Juergen E. Fischer
b304e3843a fix installation and some other followup cleanups to dcd017a655f 2020-06-10 12:25:29 +02:00
Alessandro Pasotti
dc6d34b3a8
Merge pull request #37071 from elpaso/bugfix-gh36398-server-wfs-gml-srsname-take2
Fix OGC utils filter srsName
2020-06-10 11:46:55 +02:00
Alessandro Pasotti
954ab15276
Merge pull request #37074 from alexbruy/fix-servicearea
fix saving attributes in the service area algorithm
2020-06-10 09:26:59 +02:00
Alessandro Pasotti
2b59519576 Namespace QgsOgcUtils::Context (for SIP bindings) 2020-06-10 09:18:33 +02:00
Nyall Dawson
013f682bd3 Avoid startup warnings caused by trying to create a CRS from a '0' string 2020-06-10 16:46:24 +10:00
Nyall Dawson
0dc513cddb Don't try to intrepret an empty string as a CRS
We'll never succeed, so it's just a waste of resources
2020-06-10 16:46:24 +10:00
Mathieu Pellerin
8192be7659
[delimitedtext] Fix datetime,date field type ignored (in CSVT et cie) 2020-06-10 13:38:08 +07:00