5696 Commits

Author SHA1 Message Date
Nyall Dawson
c452c3d85f Fix some warnings and test failures on nightlies 2016-01-15 08:32:56 +11:00
rldhont
f5373ac3b9 DBManager oracle plugin: strip '"' on unique col
For Oracle provider, giving a quoted uniqueColumn in a uri to create a
QgsVectorLayer results in an invalid layer.

To fix it, strip '"' is applied to unique col.
2016-01-14 21:48:55 +01:00
Alexander Bruy
d12a0b4a25 [processing] fix Merge vector layers alg (fix #9978) 2016-01-14 17:07:08 +02:00
Matthias Kuhn
fe416d4deb Fix typo 2016-01-14 12:52:19 +01:00
Matthias Kuhn
542541007c Add extrude function to QgsGeometry 2016-01-14 12:28:31 +01:00
Juergen E. Fischer
e290c985f7 translation string fix 2016-01-14 12:19:41 +01:00
volaya
a8ef4ffaf1 [processing] changed min qgis version to 2.13
otherwise it wont load until 2.14 release is done and qgis version number changed
2016-01-14 11:53:51 +01:00
volaya
8884c37b6f [processing] add nocrswarning option to scripts
fixes #12784
2016-01-14 11:53:50 +01:00
Juergen E. Fischer
f8f25289d3 spelling fixes 2016-01-14 11:04:44 +01:00
volaya
1dde1b0a41 [processing] changed minimum qgis version in metadata
Has to be 2.14, since there are algorithms using virtual layers
2016-01-14 08:24:52 +01:00
Nyall Dawson
d97a5e3a83 Fix failing indentation test 2016-01-14 10:59:38 +11:00
Nyall Dawson
184db1aa28 Indentation fix 2016-01-14 08:57:04 +11:00
Alexander Bruy
3d44e1f545 [fTools] enable OK button when error occurs (fix #13104) 2016-01-13 19:26:39 +02:00
Alexander Bruy
14c858a0b1 [processing] fix crash in ConcaveHull alg when using it from console (fix #12229) 2016-01-13 16:40:14 +02:00
Alexander Bruy
9551ca7ca8 Merge pull request #2628 from medspx/work_vnet_processing
[Feature][Processing] GRASS v.net modules
2016-01-13 14:49:53 +02:00
Martin Dobias
b83f6e359a Merge pull request #2665 from wonder-sk/auto-trace
[FEATURE] Tracing of features (digitizing)

Tracing can be now used in various capturing map tools (add feature, add part, ...) including reshape and split tools.

Tracing is simply a new mode for these tools - when tracing is not enabled, the tools work as usual. When tracing is enabled (by clicking the new magnet icon or pressing T key), tools switch to tracing behavior:
- first click on a vertex/edge (must be snapped!) will start tracing - moving mouse on top of the map continuously updates the trace
- next click will confirm the trace and mark start of a new trace Tracing can be enabled/disabled anytime even while digitizing one feature, so it is possible to digitize some parts of the feature with tracing enabled and other parts with tracing disabled.

Tracing respects snapping configuration for the list of traceable layers.

If there are too many features in map display, tracing is disabled to avoid potentially long tracing structure preparation and large memory overhead. After zooming in or disabling some layers the tracing is enabled again.

Internally, things work like this:
- when tracing is requested, linestrings are extracted from vector layers, then noded (using GEOSNode to resolve all intersections) and finally a simple planar graph is built (vertices + edges)
- when tracing, endpoints are temporarily added to the graph (if not equal to one of existing vertices already) and Dijkstra's algorithm is run to get shortest path

Original specs for the curious ones (the interaction with QGIS is slightly improved from what has been specified): http://www.lutraconsulting.co.uk/crowdfunding/autotrace-phase-2/specification.pdf
2016-01-13 12:18:00 +01:00
Hugo Mercier
b0bfa5feb5 Merge pull request #2662 from mhugo/vlayer_expr
Support for expression functions in virtual layers
2016-01-13 12:03:46 +01:00
Denis Rouzaud
492f1ad18b add sip bindings 2016-01-13 11:49:25 +01:00
volaya
f8de083a5b [Processing] [OTB] fixed wrong command when alg help is not found
fixes #14096
2016-01-13 11:06:23 +01:00
volaya
7a879994d4 [processing] fixed frequency analysis algorithm
code provided by Joseph Liam

fixes #14090
2016-01-13 09:55:30 +01:00
Matthias Kuhn
4e9afcec4c Expression variable for the currently rendered part
During rendering, two new variables will be available:

  * `geometry_part_count`
  * `geometry_part_num` (1-based index)

Useful to apply different styles to different parts of multipart
features
2016-01-13 08:17:49 +01:00
Nyall Dawson
21cdefa7e8 Merge pull request #2667 from SebDieBln/ZoomToFeatureIds
allow zooming to multiple features by their ID
2016-01-13 11:09:52 +11:00
Sebastian Dietrich
e5f1d87506 allow zooming to multiple features by their ID
Changed QgsMapCanvas::zoomToFeatureId() to QgsMapCanvas::zoomToFeatureIds() accepting multiple IDs instead of just one.
2016-01-13 00:14:23 +01:00
Nyall Dawson
9dccce87ee Followup 3a1d47
- Fix dialog tab order
- Avoid use of hardcoded enum int conversion
- Remove some unneeded implicit casts
- Doc tweaks
2016-01-13 09:38:18 +11:00
Alexander Bruy
917ea5c0e3 [processing] add extension to the output vector VRT (fix #13872) 2016-01-12 20:24:55 +02:00
Alexander Bruy
3a514269ea [processing] remove nviz algorithm from modeller (fix #9107) 2016-01-12 20:24:55 +02:00
Alexander Bruy
04542a900a [processing] allow multiple threshold values for GRASS v.clean.advanced algorithm (fix #13748) 2016-01-12 20:24:55 +02:00
mhugent
3febba279d Merge pull request #2619 from mhugent/zoom_to_feature
[FEATURE]: Zoom to feature with right-click in attribute table
2016-01-12 16:20:17 +01:00
Matthias Kuhn
e351d24a7d More types support for QgsVectorFileWriter 2016-01-12 12:58:47 +01:00
Nyall Dawson
e29c7e519e Merge pull request #2644 from nirvn/move_save_btn
[ui] move the save symbol button
2016-01-12 21:16:13 +11:00
Matthias Kuhn
04919963f7 Merge pull request #2616 from SebDieBln/FixLayerCountAttribute
Remove the 'layercount' attribute in a project file
2016-01-12 10:46:17 +01:00
Matthias Kuhn
b82806218d Merge pull request #2663 from radosuav/fix_AlgorithmDialogBase_closeEvent
[Processing] Fix behaviour of closeEvent in AlgorithmDialogBase
2016-01-12 10:44:54 +01:00
Nyall Dawson
8779091225 Fix failing tests 2016-01-12 08:24:56 +11:00
Nyall Dawson
8b28c040d1 [FEATURE] Add mode to apply label distance from symbol bounds
(only works with Cartographic point label placement). When this
setting is active, the label distance applies from the bounds
of the rendered symbol for a point, instead of the point itself.
It's especially useful when the symbol size isn't fixed, eg if
it's set by a data defined size or when using different symbols
in a categorised renderer.

Sponsored by Andreas Neumann
2016-01-12 08:24:39 +11:00
Nyall Dawson
6499439cc5 Fix failing tests, add tests for ordered placement
Sponsored by Andreas Neumann
2016-01-12 08:24:38 +11:00
Nyall Dawson
a3cee7df42 Fix spacing 2016-01-12 08:24:13 +11:00
Martin Dobias
3883a2e5fc [tracer] added docs and sip files 2016-01-11 20:57:28 +01:00
Hugo Mercier
9472c98686 [processing] add a new algorithm to execute SQL thanks to the virtual provider 2016-01-11 18:04:35 +01:00
Hugo Mercier
83a24a3794 [processing] add more possible data providers for input vector layers 2016-01-11 17:15:01 +01:00
radosuav
fe71a3f5e1 [Processing] Fix behaviour of closeEvent in AlgorithmDialogBase
Otherwise finished signal is not emitted when dialog closes
2016-01-11 16:38:10 +01:00
Marco Hugentobler
fb996ae7fa Show message in message bar if feture has no geometry / empty geometry 2016-01-11 15:15:23 +01:00
Hugo Mercier
1d7b281611 Add qgis functions to db manager and creation ui 2016-01-11 14:11:14 +01:00
Alexander Bruy
716664e749 [processing] try to fix HiDPI issue with Help tab 2016-01-11 14:15:03 +02:00
Hugo Mercier
70f26b66be Merge pull request #2647 from mhugo/vlayer_gui
Virtual layers GUI integration
2016-01-11 12:17:50 +01:00
volaya
be5d657c27 [processing] use simple QLabel widgets for toolbox tips 2016-01-11 09:39:09 +01:00
volaya
473e3ea9c5 [processing] removed unused constant 2016-01-11 09:39:08 +01:00
volaya
e7e845158a [processing] removed unused code 2016-01-10 23:29:38 +01:00
Juergen E. Fischer
312de68331 spelling fixes 2016-01-10 17:30:17 +01:00
Médéric RIBREUX
89a1ad5ede Fix indentation problem (as usual) 2016-01-09 18:01:27 +01:00
Radim Blazek
689be029d4 missing sip 2016-01-09 16:33:56 +01:00