60859 Commits

Author SHA1 Message Date
Alessandro Pasotti
bc12cb12e7 [feature] Relation widget force suppress popup
Adds an option to the relation widget configuration
to suppress form popup open when new features are
added in an embedded form context.

This option overrides the form-level option (that might
still be the desired behavior when the form is used
as a standalone form).
2020-02-25 13:55:51 +01:00
Alessandro Pasotti
1e19b5304a Fix show/hide link/unlink in relation reference w
widget.

Fixes #34651
2020-02-25 11:14:39 +01:00
Nyall Dawson
0391e17551 [processing] Fix cannot edit/delete/export project based models
Fixes #34627
2020-02-25 18:15:18 +10:00
Nyall Dawson
b40d9c4d94 Show a more helpful message when a custom projection based on WKT
is equivalent to a known projection
2020-02-25 18:15:00 +10:00
Nyall Dawson
64ececf36b Always default to WKT definitions for newly added custom projections 2020-02-25 18:15:00 +10:00
Nyall Dawson
489124d7d1 Show formatted WKT definitions in custom projection dialog
Because an unformatted WKT string is just a huge barely decipherable blob...
2020-02-25 18:15:00 +10:00
Nyall Dawson
f5470496ae Accept "proj:..." prefix in QgsCoordinateReferenceSystem::createFromString
instead of just "proj4:..."
2020-02-25 18:15:00 +10:00
nirvn
00ead2abaa [decorations] Fix scale bar label horizontal alignment regression 2020-02-25 14:45:24 +07:00
Vincent Cloarec
27a70eab7c
[FEATURE] mesh simplification (#34532)
[FEATURE] fix #31575 mesh layer speed rendering improvements (LOD)

As mesh layer could have millions of triangles, rendering could be very slow, especially when all the triangles are displayed in the view whereas triangles are too small to be viewed.

For those situations QGIS has an option to simplify the mesh. Simplification leads to one or more simplified mesh that represents levels of detail (LOD). When rendering the mesh, the appropriate level of detail is chosen to have an adequate rendering depending on the view.
2020-02-25 08:05:49 +01:00
Nyall Dawson
3921af8d51 Add missing cast for QgsProcessingParameterDateTime 2020-02-25 12:43:05 +10:00
Alessandro Pasotti
bb93dbcf13
Merge pull request #34612 from elpaso/bugfix-gh34586-jsonformatter
Move jsonformatter to own dir, add license and src
2020-02-24 20:42:15 +01:00
Matthias Kuhn
3f10d8d56c
Merge pull request #34581 from obrix/fix_qgsfeaturefiltermodel_updateCompleter_sync
Small rework on QgsFeatureFilterModel
2020-02-24 16:28:34 +01:00
Nyall Dawson
b28814c2bc [processing] Fix incorrect error about "cannot load dependant fields"
when a field parameter is linked to a feature source parameter which
has the "selected features only" checked
2020-02-24 21:05:22 +10:00
Nyall Dawson
9a6cb4689f Add API to QgsFieldModel/QgsFieldComboBox to manually set the fields
to show in the widget (i.e. when no layer is available)
2020-02-24 21:05:22 +10:00
Nyall Dawson
183706ef0a Purge totally completely horribly outdated QgsRasterLayer docs 2020-02-24 20:35:25 +10:00
Nyall Dawson
313b000147 Minor temporal properties cleanups and dox improvements 2020-02-24 20:35:25 +10:00
mhugent
ebfdc2c8b6
Merge pull request #34574 from mhugent/dxf_label_linebreaks
DXF export: handle line breaks in label text
2020-02-24 10:18:35 +01:00
Nyall Dawson
7c0bd2e2f2 Fix crash in test 2020-02-24 17:23:41 +10:00
Nyall Dawson
36f0952452 Mark some internal methods as private 2020-02-24 17:23:41 +10:00
Nyall Dawson
bdd951aa6b Add widget wrapper for datetime parameters 2020-02-24 17:23:41 +10:00
Nyall Dawson
983a3d8655 Fix duplicate signals emitted by QgsDateTimeEdit when changed 2020-02-24 17:23:41 +10:00
Nyall Dawson
0a5ddb3cea Add support for reading/writing QDateTime, QDate and QTime via QgsXmlUtils 2020-02-24 17:23:41 +10:00
Nyall Dawson
1facaf5149 Allow null string to be customised for QgsDateTimeEdit
E.g. for processing use this needs to be "Not specified"
2020-02-24 17:23:41 +10:00
Nyall Dawson
6c94bf493d Add QgsDateTimeEdit subclasses for specific date and time widgets
Adds QgsDateEdit and QgsTimeEdit subclasses. (All the heavy lifting
with these is done by Qt itself, hence no extra unit tests!)
2020-02-24 17:23:41 +10:00
Nyall Dawson
0efc6f531c [FEATURE][processing] New parameter type for datetime (or date, or time) values
Adds a new parameter type QgsProcessingParameterDateTime for handling
date/datetime/time values
2020-02-24 17:23:41 +10:00
Nyall Dawson
e7380c7325
Merge pull request #34040 from Samweli/temporal_api
Temporal API
2020-02-24 13:48:39 +10:00
Alessandro Pasotti
f1c6bdf00c Move jsonformatter to own dir, add license and src
Fixes #34586
2020-02-23 18:08:36 +01:00
Alex
13337b20cd
[feature] data defined control over layout map CRS 2020-02-23 06:50:55 +10:00
Samweli
e493545af5 removed unwanted temporal range object method 2020-02-22 15:39:10 +03:00
Alessandro Pasotti
199156a1d1
Merge pull request #34599 from elpaso/htmlwidget-resize
Htmlwidget resize
2020-02-22 08:13:18 +01:00
Harrissou Sant-anna
7afb513c31 Aerate the QgsSettings dox for readability 2020-02-22 14:52:44 +10:00
Nyall Dawson
5251852f04 Record proj version number in srs6.db after running srssync utility
And when running srssync, return early if the version number is unchanged
from the last run.

This avoids running the full (slow, on proj 6 builds) srssync with
every build, which is PITA for rapid development...
2020-02-22 06:48:10 +10:00
Nyall Dawson
99991c3029 Handle more uri components in encode/decodeUri for AFS provider 2020-02-22 06:47:45 +10:00
Nyall Dawson
5f533e561c [FEATURE][processing] Add algorithms for raising warnings and exceptions from models
These algorithms raise either a custom warning in the processing log, OR raise
an exception which causes the model execution to terminate.

An optional condition expression can be specified to control whether or not
the warning/exception is raised, allowing logic like "if the output layer from
another algorithm contains more then 10 features, then abort the model execution"

Sponsored by Fisel + König
2020-02-22 06:47:17 +10:00
root676
2a019570a5 fix mInputNoDataValue 2020-02-22 06:46:56 +10:00
root676
487e374ce5 fix member variables and don't set NoData value 2020-02-22 06:46:56 +10:00
root676
a9ea0fc587 fix member variables 2020-02-22 06:46:56 +10:00
root676
ae48e3beb9 skip additional feedback check 2020-02-22 06:46:56 +10:00
root676
1cc1fc2cde fix tags, helpstring, error reporting and rasterblock writing 2020-02-22 06:46:56 +10:00
root676
d8e57063d0 compress algorithm icon 2020-02-22 06:46:56 +10:00
root676
1337417c28 update helpstring and NoData spelling 2020-02-22 06:46:56 +10:00
root676
ea7167e135 [feature] add Fill noData cells algorithm and tests 2020-02-22 06:46:56 +10:00
Sandro Santilli
d15ce6b4c3 Only consider raster available when metadata table is readable
Closes #32558

Includes automated test.
2020-02-21 19:00:48 +01:00
Alessandro Pasotti
8f3a5961d6
Merge pull request #34588 from elpaso/bugfix-gh33824-atlas-filename-expression-validation
Fix atlas filename expression validation
2020-02-21 15:57:07 +01:00
Alessandro Pasotti
a35b8b5dc6 Don't crash on wrong widget types 2020-02-21 15:50:48 +01:00
Alessandro Pasotti
7d8fc079c6 Resize HTML widget on load 2020-02-21 14:43:30 +01:00
Juergen E. Fischer
d2446e0536 Bump version to 3.13 2020-02-21 13:38:01 +01:00
Juergen E. Fischer
ff1d6eee3e changelog and news update for 3.12 2020-02-21 13:36:42 +01:00
Juergen E. Fischer
38e8e6a986 translation update for 3.12.0 from transifex 2020-02-21 13:36:30 +01:00
Juergen E. Fischer
ddb07d6277 adapt update-news.pl to changelog.qgis.org changes 2020-02-21 13:21:48 +01:00