15792 Commits

Author SHA1 Message Date
Sandro Santilli
a01db6409c Have TopoViewer use custom layer ordering
This is used to make sure edges are rendered above faces and nodes
above edges, despite legend order.
2019-09-06 08:46:53 +02:00
Julien Cabieces
3abbc0f178 Digitize the geometry from the relation reference widget add button (#30905)
* [FEATURE] [needs-docs] Add the possibility to digitize the geometry
when creating a feature from the plus button on the relation reference widget
2019-09-06 08:28:59 +02:00
nirvn
c1cce181b4 [ui] Make the show bookmarks action focus on browser panel's bookmark node 2019-09-06 11:38:55 +07:00
Nyall Dawson
3af35b5844 [FEATURE] "Reselect Features" action in Edit -> Select menu
Allows restoration of a layer's selection following a selection
clear operation. Handy for anyone who has ever painstakingly
built a custom selection only to accidently click and clear
this selection...
2019-09-06 13:08:18 +10:00
Nyall Dawson
b533fbaeb2 Allow individual groups of bookmarks to be exported
Also avoids the unfortunate situation where the first item shown
in the right click menu for a bookmark group is the "delete" action
2019-09-06 13:02:04 +10:00
Nyall Dawson
a426fdaea2 [FEATURE] Bookmark groups can be renamed in browser 2019-09-06 13:02:04 +10:00
Nyall Dawson
c409025409 [FEATURE][processing] New algorithm "Split features by character"
This algorithm splits features into multiple output features by
splitting a field's value with a specified character.

For instance, if a layer contains features with multiple comma
separated values contained in a single field, this algorithm can
be used to split these values up across multiple output features.

Geometries and other attributes remain unchanged in the output.

Optionally, the separator string can be a regular expression for
added flexibility.

Designed for use in models which need to process input files
with multiple concatenated values in a single attribute, e.g.
geocoding a table with "address1,address2,address3" format strings
2019-09-06 11:09:37 +10:00
Stephen Knox
a39a413b92 Fixing db_manager so that it can run sql with inline comments
Fixes #29089
2019-09-06 10:26:34 +10:00
Harrissou Sant-anna
2f95dd7701 Remove duplicate 'Ctrl+Shift+M' shortcuts 2019-09-06 07:38:33 +10:00
Giovanni Manghi
7b680f80d6 fix SAGA seeds generation tool 2019-09-06 05:29:50 +10:00
Nyall Dawson
1537f83614 Fix some algorithms fail to execute correctly in in-place mode 2019-09-06 05:29:08 +10:00
Nyall Dawson
4619a810e6 [FEATURE] Add import/export bookmarks actions to browser right-click bookmarks menu 2019-09-06 05:28:46 +10:00
Nyall Dawson
e0c38e555f Consolidate some duplicate code relating to zooming canvas to bookmarks 2019-09-05 14:50:48 +10:00
Nyall Dawson
16787abbe9 Fix broken rename support in browser 2019-09-05 14:50:48 +10:00
Nyall Dawson
58975e7cee Add API to QgsCustomDropHandler to support custom drop handlers which
allow drops onto a QgsMapCanvas
2019-09-05 14:50:48 +10:00
Alexandre Neto
fbb9fdd680 Fix Saga Raster Skeletonization algorithm
The saga tool expects integers only for the convergence parameter.
2019-09-05 11:49:36 +10:00
nirvn
b5b869b4f4 [FEATURE][browser] Add bookmarks data items to the browser panel 2019-09-04 17:08:15 +07:00
Peter Petrik
635c1b54d8 Allow to use WMS as static provider 2019-09-04 07:49:09 +02:00
Nyall Dawson
4e51938559 Address review comments 2019-09-04 14:19:47 +10:00
Nyall Dawson
62f28f4201 Fix broken see also link 2019-09-04 14:19:47 +10:00
Nyall Dawson
5f68abfa48 Create a sorting proxy model for bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
c46721559b Add some custom roles to model 2019-09-04 14:19:47 +10:00
Nyall Dawson
1afa6a8ec5 New class QgsBookmarkManagerModel
Move bookmark model logic to core, add tests
2019-09-04 14:19:47 +10:00
Nyall Dawson
aa3a83c7bd Add unit test for importing/exporting bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
9d49389271 Improve performance of bookmark storage/loading 2019-09-04 14:19:47 +10:00
Nyall Dawson
e3bba1817c Use a xml file for application bookmark storage instead of qsettings 2019-09-04 14:19:47 +10:00
Nyall Dawson
8b4d317142 Port import/export functionality to QgsBookmarkManager, remove SQLITE
based model
2019-09-04 14:19:47 +10:00
Nyall Dawson
d0d6ae4b96 Add method to move bookmarks between managers 2019-09-04 14:19:47 +10:00
Nyall Dawson
45a5daa7bf Transition old application bookmarks to new store 2019-09-04 14:19:47 +10:00
Nyall Dawson
5db08f0c75 Attach a global bookmark manager to QgsApplication 2019-09-04 14:19:47 +10:00
Nyall Dawson
58efa2ed6a Add API for updating bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
5aa07abfb4 Add some missing equality operators 2019-09-04 14:19:47 +10:00
Nyall Dawson
d8300987e8 [FEATURE][API] New class QgsBookmarkManager
Attached to QgsProject, this provides a stable, supported method
of managing project bookmarks (vs the old undocumented, not stable
approach of directly manipulating project keys)
2019-09-04 14:19:47 +10:00
Luigi Pirelli
25ffc9f1c7 Hey! the var is dynamic! 2019-09-04 01:51:53 +10:00
Luigi Pirelli
7eaccc9049 changed to row_number to be consistent with other expression variables 2019-09-04 01:51:53 +10:00
Luigi Pirelli
a4b9ef73fd Added batch_number variable in algorithm scope to allow use it in the expression editor in Processing batch context 2019-09-04 01:51:53 +10:00
Denis Rouzaud
db7f8c385a rename listToValues to classesToBreaks 2019-09-03 13:51:15 +02:00
Denis Rouzaud
ec37076532 add __repr__ for QgsClassificationRange 2019-09-03 13:34:28 +02:00
Denis Rouzaud
397f0f69f7 fix API docs 2019-09-03 10:59:37 +02:00
Denis Rouzaud
66ef2fa4c2 classification method registry orders methods by name 2019-09-03 10:08:16 +02:00
Denis Rouzaud
24c16fcbdc implement virtual icon() for classification methods 2019-09-03 10:05:46 +02:00
Denis Rouzaud
5fd76ffb9a [FEATURE] add logarithmic scale method for graduated renderer
So easy with new API :)
2019-09-03 08:08:38 +02:00
Nyall Dawson
1aeb4d5d79 Try to fix dox warning 2019-09-03 10:35:21 +10:00
Nyall Dawson
4d67f803b4 Fix leak 2019-09-03 10:35:21 +10:00
Nyall Dawson
6de34d472e Add missing SIP_DEPRECATED 2019-09-03 10:35:21 +10:00
Nyall Dawson
bf61a94b4a Don't pass doubles by reference, pass lists by reference 2019-09-03 10:35:21 +10:00
Denis Rouzaud
b3d52df67b
Merge pull request #31500 from 3nids/refactor_classification
Refactor graduated symbol renderer
2019-09-02 14:57:18 +02:00
Denis Rouzaud
9a089132a3 remove Q_DECL_DEPRECATED as Doxygen throws a warning 2019-09-02 12:59:58 +02:00
Denis Rouzaud
b2dd626959 use flags to defined classification method properties 2019-09-02 12:57:34 +02:00
Denis Rouzaud
734e99e1e0 add classification methods to API docs 2019-09-02 10:16:21 +02:00