Nyall Dawson
a750507fd1
Replace composition converter reference images -- new legend rendering code has superior results to reference images
2019-06-28 09:45:48 +10:00
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
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
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
ef97fefbaa
[layouts] Add API to set expression variables at a multiframe level
2019-06-28 07:12:40 +10:00
rldhont
9140312d26
[Server] wfs utils: Update the way parsing filter and adding a test
2019-06-27 14:20:17 +02: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
rldhont
91d9220697
Fix storing string representations of doubles in a longlong field
...
results in NULL rather than converting value to longlong
with C++ test added
2019-06-27 09:50:41 +02:00
rldhont
1321c08e3e
[Tests] Add PyQgsOgcUtils
2019-06-27 09:50:41 +02: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
fdc97ba61f
Fix QGIS Server WFS geometryless DescribeFeatureType ( #30390 )
...
Fixes #30381
2019-06-26 13:53:39 +02:00
Julien Cabieces
9c90fdf2f8
Remove useless blank line
2019-06-26 08:56:59 +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
Martin Dobias
8e56f51c23
Merge remote-tracking branch 'origin/master' into providers
2019-06-25 22:11:51 +02:00
nirvn
ffb123c6ca
[testcase] Properly test resizing of locked scale map canvas
2019-06-25 09:47:48 +07:00
Alessandro Pasotti
f220a7f580
Remove redundant checks and apply recommendations
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
020154ccf3
Save time with localtime and tz options
...
This will save a wrong time in most TZ aware
storages when an option different than UTC
is chosen, but we have no way to know that
from the widget.
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
680d935852
Add tests for linestring and leap seconds
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
538e294280
Fix preferred fields storage
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
5c6223c2bf
GPS timestamp support with tests
2019-06-24 12:11:51 +02:00
Nyall Dawson
42562c6226
Add DateTime filter support to QgsFieldProxyModel
2019-06-24 20:09:37 +10:00
Julien Cabieces
ad2d0a28da
Add unit test
2019-06-24 09:07:42 +02:00
Matthias Kuhn
db18ef260f
Merge pull request #30281 from nyalldawson/text_symbol
...
Handle text formats in style manager
2019-06-21 16:14:16 +02:00
Matthias Kuhn
2b95707838
Merge pull request #30113 from m-kuhn/ssl_certificate_check_ssl_cleanup
...
Cleanup dockerfile customizations
2019-06-21 16:07:56 +02:00
Matthias Kuhn
14c21a14ad
Add dxf curve tests
2019-06-21 13:14:46 +02:00
Juergen E. Fischer
88cb4d4eda
dxf export: fix export of curved geometries
2019-06-21 13:14:46 +02:00
Matthias Kuhn
641a9b7276
Remove temporary ssl docker fixes
2019-06-21 12:54:47 +02:00
Nyall Dawson
278a586e11
Update tests/src/python/test_qgsstylemodel.py
2019-06-21 20:32:08 +10:00
Nyall Dawson
207ea7523b
Unit tests
2019-06-21 18:07:10 +10:00
Nyall Dawson
554d23b324
Improve handling of favorites in QgsStyleModel and proxy model
...
Fixes favorite entities sometimes incorrectly filtered out
2019-06-21 15:52:56 +10:00
Nyall Dawson
7757a5ae7a
Spelling
2019-06-21 15:52:56 +10:00
Nyall Dawson
9647a18c13
Move label preview background color setting to QgsTextFormat
...
So that we can utilise it outside of labeling
2019-06-21 15:52:56 +10:00
Nyall Dawson
67c93c1191
Add support for text formats to QgsStyleModel
2019-06-21 15:52:56 +10:00
Nyall Dawson
40e4789ba1
[API] Add support for text renderer formats to QgsStyle
2019-06-21 15:52:56 +10:00
Nyall Dawson
bb622c8718
[layouts] When a layer item is set to block labels from a map,
...
don't apply the "label margin from map edge" to this item's extent
Turns out that that behavior was unwanted in practice, as it
misused the margin from edge setting and caused too large a
blocking region for labels around other layout items.
2019-06-21 15:12:55 +10:00
David Signer
9290dff9fc
tests for removing constraints on provider default value
2019-06-21 09:04:42 +10:00
Blottiere Paul
3b02d3d970
Replace shared pointer with unique pointer
2019-06-21 09:03:03 +10:00
Blottiere Paul
87bdf6b6b6
Add unit test
2019-06-21 09:03:03 +10:00
Alessandro Pasotti
0290342e6e
Merge pull request #30271 from elpaso/bugfix-gh30264-wms-bbox-wrong-transform-empty-layers
...
Server wms bbox wrong transform on empty layers
2019-06-20 10:55:25 +02:00
Alessandro Pasotti
c838161f64
Catch coord transform exception and log it
...
Skip the layer if there are any exceptions.
2019-06-20 07:22:57 +02:00
Nyall Dawson
3bd3aba25b
[needs-docs] [labeling] Allow data defined control over line placement options
...
Allows users to override the line placement settings (e.g.
above/below/on line options) on a per-feature basis. Somehow
this one was the only(?) setting from labeling which
was missing a data defined control...
2019-06-20 10:24:16 +07:00
Nyall Dawson
04c51db551
Fix priority of parallel placements
...
Ensure that above line placement is preferred when both above
and below line placements are valid
2019-06-20 12:50:35 +10:00
Nyall Dawson
a8d212b129
Fix tests
2019-06-20 09:40:47 +10:00
Nyall Dawson
11e1862f86
Fix logic for picking default field for display expression
...
And add test
2019-06-20 09:40:47 +10:00
Martin Dobias
f6049e01d0
Misc fixes to get the branch compiling & running with Python
...
- grass data item provider fixes
- removed QgsProviderMetadata constructor (with std::function / PyObject) due to sip errors (api break)
- reverted DataCapability move to Qgis - back to QgsDataProvider (avoiding api breaks)
- WidgetMode enum documentation
- sipify monkey patching fix
- renamed WidgetMode's "None" to "Normal" value - in python None has special meaning (api break)
2019-06-19 23:02:11 +02:00
Alessandro Pasotti
9868d86f0d
Reference file for regression 30264
2019-06-19 15:49:59 +02:00
Alessandro Pasotti
6cfc7b09bd
Server WMS getcapabilities wrong bbox in case of empty layers
...
... and different CRS
Fixes #30264
2019-06-19 15:46:51 +02:00