34709 Commits

Author SHA1 Message Date
Nyall Dawson
7acb07f218 Make sure all attributes are fetched for distance based renderers 2016-09-30 08:42:16 +10:00
Nyall Dawson
3253cdc2fb Unit tests for displacement and cluster renderer 2016-09-30 08:42:16 +10:00
Nyall Dawson
d27e55630b Keep as many settings as possible when changing between displacement and cluster renderer 2016-09-30 08:42:16 +10:00
Nyall Dawson
3f590f0035 Make distance based renderers much faster when filters are present 2016-09-30 08:42:16 +10:00
Nyall Dawson
3aeef8d015 Use group centroid for nearest group test 2016-09-30 08:42:16 +10:00
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
Alessandro Pasotti
19585ee1aa [Server 3.0] Typo in test name and removed obsolete comments 2016-09-29 14:07:50 +02: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
6b2799414a nodetool: use exact intersect when picking features (fixes #15294) 2016-09-29 13:44:18 +02:00
Alessandro Pasotti
949241d3ac Merge pull request #3540 from elpaso/auth-integration-test
Auth integration test + more reliable server tests
2016-09-29 12:18:13 +02:00
Alessandro Pasotti
49ae0206f4 [Server 3.0] Tests reliability + new auth test
- Local server searches for a free port before binding
- Server tests now ignore attributes order
- Updated reference docs
- Renamed projects ("+" -> "_")
- Added a smoke test for auth manager and WMS/WFS providers
2016-09-29 11:47:32 +02:00
Nyall Dawson
67d5e19303 Update test masks (Qt5 on Fedora) 2016-09-29 12:23:02 +10:00
Nyall Dawson
98dd5cb566 Disable flaky qgis_ogcutilstest test on Travis 2016-09-29 08:30:07 +10:00
Juergen E. Fischer
fb71f72326 fix #15634
(cherry picked from commit be167761c44a3622ed28c9f679226dcb6b51dc68)
2016-09-28 18:27:46 +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
Juergen E. Fischer
4b7432cf15 categorized renderer: also setup symbol render context for hashed symbols 2016-09-28 15:24:56 +02:00
Jürgen Fischer
07b7b7d9d1 Merge pull request #3534 from dmarteau/master
Fix python3 pyspatialite import
2016-09-28 12:11:23 +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
Alessandro Pasotti
89d4998510 [Server 3.0] Resurrect PyQgsServerWFST 2016-09-28 08:52:12 +02:00
David Marteau
34588f3f8c Fix python3 pyspatialite import 2016-09-27 22:49:15 +02:00
Matthias Kuhn
49e64ab3fb [travis] Disable flaky qgis_ziplayertest 2016-09-27 17:54:41 +02:00
Alessandro Pasotti
74c00be061 No need to decode a str 2016-09-27 15:48:45 +02:00
Alessandro Pasotti
a50ce7d4fd No need to decode a str 2016-09-27 15:41:26 +02:00
Matthias Kuhn
abfb45024f Disable flaky PyQgsWFSProviderGUI test 2016-09-27 13:36:05 +02:00
Matthias Kuhn
9c32fcc153 Remove Qt4 travis test scripts 2016-09-27 13:35:50 +02:00
David Marteau
47c3726ac9 Fix python print statement for python 3 in cmake/MacBundleMacros.cmake (#3531) 2016-09-27 12:58:46 +02:00
Harrissou Sant-anna
d521f184fe Rename Style tab into Symbology in layer properties dialog (#3522) 2016-09-27 12:35:30 +02:00
Even Rouault
9cf99389bb Fix shapefile test failures if locale is C (#3523)
QString::localeAwareCompare() is case insensitive for common locales,
but case sensitive for the C locale. So use an explicit case
insensitive comparison in that later case to avoid test failures.
2016-09-27 09:16:53 +02:00
Alessandro Pasotti
6b7d7b00b2 Merge pull request #3528 from elpaso/server-needs-qgsapp
[Server 3.0] now needs a qApp and tests are back
2016-09-27 09:04:10 +02:00
Alessandro Pasotti
e795393e65 [Server 3.0] added missing QgsApplication 2016-09-27 08:44:02 +02:00
Nyall Dawson
7d8fba8b8c Preserve edits for multiline editor when length exceeds field size
Previously when using the multiline option for text edit widgets
the entire contents of the field would be discarded if the entered
value exceeded the maximum length for a string field.

Now the entered string is truncated to the maximum field length.
2016-09-27 11:36:23 +10:00
Nyall Dawson
35b3b7949b Rename duplicate menu item causing Qt warning 2016-09-27 11:36:23 +10:00
Nyall Dawson
8ffa08447a Fix arrow and filled marker symbols don't show selection state 2016-09-27 11:36:23 +10:00
Nyall Dawson
ab782eb3fa Avoid unused variable warnings 2016-09-27 11:36:23 +10:00
Nyall Dawson
2dea055b32 Fix right aligned contents in label spin boxes 2016-09-27 11:36:23 +10:00
Orion Poplawski
f7e5303b6f Cast to qreal for arm support 2016-09-27 09:24:13 +10:00
Alessandro Pasotti
786fe506b4 [Server 3.0] re-enable server tests 2016-09-26 19:35:22 +02:00
Alessandro Pasotti
76d1e8a8ea [Server 3.0] migrate more tests 2016-09-26 19:32:14 +02:00
Alessandro Pasotti
989fb9a686 [Server 3.0] migrate tests 2016-09-25 22:44:43 +02:00
Alessandro Pasotti
b46d3379d8 [Server 3.0] strict check for QgsApplication 2016-09-25 22:43:58 +02:00
Juergen E. Fischer
17090b9092 debian packaging update: add experimental build 2016-09-25 19:23:20 +02:00
Alessandro Pasotti
aeb5ff25b6 [Server 3.0] now needs a qApp 2016-09-25 09:43:47 +02:00
Juergen E. Fischer
7cf5592e66 debian packaging: also in control (followup 07c3801) 2016-09-24 16:52:20 +02:00
Juergen E. Fischer
07c3801ee3 debian packaging: include python3-sip-dev in build dependencies (fixes #15609) 2016-09-24 16:50:33 +02:00
Even Rouault
7a685f1e61 Merge pull request #3524 from rouault/fix_15351
Fix database locking when editing GeoPackage
2016-09-23 18:06:42 +02:00
Hugo Mercier
911af05a17 Merge pull request #3460 from mhugo/fix_sip
Fix some /Transfer/ annotations
2016-09-23 17:36:35 +02:00
Even Rouault
b6b8759efb Fix database locking when editing GeoPackage
Concurrent read and write can lock a GeoPackage database given
the default journaling mode of SQLite (delete). Use WAL when
possible to avoid that.

Fixes #15351
2016-09-23 17:23:07 +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
Nyall Dawson
9900036989 Make counting and testing filters in rule based renderers faster
Hand filters off to the provider where possible and avoid fetching
unnecessary attributes/geometry
2016-09-23 14:45:50 +10:00