16023 Commits

Author SHA1 Message Date
Nyall Dawson
f4d407d9ee Add fromBezierCurve method to QgsLineString
Returns a new QgsLineString as a segmentized version of a bezier curve.
2019-09-13 05:37:37 +10:00
Alessandro Pasotti
9b7a2cd5d1
Merge pull request #31673 from elpaso/server-api-wfs3-acl
Server api wfs3 acl
2019-09-12 15:07:28 +02:00
Alexander Bruy
3f54e1db9a use doublequotes for indentifiers as required by GDAL's RFC52 2019-09-12 12:09:29 +03:00
Alexander Bruy
e1c97dc5ba [processing] quote field names in GDAL commands (fix #30878) 2019-09-12 10:52:31 +03:00
Nyall Dawson
423b779411 [needs-docs] Add iface.pluginHelpMenu()
Returns a reference to the main window "Plugin Help" sub-menu.

Plugins are encouraged to insert help and about actions in this submenu instead of creating
a submenu under the pluginMenu() which solely contains Plugin Help or About actions.

For example, a plugin which only implements a processing provider should not
create additional ui menus just to link to the plugin help pages. Rather, they
should use this new submenu (available under the Help menu) to insert
their help links.
2019-09-12 11:27:42 +10:00
Alessandro Pasotti
67c8e56f9c QGIS Server WFS3 ACL + alias + excluded fields
Takes into account aliases, excluded attributes and ACL plugins
2019-09-10 18:21:53 +02:00
Alessandro Pasotti
95c0ad54ff WFS3 add ACL and other visibility options 2019-09-10 18:21:53 +02:00
Nyall Dawson
c02686dbd0 Add API for volume units to QgsUnitTypes
Complements the existing API for distance and area handling
2019-09-09 20:12:45 +10:00
rldhont
cc58cba93d API: Define QgsVectorLayerServerProperties to manage QGIS Server properties like WMS DImensions 2019-09-07 16:07:10 +02:00
rldhont
3edd081cc1 Update UI to manage QGIS Server WMS Dimensions 2019-09-07 16:05:10 +02:00
Matthias Kuhn
bf8263a40f
Merge pull request #31377 from seralra96/fix_30063
Prevent installation of ZIP plugins if they don't have the root folder
2019-09-07 08:47:34 +02:00
Nyall Dawson
2212617f0c Reuse a single expression context when building icons in QgsStyleModel
Whilst usually this is bad practice (reusing an existing expression context),
and instead you should make a new context for every batch of expression evaluations,
we can't do this in the style model and we end up potentially creating
thousands of new contexts. So instead, we use a single one, which is
safe because the actual expression context used here is a very
basic one...
2019-09-07 15:56:40 +10:00
Nyall Dawson
6b1e96c180 Make a shared instance of QgsStyleModel for the default application style
This allows shared caching of symbol icons, greatly speeding up display
of views which use style models
2019-09-07 15:56:40 +10:00
Nyall Dawson
d94329a788 Make QgsProject responsible for project expression context creation,
and cache the project expression context as much as possible

This scope can be expensive to create upfront, but is cheap to copy
2019-09-07 15:56:40 +10:00
Geoff Kimbell
283c8b813a [processing] fix gdalwarp handling of custom projection for target extent
Fixes #31276
2019-09-07 08:24:14 +10:00
Sergio Ramírez
8b68121ac2 Use QgsHelp Class instead webbrowser lib to point to the documentation in The Install From ZIP tab 2019-09-06 12:16:47 -05:00
Sergio Ramírez
23dd0f0399 Change message wording and add a button for more information pointing to the documentation 2019-09-06 10:28:34 -05:00
Juergen E. Fischer
c5fbddc827 typo fix
[ci skip]
2019-09-06 15:44:24 +02:00
Matthias Kuhn
87b1aa9a5d
Merge pull request #31374 from troopa81/parallelize_snap_caching
[FEATURE] Parallelize snap index build
2019-09-06 13:29:06 +02:00
Julien Cabieces
57aec1f4af Fix documentation 2019-09-06 11:55:06 +02:00
Julien Cabieces
c699ab5eb9 Don't break QgsMapCanvasSnappingUtils API 2019-09-06 10:41:28 +02:00
Julien Cabieces
50f3a02eca don't beak API and remove QFuture includes 2019-09-06 10:28:27 +02:00
Julien Cabieces
0e98585fee fix spell errors 2019-09-06 09:42:23 +02:00
Julien Cabieces
42be18c40a Improve task management 2019-09-06 09:42:23 +02:00
Julien Cabieces
119106520e Fix doxygen 2019-09-06 09:42:22 +02:00
Julien Cabieces
1fee18479a add the deprecated doxygen tags 2019-09-06 09:42:22 +02:00
Julien Cabieces
4081bea801 Use TaskManager to build index 2019-09-06 09:42:22 +02:00
Julien Cabieces
ba867b46c6 Add asynchronous bool on QgsSnappingUtils/QgsPointLocator API 2019-09-06 09:42:22 +02:00
Julien Cabieces
f475c28753 s/an other/another 2019-09-06 09:42:22 +02:00
Julien Cabieces
ead7481e3f [FEATURE] Parallelize snap index build 2019-09-06 09:36:16 +02:00
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