56778 Commits

Author SHA1 Message Date
Matthias Kuhn
f3c268262f Do not change ellipsoid on CRS change when it's planimetric 2019-07-30 11:47:38 +02:00
Matthias Kuhn
845c9cdd95 Only expose a single "default ellipsoid" option: planimetric or not 2019-07-30 11:47:34 +02:00
lbartoletti
794a8efc81 Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754 (#9645)
* Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754
2019-07-30 09:34:53 +02:00
Nyall Dawson
45fba385c5 Fix ui file build warning 2019-07-30 08:21:15 +10:00
lbartoletti
c1f454d5f9 fix preview for circle with 3 tangents 2019-07-30 08:20:23 +10:00
Nyall Dawson
2aec816b16 [needs-docs] Add option to show superseded (but not deprecated)
coordinate operations when selecting operations

This is the closest equivalent for the existing "hide deprecated"
checkbox which is available in proj < 6 builds.

Requires Proj >= 6.2
2019-07-30 07:24:53 +10:00
nirvn
8b5ba4a0cf Fix rebase gone wrong and address review 2019-07-29 15:14:34 +07:00
nirvn
3a37c83da7 [FEATURE][layout] Add horizontal placement option for scale bar labels 2019-07-29 15:14:34 +07:00
nirvn
e5deb5517b [FEATURE][layout] Add above/below segments placement option for scale bar labels 2019-07-29 15:14:34 +07:00
Nyall Dawson
5911f96fa9 [FEATURE][labelling] Expose "label all parts" option via label
properties tool

Makes it easier to set this option per-feature
2019-07-29 16:41:09 +10:00
Nyall Dawson
f59fc9e622 Use QgsAlignmentComboBox in scalebar settings 2019-07-29 15:39:12 +10:00
Nyall Dawson
1106af7925 Don't calculate the symbol outputUnit and mapUnitScale only for
retrieval by unused, deprecated methods

Whilst technically this is an API break, it's costly to calculate
these for symbols and the results are completely unused, except
for in some deprecated getters which are very unlikely to be
used by external plugins (and which shouldn't be used, in any case...)
2019-07-29 15:38:40 +10:00
Nyall Dawson
31c2291e41 [labeling] Disable alignment combo boxes in label properties dialog
for non-pinned labels

These have no effect, so enabling them is misleading

Refs https://gis.stackexchange.com/questions/330312/changing-vertical-and-horizontal-position-for-specific-label-in-qgis
2019-07-29 12:48:18 +10:00
nirvn
cf215e149d [ui] Fix hidpi/resizing issue with auxiliary-related dialogs 2019-07-29 12:40:01 +10:00
Nyall Dawson
4d5fe9a086 [FEATURE][callouts] Add setting to allow callouts to be drawn to all parts
of a multi-part feature

Also data-definable!
2019-07-29 11:18:10 +10:00
Nyall Dawson
bb9267d11b Record whether a callout corresponds to a feature which has all parts labeled in the callout context
This is useful information for dictating how a callout should be rendered
2019-07-29 11:18:10 +10:00
Nyall Dawson
fcd952efe9 Always clear the label all parts flag when a label has fixed position 2019-07-29 11:18:10 +10:00
rldhont
fd504337d8 [Test] PyQgsRulebasedRenderer: add more complex 2019-07-29 09:52:18 +10:00
rldhont
238e0210df [Test] PyQgsRulebasedRenderer: add more complex usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
12df8d187a [Test] PyQgsCategorizedSymbolRenderer: add more complex usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
a0f3ceefce [Test] PyQgsPointDisplacementRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
3955c1e047 [Test] PyQgsPointClusterRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
26442d4edb [Test] PyQgsRulebasedRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
629c3e64d2 [Test] PyQgsSingleSymbolRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
96e012eb43 [Test] PyQgsSymbolLayer: add usedAttributes tests 2019-07-29 09:52:18 +10:00
Nyall Dawson
802deddaf9 Sipify 2019-07-29 09:03:40 +10:00
Nyall Dawson
27c606a617 Fix ui file build warning 2019-07-29 08:19:33 +10:00
Nyall Dawson
ab7106ae99 [labeling][FEATURE] Allow data defined control over "label every
part of multipart features" setting
2019-07-27 20:22:50 +10:00
Juergen E. Fischer
051e315a69 fix build 2019-07-26 22:27:46 +02:00
Juergen E. Fischer
22ca00bfbe release.pl: use sha256 sum for tar ball 2019-07-26 20:46:23 +02:00
Matthias Kuhn
4cd2812905 Allow manually specifying ellipsoid for new projects 2019-07-26 18:24:12 +02:00
Nyall Dawson
7ec2101d05 Dox++ 2019-07-26 18:24:20 +10:00
Nyall Dawson
8c53d0c8c9 Dox 2019-07-26 18:24:20 +10:00
Nyall Dawson
4a97d5e4c4 [FEATURE][labeling] Add "overrun distance" setting for line labels
This setting allows users to specify the maximal allowable distance
a label may run past the end (or start) of line features. It works
for both curved and parallel label modes, and supports distances
in mm/map units/pixels/etc, and data-defined distances.

Fixes #15846
2019-07-26 18:24:20 +10:00
Nyall Dawson
3484a0246d [labeling] Add API to allow curved labels to overrun features 2019-07-26 18:24:20 +10:00
Nyall Dawson
056f1e4f3c Add method to extend a pal pointset line by a set start and end distance 2019-07-26 18:24:20 +10:00
Nyall Dawson
33c9228fb5 Add a clone method to pal pointsets 2019-07-26 18:24:20 +10:00
Nyall Dawson
4ecc081eb8 Use std::vector instead of raw arrays in pal pointsets 2019-07-26 18:24:20 +10:00
Nyall Dawson
a05116b715 [labeling] Record number of repeats associated with a label position
This allows the candidate generation code to consider whether a label
is a repeat when creating candidate placements
2019-07-26 18:24:20 +10:00
Nyall Dawson
27043c543f Use a smaller font in projection widget def text box 2019-07-26 18:23:56 +10:00
Nyall Dawson
acbcdbb9c4 Show the WKT definition of projections in the projection selection dialog
This is better than the proj definition, since it's non-lossy (well,
for proj 6 builds. Just go crawl into a corner and cry proj 4).
2019-07-26 18:23:56 +10:00
Nyall Dawson
4c7f8a951d Add API to specify WKT format when exporting QgsCoordinateReferenceSystem objects
Like all good things, this is Proj 6 only.
2019-07-26 18:23:56 +10:00
Matthias Kuhn
7cdbe40fba
Merge pull request #30930 from m-kuhn/attachment_widget_attribute_table_crash
Hide browse button on attachment widget in attribute table
2019-07-26 09:48:09 +02:00
Matthias Kuhn
c08b757bc4
Merge pull request #30927 from m-kuhn/source_select_reset
Reset selection when data source select dialog is reopened
2019-07-26 09:47:56 +02:00
Matthias Kuhn
52373e2ec1
Merge pull request #30926 from m-kuhn/default_selection_mode_pg_oracle
Default to QAbstractItemView::ExtendedSelection in pg and oracle source select
2019-07-26 09:47:43 +02:00
nirvn
725fb286c6 [ui] Use updated label text icon in the style manager 2019-07-26 14:25:04 +07:00
Nyall Dawson
758adf4cca Copy correct srs db when running from build dir 2019-07-26 17:20:01 +10:00
Matthias Kuhn
648e4f1717 Fix compiler warnings 2019-07-26 08:41:24 +02:00
nirvn
c5a5e4ce70 [ui] Update label properties icons to be compatible with dark themes 2019-07-26 13:03:22 +07:00
Matthias Kuhn
d49742dd40 Use ExtendedSelection mode in MSSQL and DB2 source select 2019-07-26 07:33:59 +02:00