12807 Commits

Author SHA1 Message Date
Denis Rouzaud
83ccff2aad
Merge pull request #7017 from 3nids/locator_subgroup
[QgsLocator] add the capability of adding group for elements within t…
2018-05-17 18:28:15 -08:00
Denis Rouzaud
c1e16969f3 [QgsLocator] add the capability of adding group for elements within the same filter 2018-05-17 21:46:31 -04:00
matteo
2a7c10e719 change empty '' with None 2018-05-18 08:44:02 +10:00
matteo
57106986d6 [processing] change 0 to Not set Null value also for contour 2018-05-18 08:44:02 +10:00
matteo
9d7212f3d4 [processing] change 0 to Not set Null values in Gdal Clip 2018-05-18 08:44:02 +10:00
Blottiere Paul
4b7012045c Update sip binding 2018-05-17 10:34:20 +01:00
Denis Rouzaud
1a879b18a1
Merge pull request #7002 from 3nids/sip_metoobject
[sipify] insert missing QMetaObject for gadget classes
2018-05-16 17:54:06 -08:00
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
Denis Rouzaud
2abcfa23b8 do not add static QMetaObject to QgsDefaultValue
it has no Q_ENUM so no need for now
I do not understand while it doesn't compile though
2018-05-16 14:25:01 -04:00
Denis Rouzaud
95ecea897a move additions from top __init__ to core.__init__ 2018-05-16 11:29:28 -04: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
Denis Rouzaud
5790bbcad6 fix QgsAbstractGeometry Q_GADGET position 2018-05-16 07:54:17 -04: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
e8cf8c2f1c [sipify] insert missing QMetaObject for gadget classes 2018-05-15 17:38:16 -04: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