5372 Commits

Author SHA1 Message Date
volaya
7e79398601 [processing] fixed adding raster layer to project
fixes #13791
2015-11-08 17:55:25 +01:00
volaya
86556c227b [Processing] corrected wrong change in config dialog 2015-11-08 16:31:45 +01:00
volaya
f0bbb88944 [Processing] fixed #13790 (issue saving config option) 2015-11-08 16:28:10 +01:00
Nathan Woodrow
4cc6650d55 Forgot sip for composerTemplatePaths 2015-11-07 10:14:53 +10:00
volaya
9f3bd1d46d [processing] minor fix in parameter parsing in scripts 2015-11-06 14:02:38 +01:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
b05fb0b5b0 [processing] better naming for output memory and postgis layers 2015-11-06 11:36:28 +01:00
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
Alessandro Pasotti
f982c842eb Merge pull request #2420 from elpaso/bugfix-13410
[FEATURE] Bugfix 13410
2015-11-05 21:06:44 +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
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
Nyall Dawson
fe3417b5ef Partial revert of 70bff3f
Commit was causing crashes in browser. Refs #13738
2015-11-05 21:23:04 +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
Nathan Woodrow
8c86aab0f4 [Expressions] Redesign expression function editor.
Add auto save
2015-11-04 21:27:00 +10:00
elpaso
35d09825bf Added new method to bindings 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
Alexia Mondot
9c7d206b56 [processing/otb]update lists for OTB 5.0 2015-11-04 09:51:37 +01:00
Alexia Mondot
9256e57cb6 [processing/otb]compatibility with new version of processing 2015-11-04 09:51:36 +01:00
Alexia Mondot
85bea7d446 [processing/otb]remove unused code and imports 2015-11-04 09:51:35 +01:00
rldhont
3472ac80d8 [Processing] Manage optional parameters
Can't set parameters to null (None or '') if the parameter is not optional
2015-11-04 09:51:34 +01:00
rldhont
55e75addce [Processing] Optional parameters for script and model
In processing core every parameters can be optional but in scripts there is no way to define a parameter as optional and in modeler only layers can be optional.

For script, I propose a notation like output, if a parameter token starts with optional the parameter is optional.

For model, I propose to add the required combobox to all parameters.

This proposition does not change the value setter.

This proposition can fix the issue http://hub.qgis.org/issues/5488.
2015-11-04 09:51:33 +01:00
radosuav
f7a7a78cba [Processing] Improve code readability (follow up 36d1377) 2015-11-04 09:51:32 +01:00
radosuav
507aeb0507 [Processing] Allow "progress" to be specified when calling processing.runalg
This is mostly so that algorithms executed in Processing scripts can
display messages in the same way as if they were executed directly from
Processing toolbox.

Also fixes a small issue with busy cursor being reset too early when
algorithms were executed from Processing scripts.
2015-11-04 09:51:30 +01:00
Nyall Dawson
da942233e7 Add DE-9IM variant which tests against a specified pattern
(available in PyQGIS/expression engine)
2015-11-04 16:03:55 +11:00
Nyall Dawson
9e84fcafd8 Followup 2ac5933 with more data defined fixes
2ac5933 fixed the regression in 2.12, but there were more underlying
issues from <2.8 causing sub symbols with data defined properties
to be ignored.

Add some tests.

(refs #13707)
2015-11-04 16:03:46 +11:00
Angelos Tzotsos
547d1e3936 add national geodata.gov.gr CSW (rename) 2015-11-03 20:09:04 +02:00
Tom Kralidis
5addc0ca4b add national geodata.gov.gr CSW 2015-11-03 12:34:57 -05:00
Hugo Mercier
d16cdcf449 Add more options for filtering legend elements
This introduces two new options to filter legend elements:
- filter by expression: a boolean expression can be set. Only symbols of
features that make the expression evaluated to true will be kept in the legend
- filter by polygon: only symbols of features that are inside the given
polygon will be part of the legend.

The polygon filtering is used in particular for a new option in the
composer legend that allows to filter out anything that is not included
in the current atlas polygon.
2015-11-03 10:39:09 +01:00
Nathan Woodrow
1b435ed965 [Py Console] Remove message on file change 2015-11-03 10:30:37 +10:00
volaya
584c86d629 Merge pull request #2403 from medspx/processing_get_scripts_proxy
[Processing] Add proxy support for Get scripts and models (fixes #13412)
2015-11-02 13:29:43 +01:00
Nyall Dawson
556d87a86c Fix some clang warnings 2015-11-02 18:07:16 +11:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
Alessandro Pasotti
feab3ad8ec Merge pull request #2405 from elpaso/symbol-export-select-by-group
Interactive selection by group of exported symbols
2015-10-28 18:22:40 +01:00
elpaso
a141ffb390 Interactive selection by group of exported symbols
This fixes #11681
2015-10-28 17:31:21 +01:00
volaya
2bb0cf9fad Merge pull request #2398 from mdouchin/patch-1
[processing] Debug ConcaveHull.py
2015-10-28 15:10:53 +01:00
volaya
b339ad13c8 Merge pull request #2399 from NaturalGIS/processing_fix_grass7_v_out_ogr
fix processing GRASS 7 v.out.ogr
2015-10-28 15:06:53 +01:00
Salvatore Larosa
c866dcce8f [pyqgis-console] fixes #13693: fix default value in settings for the last used directory when opening a script file 2015-10-28 14:52:29 +01:00
Nyall Dawson
fc49f8dfa9 Add test for coverage of SIP bindings
Not perfect, but good for a quick warning if a new class or member
has been added to the public API without Python bindings. The test
only considers the name of members, since it seems to be impossible
to test for the signature of a Python member. (So adding a new
overloaded method without bindings will still unfortunately pass).

You can avoid the test where bindings are not applicable:
- for a whole class by placing "@note not available in Python bindings"
in the class' Doxygen comments
- or by placing the @note inside a member's Doxygen comments for a
specific member

Additionally, classes which aren't included in the API docs
will not be tested.
2015-10-28 09:54:27 +11:00