56144 Commits

Author SHA1 Message Date
Nyall Dawson
142e5f2f01 [FEATURE][layouts] Expose setting to control margin under legend group and subgroup headings
Allows tweaking of the spacing applied under group/subgroup headings... so you can get
your layout legend looking pixel-perfect!
2019-06-28 09:45:48 +10:00
Nyall Dawson
6aeedfe20b [FEATURE][layouts] Expose choice of arrangement of legends (i.e.
symbols to the left OR symbols to the right of legend text), and
alignment for group/subgroup/item text

Allows creation of right-to-left locale friendly legends. Additionally,
we default to this right-to-left style alignment when creating new
legends under a RTL based locale.
2019-06-28 09:45:48 +10:00
Nyall Dawson
640283f700 Add new reusable combo box widget for alignment choices
QgsAlignmentComboBox presents users with a (filterable) selection
of horizontal alignment choices, e.g. left/right/center
2019-06-28 09:45:48 +10:00
Nyall Dawson
ec86fcef8d Address review comments 2019-06-28 08:28:55 +10:00
Nyall Dawson
da79b6f0e6 [FEATURE][labels] New text "background" setting for marker symbol backgrounds
Allows for rendering a marker symbol in the background of labels
(complementing the existing shapes/SVG choices). This allows use
of QGIS marker symbology as a background symbol behind labels (e.g.
for highway shield labels)
2019-06-28 08:28:55 +10:00
Juergen E. Fischer
0bc48b7b6a packaging update after static providers 2019-06-27 23:34:07 +02:00
dollarklavs
2b48a87b31 Fix WFS 2.0.0 combined with OGC HTTP URI srsName style
Refs #29391 : Added new 'else if' branch that handles OGC HTTP URL srsName style, so that epsgNr can be extracted from srsName. This doesn't fix the core issue mentionend in the Bug report #29391 though

Added branch to handle OGC HTTP URI srsName Style. Also adjusted exisiting variable names to account for the extra branch
2019-06-28 07:23:53 +10:00
Nyall Dawson
9cc9f70001 [layouts] Make sure changes in the item variable editor when a multiframe
item is selected (i.e. HTML items, attribute tables) are saved
on a multiframe level, instead of an individual frame level.

In this case we prefer to make the multiframe's scope the main, editable
one. That's because most expressions are evaluated on the multiframe
subclass level, not on a frame-by-frame basis.

Ideally both would be editable, but for now let's go with the most
useful one.
2019-06-28 07:12:40 +10:00
Nyall Dawson
ef97fefbaa [layouts] Add API to set expression variables at a multiframe level 2019-06-28 07:12:40 +10:00
Nyall Dawson
ac1c66c8ed [layouts] Fix incorrect item variables shown when clicking from
one layout item to another

