3027 Commits

Author SHA1 Message Date
Nyall Dawson
704b280065 Expose control over balloon wedge width 2021-03-21 16:57:29 +10:00
Nyall Dawson
2b0a2bf42c [feature] Add new "balloon" (speech bubble) callout style 2021-03-21 16:57:29 +10:00
Nyall Dawson
0c5ffe7ecf Spelling 2021-03-19 18:47:23 +10:00
Nyall Dawson
f759c59334 [feature] New callout style for curved lines
Renders a nice cartographically pleasing curved line between the
labels and features.

Options include selecting a specific curve orientation (clockwise
or counterclockwise), or an automatic orientation option which
determines optimal orientation for each individual label. Users
also have control over the amount of curvature applied to the
callout lines.
2021-03-19 18:47:23 +10:00
Nyall Dawson
425f27186f Add method to determine closest side of rectangle to a point 2021-03-19 18:47:23 +10:00
Nyall Dawson
ba6d96725b Add geometry util to calculate a point along a segment offset in a perpendicular direction by a set offset amount 2021-03-19 18:47:23 +10:00
Mathieu Pellerin
0b75c6caba
Merge pull request #42303 from nirvn/ellipse_fixes
Ellipse marker symbol layer fixes and code improvements
2021-03-19 09:43:55 +07:00
nirvn
ad998573d4 [optimization][symbology] Rely on enum for ellipse marker symbol layer shapes 2021-03-19 07:59:27 +07:00
Denis Rouzaud
4cd1b5b975
fix open form button not always enabled in relation reference widget (#42144)
* fix open form button not always enabled in relation reference widget

when the underlying model has more feature than what the model fetches by default (100),
the feature is not fetched yet when the combobox has its index changed

the new signal allows to be aware when the feature is ready to be used
2021-03-18 20:37:09 +01:00
Nyall Dawson
e5ab5358e2 Cleanup callout code to remove a lot of duplicated code between
simple line and manhattan line callout classes
2021-03-18 13:58:09 +10:00
nirvn
6d64fabe07 [ui] Disable fill color for stroke-only ellipse symbols 2021-03-18 10:15:08 +07:00
Nyall Dawson
5d06c1d48d [FEATURE] When the "show pinned labels" option is enabled, also
highlight any pinned callout start or end points

This allows users to immediately see which callouts points have
been manually placed vs are automatically placed.
2021-03-18 12:15:40 +10:00
Nyall Dawson
e8280d29bc More see also fixes 2021-03-18 11:43:00 +10:00
Nyall Dawson
b3b89733a8 Fix see also links 2021-03-18 11:43:00 +10:00
Nyall Dawson
a16ab723d5 [feature] Add option to trim the start and end of simple line symbol
layers by a preset amount

This allows for the line rendering to trim off the first x mm
and last y mm from the actual line string when drawing the line.
It can be used eg when creating complex symbols where a line layer
should not overlap marker symbol layers placed at the start
and end of the line.

The start/end trim distance supports a range of units, including
percentage of the overall line length, and can be data defined
for extra control.
2021-03-18 11:43:00 +10:00
Nyall Dawson
99c5ac3d66 Add method to calculate total length of a QPolygonF line 2021-03-18 11:43:00 +10:00
nirvn
2cbb1307cb Address review 2021-03-17 16:14:07 +07:00
nirvn
01f1f0c78a [symbology] Add a semi arc and arrow sign to ellipse markers 2021-03-17 15:52:55 +07:00
nirvn
b3d27aacce [symbology] Add a 1/2, 1/3, 1/4 arc signs to simple markers 2021-03-17 15:52:44 +07:00
Mathieu Pellerin
09620ad7db
[feature][symbology] Allow pen cap style to be set for ellipse marker symbol layers (#42289) 2021-03-17 15:22:49 +07:00
Nyall Dawson
109f95b3cd [feature] Allow pen cap style to be set for simple marker symbol layers
This is useful for the stroke-only symbols like the cross and arrowhead
markers, where it's sometimes nice to have round caps instead of square
caps.
2021-03-17 14:53:18 +10:00
Nyall Dawson
eb185d2682
Merge pull request #42187 from wonder-sk/fix-rasterize-alg-layer-list
Fix wrong list of layers in Rasterize alg (Convert map to raster)
2021-03-16 18:46:18 +10:00
Harrissou Sant-anna
6e20ee86ae
Use correct spelling for qgsProcessingException class
Fix typo
2021-03-16 04:49:35 +01:00
Nyall Dawson
a1fa68d3e5 Add method to auto create a callout property in auxilliary storage 2021-03-16 04:02:49 +10:00
Martin Dobias
a2289bb702 Fix spelling 2021-03-14 15:02:57 +01:00
Martin Dobias
3db52a6e94 Added a test for "rasterize" (convert map to raster) algorithm 2021-03-14 15:02:57 +01:00
Alessandro Pasotti
5dc202831f
Merge pull request #42193 from elpaso/raster-legend-add-option-to-use-separate-items
Add option to use the old legend style
2021-03-12 18:12:52 +01:00
Nyall Dawson
7c410120e3 Super-optimised version of geometry bounding box intersects test
Apply some fancy logic to make this test as cheap as possible
to run
2021-03-12 05:46:14 +10:00
Nyall Dawson
5445aceaff Add QgsRectangle::contains overload which doesn't require QgsPoint/QgsPointXY objects 2021-03-12 05:46:14 +10:00
Nyall Dawson
7fb3c83e76 Sipify 2021-03-12 05:46:14 +10:00
Alessandro Pasotti
b269b504e6 Doxy 2021-03-11 11:38:40 +01:00
Alessandro Pasotti
273fd82e3d
Update python/core/auto_generated/layertree/qgscolorramplegendnodesettings.sip.in
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-03-11 10:53:23 +01:00
Alessandro Pasotti
83f3ad65c2 Add option to use the old legend style 2021-03-11 10:45:42 +01:00
Blottiere Paul
1970df7e50 Update doc to 3.20 2021-03-10 13:31:59 +01:00
Blottiere Paul
3799f60949 Update doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
0c831ddec4 Invalidate wgs84 extent when setting a transform context 2021-03-10 08:37:50 +01:00
Blottiere Paul
fd965af147 mExtent is private 2021-03-10 08:37:50 +01:00
Blottiere Paul
d9dfa5d2c9 Some renaming 2021-03-10 08:37:50 +01:00
Blottiere Paul
c21a1ca9ca Add doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
f94e29ee65 Update doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
36b77764bf Add an actual parameter to geographicExtent to bypass the trust option 2021-03-10 08:37:49 +01:00
Blottiere Paul
476ebecbe2 Read the geographic extent from project 2021-03-10 08:34:41 +01:00
Alessandro Pasotti
b6e01f98e2 Project: store geographic extent 2021-03-10 08:33:46 +01:00
Nyall Dawson
10c3a1a382 Fix application hangs when attempting to load qlr file for
non vector/raster/vector-tile layer types

Refs #42112
2021-03-10 14:07:57 +10:00
Nyall Dawson
ebdb7ba95d Correctly store absolute/relative paths for point clouds in projects
Fixes #42114
2021-03-10 14:07:48 +10:00
Nyall Dawson
03edd718a1
Merge pull request #42154 from nyalldawson/provider_file_based
Fix broken bad layer handler dialog
2021-03-10 14:05:15 +10:00
Nyall Dawson
fd1c9f3ad1 Since 2021-03-10 13:00:20 +10:00
Mathieu Pellerin
53928bdbcc
[locators] Add a bounding box property to the abstract geocoder locator filter base class (#42133) 2021-03-10 08:24:44 +07:00
Nyall Dawson
def799810d Spelling, sip 2021-03-10 11:11:46 +10:00
Nyall Dawson
63a365a6a2 Add some utility functions to new QgsMapLayerFactory class for easier reuse 2021-03-10 09:39:46 +10:00