5889 Commits

Author SHA1 Message Date
Sandro Santilli
da372c8d40 Ensure "dbname" is always set in the uri
Fixes #10600
2016-01-19 10:58:14 +01:00
Michael Douchin
bae865153f [bugfix][DbManager] 14110 - Error fetching layer indexes with recent sqlite version
Fixes #14110

The method `getTableIndexes`, situated in line 371 of the file `db_manager/db_plugins/spatialite/connector.py`,
expected to get 3 fields from the sqlite method `PRAGMA index_list` .
In recent versions of SQLite, since 3.8.9, though, this method now returns 5 fields.
This commit fixes this issue by checking the length of columns returned by the method.
2016-01-19 10:27:52 +01:00
volaya
a549ded47b [processing] prevent circular dependencies in models
fixes #99090
2016-01-19 09:39:57 +01:00
volaya
b2a12735c5 [processing] fixed update of console call in GdalAlgorithmDialog
fixes #14129
2016-01-19 09:03:23 +01:00
Matthias Kuhn
3529433729 Fix memory leak in rulebased renderer sip bindings 2016-01-19 00:23:13 +01:00
Nyall Dawson
7e90d5773f Whitespace fix 2016-01-19 08:42:02 +11:00
Alexander Bruy
b2ca6d0288 [fTools] correctly handle real fields in Random Points algorithm (fix #10140) 2016-01-18 17:01:35 +02:00
Alexander Bruy
c63d16a3b2 [gdaltools] allow multiple nodata valued in Build VRT tool (fix #11063) 2016-01-18 17:01:35 +02:00
Alexander Bruy
62a571d6dd [processing] skip invalid geometries when dissolving (fix #13752) 2016-01-18 17:01:35 +02:00
volaya
2b3cf83991 [processing] correctly handle default params in modeler 2016-01-18 15:02:11 +01:00
volaya
4c34871f0a [processing] fixed problems when opening/removing layers while alg dialog is open 2016-01-18 15:02:10 +01:00
Matthias Kuhn
433e3b8a37 Fix layer saving in transaction groups 2016-01-18 13:11:43 +01:00
Alexander Bruy
75926f52aa [processing] include GRASS path in the error message to make it more informative (fix #13188) 2016-01-18 12:17:55 +02:00
Matthias Kuhn
b66e50bf7b Fix build warnings 2016-01-18 10:40:06 +01:00
Marco Hugentobler
f728465121 Revert sipfile changes 2016-01-18 09:14:01 +01:00
Alexander Bruy
4451f29846 [processing] add layer and field names to the statistics output (fix #10089) 2016-01-15 19:29:39 +02:00
rldhont
322e511797 [Processing] Fix default value support in script
For some parameters like Number if no default is set script is invalid.
2016-01-15 17:25:48 +01:00
Alexander Bruy
e20cfc043c [DBmanager] add extension to file when exporting (fix #13733) 2016-01-15 17:41:48 +02:00
Denis Rouzaud
a1705ad652 order include in sip files 2016-01-15 15:28:03 +01:00
Marco Hugentobler
a47ae27859 Sip file test 2016-01-15 14:44:54 +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
Marco Hugentobler
7be304c34c Disable unit tests and add enum value to sip 2016-01-15 09:29:26 +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
Marco Hugentobler
193e9d7818 Update sip files 2016-01-14 13:46:13 +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
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