7284 Commits

Author SHA1 Message Date
Mathieu Pellerin
cd1d44be9d [db manager] python3 support (#3512) 2016-09-20 09:34:36 +02:00
Matthias Kuhn
1da2474da2 Rename QgsEditFormConfig::expression to constraintExpression (#3509)
And QgsEditFormConfig::expressionDescription to constraintDescription.
Because only a verbose API is a good API.
2016-09-20 08:42:38 +02:00
Nyall Dawson
172c12bdc3 Fix build
(was using api from the mid 1970's... well.. a few weeks ago anyway)
2016-09-20 08:42:01 +10:00
rldhont
3661bc39db [Processing] bugfix: intersection QGIS algorithm
fixing this by testing int_com.
```
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS2~1.17/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/PROGRA~1/QGIS2~1.17/apps/qgis/./python/plugins\processing\algs\qgis\Intersection.py", line 100, in processAlgorithm
int_geom = QgsGeometry(int_com.difference(int_sym))
```

AttributeError: 'NoneType' object has no attribute 'difference'
2016-09-19 10:29:03 +02:00
Nyall Dawson
5e9619249e Merge pull request #3489 from nyalldawson/preset_color_ramp
[FEATURE] "Preset colors" color ramp
2016-09-17 08:33:13 +10:00
Sandro Santilli
91052d5496 Use nullSymbol for label-only layers in topology viewer 2016-09-16 13:41:23 +02:00
Nyall Dawson
7f9cc87f85 Merge pull request #3494 from nyalldawson/deprecated
Remove remaining deprecated methods
2016-09-16 21:02:25 +10:00
Martin Dobias
a9105b7e7a Remove QgsMapLayer::draw() method from API (replaced by createMapRenderer()) (#3501) 2016-09-16 18:32:36 +08:00
Alexander Bruy
75269d66b9 [processing] allow all field types as unique ID field in Mean coords alg 2016-09-16 12:43:08 +03:00
Alexander Bruy
8bf95fea5e [processing] refactor ogr buffer algorithm 2016-09-16 12:03:45 +03:00
Marco Bernasocchi
359063f545 Add qgis.PyQt.Qt compat files (#3491)
* added PyQt.Qt

* fix matthias comments
2016-09-16 08:09:47 +02:00
Nyall Dawson
8746932193 Merge pull request #3467 from pvalsecc/arrays
[FEATURE] Add support for array attributes
2016-09-16 06:13:34 +10:00
Alexander Bruy
6f6979ab0b [processing] remove obsolete methods 2016-09-15 19:50:51 +03:00
Alexander Bruy
11f8aa2319 [processing] fix search by alg name (fix #15562) 2016-09-15 19:50:51 +03:00
Bernhard Ströbl
4fc29de41c [processing] Fix typos 2016-09-15 13:34:13 +02:00
Bernhard Ströbl
631d262490 [processing] Update description for dissolve 2016-09-15 13:33:15 +02:00
rldhont
30b6e7e615 GdalTools: In widgetBatchBase runItem method, refreshArgs is not a SIGNAL
The commit 9db908ccbc2257d466c0593738944a08cea8a8bc GdalTools: new style signals generates a regression
In the widgetBatchBase runItem method, refreshArgs is not a SIGNAL
2016-09-15 11:52:17 +02:00
Matthias Kuhn
59a3bc2ca7 [feature] Add flag to only copy selected features
This extends the offline editing possibilities to only work on subset of
large layers

Sponsored by DB Fahrwegdienste GmbH
2016-09-15 11:19:58 +02:00
Nyall Dawson
2a9e5206e9 Remove deprecated QgsAttributeEditor 2016-09-15 18:50:39 +10:00
Nyall Dawson
fe65063c2b Remove many deprecated methods 2016-09-15 18:34:15 +10:00
Alexander Bruy
d393734bd3 [processing] correct error message (fix #15511) 2016-09-15 11:11:51 +03:00
Juergen E. Fischer
3f3e206a73 fix windows build (tests & bindings)
(cherry picked from commit 0c1792a55dd880b2f3f2acf7b5ef89e8fbd5412d)
2016-09-14 23:13:14 +02:00
Nyall Dawson
ccd9cc8a15 Undeprecate provider CreateAttributeIndex capability
This capability is still used in QGIS and has value for
plugins
2016-09-15 06:16:37 +10:00
Nyall Dawson
de7475ae72 Merge pull request #3486 from nyalldawson/symbol
Symbology QGIS 3.0 todos
2016-09-15 05:59:28 +10:00
Nyall Dawson
aac7e9aa39 Merge pull request #3485 from nyalldawson/composer_dep
Remove deprecated methods from composer
2016-09-15 05:59:17 +10:00
Alexander Bruy
9acb52db83 fix indentation 2016-09-14 16:55:20 +03:00
Alexander Bruy
9077398c4e [processing] split offset curve and single-side buffer alg into two separate algs 2016-09-14 16:53:34 +03:00
Alexander Bruy
cac3b2ddfa [processing] refactor offset curve GDAL algorithm (fix #15478) 2016-09-14 16:38:35 +03:00
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
632da63717 Export QgsOptional<QgsExpression> to dll/so 2016-09-14 13:26:17 +02:00
Nyall Dawson
03907605e3 Avoid new colors in ramp overwriting old colors 2016-09-14 19:17:26 +10:00
Nyall Dawson
31e1661006 Ensure that colors are always added to recent color list from style panel 2016-09-14 19:17:26 +10:00
Nyall Dawson
ec50cac2ef [FEATURE] New "preset" colors color ramp option
Allows use of a color ramp consisting of a list of selected colors.
Currently there's no way in QGIS to classify a renderer using
some list of colors you've previously selected. So you can modify
the colors manually after classifying, but that's a pain
if you're regularly using the same color scheme.

Basically, it's like the color brewer color ramp options but
allowing users to pick their own preset list of colors to use*

(Because Cynthia Brewer isn't the only cartographic color expert!)
2016-09-14 19:17:26 +10: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
b4d9f64796 Add method to retrieve most recently used color 2016-09-14 11:47:52 +10:00
Nyall Dawson
b7111775e8 Fix some QGIS 3.0 symbology todos 2016-09-14 09:33:58 +10:00
Nyall Dawson
098f69d878 Make QgsMarkerSymbolLayer::bounds pure virtual 2016-09-14 08:51:17 +10:00
Nyall Dawson
e122546546 Change QgsSymbol and QgsSymbolRenderContext render hint to use a
QgsSymbol::RenderHints QFlags value instead of a raw int

Also rename DataDefinedRotation to DynamicRotation since
it is no longer used for data defined rotation
2016-09-14 08:49:12 +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
25125b089e Remove deprecated composer methods 2016-09-14 07:20:17 +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
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
volaya
d265f33341 [processing] cache icons to speed up toolbox rendering
fixes #15550
2016-09-13 10:09:01 +02:00
Patrick Valsecchi
57d00949f7 Add an editor widget for QVariantList 2016-09-13 09:16:17 +02:00