29494 Commits

Author SHA1 Message Date
volaya
11b5092140 [processing] allow output directly on PostGIS tables 2015-11-06 11:36:27 +01:00
volaya
22ace3df2e [processing] minor indentation fix 2015-11-06 11:36:26 +01:00
volaya
8d8fac46e7 [processing] do not format errors before sending to log 2015-11-06 11:36:25 +01:00
volaya
4692eb526b [processing] don't use temp folder for default output folder 2015-11-06 11:36:24 +01:00
volaya
54bdcefc11 [processing] hide SAGA folder option if built-in SAGA is available 2015-11-06 11:36:23 +01:00
volaya
edb3cf350e [processing] add option to add validators to settings 2015-11-06 11:36:22 +01:00
volaya
b3b33799d9 [processing] fixes for representing input values in history 2015-11-06 11:36:21 +01:00
Nyall Dawson
de1540357b [expressions] Add make_line and make_polygon functions 2015-11-06 20:09:48 +11:00
Nyall Dawson
fccf54b2d7 Fix crash on malformed WKT strings 2015-11-06 20:09:39 +11:00
Nyall Dawson
12e34f2672 [expressions] Allow make_point to accept z/m values, add new
make_point_m for creation of PointM geometries. Also add
m(point) and z(point) functions for retrieving z/m value of
a point or node.
2015-11-06 20:09:13 +11:00
Nyall Dawson
7439643934 Fix delimited text layers set to unknown geometry type if first row has
null geometry (fix #13749)
2015-11-06 20:08:30 +11:00
Jürgen Fischer
6a1d206536 Merge pull request #2418 from nyalldawson/postgres_in
Use IN (...) for postgres FilterFids requests
2015-11-05 22:02:53 +01:00
Werner Macho
fd485010a5 translation update for consolidation
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-11-05 20:27:18 +00:00
Werner Macho
bc042a5e65 cleanup after consolidating chinese 2015-11-05 20:26:53 +00:00
Alessandro Pasotti
f982c842eb Merge pull request #2420 from elpaso/bugfix-13410
[FEATURE] Bugfix 13410
2015-11-05 21:06:44 +01:00
elpaso
cf4693e326 Changed the toolip with the new information 2015-11-05 20:19:03 +01:00
elpaso
322496a704 Fixed save/load from DB sync init 2015-11-05 19:14:58 +01:00
Vincent Mora
700fc043a4 Merge pull request #2414 from vmora/varying_width_assistant
[FEATURE] assistant for varying line width
2015-11-05 16:48:43 +01:00
elpaso
42239bcd96 Added coding utf8 header to example 2015-11-05 14:46:05 +01:00
elpaso
d2da60a12c Added import and tabs in the example 2015-11-05 14:42:05 +01:00
elpaso
f810d8158a Default false for use init code 2015-11-05 14:41:20 +01:00
vmora
6d1d213973 [FEATURE] assistant for varying line width
The qgssizescalewidget as been modified to handle line symbols as well
as markers.
The scale expression has been enhanced to support general exponentials
(i.e. eponents different from Flanery .57 and Area .5a)
The assistant as been modified to disply the exponent when Exponential
scaling is required.
2015-11-05 14:14:36 +01:00
Nathan Woodrow
faeedfb5b8 Fix text color in attribute table for dark theme 2015-11-05 21:48:47 +10:00
Nyall Dawson
6d705ad804 Fix warning 2015-11-05 21:30:51 +11:00
Nyall Dawson
fe3417b5ef Partial revert of 70bff3f
Commit was causing crashes in browser. Refs #13738
2015-11-05 21:23:04 +11:00
Nyall Dawson
e0fc9a9c72 Use FilterExpression request for get_feature expression function
Makes the function magnitudes faster for Postgres layers where
the expression is compiled and can take advantage of Postgres
indexes on the layer.
2015-11-05 21:22:54 +11:00
Nyall Dawson
6772ffb97d Much faster zoom to selection on large PostGIS layers 2015-11-05 21:22:43 +11:00
Nyall Dawson
33fe0e2d49 Also use FilterFids when field calculator is only updating selected
features. Results in similar speed improvements when updating
only selected features from a large PostGIS layer
2015-11-05 21:22:27 +11:00
Nyall Dawson
f0d31b03a9 Use a FilterFids request for vector file writer rather than fetching
all features and then testing the feature id when saving selected
features

For providers such as Postgres this is orders of magnitude faster.
Eg, saving 6 selected features from a 800k PostGIS table now
takes < 1 second as opposed to ~33 seconds

Fix #8334
2015-11-05 21:22:16 +11:00
Nyall Dawson
79647728bd Use IN (...) for postgres FilterFids requests when the primary
key is a simple (non compound) type

IN (...) is much faster than chained ...OR... clauses

Additionally, trying to filter by a large number of feature Ids
(eg > 30k ) fails when using the ...OR... approach, but works
using IN
2015-11-05 14:51:17 +11:00
elpaso
954b39d389 [FEATURE] store python init code into the project
Adds an option and code editor to store python form
init code into the project (and the DB, since it's in
the style section)
2015-11-04 18:03:27 +01:00
elpaso
e69bebdda0 Added /Out/ to run 2015-11-04 18:02:13 +01:00
elpaso
3d20081f93 Initial implementation 2015-11-04 13:54:36 +01:00
elpaso
842753e341 Initial implementation 2015-11-04 13:54:36 +01:00
Nathan Woodrow
8c86aab0f4 [Expressions] Redesign expression function editor.
Add auto save
2015-11-04 21:27:00 +10:00
Alessandro Pasotti
90a82ba680 Removed Q_UNUSED 2015-11-04 12:25:12 +01:00
Alessandro Pasotti
524febe070 Merge pull request #2417 from elpaso/bugfix-11266
Bugfix 11266
2015-11-04 11:22:09 +01:00
elpaso
086525b01b Pass referencing record instead of referenced 2015-11-04 10:37:43 +01:00
elpaso
bd9cdae196 Added comment 2015-11-04 10:37:43 +01:00
elpaso
3991307d48 Removed noop 2015-11-04 10:37:43 +01:00
elpaso
1627d510c5 Reverted to original code 2015-11-04 10:37:43 +01:00
elpaso
35d09825bf Added new method to bindings 2015-11-04 10:37:43 +01:00
elpaso
ba4895defd Implemented setFeatureSelectionManager in QgsListView
Partially fixes #11266

 * now passing editor context to QgsFeatureSelectionDlg
   (otherwise fails on assert parentContext.vectorLayerTools())
 * still crashes at the provider level after saving
 * unlink still doesn't work
2015-11-04 10:37:43 +01:00
elpaso
93bd825e1e Fixed disappearing item issue when subform editing
see #11266
2015-11-04 10:37:43 +01:00
volaya
8187ad50c9 [processing] some fixes for supporting optional parameters 2015-11-04 09:51:44 +01:00
Alexia Mondot
0cc92ffea6 [processing/otb]update xml and associated html docs 2015-11-04 09:51:43 +01:00
Alexia Mondot
5e9647d3ff [processing/otb]Add specific rule to load ComputeOGRLayersFeaturesStatistics 2015-11-04 09:51:41 +01:00
Alexia Mondot
c548f8d8a4 [processing/otb]convert ListView in StringList for other applications than Radiometric Indices 2015-11-04 09:51:40 +01:00
Alexia Mondot
04907d199f [processing/otb]divide into 2 functions 2015-11-04 09:51:39 +01:00
Alexia Mondot
41c15e770a [processing/otb]Add function to customize creation and loading of new applications 2015-11-04 09:51:38 +01:00