nirvn
8398aae04b
[needs-docs][processing] Use input layer data type for gdal algorithms
...
when appropriate:
- warp (i.e. reproject)
- translate (i.e. file format conversion)
- rearrange bands
- clip by extent/mask
2018-09-04 16:20:03 +07:00
Nyall Dawson
8bae311a65
Use enum instead of raw stacked widget indices
2018-09-04 19:06:07 +10:00
Nyall Dawson
918be1f2a9
Fix some warnings
2018-09-04 19:06:07 +10:00
Nyall Dawson
d563034583
Address review comments
2018-09-04 19:06:07 +10:00
Nyall Dawson
3c2499ba95
Add some notes on deprecated class handling
2018-09-04 19:06:07 +10:00
Nyall Dawson
e76b761dd0
Correctly associate layer with dynamic properties
2018-09-04 19:06:07 +10:00
Nyall Dawson
8082497724
Fix evaluation of Python wrapper values
2018-09-04 19:06:07 +10:00
Nyall Dawson
70c1680754
Automatically handle adding data defined button for dynamic properties
...
Also exposes this capability to modeler - so that model algorithms
can use data defined parameters within their child algorithms.
TODO:
- tests
- setting the associated vector layer
2018-09-04 19:06:07 +10:00
Nyall Dawson
a717b85e2e
[FEATURE][processing] New modeler parameter widget
...
A new widget which handles parameter values for child algorithms
within a model. Instead of the previous approach of requiring
individual widget wrappers to handle creation of a suitable
model widget, we do all this automatically for them.
This widget uses a stacked widget with a toolbutton to select
the parameter's source, instead of the previous combo box approach
(which didn't scale well for large models). I.e. users select
first whether the value is taken from a static value, a
model input, or an output from a different child algorithm. The
widget then changes appearance and behavior based on this
choice.
Additionally, a new option is present for all parameters
of using a "precalculated expression". This expression is
evaluated once before the child algorithm is executed
and used during the execution of that algorithm.
2018-09-04 19:06:07 +10:00
Nyall Dawson
644ef6a752
[processing] Initial work on porting base GUI classes to c++
...
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
Nyall Dawson
bb9117075d
[layouts] Fix label expression contains unicode characters when edited
...
Fixes #19743
2018-09-04 18:04:31 +10:00
Nyall Dawson
15e58093e6
Fix 'make permanant' action fails when exporting to a geopackage
...
with existing layers
2018-09-04 18:04:13 +10:00
nirvn
40e4f0f059
[ui] use lowercase group name for help text in expression builder
2018-09-04 13:37:27 +07:00
Alessandro Pasotti
aae41c068f
Fix documentation for editFormConfig
...
It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.
2018-09-04 07:57:57 +02:00
nirvn
5cd28034bd
address comments, fix test
2018-09-04 10:07:07 +07:00
nirvn
65d9911e8b
Rephrase short help
2018-09-04 10:07:07 +07:00
nirvn
48b18d4c6c
[processing] add parameterAsInts function
2018-09-04 10:07:07 +07:00
nirvn
97adef21bd
[processing] multiple band selection wrapper should return list of ints
2018-09-04 10:07:07 +07:00
nirvn
1664ef16d2
[FEATURE][processing] gdal's rearrange band algorithm
2018-09-04 10:07:07 +07:00
nirvn
13ecaa4190
[needs-docs][processing] Add a multiple selection mode to the band parameter
2018-09-04 10:07:07 +07:00
Nyall Dawson
53e2e4eca9
Capitalization
...
...how in the world has THIS one slipped by unnoticed so long!
2018-09-04 12:38:44 +10:00
Etienne Trimaille
c491872113
do not display geometry, spatial extent and CRS for non spatial layer
2018-09-04 11:35:11 +10:00
Etienne Trimaille
6a80069825
add some missing QLatin1String in metadataHtml()
2018-09-04 11:35:11 +10:00
Nyall Dawson
5a875676fb
Clear previously imported symbols when style manager import file is changed
...
Avoids symbols from a different file from being imported with tags/
etc from a newly selected file.
2018-09-04 09:05:16 +10:00
Nyall Dawson
10c9d41269
Avoid defaulting to older path in style import dialog browse button
2018-09-04 09:05:16 +10:00
signedav
085fd247d6
Expose QgsFeatures::attribute for QML
...
by setting Q_INVOKABLE
2018-09-04 08:32:34 +10:00
Salvatore Larosa
828061b709
fix build on osx
2018-09-03 22:30:05 +02:00
Stéphane Brunner
b49485839f
Merge pull request #7776 from pvalsecc/empty_filter
...
[Server] Add support for empty OGC WMS filters
2018-09-03 16:36:35 +02:00
Patrick Valsecchi
da58c1d7cf
Add support for empty OGC WMS filters
...
The FILTER query parameter can now look like that:
`(<Filter>...</Filter>)()`
That means that the second layer has no filter. This is compliant with
waht MapServer supports:
https://mapserver.org/development/rfc/ms-rfc-118.html#examples
2018-09-03 15:36:43 +02:00
Hugo Mercier
a80117b8b9
Merge pull request #7724 from agiudiceandrea/patch-fix-19636
...
Fix "Filter on joined fields": add geometry for spatial layer and handle special field/layer names
2018-09-03 13:57:29 +02:00
Luigi Pirelli
7721694655
Merge pull request #7763 from luipir/fix_processing_template_script
...
update template to 3.x api
2018-09-03 13:04:52 +02:00
nirvn
9af405c9ae
[layout] Set default legend item title to an empty string
2018-09-03 17:37:46 +07:00
nirvn
9a400d70e6
[layout] Fix legend item not updated when toggling filter by map content
2018-09-03 17:37:46 +07:00
nirvn
5d3da0dee3
[layout] Fix legend item properties' title entry not showing
...
the default "Legend" title upon item creation.
2018-09-03 17:37:46 +07:00
Peter Petrik
199f4effb6
fix tests for mesh layer
2018-09-03 19:41:07 +10:00
Peter Petrik
99a6f12ba3
update MDAL to 0.0.6
2018-09-03 19:41:07 +10:00
Peter Petrik
f0ede773c2
[mesh] [feature] allow to choose different vector and scalar dataset
2018-09-03 19:41:07 +10:00
Luigi Pirelli
33f83d68f0
revert crs to sourceCrs for feature sources
2018-09-03 10:58:37 +02:00
Denis Rouzaud
3f85938479
Merge pull request #7752 from 3nids/project_layers
...
Legend tree in 'Identify Layers'
2018-09-03 11:10:41 +03:00
Denis Rouzaud
0ef33d805e
regroup 'Identify Layers' and 'Data Sources' in the same tab (project properties)
2018-09-03 09:32:26 +02:00
Denis Rouzaud
b5aa65c5af
use toggle selection button instead of check/uncheck2
2018-09-03 08:50:48 +02:00
Denis Rouzaud
88d482e144
non spatial are not identifiable
...
also removes checkboxes from items not being checkable
2018-09-03 08:40:13 +02:00
Matthias Kuhn
3c58d0990b
Merge pull request #7768 from nyalldawson/assert
...
Throw an assert when using an unsupported variant type with QgsXmlUtils::writeVariant
2018-09-03 07:13:07 +02:00
Nyall Dawson
74e6e15d9e
[processing] Add test to ensure that model child algorithm parameters
...
which are set to dynamic values are preserved across save/restore
2018-09-03 05:47:12 +10:00
Nyall Dawson
3572ea80bd
Make QgsXmlUtils handle storing/retrieving QgsProperty values
2018-09-03 05:47:12 +10:00
Denis Rouzaud
c6caa29140
improved UX
...
* checkbox placement
* capitalize text in buttns
* place holder for line edit
* enable/disable buttons depending on selection
2018-09-02 21:13:41 +03:00
Alessandro Pasotti
d0026d1a23
Merge pull request #7769 from elpaso/bugfix-19695-qlocale-permissive-input
...
Bugfix 19695 qlocale permissive input
2018-09-02 10:16:23 +02:00
Alessandro Pasotti
2bf72b7708
Use isNumeric
2018-09-02 09:42:37 +02:00
Alessandro Pasotti
069dc1b6d9
Fix test
2018-09-02 09:42:16 +02:00
Alessandro Pasotti
57033907dc
Merge pull request #7770 from elpaso/bugfix-19748-acceleration-options-title
...
Fixes #19748 Acceleration label added in Options dialog title
2018-09-01 21:16:05 +02:00