34613 Commits

Author SHA1 Message Date
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
Martin Dobias
80f022878f Small code cleanups 2016-09-02 09:41:35 +08: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
Martin Dobias
8d832d8aca Make sure we do not miss cancellation request at the beginning 2016-09-01 21:43:40 +08: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
Martin Dobias
fdeac8198c Fix incorrect raster reprojection after drawing raster previews
Moved all temporary projector members to a private class,
so even recursive block() calls will not affect each other
(there is no new performance penalty as block() call always
recomputes the temporary control point matrix anyway)
2016-09-01 18:25:01 +08: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
Martin Dobias
6bb291f2d6 Raster projector constructor cleanup
Marked raster interface as uncopiable (it should have always been uncopiable)
2016-09-01 15:38:58 +08:00
Andrea Aime
a25b0257a5 Export map level scale based dependencies in most vector symbology 2016-09-01 07:40:56 +02:00
Martin Dobias
a5039d6d73 Order tile requests according to their distance from view center
... so we first receive tiles in the middle rather those at the border
2016-09-01 10:15:44 +08: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
Nyall Dawson
72d9e9ae35 Fix crash using Visvalingam simplification, add test 2016-09-01 07:35:30 +10:00
Matthias Kuhn
d5377dbc2e Support pre-CXX11 compilers
I'll update the toolchain one day, I promise!
2016-08-31 18:18:55 +02:00
Hugo Mercier
bd3cf76f5f Merge pull request #3320 from mhugo/fix_snapping2
Data dependency between layers + snapping fix
2016-08-31 15:46:18 +02:00
Hugo Mercier
0749ba43ba Rework layer dependencies
A new class QgsMapLayerDependency allows to represent different kinds
of dependencies between layers.
2016-08-31 14:40:13 +02:00
Martin Dobias
b919198e46 Fix loading of XYZ tile layer data item provider 2016-08-31 18:37:46 +08:00
Matthias Kuhn
504badb41f Fix saving field configurations 2016-08-31 12:35:59 +02:00
Martin Dobias
4a1b4fd52e GUI for XYZ tile layers: browser items + actions to add/remove them 2016-08-31 16:37:05 +08:00
Martin Dobias
c4181fa04d [FEATURE] Native support for XYZ tile layers
Yes, that means OpenStreetMap tiles and various other sources!

No GUI so far...
2016-08-31 15:32:13 +08:00