20027 Commits

Author SHA1 Message Date
Matthias Kuhn
0555d11042
Merge pull request #44266 from domi4484/labelRotationUnit
[labeling] specify unit for data defined label rotation
2021-09-06 10:45:00 +02:00
Mathieu Pellerin
4d2c24e850 [processing] Adjust st-dbscan algorithm to new duration parameter, change default unit to hours 2021-09-06 16:57:36 +10:00
Damiano Lombardi
3ce3a2bfa1 Better decimals parameter description 2021-09-06 08:33:18 +02:00
pathmapper
54e7e33d12 Translate also ":"
for languages which don't use a ":" character
2021-09-06 16:25:13 +10:00
pathmapper
c8e814a995 Don't include HTML tags for translations 2021-09-06 16:25:13 +10:00
pathmapper
5c4ab41886 Add missing information to HTML preview
and use same wording as in qgsprocessingutils
2021-09-06 16:25:13 +10:00
pathmapper
39b6d035bd Add only parameters with description and headers with parameters 2021-09-06 16:25:13 +10:00
pathmapper
4659870d5f Remove algorithm description header 2021-09-06 16:25:13 +10:00
pathmapper
dcef058ac1 Don't add ouputs to input parameters 2021-09-06 16:25:13 +10:00
Nyall Dawson
3f977b51a3 [api] Also expose method for adding additional (non-project) layers
to QgsMapLayerComboBox
2021-09-06 16:24:15 +10:00
Nyall Dawson
1d73ea86a6 [api] Add method to add additional layers to QgsMapLayerModel 2021-09-06 16:24:15 +10:00
Nyall Dawson
40bef07264 Correctly handle rendered item results stored when map canvas redraw
partially uses cached layer results
2021-09-06 12:38:33 +10:00
Nyall Dawson
8f2eb9238f Qgis::HttpMethod should be an enum class 2021-09-06 11:28:04 +10:00
Vincent Cloarec
9ce295ebbd
Mesh transform by expression (#44873)
[feature] [mesh] allows the user to make geom transformation of mesh frame by changing the vertices coordinates by expression. Each coordinates (X,Y,Z) of selected vertices can be calculated with an expression allowing transformation of the mesh while the mesh is still valid.

Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2021-09-03 08:48:41 +02:00
Etienne Trimaille
8b18399704 Add a POST parameter in the FileDownloader processing algorithm 2021-09-03 11:35:46 +10:00
Nyall Dawson
4ff1e55a21 [api] Add method to retrieve the nodes for an annotation item
For now all nodes just directly represent vertices in the item,
but the intention here is that they can represent any form of handle
which can be used to manipulate an item (e.g. a bezier curve point,
some "smart shape" handle for resizing or rotating an item, etc)
2021-09-03 08:06:48 +10:00
Nyall Dawson
f5bd9ccaee
[annotations] Implement scale dependent bounding box calculation for marker items 2021-09-02 14:45:18 +10:00
Nyall Dawson
21699794bd [api] Allow annotation layers to be included in filtered map layer proxy models 2021-09-01 17:27:25 +10:00
Nyall Dawson
26b536b068 Add QgsRubberBand::copyPointsFrom to quickly copy all points from
one rubber band to another
2021-09-01 17:25:45 +10:00
Damiano Lombardi
07e49fdabe QgsUnitTypes::FormatAngle show appropriate number of decimals 2021-09-01 07:54:10 +02:00
Damiano Lombardi
51a945ce1b Map rotate too display rotation unit 2021-09-01 07:54:10 +02:00
Damiano Lombardi
0874a6a4e3 QgsMapToolRotateLabel respect rotation unit 2021-09-01 07:54:10 +02:00
Damiano Lombardi
b19b39637e [labeling] test for rotation unit 2021-09-01 07:54:09 +02:00
Damiano Lombardi
44fb7d6714 [labeling] specify unit for data defined label rotation 2021-09-01 07:54:09 +02:00
nirvn
75c8eb7798 Add T test 2021-08-31 14:31:12 +07:00
Nyall Dawson
660433d9a9 [api] Add framework for collecting rendered item details during map
renderer operations

This follow a similar pattern as how labeling results could be collected
after a map render job, but generalises the API so that it can be
used for storing details of rendered items of any type.

It's currently used for storing details of rendered annotation items,
so that map tools can retrieve details of annotation items visible
in the canvas in an optimised way.
2021-08-31 11:04:29 +10:00
Nyall Dawson
b09994abcc Add a minimal data provider for annotation layers
Required for some nice things, like avoiding rendering slower
annotation layers in canvas preview jobs
2021-08-31 11:04:29 +10:00
Nyall Dawson
47bcf09af6 Rework annotation layer index handling
Because some annotation items have scale dependent bounding boxes,
we can only index items which have a fixed bounding box. Other
item bounds need to be dynamically determined based on a specific
render context. So rework the annotation layer index handling
to only index appropriate items and store other items in a non-indexed
item set.

This isn't ideal, because it means we need to clone ALL non-indexed
items upfront whenever we render an annotation layer (it's too expensive
to calculate their actual bounding box and selectively clone them,
as it's a process which blocks the main thread).

Hopefully we can think of an alternative approach to this down
the line so that we DO have some form of spatial index for scale
dependent items, unlocking better performance for annotation layers
with 10,000s of items. But we'll ignore that situation for now ;)
2021-08-31 11:04:29 +10:00
Nyall Dawson
b4acffbb31 Add flag for scale dependent bounding boes 2021-08-31 11:04:29 +10:00
Julien Cabieces
5c35b1cb82 Add external storage file widget drag'n drop support 2021-08-30 13:50:21 +10:00
Nyall Dawson
204af6f02f Fix a crash when destroying an extent widget while the "draw on canvas"
option is still active
2021-08-26 18:01:57 +10:00
Nyall Dawson
ff302ca075 Fix api 2021-08-26 12:56:45 +10:00
Nyall Dawson
136faab91f Fix system tables disappear from dialog after task runs 2021-08-26 12:56:45 +10:00
Nyall Dawson
f2f40096ab Add support for filtering system tables in QgsProviderSublayerProxyModel 2021-08-26 12:56:45 +10:00
Nyall Dawson
7f090f64d1 [api] Add flags to QgsProviderSublayerDetails, to indicate that
a sublayer is a system or internal table
2021-08-26 12:56:45 +10:00
Denis Rouzaud
3208b51102
Merge pull request #44709 from troopa81/feat_dms_connexion_webdav
[ExternalStorage] add WebDAV external storage implementation
2021-08-25 11:01:33 +02:00
Nyall Dawson
f3ffe7683d Add note to QgsFeatureRequest::setSubsetOfAttributes methods
to indicate that providers may ignore the subset in certain
circumstances

Refs #44621
2021-08-25 12:54:57 +10:00
Vincent Cloarec
bc192a60b2
Mesh expressions: add $vertex_as_point and $vertex_z functions (#44786)
* mesh expression $vertex_as_point $vertex_Z_value

* functions help

* SIP, doc and indentation

* fix SIP

* fix help file

* change function name and add Meshes group description

* fix typo

* fix strings and docs

* typo
2021-08-24 20:56:16 +02:00
Julien Cabieces
ff08ad4733 adds finished signal and deprecates downloadFinished 2021-08-24 11:04:26 +02:00
nirvn
2a2eace0e1 Move generalHtmlMetadata to QgsMapLayer class, guard from null data provider, harmonize looks and details ordering across map layer types 2021-08-24 14:52:40 +10:00
nirvn
0ab3442ead [FEATURE][ui] Show dataset file size and last modified information in the layer properties window 2021-08-24 14:52:40 +10:00
Germán Carrillo
a31af8b77a In installFromZipFile(), if plugin was active, no need to call startPlugin() before reloading it. This commit makes installFromZipFile() act like installPlugin(). 2021-08-24 12:37:42 +10:00
Germán Carrillo
926a1b6100 In uninstallPlugin(), remove plugin's QSetting (inside group 'PythonPlugins'), which says if a plugin is available 2021-08-24 12:37:42 +10:00
Julien Cabieces
0034f4922d fix spellcheck typos 2021-08-23 17:35:54 +02:00
Julien Cabieces
96eb75a118 [ExternalStorage] add WebDAV external storage implementation 2021-08-23 17:35:52 +02:00
Alexander Bruy
cfc72ca5f9 handle new point cloud parameter in description files (follow up
f801cb6816)
2021-08-23 09:18:35 +10:00
Alessandro Pasotti
a25f798d04
Merge pull request #44710 from elpaso/dd-form-actions
[feature] Drag & Drop designer form actions
2021-08-19 17:23:22 +02:00
Vincent Cloarec
bd6ac0e54d
save mesh from URI (#44758)
[mesh] fix saving a mesh frame with URI
2021-08-19 09:06:57 +02:00
Vincent Cloarec
2cdc666fb5
fix maximum vertices count per face for mesh editing (#44759)
fix writing UGRID format (mesh layer)
2021-08-19 09:05:15 +02:00
Nyall Dawson
aeb7d89a24 Use a spatial index to optimise annotation layer item retrieval 2021-08-19 13:26:36 +10:00