34415 Commits

Author SHA1 Message Date
volaya
8de9757f54 Merge pull request #3456 from arnaud-morvan/processing_apply_use_coverge_on_execution
[Processing] Calculate min coverage on execution
2016-09-05 09:03:06 +02:00
Matthias Kuhn
2fbc3266ff Merge pull request #3452 from nirvn/pyqt5_57
fix to support PyQt5 5.7
2016-09-05 07:21:24 +02:00
Nyall Dawson
1819b313ef Merge pull request #3289 from dgoedkoop/valuemapsearchnull
Add handling of null value in value map to search widget
2016-09-05 13:54:50 +10:00
Nyall Dawson
6dbdd4c24b Update test masks for qt5 2016-09-05 13:44:41 +10:00
Nyall Dawson
766ae97d35 Fix some errors when using python3 tempfile 2016-09-05 13:30:41 +10:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Nyall Dawson
e54f9bee7a Fix PyQgsMapUnitScale test under qt5 2016-09-05 10:56:07 +10:00
Nyall Dawson
fd0d804341 Fix error when executing python code under python 3 2016-09-05 10:17:37 +10:00
Nyall Dawson
0ead08b5b0 Fix incorrect QtGui import 2016-09-05 09:50:34 +10:00
Nyall Dawson
96e10ebff2 If vector layer renderer cannot be loaded, fallback to default
Eg if loading a project which used a plugin based renderer which
is not available, qgis would not renderer the layer and
eventually crash. Now if the saved renderer could not be
restored we fallback to a default renderer for the layer.
2016-09-05 08:58:04 +10:00
arnaud.morvan@camptocamp.com
c369710667 Calculate min coverage on execution 2016-09-04 17:58:17 +02:00
Webmaster
9d22440c56 fix to support PyQt5 5.7 2016-09-04 16:30:23 +07:00
Nyall Dawson
95c4fa1340 Merge pull request #3451 from nyalldawson/smoooooth
[FEATURE] New simplify + smoothing expression functions
2016-09-04 12:09:31 +10:00
Juergen E. Fischer
0036274a41 oracle provider: add updates on lob fields
(cherry picked from commit b61d932fc4b44669bf0094d76089d8c6bc129da6)
2016-09-03 20:22:52 +02:00
Juergen E. Fischer
474b9d86b2 processing: use main vector menu translation (fixes #14535)
(cherry picked from commit 11289a0d973e6e4a3f7f81972dd08f2e6d82941e)
2016-09-03 20:19:43 +02:00
Juergen E. Fischer
1fe085bf16 translation string fix
(cherry picked from commit 02af8b5566cba2271404e91d694d239bcdd3aedd)
2016-09-03 20:19:29 +02:00
Nyall Dawson
679797e22b [FEATURE] New simplify + smoothing expression functions
Exposes simplification and smoothing algorithms to expression
engine, via:

- simplify(): applies Douglas-Peucker geometry simplification
- simplify_vw(): applies Visvalingam-Whyatt geometry simplification
- smooth(): smoothes a geometry

Carto tip: use smooth along with geometry generators to minimise
the typical "GIS" noded look of rendered geometries!
2016-09-03 21:52:06 +10:00
Nyall Dawson
8881a7e5de Improve wording and fix build warning 2016-09-03 17:19:10 +10:00
Matthias Kuhn
26253c8c8e Add qgsmaplayerdependency.h to installed headers 2016-09-03 08:35:38 +02:00
Nyall Dawson
8107856cc5 Merge pull request #3450 from nyalldawson/smoooooth
[FEATURE] Extra control when smoothing geometries
2016-09-03 09:38:37 +10:00
Nyall Dawson
795b52e906 Followup 80653c7, add missed algorithm 2016-09-03 08:50:23 +10:00
Nyall Dawson
4d60d0cdb5 [FEATURE] Add option to QgsGeometry::smooth to not smooth
segments shorter than a certain threshold or sharp corners
with an angle exceeding a threshold

Expose the angle threshold to processing smooth algorithm

Also:
- optimise QgsGeometry::smooth for new geometry classes
- Fix smooth does not work with geometries containing Z/M
2016-09-03 08:31:33 +10:00
Matthias Kuhn
01da222b34 Merge pull request #3447 from epifanio/patch-1
fix typo
2016-09-02 17:11:12 +02:00
epifanio
4aac75ff9b fix typo
fix typo in python/plugins/processing/algs/qgis/Polygonize.py
2016-09-02 10:33:45 -04:00
Matthias Kuhn
31c3739460 Merge pull request #3420 from yjacolin/rewordWMSConnexion
Reword delete button in service connection dialog
2016-09-02 08:45:57 +02:00
volaya
7ddaf9039d Merge pull request #3430 from alexbruy/output-vector
[processing] support for explicit output vector types
2016-09-02 08:40:37 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
80653c7aff [processing] adopt native algs to use output geomerty 2016-09-02 09:28:32 +03:00
Alexander Bruy
13cd4c944f [processing] split some native algs to take advantage of explicit output types 2016-09-02 09:28:32 +03:00
Alexander Bruy
12d6e15fda [processing] support for output geometry types in scripts and modeler 2016-09-02 09:28:32 +03:00
Alexander Bruy
7e26124c2b [processing] support for output geometry types (work in progress) 2016-09-02 09:28:32 +03:00
volaya
6054bb9518 Merge pull request #3415 from arnaud-morvan/processing_reset_menus
[processing] Add a reset menus button
2016-09-02 08:27:51 +02:00
Even Rouault
8c3537bff2 [DBManager] Fix exception raised when adding a new Spatialite connection
This was accidentaly broken since 1f0fce7852e9f6a27af967d7ac7ee3989dce7b45

Fixes #15274
2016-09-01 20:51:26 +02:00
Larry Shaffer
194b5adb1e [auth] Fix return value for plugins that do not support an expansion
Bug not evident until there were providers with multiple credential
expansions (now supported in OWS providers). Lack of support for an
expansion should only trigger a debug message, not a failure.
2016-09-01 10:06:21 -06:00
Hugo Mercier
b496376419 Merge pull request #3445 from mhugo/fix_virtual
Fix virtual layer queries with accents in layer name
2016-09-01 16:31:23 +02:00
Hugo Mercier
af0d6b93a6 Fix virtual layer queries with accents in layer name 2016-09-01 14:39:31 +02:00
Matthias Kuhn
665df5fbd6 Merge pull request #3436 from aaime/scaledep
Export map level scale based dependencies in most vector symbology
2016-09-01 13:28:48 +02:00
Matthias Kuhn
4a52351127 Merge pull request #3443 from bstroebl/documentProcessing
[processing] Add help for Eliminate sliver polygons
2016-09-01 13:25:37 +02:00
Matthias Kuhn
ffe358179e Export main() when building for android 2016-09-01 13:14:10 +02:00
Nyall Dawson
88047cc984 Merge pull request #3441 from nyalldawson/simplify
Simplify features + fixes
2016-09-01 21:02:09 +10:00
Hugo Mercier
798817eee0 Merge pull request #3442 from mhugo/fix_dependencies
Cleanup layer dependency api
2016-09-01 10:59:44 +02:00
Bernhard Ströbl
7e92d09c5f [processing] Add help for Eliminate sliver polygons 2016-09-01 10:55:08 +02:00
Hugo Mercier
a86611b626 Cleanup layer dependency api 2016-09-01 09:58:37 +02:00
Andrea Aime
a25b0257a5 Export map level scale based dependencies in most vector symbology 2016-09-01 07:40:56 +02:00
Nyall Dawson
7a8ab40717 Merge pull request #3440 from nirvn/qt5_fix_freeze
Remove composer window visibiliy state restoration upon project load (fixes #15495)
2016-09-01 09:39:00 +10:00
Nyall Dawson
56b77db88c [FEATURE][processing] Add choice of simplification method to simplify
This change allows users to choose which method to use when running
the simplify geometries algorithm, with choices of the existing
distance based (Douglas Peucker) algorithm, area based (Visvalingam)
algorithm and snap-to-grid.

Visvaligam in particular usually results in more cartographically
pleasing simplification over the standard distance based methods.
2016-09-01 08:22:18 +10:00
Nyall Dawson
fbd6618d4a Add missing sip binding 2016-09-01 08:04:39 +10:00
Nyall Dawson
5d97d03ad5 [processing] Fix simplify alg handling of null goemetry, add tests 2016-09-01 07:50:02 +10:00
Nyall Dawson
f9e508c566 [processing] More efficient point count for simplify algorithm 2016-09-01 07:42:29 +10:00
Nyall Dawson
73d8544cec Bump max pixel distance for OTF simplification 2016-09-01 07:40:22 +10:00