30569 Commits

Author SHA1 Message Date
Martin Dobias
0cd9b68abf [tracer] update tracer when any of the input layers is changed 2016-01-08 18:38:26 +01:00
Martin Dobias
12705b708a [tracer] Added reprojection of layers 2016-01-08 17:31:26 +01:00
Martin Dobias
9a6ffc4b2e Added QgsTracer to support tracing in map tools
The tracer builds a graph from input layers and uses Dijkstra's
algorithm for the shortest path in the graph.

There is already QgsGraph class and friends in QGIS code including
Dijkstra's algorithm, however that implementation does not fit our
needs well for a number of reasons (some of them would be easy
to fix, but others would require a significant rewrite):
- limited to single input layer
- no monitoring of changes in the input layers
- no support for polygons
- not in core library
- shortest path alg does only stops when all distances are calculated
- every point of input layer represented as a vertex in graph
  (resulting graph is much denser than necessary and path finding slower)
- edges have always one direction, requiring two edges between each
  pair of vertices (resulting graph has twice as many edges)
- graph is always built with start/finish points
  (does not allow temporary addition of start/finish points and their
   removal without complete rebuild of the graph)
2016-01-08 17:00:02 +01:00
Sebastian Dietrich
d26bd46d99 remove 'layercount' attribute from project file
The 'layercount' attribute was not used anyway and the calculated number could already be outdated when loading the project file again due to changes to embedded projects.
2016-01-08 16:10:58 +01:00
Sebastian Dietrich
9af7986204 [SymbolSelector] display correct icons when button LockLayerColors is active
(fixes #14051)
2016-01-08 16:00:40 +01:00
Alexander Bruy
8d2f7bb2ee [processing] correctly write html output in utf-8 2016-01-08 16:50:07 +02:00
Alexander Bruy
acf74932f5 Merge pull request #2546 from volaya/ux_improvements
[processing] UI/UX improvements
2016-01-08 15:26:26 +02:00
volaya
931ca4d6d6 [processing] indentation fixes 2016-01-08 12:52:19 +01:00
Matthias Kuhn
95a56b9c65 Merge pull request #2646 from Roel/wfs_decimal
Interpret 'decimal' fields as double in WFS provider.
2016-01-08 12:50:25 +01:00
volaya
b0a8c182f3 Merge pull request #2 from alexbruy/processing-ux
[processing] PEP8 fixes
2016-01-08 10:27:09 +01:00
Alexander Bruy
4137437f2c PEP8 fixes 2016-01-08 10:32:43 +02:00
volaya
62302377db [processing] UI/UX improvements
Related to QEP #19

Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
volaya
e0a557a9c8 [processing] added AllowUnmatching tag to SAGA 'Add grid values to...' algorithm 2016-01-08 08:14:57 +01:00
Nyall Dawson
24ce02692d Add a bit of tolerance to labelingenginev2 tests 2016-01-08 16:54:23 +11:00
Nyall Dawson
44bf78fa5c Fix Sip coverage test on Debian nightlies 2016-01-08 16:51:18 +11:00
Nyall Dawson
06743ef6b8 Better names for composer toolbars (refs #14066) 2016-01-08 16:43:46 +11:00
Nyall Dawson
38baaafd05 [FEATURE] Show recent colors in layer right click menus 2016-01-08 16:43:35 +11:00
Nyall Dawson
87c58f4541 Mark more includes as system includes 2016-01-08 16:43:27 +11:00
Sebastian Dietrich
7b2d03ba56 [StyleManager] import to "ungrouped" when no groupname entered 2016-01-08 00:26:32 +01:00
Sebastian Dietrich
284704ab0b [StyleManager] Respect the entered group name when importing symbols
(fixes #14048)
2016-01-08 00:24:33 +01:00
Matthias Kuhn
ae2738e2b9 [ogr] Update for GDAL 2 handle 64bit integers in add feature 2016-01-07 17:10:13 +01:00
Matthias Kuhn
80c9d02f5e Doxygen take 2 2016-01-07 17:10:13 +01:00
Matthias Kuhn
53ae759670 PEP8 2016-01-07 17:10:13 +01:00
Alexander Bruy
b207268e69 add missed license headers in Processing files 2016-01-07 17:52:49 +02:00
Hugo Mercier
bbf2137940 Allow to filter joined fields with a virtual layer 2016-01-07 16:34:34 +01:00
Hugo Mercier
4bb09d0172 Add tooltip help to SQL editor and fix uid 2016-01-07 15:38:09 +01:00
Hugo Mercier
0eb6ccaf51 Add autocompletion to the virtual layer SQL editor 2016-01-07 15:38:09 +01:00
Hugo Mercier
8bbdff471c Fix a bad indentation bug 2016-01-07 15:38:09 +01:00
Hugo Mercier
7fb93920e4 Add a basic GUI for virtual layer creation and add it to the main app 2016-01-07 15:38:09 +01:00
Hugo Mercier
f351715c46 Merge pull request #2635 from mhugo/layer_dependencies
Layer dependencies
2016-01-07 15:35:23 +01:00
Hugo Mercier
7e5915ec79 Allow to embed layers with dependencies 2016-01-07 14:37:23 +01:00
Hugo Mercier
1a1af3788c Rework layer dependencies to work also with layer definition files 2016-01-07 14:03:15 +01:00
Matthias Kuhn
2b7c5c1d1c Only skip *.cpp files for doc generation on travis 2016-01-07 13:34:45 +01:00
Hugo Mercier
ba2e9dfc89 Add layer dependencies for virtual layers 2016-01-07 12:04:20 +01:00
Hugo Mercier
020dac0702 Allow to declare layer dependencies on a vector layer 2016-01-07 12:02:30 +01:00
Juergen E. Fischer
f8f056e0b2 fix server access control tests on windows 2016-01-07 10:50:34 +01:00
Nyall Dawson
a2a1b795f8 Change some includes to system includes to avoid warnings 2016-01-07 19:45:00 +11:00
Marco Hugentobler
1bc2c392fd Test map canvas pointer already when showing context menu 2016-01-07 09:10:47 +01:00
Nyall Dawson
2ceeb94831 Fix crash on close of access control test 2016-01-07 16:26:15 +11:00
Nyall Dawson
497f270408 Partially fix access control test for Win 2016-01-07 16:23:30 +11:00
Nyall Dawson
974cc35759 [FEATURE] Add color wheel and edit symbol shortcuts to style menu
...for vector layers with single symbol renderer. This completes
earlier work where symbols from categorized/graduated/rule based
renderers can be quickly changed through the legend item context
menu.
2016-01-07 16:23:21 +11:00
Nyall Dawson
b8bce97c1f Allow editing newly added diagram attributes (fix #14063) 2016-01-07 16:23:13 +11:00
Nyall Dawson
fcef952a10 More style manager fixes:
- disable ramp actions when nothing selected
- disabled Edit item when nothing selected
- rename "Apply group" to "Add to group"
2016-01-07 16:23:04 +11:00
Nyall Dawson
32e2849c0b Allow removing multiple ramps at once in style manager
...previously multiple ramps could be selected, but only the
first would be removed
2016-01-07 16:22:29 +11:00
nirvn
653a1e655f [ui] move the save symbol button 2016-01-07 12:09:35 +07:00
Juergen E. Fischer
f6ed4535f8 fix projectPath in server access control test 2016-01-07 02:39:48 +01:00
Nyall Dawson
3d91a39dbb Fix Sip coverage test failure on debian nightly builds
(doxygen version does not support @cond)
2016-01-07 12:35:18 +11:00
Nyall Dawson
9d63022e4e Merge pull request #2638 from SebDieBln/FixStyleManagerUI
Fix some UI issues in style manager
2016-01-07 11:17:58 +11:00
Juergen E. Fischer
34bc4ad788 fix ProcessingParametersTest test 2016-01-07 01:00:28 +01:00
Sebastian Dietrich
2031ce0208 [StyleManager] show confirmation messagebox before removing item(s) 2016-01-07 00:27:19 +01:00