(the previous values were still shown)
2019-06-28 07:12:40 +10:00
Juergen E. Fischer
6bdb259627 translation string fix 2019-06-27 13:58:46 +02:00
nirvn
0590c77c15 [arcgisrest] Only show an 'all layers' mapserver item when multiple layers offered 2019-06-27 18:56:31 +07:00
nirvn
f852c80bd1 [arcgisrest] Fix mapserver legend vertical size for large (i.e. hidpi) fonts 2019-06-27 18:56:31 +07:00
nirvn
45380dc2fe [arcgisrest] Fix clipped mapserver legend image 2019-06-27 18:56:31 +07:00
Alexander Bruy
509ab2985c
Merge pull request #30443 from alexbruy/batch-fix
use correct method name in the batch input selector for vector layers (fix #30410)
2019-06-27 14:52:11 +03:00
Martin Dobias
0a7386e6da [TilesXYZ] Add metatile size parameter
Larger values may speed up the rendering and provide better labelling (fewer gaps without labels)
at the expense of using more memory.

Ported from XYZ Tiles plugin - originally contributed by @nurenda
2019-06-27 13:37:50 +02:00
Martin Dobias
0e782645e2 Revert the leftovers that were added in QgsDataItemProvider cpp/h 2019-06-27 12:55:07 +02:00
Martin Dobias
78a638f769 Use lambdas to pass data items as captured variables 2019-06-27 12:55:07 +02:00
Martin Dobias
173ed6cae7 Add confirmation message boxes for deletion of connections 2019-06-27 12:55:07 +02:00
Martin Dobias
4dcad30c56 [wcs] Move GUI parts of data items to QgsDataItemGuiProvider subclass 2019-06-27 12:55:07 +02:00
Martin Dobias
c8a3a33835 [wcs] Move gui related stuff to a new file 2019-06-27 12:55:07 +02:00
Martin Dobias
ebc1a2ba31 [wfs] Move GUI parts of data items to QgsDataItemGuiProvider subclass 2019-06-27 12:55:07 +02:00
Martin Dobias
31420d4101 [wfs] Move gui-related stuff to a new file 2019-06-27 12:55:07 +02:00
Martin Dobias
f4b1b83af2 [wms] Move GUI parts of data items to QgsDataItemGuiProvider subclasses 2019-06-27 12:55:07 +02:00
Martin Dobias
764fa5966f Move gui-related metadata to a new file 2019-06-27 12:55:07 +02:00
Alexander Bruy
49d0e996a7 use correct method name in the batch input selector for vector layers (fix #30410) 2019-06-27 12:38:30 +03:00
Even Rouault
de7e3fa8a5 [FEATURE] [OGR provider] Handle read-write support for .shz and .shp.zip with GDAL 3.1
GDAL 3.1 will bring read-write supprot for single-layer ZIP compressed shape
files (.shz), or multi-layer ones (.shp.zip). Do the few tweaking in QGIS so
that it is handled properly.

Related GDAL PR: https://github.com/OSGeo/gdal/pull/1676
2019-06-27 18:06:00 +10:00
Alessandro Pasotti
f1bd39d134
Merge pull request #30265 from troopa81/source_missing_keyColumn
Update datasource when using postgres provider so we have the key column in it
2019-06-27 09:23:07 +02:00
Alessandro Pasotti
7761f5f0fe
Merge pull request #30391 from troopa81/executesql_raise_unknown_geom
Raise an exception when geometry field autodetection has failed
2019-06-27 09:22:36 +02:00
Nyall Dawson
a45a6f484d Fix potential crash on exit
Fixes #30399
2019-06-27 16:18:53 +10:00
Nyall Dawson
94da97089f Fix ui build warning 2019-06-27 10:44:47 +10:00
nirvn
871536162c [arcgisrest] Fix crash when fetching an image errors out 2019-06-27 10:43:50 +10:00
nirvn
718f21e807 [arcgisrest] Fix root of a mapserver not recognized as layer 2019-06-27 10:43:50 +10:00
Nyall Dawson
cd5e9a9adc Also use 'title' as a candidate for good field names for identifying features 2019-06-27 08:33:27 +10:00
Larry Shaffer
5bed72760f Fix __MAC_OS_X_VERSION_MAX_ALLOWED comparison in dark theme function
Version comparison needs to be numeric, in case __MAC_10_10_4 is not
defined, e.g. some pre-10.14 SDKs

Forward port of #8938
2019-06-27 07:25:23 +10:00
Larry Shaffer
f4348259c9
[needs-docs] Merge pull request #30227 from boundlessgeo/master_legend-horiz-scroll 2019-06-26 11:42:53 -06:00
Alexander Bruy
c224a01faf
Merge pull request #30377 from alexbruy/gdal-extra
[processing] allow passing additional command line parameters to GDAL algorithms
2019-06-26 19:50:43 +03:00
Alessandro Pasotti
fdc97ba61f
Fix QGIS Server WFS geometryless DescribeFeatureType (#30390)
Fixes #30381
2019-06-26 13:53:39 +02:00
Juergen E. Fischer
89a4bf1bbe oracle provider: fix build after introduction of static data providers (followup cf2d87837; refs #30234) 2019-06-26 12:39:18 +02:00
Alexander Bruy
d0926f96c5
Merge pull request #30407 from All4Gis/master
[processing] Fix exception in BatchInputSelectionPanel
2019-06-26 13:10:48 +03:00
Martin Dobias
984194bfdf Fix ArcGIS map server provider
The provider used "arcgismapserver" key but QgsAmsProvider::name() returned just "mapserver"
and during the providers rework the other key was used...
2019-06-26 12:06:37 +02:00
Fran Raga
aac040534f issue #30406 2019-06-26 08:59:53 +02:00
Julien Cabieces
9c90fdf2f8 Remove useless blank line 2019-06-26 08:56:59 +02:00
Matthias Kuhn
1cee45c8de
Merge pull request #30360 from m-kuhn/fix_use_before_assign
[dbmanager] Fix use before assign
2019-06-26 08:30:53 +02:00
Martin Dobias
cf2d87837b
Merge pull request #30234 from PeterPetrik/providers
[QEP 149] Introduce static data providers
2019-06-26 08:18:21 +02:00
nirvn
0e4f0c8555 [symbology] Fix broken centroid fill's force point inside polygon 2019-06-26 12:05:07 +07:00
Nyall Dawson
7d3d9247c7 Fix windows build 2019-06-26 10:10:35 +10:00
David Signer
4f56d9dd6a mapLayer invokable 2019-06-26 06:34:04 +10:00
Martin Dobias
8e56f51c23 Merge remote-tracking branch 'origin/master' into providers 2019-06-25 22:11:51 +02:00
Juergen E. Fischer
6b5eaddee3 add support for transifex branches 2019-06-25 20:56:47 +02:00