73889 Commits

Author SHA1 Message Date
nirvn
6a37ee72fa [FEATURE][symbology] Add coordinate reference mode (i.e. pattern alignment) to line pattern and point pattern symbol layer types 2021-10-22 22:45:33 -07:00
Simon J Knibbs
835f6d35f2
Add check for empty geom in QgsGeos::closestPoint (#45627) 2021-10-23 12:58:44 +10:00
Nyall Dawson
b56e86181c [feature][symbology] Add option to control marker clipping for
point pattern fill

A new option exposes the ability to clip markers in the fill by:

- "Clip to shape": default behaviour, same as previous versions. Markers
are clipped so that only the portions inside the polygon are visible
- "Marker centroid within shape": only markers where the center of
the marker falls inside the polygon are drawn, but these markers
won't be clipped to the outside of the polygon
- "Marker Completely Within Shape": only markers which fall
completely within the polygon are shown
- "No clipping": any marker which intersects at all with the polygon
will be completely rendered

The clipping mode can be overridden via a data driven expression if
desired.

Sponsored by North Road, thanks to SLYR

Fixes #37825
2021-10-23 12:58:13 +10:00
Alessandro Pasotti
453357784b Fix form mode save button from attr dialog
Fix #45527
2021-10-23 05:24:36 +10:00
Matthias Kuhn
fb0f334b06 Align cmake version in install with code 2021-10-23 05:22:02 +10:00
Matthias Kuhn
dae83c51d0 Use cmake provided FindPostgreSQL scripts where possible 2021-10-23 05:22:02 +10:00
Tom Cummins
476b68fb21 Small refactoring as per the GitHub conversations on the PR 2021-10-23 05:18:32 +10:00
Tom Cummins
c4d2512bb3 Marked the two parameters as unused on headerTableCellChanged 2021-10-23 05:18:32 +10:00
Tom Cummins
5c3b13692f Removed redundant check for old style config 2021-10-23 05:18:32 +10:00
Tom Cummins
033bcd1c10 Added ability to add additional headers to the API Header authentication method 2021-10-23 05:18:32 +10:00
Tom Cummins
ad842be103 Allow more data providers other than WMS 2021-10-23 05:18:32 +10:00
Tom Cummins
69f1886f19 Update the standard header section 2021-10-23 05:18:32 +10:00
Tom Cummins
6b840a4cf8 [FEATURE] Add new authentication method that supports a HTTP header 2021-10-23 05:18:32 +10:00
Nyall Dawson
deba02b162 [feature][expressions] Add new "scale" function for scaling a geometry
Just like the 'rotate' function, 'scale' accepts an optional point
to apply the scaling from. If not specified, scaling is done
from the centre of the geometry's bounding box.
2021-10-23 05:18:09 +10:00
Nyall Dawson
7c03c9ec4a Calling QgsGeometry.asPoint on a multipoint with a single point part
should be allowed
2021-10-23 05:18:09 +10:00
Nyall Dawson
61eeb31e29 Add point input expression tests 2021-10-23 05:17:07 +10:00
Nyall Dawson
7f8181f2b9 Fix formatting 2021-10-23 05:17:07 +10:00
Nyall Dawson
9496367e61 [feature][expressions] Add expressions for creating triangular/square/curved waves
along a geometry

The new expression functions are:
- triangular_wave: Constructs triangular waves along the boundary of a geometry.
- square_wave: Constructs square/rectangular waves along the boundary of a geometry
- wave: Constructs rounded (sine-like) waves along the boundary of a geometry
- triangular_wave_randomized: Constructs randomized triangular waves along the boundary of a geometry
- square_wave_randomized: Constructs randomized square/rectangular waves along the boundary of a geometry.
- wave_randomized: Constructs randomized curved (sine-like) waves along the boundary of a geometry
2021-10-23 05:17:07 +10:00
Nyall Dawson
430c5b24b0 [api] Add methods to create triangular, square, and sine-like waves
along a geometry's boundaries

also includes variations on these which allow for randomized
triangle/square/sine-like waves, with amplitude and wavelength
randomly generated using a specified range
2021-10-23 05:17:07 +10:00
Nyall Dawson
e87c2d6e2b Fix build 2021-10-23 05:16:41 +10:00
Nyall Dawson
cda03d80d6 Fix grass build 2021-10-23 05:16:41 +10:00
Nyall Dawson
6453d5f35a Condense duplicate enums 2021-10-23 05:16:41 +10:00
Nyall Dawson
9752abe10b Fix python startup 2021-10-23 05:16:41 +10:00
Nyall Dawson
999213f97e Complete documentation for QgsPointPatternFillSymbolLayer 2021-10-23 05:16:41 +10:00
Nyall Dawson
e976479b59 Fix python issue with enum doc 2021-10-23 05:16:41 +10:00
Nyall Dawson
fc0d1869bc Promote some symbol layer enums to enum classes, move to Qgis 2021-10-23 05:16:41 +10:00
Juergen E. Fischer
b89cda5d50 Bump version to 3.23 2021-10-22 14:15:20 +02:00
Juergen E. Fischer
b1c8c1a689 changelog and news update for 3.22 2021-10-22 14:12:10 +02:00
Juergen E. Fischer
19750da092 translation update for 3.22.0 from transifex 2021-10-22 14:11:43 +02:00
Jochen Topf
93225b0984 Fix several dangling references in grid decoration
The functions in question all return values, not references, so we need
to store those values somwhere.
2021-10-22 20:20:28 +10:00
Nyall Dawson
a4c61f0390 Update tests 2021-10-22 12:57:37 +10:00
Nyall Dawson
afd215428d Avoid "jumpy" pattern in point pattern fill when rendering without
image brush and the map is panned
2021-10-22 12:57:37 +10:00
jfbourdon
297ee72568 definition annotation 2021-10-22 10:34:13 +10:00
jfbourdon
dfe2638de5 add return value 2021-10-22 10:34:13 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
Jochen Topf
1c70953f1e Fix whatsThis description of grid decoration
Fix copy-and-paste error in `whatsThis` description of grid decoration.
2021-10-21 11:00:51 +02:00
Vincent Cloarec
d4f8e54005
remove too long checks after renumbering mesh (#45595) 2021-10-21 10:19:22 +02:00
Vincent Cloarec
b4741b62d9
Mesh editing fixes (#45598)
* fix QgsMeshVerticesElevationDataset

* disable mesh simplification in edit mode

* fix export process algorithm

do not run some algs if layer is in edit mode
build new triangular mesh to not interact with layer triangular mesh

* disable mesh calculator in edit mode
2021-10-21 10:18:38 +02:00
Vincent Cloarec
a7db0f2307
avoid detaching QSharedDataPointer<QgsMeshSpatialIndexData> (#45604) 2021-10-21 10:17:59 +02:00
Nyall Dawson
6c4b9d187f Add missing mesh and annotations toolbars from the View -> Toolbars menu 2021-10-21 14:10:00 +10:00
Nyall Dawson
72e94dcf71 QString fixups 2021-10-21 14:09:38 +10:00
Nyall Dawson
39a7ad3c58 Be case tolerant 2021-10-21 12:05:48 +10:00
pathmapper
df8b975fe8 Accept also "true" for queryable/opaque/noSubsets attributes 2021-10-21 12:05:48 +10:00
nirvn
bfb684d155 [themes] Fix scrollbar border radius touching container border and area corner styling 2021-10-21 10:52:34 +10:00
Nyall Dawson
c96d20bf86 Update resources/qgis_global_settings.ini
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2021-10-21 10:24:30 +10:00
David Marteau
098f822e38 Update qgis_global_settings.ini 2021-10-21 10:24:30 +10:00
Antoine
406f17194d better formatting 2021-10-21 08:06:15 +10:00
Antoine
8667785b0a add tests 2021-10-21 08:06:15 +10:00
Antoine
00ae7b8a89 split test method 2021-10-21 08:06:15 +10:00
Vincent Cloarec
b35e852699
fix mesh editor test for MSVC (#45578) 2021-10-20 16:11:30 +02:00