12796 Commits

Author SHA1 Message Date
Nyall Dawson
fe93993ab8 Fix typo 2018-05-17 08:50:39 +10:00
Nyall Dawson
0d21bd0429 [processing] Include description in algorithmHelp output 2018-05-17 08:50:39 +10:00
Nyall Dawson
b98f8f1d37 [processing] Also filter using algorithm short descriptions 2018-05-17 08:50:39 +10:00
Nyall Dawson
5edcc64f72 [processing] Allow algorithms to return a translated short description
This is used in the algorithm's tooltip in the toolbox, and is intended
for single sentence description of the algorithm, e.g.
"Converts 2D features to 3D by sampling a DEM raster."

Convert grass algorithms to use short description for the
descriptive parts of their names, to cleanup the toolbox
and make it more uniform.
2018-05-17 08:50:39 +10:00
Alexander Bruy
e56ff6838d
Merge pull request #7004 from alexbruy/select-atribute
[processing][needs-docs] add selection methods to Select by attribute algorithm
2018-05-16 16:48:03 +03:00
Alexander Bruy
15a5d91770 [processing] improve polar plot algorithm help (fix #16679) 2018-05-16 15:25:55 +03:00
Alexander Bruy
1783394b6b [processing] don't use function annotations as this breaks build on
systems with Python < 3.3 (fix #18961)
2018-05-16 14:43:32 +03:00
Alexander Bruy
580509fd5e [processing][needs-docs] add selection methods to Select by attribute
algorithm (fix #18682)
2018-05-16 11:20:09 +03:00
Alessandro Pasotti
a44eeae441
Merge pull request #6982 from elpaso/currentformfeature-expressions-4
[feature][need-docs] Current feature/current value form context expressions
2018-05-16 09:48:06 +02:00
Nyall Dawson
825a697ecf Add missing ellipsis to db manager action 2018-05-16 14:08:43 +10:00
Nyall Dawson
408da45877 [needs-docs] Place core plugin actions into top level menus
when plugin only has a single action

Affected actions:
- Database -> DB Manager -> DB Manager
- Coordinate Capture -> Coordinate Capture
- Vector -> Geometry Tools -> Geometry Checker
- Raster -> Georeferencer -> Georeferencer
- Vector -> Topology Checker -> Topology Checker

These are now just top level actions, e.g.
- Database -> DB Manager
2018-05-16 14:08:43 +10:00
Nyall Dawson
d0c14ef0c7 [dbmanager] Fix bad import in vlayers plugin 2018-05-16 14:08:43 +10:00
Nyall Dawson
d864cd6725 [processing] Correctly capitalize menu entry actions, add ellipsis 2018-05-16 14:08:43 +10:00
Nyall Dawson
6c02d0534a Super-basic title-case conversion method
No grammatical parsing, so only useful for very simple cases
2018-05-16 14:08:43 +10:00
Denis Rouzaud
ff35e694bb fix (again) install of qgis.core.additions 2018-05-15 17:26:41 -04:00
Nyall Dawson
74b0e910db [processing] Fix some exceptions 2018-05-16 04:35:17 +10:00
Nyall Dawson
c9e5a36558 [processing] Avoid generic exceptions
Makes the full Python exception available when running algorithm,
which provides much more useful error messages
2018-05-16 04:35:17 +10:00
Alessandro Pasotti
673fac0c88 Added methods to search expression nodes and drop RegExp
- nodes() return the list of all nodes
- findNodes<T> returns a list of the nodes matching the class

Also drops the regexp for finding form attrs in the value-relation
expressions.

Other minor fixes as suggested in the PR review.
2018-05-15 18:32:40 +02:00
Denis Rouzaud
cd34da8038
also install additions py files in their directory (#7000) 2018-05-15 05:02:08 -08:00
Alexander Bruy
a68774494c
Merge pull request #6996 from alexbruy/processing-grass-formats
[processing] allow GRASS algorithms to save vectors in any GDAL-supported format
2018-05-15 15:00:22 +03:00
Nyall Dawson
0383a14825 [processing] Create Attribute Index can run on non-spatial layers 2018-05-15 20:21:08 +10:00
Alexander Bruy
67965ca3d0 [processing] use GPKG as default output format for GRASS 2018-05-15 13:15:00 +03:00
Alexander Bruy
98586461b9 [processing] add test for output to GPKG 2018-05-15 13:14:30 +03:00
Alexander Bruy
8aa56fc38f [processing] fix GRASS vector tests 2018-05-15 12:53:50 +03:00
nirvn
483b4ff977 remove processing ftools bitmap icons 2018-05-15 16:37:25 +07:00
nirvn
bc0f75334f [needs-docs][processing] vectorize & improve remaining vector menu icons 2018-05-15 16:37:25 +07:00
nirvn
9a82dbe197 [needs-docs][processing] vectorize and improve remaining data analysis menu icons 2018-05-15 16:37:25 +07:00
Alexander Bruy
cf599685cb [processing] vector outputs can be saved in any GDAL-supported format
Thanks to Médéric RIBREUX
2018-05-15 10:57:09 +03:00
Alessandro Pasotti
b4f86147c7 Add referencedFunctions() to expressions 2018-05-15 09:20:10 +02:00
Alessandro Pasotti
541737681b Moved form feature to private and added setters/getters
plus other minor style changes as suggested by m-kuhn
in his PR review
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
nirvn
4d36f37004 [needs-docs][processing] rename export geom. columns to add geom. attributes 2018-05-15 12:10:11 +07:00
nirvn
5cb8c2523e [needs-docs][processing] vectorize and improve remaining geometry tools menu icons 2018-05-15 12:10:11 +07:00
Denis Rouzaud
c5ee15a97c
Merge pull request #6987 from 3nids/pyqgis_additions
[pyqgis] move qgis.core tricks to their own python file in additions folder
2018-05-14 16:21:41 -08:00
Denis Rouzaud
261e5f74ec bring back PyQt.QtCore.NULL in qgis.core 2018-05-14 19:53:02 -04:00
Denis Rouzaud
831512c98f [pyqgis] fix py files in subdirectory not correctly installed 2018-05-14 18:01:09 -04:00
Denis Rouzaud
6e33bdcdc4 [pyqgis] move qgis.core tricks to their own python file in additions folder
this makes the code much easier to read
2018-05-14 18:00:39 -04:00
Luigi Pirelli
9b28e3d7f5 Port gdalcalc with formula excaping fix (#6984)
Resurrect gdalcalc algorithm from 2.x
2018-05-15 07:59:00 +10:00
Alexander Bruy
c985092a6d fix typo 2018-05-14 18:47:14 +03:00
Denis Rouzaud
fca72fa7d1 put back module sip files 2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
8b130f1c14 move auto generated sip file in dedicated folder (server+analysis) 2018-05-14 10:41:52 -04:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00
Denis Rouzaud
45e5b3fb79 [pyqgis] comment some core additions 2018-05-14 10:21:07 -04:00
arnaud.morvan@camptocamp.com
81dabd185c [processing] Finish default values in model for destination parameters 2018-05-14 22:12:32 +10:00
Nyall Dawson
c5f478c38f [processing] Fix destination resets to 'memory:' instead of temporary layer 2018-05-14 22:12:32 +10:00
Nyall Dawson
1a45a79719 [processing][model] Fix handling of mandatory checkbox in output definitions 2018-05-14 22:12:32 +10:00
arnaud.morvan@camptocamp.com
4ccd4446fe [processing] Add default values in model for destination parameters 2018-05-14 22:12:32 +10:00
Nyall Dawson
8d5e5c944d Add a newNameChanged signal to QgsNewNameDialog
Handy for subclasses.
2018-05-14 17:22:42 +10:00