1665 Commits

Author SHA1 Message Date
Samweli
1abbc2a586 saving and restoring temporal properties 2020-03-05 18:41:35 +10:00
Samweli
391f606f78 moved temporal range from provider to layer temporal properties 2020-03-05 18:41:35 +10:00
Samweli
51b475f689 added checks for possible null temporal capabilities 2020-03-05 18:41:35 +10:00
Samweli
ccf8a03678 removed duplicate signal 2020-03-05 18:41:35 +10:00
Samweli
2517b566d1 suggested changes from the review 2020-03-05 18:41:35 +10:00
Samweli
b30ccf3289 fixed travis tests 2020-03-05 18:41:35 +10:00
Samweli
872094cf8a removed status label in temporal properties 2020-03-05 18:41:35 +10:00
Samweli
6352d6889c added abstract temporal class
updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added tests for temporal property

added tests for temporal property

added temporal widget ui

temporal support in raster layers, from wms provider

temporal properties in raster layer properties

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

temporal support in raster layers, from wms provider

update qgsabstracttemporal test

updated docs

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updates on map layers temporal properties classes

fix travis tests

add read and write xml tests

added abstract temporal class

updates on tests and abstract temporal class

updates on qgsabstracttemporal sip and tests

update qgsabstracttemporal test

updated docs

edits per review on qgs map canvas

temporal properties in raster layer properties

temporal support in raster layers, from wms provider

moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions

edits per review on qgs map canvas

remove access of private members from qgstemporalrangeobject

updated render context test and fix travis tests

added new temporal property class

added new map layer temporal properties sub classes with tests

updated layer times ui

added advanced options in layer time constrains ui

fix for refreshing wms layer after temporal properties update

update on wms-t temporal properties

added support for bi-temporal WMS-T
2020-03-05 18:41:35 +10:00
Harrissou Sant-anna
7ca97f38d2 Add version of deprecation 2020-03-05 16:17:20 +10:00
Harrissou Sant-anna
c398a2666a Fix QgsCoordinateReferenceSystem documentation rendering
with better list display, highlight related methods
2020-03-05 16:17:20 +10:00
Nyall Dawson
997ac4eba4 Add method to determine distance from point to rectangle bounds 2020-03-03 16:08:23 +10:00
Nyall Dawson
d8111e1025 Make link point collapsing handling more generic 2020-03-03 16:08:23 +10:00
Nyall Dawson
55a582d068 Make size a property of QgsProcessingModelComponent
API only for now, cannot be set by users
2020-03-02 18:53:31 +10:00
Nyall Dawson
d9cc2aedeb Add clone method to QgsProcessingModelComponent 2020-03-02 18:53:31 +10:00
lbartoletti
dfa5cb68aa
New snapping modes: Centroid and middle of a segment (midpoint) (#33622)
Snap on centroid and midpoint segment [FEATURE][needs-docs]
2020-03-02 09:02:35 +01:00
Nyall Dawson
38a3a2d478 [layouts] Fix layers are incorrectly shown when groups are unchecked
for a map theme

Followup https://github.com/qgis/QGIS/pull/33099

Fixes #34257
2020-03-01 20:36:53 +10:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
Alessandro Pasotti
4b80e034e4 Fix dox comment 2020-02-28 13:20:03 +01:00
Alessandro Pasotti
9c337e9ec2 [feature] Relation wdgt: add checkbox to hide save child edits button
This is very useful for embedded forms.

Funded by: ARPA Piemonte
2020-02-28 13:20:03 +01:00
Alessandro Pasotti
c90fbd5978
Merge pull request #34654 from elpaso/vectorlayertools-suppress-form-popup
[feature] Relation widget force suppress popup
2020-02-27 08:11:44 +01:00
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
Nyall Dawson
f5470496ae Accept "proj:..." prefix in QgsCoordinateReferenceSystem::createFromString
instead of just "proj4:..."
2020-02-25 18:15:00 +10: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
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
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
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
Harrissou Sant-anna
7afb513c31 Aerate the QgsSettings dox for readability 2020-02-22 14:52:44 +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
Alessandro Pasotti
8cbb23cf09 Fix QgsPoint ctor with invalid arguments
Fixes #34557
2020-02-20 11:14:18 +01:00
Nyall Dawson
a5b6290361 Fix doxygen warning 2020-02-18 08:37:25 +10:00
Nyall Dawson
d4d6f79b4f Fix interaction of QgsCoordinateTransform::setBallparkTransformsAreAppropriate
and setAllowFallbackTransforms and improve dox

setBallparkTransformsAreAppropriate overrules the setAllowFallbackTransforms
setting
2020-02-18 08:37:25 +10:00
Nyall Dawson
e3b1649fd3 Add API to QgsCoordinateTransform to control fallback availability
on a transform-by-transform basis, populate correctly from context
2020-02-18 08:37:25 +10:00
Nyall Dawson
61e6ab0ea8 Add API to QgsCoordinateTransformContext to prevent use of fallback
ballpark transforms for a source/dest CRS pair
2020-02-18 08:37:25 +10:00
Nyall Dawson
0b48f0a3f2 Add API for disabling fallback handler and for determining after a transform whether a fallback operation occurred 2020-02-18 08:37:25 +10:00
Nyall Dawson
8bb1c47de6 Add mechanism to disable user-visible warnings on use of fallback transforms
for a particular QgsCoordinateTransform object

This can be set for transforms where we definitively know that a "ballpark"
result is acceptable, e.g. when transforming global layer extents to
a localized area-of-use CRS

Refs #33929
2020-02-18 08:37:25 +10:00
Even Rouault
1f10509b86 Enable -Wnon-virtual-dtor in pedantic mode, and remove useless virtual qualifiers in 2 final classes 2020-02-17 08:07:48 +10:00
Denis Rouzaud
9441fcc947
drag'n'drop improvements part 3 (#34479)
* drag'n'drop improvements

part 3

this completely removes hidden config accessible under double click
now a widget groupbox (by opposition to the field config) is shown on top of the right panel
2020-02-14 23:19:42 +01:00
Nyall Dawson
756cb6f592 [layouts] Improve Manual Table handling of header cells
Instead of hiding this functionality from users, we instead add an explicit
toggle to the Table Designer dialog "Table" menu to hide or show
the header cells in the designer, and re-add the widgets which
allow users to customise the header appearance back into the
item configuration widget.

Whenever a header cell is selected in the table designer, the formatting
widgets are disabled since the item's header configuration widgets
are used to set the background/foreground color and other properties
of these cells instead.
2020-02-14 06:38:38 +10:00
Nyall Dawson
37a4c10a4d Fix broken browser directory paths
And improve documentation

Fixes #34169
2020-02-13 14:22:12 +10:00
nirvn
9ce12c0812 [vector file writer] Add coordinate transformation context to fix KML/GPX export 2020-02-13 07:50:34 +07:00
Nyall Dawson
5b639558f4 Dox++ 2020-02-13 09:32:02 +10:00
Samweli
d03716072b add read and write xml tests 2020-02-08 10:19:48 +03:00
Samweli
d9926a9f91 fix travis tests 2020-02-08 08:26:21 +03:00
Samweli
c4355ab8b7 updates on map layers temporal properties classes 2020-02-08 08:26:21 +03:00