5718 Commits

Author SHA1 Message Date
Denis Rouzaud
a1705ad652 order include in sip files 2016-01-15 15:28:03 +01:00
Alexander Bruy
3bc3f52f0c [processing] skip invalid geometries when buffering (fix #13763) 2016-01-15 14:34:03 +02:00
Matthias Kuhn
0c02f1812e [FEATURE] Add 2.5D Renderer
This adds a configuration interface and renderer that makes it easy to
put all the pieces together which are required to get a 2.5D effect.

It allow for configuring some of the styling and is meant to create an
easy-to-use setup.

Since every part of the system is built around QGIS' internal rendering
and symbology engine, there is much to fine tune. To get all the
possibilities, just change the renderer to a graduated, categorized or
single symbol renderer upon creation and you will find full access to
improve the style to your needs.

Funded by
 * Regional Council of Picardy
 * ADUGA
 * Ville de Nyon
 * Wetu GIT cc
2016-01-15 12:37:50 +01:00
Matthias Kuhn
e1adc6379f Merge pull request #2678 from m-kuhn/transaction-group
[FEATURE] Autotransaction mode and transaction groups
2016-01-15 12:25:11 +01:00
Matthias Kuhn
9b51007071 Add transaction groups 2016-01-15 12:18:44 +01:00
volaya
01434e8754 [processing] fixed otb version detection when no otb path is defined or found 2016-01-15 11:27:41 +01:00
volaya
a63cab77ba [processing] improvements to log 2016-01-15 11:27:40 +01:00
volaya
71b7ea9f93 [processing] allow saving and loading batch processing configurations 2016-01-15 11:27:39 +01:00
Juergen E. Fischer
ad1fd2a922 [API] Introduce optional QgsVectorDataProvider::ChangeFeatures
capability and changeFeaturss method to allows joint geometry and
attribute updates.

Currently only implemented in the postgres provider
2016-01-15 10:12:07 +01:00
Denis Rouzaud
c063838f52 rename QgsFilePickerWidget to QgsFileWidget 2016-01-15 10:08:34 +01:00
Denis Rouzaud
36157d43ac Add filters to file picker and external widget 2016-01-15 10:08:33 +01:00
volaya
0b96621696 Merge pull request #2669 from volaya/otb_version
[processing] improved version detection mechanism for OTB
2016-01-15 08:22:20 +01:00
Nyall Dawson
91f3005f80 [FEATURE] Expression variables relating to QGIS environment
New variables for:
- @qgis_os_name: eg 'linux','windows' or 'osx'
- @qgis_platform: eg 'desktop' or 'server'
- @user_account_name: current user's operating system account name
- @user_full_name: current user's name from os account (if available)

Sponsored by Andreas Neumann
2016-01-15 18:14:23 +11:00
Larry Shaffer
5f3ca88a84 Merge pull request #2674 from boundlessgeo/postgis-pki-pr
[FEATURE] Postgres provider PKI authentication (plus fixes #13841)
2016-01-14 23:43:52 -07:00
Nyall Dawson
275eb9463d [FEATURE] Add closest_point and shortest_line expression functions
closest_point: returns closest point a geometry to a second geometry
shortest_line: returns the shortest possible line joining two
geometries
2016-01-15 12:50:17 +11:00
Nyall Dawson
c0f4fb1466 Followup e48d8b, fix typo 2016-01-15 08:34:42 +11:00
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
Larry Shaffer
d5bf1045f3 [auth] Ensure ident cert cache is used; move temp file creation to utils 2016-01-13 21:29:10 +01:00
Luigi Pirelli
5fb798e220 [auth][db_manager]removed certs (if any) after postgres connection 2016-01-13 21:28:25 +01:00
Sebastian Dietrich
ef91882fe0 explicitly call QgsDataSourceURI.connectionInfo() with appropriate parameter 2016-01-13 20:12:19 +01:00
Sebastian Dietrich
93ab890033 make DbManager aware of the new authentication system 2016-01-13 20:12:03 +01:00
Alexander Bruy
3d44e1f545 [fTools] enable OK button when error occurs (fix #13104) 2016-01-13 19:26:39 +02:00
Alexander Bruy
b146c3edfc fix indentation 2016-01-13 18:30:08 +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
volaya
864e1921e6 [processing] improved version detection mechanism for OTB 2016-01-13 13:41:42 +01: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