30772 Commits

Author SHA1 Message Date
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
6fcb3eadbc Add missing help and show missing variables in editor 2016-01-15 10:12:57 +11:00
Nyall Dawson
40dc7dd19f Show selection when using geometry generators 2016-01-15 09:59:31 +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
Marco Hugentobler
a91b685685 Yet another slightly different control image... 2016-01-14 18:11:47 +01:00
Denis Rouzaud
91b0e7f3b4 sort files in cmakelists 2016-01-14 17:04:13 +01:00
Marco Hugentobler
d416b14cf7 Generate test images on newer system and use tolerance of 100 pixels 2016-01-14 16:58:33 +01:00
Alexander Bruy
d12a0b4a25 [processing] fix Merge vector layers alg (fix #9978) 2016-01-14 17:07:08 +02:00
Alexander Bruy
2aa523d410 increase maximum value for outline width in symbols widgets (fix #14094) 2016-01-14 16:30:13 +02:00
Marco Hugentobler
193e9d7818 Update sip files 2016-01-14 13:46:13 +01:00
Marco Hugentobler
561690c9ee Use render job in unit test instead of vector renderer 2016-01-14 13:26:47 +01:00
Matthias Kuhn
32423a3911 Small doxymentation fix 2016-01-14 12:52:26 +01: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
Luigi Pirelli
2a12f0189b [auth] Ensure ident cert cache is used 2016-01-14 11:38:54 +01:00
Juergen E. Fischer
f8f25289d3 spelling fixes 2016-01-14 11:04:44 +01:00
Marco Hugentobler
e5bb0b9742 Fill symbol layer: consider already existing transformations on brushes and restore transformation after rendering 2016-01-14 10:27:49 +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
45eeb95d83 Revert 13f4081 and 2b7c5c1
Ensures that Travis is testing the same documentation coverage as
the actual docs are built using.
2016-01-14 12:22:19 +11:00
Nyall Dawson
d97a5e3a83 Fix failing indentation test 2016-01-14 10:59:38 +11:00
Nathan Woodrow
f639d1e4f0 Fix windows build 2016-01-14 09:13:03 +10:00
Nyall Dawson
884c3ba8dd Use constGeometry to avoid some QgsFeature detachments 2016-01-14 09:58:23 +11:00
Nyall Dawson
31d981c49c Merge pull request #2670 from pvalsecc/xlsx_ods
Add saveAs XLSX and ODS
2016-01-14 09:39:20 +11:00
Nyall Dawson
184db1aa28 Indentation fix 2016-01-14 08:57:04 +11:00
Luigi Pirelli
2550218fed [auth] updated api doc 2016-01-13 21:29:10 +01: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
Larry Shaffer
e7a1e2c2ec Clean up with prepare commit script 2016-01-13 21:29:09 +01:00
Luigi Pirelli
5fb798e220 [auth][db_manager]removed certs (if any) after postgres connection 2016-01-13 21:28:25 +01:00
Luigi Pirelli
68478a7363 [auth] PKI support to postgres provider 2016-01-13 21:26:52 +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
Matthias Kuhn
ee093b211d Name for default MapCanvas ExpressionContextScope 2016-01-13 13:58:53 +01:00
Matthias Kuhn
e48d8b0e15 Doxymentation fix 2016-01-13 13:58:53 +01:00
Matthias Kuhn
33a2807bb9 Remove unrequired checks in geometry 2016-01-13 13:58:53 +01:00
Matthias Kuhn
e7b9a314f7 Add rendering extent information to expression context 2016-01-13 13:58:53 +01: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
Alexander Bruy
77a0b88a6f more informative layer name when loading OGR datasource with only one sublayer (followup f99ccf0be1)
Also use more informative raster layer names when loading raster with sublayers
2016-01-13 14:43:32 +02:00
volaya
864e1921e6 [processing] improved version detection mechanism for OTB 2016-01-13 13:41:42 +01:00
Martin Dobias
ea92e110ff [tracer] Renaming to camelCase, no actual code changes 2016-01-13 13:16:07 +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