63659 Commits

Author SHA1 Message Date
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
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
nirvn
5385ae64d4 [processing] Make gdaladdo optional parameters truly optional 2020-06-10 13:13:58 +07:00
Alexander Bruy
18195e2ad0 fix saving attributes in the service area algorithm 2020-06-10 07:44:52 +03:00
Nyall Dawson
2829f52d5f Correctly antialias layer tree symbol previews 2020-06-10 14:26:17 +10:00
ghtmtt
3eb4f8c49f add missing country attributes 2020-06-10 11:49:13 +10:00
Yauhen Kharuzhy
28e02f895f debian/rules: Fix invalid sed expression syntax to calculate PYTHON_LIBRARY
debian/rules contains sed invocation for calculation of PYTHON_LIBRARY
path. At debian sid, sed fails here with message:

  sed: -e expression #1, char 11: unknown option to `s'

This causes by invalid escaping of '#' symbol in sed expression
(expression is defined in quotes, not in double-quotes):

PYTHON_LIBRARY=$(shell python3-config --ldflags --embed | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#')

Removing of escape symbols before '#' fixes this. Maybe this solution should be
checked with older versions of 'make'.
2020-06-10 10:09:33 +10:00
Peter Petrik
dcd017a655
Remove txt2tags dependency (use markdown instead) 2020-06-10 10:00:22 +10:00
olivierdalang
2bcb63edc4 fix : allow copying style from an unavailable layer 2020-06-10 09:57:02 +10:00
Nyall Dawson
ce9f519468 Place 3d tab in vector properties at the correct position
Fixes #35010
2020-06-10 04:04:40 +10:00
Nyall Dawson
3c0ecbfd79 Fix 3d tab is not activated when reopening vector layer properties
Fixes #35011
2020-06-10 04:04:40 +10:00
Alessandro Pasotti
80656cca38 Add test data for GML transformation context 2020-06-09 19:16:48 +02:00
Alessandro Pasotti
8cd7f0da6f Fix OGC utils filter srsName
Adds a layer + coordinateTransform context to pass
to the ogc utils functions that read the GML geometry
so that it can be transformed to layer's CRS when
constructing the feature filter.

Fixes #36398
2020-06-09 19:06:56 +02:00
Denis Rouzaud
0f3525d882
fix missing table name (#37058)
this was causing a crash
2020-06-09 14:11:59 +02:00
Richard Duivenvoorde
d1d4824d58
Fix #36983 arguments of is_selected are flipped
Improve documentation of is_selected function to describe all available variants
2020-06-09 19:57:59 +10:00
Nyall Dawson
cbfb7f4ce2 [labeling] Fix incorrect label placement after moving an 'unplaced' label
For unplaced labels, we can't calculate the new position relative to
the original stored label placement, because we're not actually
showing the 'unplaced' label at the stored position...
2020-06-09 19:50:26 +10:00
Nyall Dawson
12dcfabb26 [geopdf] Allow users to reorder layers in the generated layer tree
Fixes #36535
2020-06-09 19:50:07 +10:00
Nyall Dawson
8ccd127f4d Don't block creation of new geopackages in vector save as dialog 2020-06-09 19:49:38 +10:00