34541 Commits

Author SHA1 Message Date
Alexander Bruy
89774abed3 [processing] fix substitution of the original layers in GDAL commands 2016-09-14 16:24:02 +03:00
Alexander Bruy
2466083790 [processing] use hex representation of uuid 2016-09-14 16:23:19 +03:00
Alexander Bruy
519e76c79f [processing] add test for gdalinfo algorithm 2016-09-14 15:55:14 +03:00
Alexander Bruy
2d561f5739 [processing] remove obsolete OGRAlgorithm class 2016-09-14 15:53:10 +03:00
Matthias Kuhn
a47d9a7192 Fix drag and drop designer issue with field alias 2016-09-14 13:26:17 +02:00
Matthias Kuhn
632da63717 Export QgsOptional<QgsExpression> to dll/so 2016-09-14 13:26:17 +02:00
Alexander Bruy
8ac1460d0e [processing] fix progress reporting (fix #15521) 2016-09-14 09:20:10 +03:00
Nyall Dawson
56e8b9cff5 Consolidate some duplicate code 2016-09-14 15:17:28 +10:00
Nyall Dawson
d6ee3751d5 When a panel widget opens a new panel, the new panel should inherit (#3479)
the dock mode of the previous panel
2016-09-14 12:49:02 +10:00
Nyall Dawson
b4d9f64796 Add method to retrieve most recently used color 2016-09-14 11:47:52 +10:00
Nyall Dawson
2c3548df11 Don't continually refresh map while editing rule label/desc 2016-09-14 11:28:14 +10:00
Nyall Dawson
9b762023e4 Avoid excessive margins on rule based rule props widget 2016-09-14 11:17:54 +10:00
Nyall Dawson
01ec0e423c When a panel widget opens a new panel, the new panel should inherit
the dock mode of the previous panel
2016-09-14 11:05:23 +10:00
Nyall Dawson
c9f0901b5b Fix excessive margins on color picker when in style dock 2016-09-14 09:37:14 +10:00
Nyall Dawson
6e2d511c2d Merge pull request #3478 from mbernasocchi/patch-2
qgsmessagebar.pushMessage timeout is not respected in python
2016-09-14 07:57:24 +10:00
Nyall Dawson
0f07556ba5 Merge pull request #3484 from ahuarte47/Issue_RemoveDuplicateImageEntry
Remove duplicate entry of mActionRemove.svg
2016-09-14 07:56:42 +10:00
Nyall Dawson
5617dbc612 Revert "[processing] cache icons to speed up toolbox rendering"
This reverts commit d265f3334142853a7f04fbda5bf6a62e3b5f672d.

Was causing failure on Travis
2016-09-14 06:42:04 +10:00
Nyall Dawson
26d7235e85 Merge pull request #3480 from nyalldawson/symbol
Remove deprecated members from symbology
2016-09-14 06:41:01 +10:00
Matthias Kuhn
9215fca239 Merge pull request #3481 from GeoCat/master
- Replaced use of deprecated QgsMapCanvas attribute "mapRenderer" by mapSettings
2016-09-13 21:09:04 +02:00
Chris Crook
92ed3befa6 Merge pull request #3483 from nirvn/fix_delimited_text_file
[delimitertext] fix watcher check ignored and harmful watcher created for iterator (fixes #15558)

@nirvn Many thanks for fixing this
2016-09-14 06:53:25 +12:00
Martin Dobias
717e7162f3 [FEATURE] Preview of WMTS layers + add XYZ tile layers (PR #3473)
This introduces live preview when rendering WMTS layers - as soon as individual tiles are loaded, they are shown in map canvas... no need to wait with a blank map until all tiles are fully downloaded. Additionally, if there are already locally cached tiles of other zoom levels, they may be used in the preview while the tiles with best matching zoom level are being downloaded. This greatly improves the user experience when working with WMTS layers.

Additionally, I have added native support for XYZ tile layers into WMS provider (based on existing implementation of WMTS tiling). This allows loading of various new raster tile sources (e.g. OpenStreetMap tiles) that were before available only with QuickMapServices or OpenLayers plugins. To use XYZ tile layers, open the browser dock in QGIS and look for "Tile Servers (XYZ)" root entry. Right-clicking will open a menu to add connections. For example for OpenStreetMap the URL would be http://c.tile.openstreetmap.org/{z}/{x}/{y}.png

The work on WMTS live preview has been funded by Land Information New Zealand.

The work on XYZ tile layers has been funded by Lutra Consulting.
2016-09-13 23:37:05 +08:00
Alexander Bruy
1f715c1acd add tests for Plugin Manager version compare function 2016-09-13 15:28:42 +03:00
Alvaro Huarte
5180b20807 Remove duplicate entry of mActionRemove.svg 2016-09-13 14:15:09 +02:00
volaya
d265f33341 [processing] cache icons to speed up toolbox rendering
fixes #15550
2016-09-13 10:09:01 +02:00
Nyall Dawson
ffa10a16fe Restore missing doc 2016-09-13 18:03:31 +10:00
Martin Dobias
adc88f247a Bump up the tile request limit in WMS provider
Max. 100 tiles is just too low. The max request area is currently 2000x2000 pixels
which boils down to approx 8x8 tiles of size 256x256, therefore max 64 tiles.
However this is the ideal case if the view scale matches the scale of tiles.
If the map view scale is approx in between two levels, we may need 12x12 tiles
to serve the request, so bumping the maximum to 256 should be enough.
2016-09-13 14:38:59 +08:00
nirvn
b3e3108718 [delimitertext] fix watcher check ignored and harmful watcher created for iterator
(fixes #15558)
2016-09-13 11:07:03 +07:00
Nyall Dawson
7f9de72448 Remove DataDefinedSizeScale symbol RenderHint
This flag is no longer set anywhere in QGIS itself
2016-09-13 11:05:45 +10:00
Nyall Dawson
8301ba26c4 Remove sizeScaleField and sizeScaleMethods from renderers
These were unused (since they were moved to data defined properties
at the symbol layer level) and were not set anywhere in
core QGIS (ie, the only way to set them was by manually calling
this api)
2016-09-13 11:05:45 +10:00
Nyall Dawson
041ceeaf9a Remove unused size/scale slots from renderer widgets 2016-09-13 11:05:45 +10:00
Nyall Dawson
3223150db6 Remove redundant (and outdated) docstrings from overriden members 2016-09-13 11:05:45 +10:00
Nyall Dawson
ae9023fe0f Remove last deprecated methods from symbology 2016-09-13 11:05:45 +10:00
Nyall Dawson
4d4aec692a Remove more deprecated symbol methods 2016-09-13 11:05:45 +10:00
Nyall Dawson
55fc40d87f Remove more deprecated methods from symbology 2016-09-13 11:05:45 +10:00
Nyall Dawson
7c1fc8e4bc Remove deprecated method from getDataValues() 2016-09-13 11:05:45 +10:00
Nyall Dawson
a921c190d0 Remove deprecated members and fix TODOs for QgsFeatureRenderer 2016-09-13 11:05:45 +10:00
Martin Dobias
02599356a0 Fix crash on QMap iteration in Qt5 2016-09-13 00:37:01 +08:00
Martin Dobias
4fa3191a85 Fix tile previews with Qt5 2016-09-12 23:52:07 +08:00
mhugent
f55d7d329e Merge pull request #3469 from mhugent/fix_joins_over_several_tables2
Sort joins by dependency
2016-09-12 16:36:05 +02:00
doublebyte1
7d4d9ab46c - Replaced use of deprecated QgsMapCanvas attribute "mapRenderer" by mapSettings 2016-09-12 11:52:55 +02:00
Juergen E. Fischer
93afbe12e0 fix build errors (followup 13e37d4) 2016-09-12 09:48:08 +02:00
Juergen E. Fischer
13e37d4b88 dxf export: segmentize curves
(forward ported from cc3a053)
2016-09-12 09:36:37 +02:00
volaya
074d22f6f4 Merge pull request #3471 from arnaud-morvan/processing_geometry_predicate_as_commandline
[Processing] Fix ParameterGeometryPredicate.getValueAsCommandLineParameter
2016-09-12 08:32:13 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Marco Bernasocchi
bb4e6b8fb8 qgsmessagebar timeout is not respected in python
the default timeout is not respected in python

gui/qgsmessagebar.sip:51:    void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 0 );


https://qgis.org/api/qgsmessagebar_8h_source.html#l00090
void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 5 ) { return pushMessage( QString::null, text, level, duration ); }
2016-09-11 11:14:29 +02:00
Nyall Dawson
648b779d6f Merge pull request #3477 from nyalldawson/legend_col_align
Fixes to multicolumn legends
2016-09-10 15:51:55 +10:00
Nyall Dawson
e3313fac95 Test masks 2016-09-10 14:42:33 +10:00
Nyall Dawson
52eef90061 Make sure items in legend always occupy the set number of columns
In some cases (eg a legend with 4 items and 3 columns) less
columns were being created
2016-09-10 14:42:33 +10:00
Nyall Dawson
a673fa8393 Fix multi column legends with odd number of items would place
more items in rightmost columns instead of leftmost columns

Eg a 2 column legend with 3 items would put 1 item in
the first column and 2 in the second. This was ugly, and now
it places 2 in the first column and 1 in the second.

The legend column assigner was incorrectly adding padding above
the first item in a column during column size calculation
(padding which is not present when actually rendering the column)
2016-09-10 14:42:33 +10:00
Nyall Dawson
570e6936b6 Add a bunch of tests for legend grouping into columns 2016-09-10 14:42:33 +10:00