7306 Commits

Author SHA1 Message Date
Nyall Dawson
36e276f993 [FEATURE] Point cluster renderer
Groups nearby points into a single rendered marker symbol.

QgsPointDisplacementRenderer has been split into a new
pure virtual QgsPointDistanceRenderer base class which handles the
detection of clusters and grouping of points. The new cluster
renderer reuses this base class to avoid code duplication.

Additionally, some improvements have been made to the
displacement renderer, specifically:
- points are now assigned to the group which is "nearest" them,
rather then just assigning them first group within the search
distance. In some cases this was assigning features to a more
distant cluster, resulting in less predictable cluster patterns
- individual points are now correctly shown in their own
selection state

Lots of code cleanup + documentation too.

Sponsored by:
- Andreas Neumann
- Qtibia Engineering (Tudor Barascu)
- Karl-Magnus Jönsson
- Geonesia (Nicolas Ponzo)
- Plus numerous additional anonymous backers whose generous
contributions are also highly valued!
2016-09-30 08:42:16 +10:00
volaya
170ff9fe12 Merge pull request #3493 from rldhont/processing_rscripts_temprscritpfilename
[Processing][Rscripts] Use temp script filename
2016-09-29 13:52:20 +02:00
Juergen E. Fischer
dedf4a5ac6 gdal tools: disconnect canvas signal after building vrt (fixes #15389)
(cherry picked from commit e963fff346aafdb87494c9a33c4cddd3754ab5b1)
2016-09-28 17:55:41 +02:00
rldhont
4feeab85a5 [Processing][Rscripts] Use temp script filename
The build RScript is stored in the User folder, so the script is erased at each RAlgorithm execute.
Server side or for debugging this could be a problem.
So processing_script.r will be stored in temp folder.
2016-09-28 11:05:41 +02:00
David Marteau
34588f3f8c Fix python3 pyspatialite import 2016-09-27 22:49:15 +02:00
Alessandro Pasotti
74c00be061 No need to decode a str 2016-09-27 15:48:45 +02:00
Alessandro Pasotti
aeb5ff25b6 [Server 3.0] now needs a qApp 2016-09-25 09:43:47 +02:00
Hugo Mercier
67c05b51c2 Fix some /Transfer/ annotations 2016-09-23 15:35:37 +02:00
Mathieu Pellerin
eefeef573d fix a couple of python warnings (#3526) 2016-09-23 07:36:05 +02:00
Mathieu Pellerin
e7c9400b06 [plugin manager] fix broken QDirIterator next() call, make it pyqt5 5.7 compatible (#3517) 2016-09-22 09:25:32 +02:00
Juergen E. Fischer
6e4e845188 pyspatialite: port to python3 2016-09-21 23:43:30 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Matthias Kuhn
8069154aad [Feature] Allow configuring link/unlink feature buttons on relation editor widget 2016-09-21 21:16:28 +02:00
volaya
e4e5cda685 Merge pull request #3514 from volaya/grass_icon_fix
[processing] fixed grass icon loading
2016-09-21 13:29:35 +02:00
volaya
2fda177c0e [processing] fied issue with grass icons slowing down toolbox
fixes #15550
2016-09-21 13:26:40 +02:00
Tom Kralidis
26b61a2d7c Merge pull request #3515 from rcoup/patch-1
MetaSearch: Update LINZ Data Service default URL
2016-09-21 06:43:45 -04:00
Even Rouault
0542aacdc7 Merge pull request #3499 from pvalsecc/spatialite_arrays
Add support for arrays in the spatialite provider
2016-09-21 09:35:15 +02:00
Nyall Dawson
ac4f662899 Move deprecated QgsHttpTransaction to server 2016-09-21 09:12:54 +10:00
Nyall Dawson
3c4f46dc79 Remove more code disabled under Qt5
Add todo note for QgsHttpTransaction and disable under docs and
sip bindings
2016-09-21 09:12:54 +10:00
Nyall Dawson
88e4410af1 Require Qt >= 5.5 2016-09-21 09:12:54 +10:00
Robert Coup
db0b787e4e MetaSearch: Update LINZ Data Service default URL
The existing CSW URL is still supported for backwards compatibility, but `/services/csw/` is the preferred path going forward. They're backed by the same code and results will be identical.

Current url is shown at eg. https://data.linz.govt.nz/layer/767-nz-topo50-maps/webservices/
2016-09-20 13:00:48 +01:00
Patrick Valsecchi
6260f9dea5 Add support for arrays in the spatialite provider
New versions of GDAL/OGR (since trunk@35289) convert list types (StringList,
IntegerList, Integer64List and RealList) to a JSON string when it stores a
Spatialite table. It sets the column type as JSONSTRINGLIST, JSONINTEGERLIST,
JSONINTEGER64LIST or JSONREALLIST.
2016-09-20 13:18:32 +02:00
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