1834 Commits

Author SHA1 Message Date
Martin Dobias
f713cc3559 Vector tiles: styling panel integration + widget for basic renderer 2020-04-07 13:25:49 +02:00
Nyall Dawson
8050612363 Add a __repr__ method for QgsProperty 2020-04-07 17:05:44 +10:00
Nyall Dawson
bb9b25f28b Add API to flag that a sink supports appending features to existing layers 2020-04-07 17:05:44 +10:00
Nyall Dawson
b2ca789ba4 Implement sinkProperties for QgsProcessingFeatureBasedAlgorithm subclasses 2020-04-07 17:05:44 +10:00
Nyall Dawson
2d8da255a2 [processing] Add API to determine in advance the properties of vector
outputs (sinks and vector layers), such as output fields, wkbtypes and
crs.
2020-04-07 17:05:44 +10:00
Nyall Dawson
bf6f017466 [processing] Hookup backend API to allow sinks to append to an existing layer
(respecting the sink mapping definition)
2020-04-07 17:05:44 +10:00
Nyall Dawson
0d7773a0ee [processing] Allow setting the optional remapping definition for QgsProcessingOutputLayerDefinition
Provides a (currently non-functional) API for specifying optional remapping parameters
for vector outputs.
2020-04-07 17:05:44 +10:00
Nyall Dawson
8c73c6165e Allow storage of QgsRemappingSinkDefinition in variants 2020-04-07 17:05:44 +10:00
Nyall Dawson
93f714d233 [FEATURE][API] Add new QgsFeatureSink subclass QgsRemappingProxyFeatureSink
This sink allows for transformation of incoming features to match the
requirements of storing in an existing destination layer, e.g. by reprojecting
the features to the destination's CRS, by coercing geometries to the
format required by the destination sink, and by mapping field values from
the source to the destination.
2020-04-07 17:05:44 +10:00
Nyall Dawson
78c86ef6ca Move geometry handling guts of QgsVectorLayerUtils::makeFeaturesCompatible
to a new method in QgsGeometry
2020-04-07 17:05:44 +10:00
Nyall Dawson
c987e500bc Code shuffle to move QgsProxyFeatureSink to its own file 2020-04-07 17:05:44 +10:00
Alessandro Pasotti
198b797586 PG raster temporal: cleanup after rebase conflicts 2020-04-06 10:51:08 +02:00
Alessandro Pasotti
1231aa03db Added fields accessor to raster data provider 2020-04-06 10:51:08 +02:00
Alessandro Pasotti
59b0dc13ac Add dataComment to data provider base class 2020-04-06 10:51:08 +02:00
Alessandro Pasotti
7e7cb41b80 Const correct provider temporal capabilities 2020-04-06 10:50:04 +02:00
Nyall Dawson
de59f5392a [layouts][FEATURE] Allow marker items to sync rotation with maps
This allows creation of north arrows from marker symbols, exposing
the same options as exist for picture items acting as north arrows.

Sponsored by SLYR
2020-04-06 14:04:20 +10:00
Nyall Dawson
0384ef03e6 Refactor picture north arrow handling to extract logic to seperate class 2020-04-06 14:04:20 +10:00
Nyall Dawson
632448c447 [FEATURE][layouts] New item type for marker symbols
Allows marker symbols to be placed directly on layouts, eg.
for manually placing markers over a map item or for creation
of advanced custom legends
2020-04-05 14:23:22 +10:00
uclaros
b48a5760be more missed spelling 2020-04-05 08:05:28 +10:00
uclaros
6aca7b6964 Added move to bottom in layertreeview context menu 2020-04-05 08:05:28 +10:00
Ismail Sunni
562b11fd9b
Filter out field with readonly in the quick field calculator.
Fix #34331
2020-04-04 10:11:23 +10:00
Alessandro Pasotti
16655d7f59 Minor changes 2020-04-03 21:21:14 +10:00
Vincent Cloarec
75ddf3c7a6
[FEATURE][MESH] plug mesh layer to QGIS temporal framework (#35466)
[FEATURE] Use temporal controller for the mesh layer time handling.
2020-04-03 08:21:15 +02:00
Nyall Dawson
406867d2ed Setup API to get theme linked to map pushed to linked legends 2020-04-03 14:43:11 +10:00
Nyall Dawson
0930906d0d Add signal which is emitted when a layout map's linked theme is changed 2020-04-03 14:43:11 +10:00
Martin Dobias
53075848ce
Merge pull request #35341 from wonder-sk/vector-tile-layer
[FEATURE] Vector tile layer - part 1
2020-04-02 16:06:30 +02:00
Nyall Dawson
a7610c5682 Give up on enum class
Python says no.
2020-04-02 19:20:40 +10:00
Nyall Dawson
d20a3bddc0 [FEATURE][processing] Port output parameter wrappers to new c++ API for modeler
This allows a range of new possibilities, including:
- models with static outputs for child algorithms, e.g. always saving
a child algorithm's output to a geopackage or postgres layer
- models with expression based output values for child algorithms, e.g.
generating an automatic file name based on today's date and saving
outputs to that file
2020-04-02 02:29:54 +10:00
Nyall Dawson
f31af07235 Fix windows build 2020-04-01 18:20:09 +10:00
Nyall Dawson
4fa9083cf6 [FEATURE][processing] Allow creation of group boxes in models
These are a visual guide, allowing designers to create logical groups
of algorithms relating to a single task ("eg 'Prepare data')

The title and color of the group boxes can be customized
2020-04-01 18:20:09 +10:00
Nyall Dawson
a7a64d40e0 Add API for storing group boxes in processing models 2020-04-01 18:20:09 +10:00
Nyall Dawson
e788be93fa [processing][FEATURE] Add api for setting model component colors, and expose
the option to set manual colors for individual model comments
2020-04-01 18:20:09 +10:00
Samweli
88f039e6ea added two match modes for wmst static temporal range updates 2020-04-01 14:36:32 +10:00
Nyall Dawson
60af337c3c [processing][FEATURE] Add "Save Log to File" algorithm for models
This algorithm saves the contents of the execution log (right up to
the point in the model at which the 'save log' algorithm executes)
to a file.

It can be used to automatically store the debugging log when running
models for later reference and transparency.
2020-03-31 19:35:28 +10:00
Nyall Dawson
0684d41fe1 Make QgsProcessingFeedback remember logged messages for later recall 2020-03-31 19:35:28 +10:00
Martin Dobias
a2f86469d3 Fix doxygen, spelling, shared_ptr 2020-03-31 08:51:54 +02:00
Martin Dobias
be98e2f0f6 [FEATURE] Raster layer contour renderer
This new renderer draws contour lines that are calculated on the fly
from the source raster band. It is possible to set interval of contour
lines and symbol used for drawing.

In addition there is support for "index contours" - contour lines
with higher interval, typically drawn with a wider line symbol.

If we generate contour lines on input raster block with the same size as our
output raster block, the generated lines would contain too much detail.
This detail can be reduced by the "downscale" factor - this will request
lower resolution of the source raster.
2020-03-31 08:51:54 +02:00
Nyall Dawson
e386573c0c [FEATURE][processing] Port multi-layer input parameter widget to new API
Allows
- expression based inputs
- rearrangement of inputs for multi-layer parameters in models, to set
specific layer orders
2020-03-31 01:06:48 +10:00
Nyall Dawson
c85f62a968 Make more use of layer type hints to avoid trying to open raster/mesh
layers using the ogr provider
2020-03-31 01:06:48 +10:00
Ivan Ivanov
f8897d82a6 Updated documentation to clearly state the behavior of aggregate majority/minority 2020-03-30 11:38:56 +10:00
Ivan Ivanov
1c694253db Documentation dyslexia 2020-03-30 11:38:56 +10:00
Ivan Ivanov
5ec5bc98fe FEAT #27230 #27271 [Aggregates] Allow majority and minority statistics on non-numeric fields 2020-03-30 11:38:56 +10:00
Samweli
b399e8a60b removed static wmst settings in provider temporal capabilities 2020-03-30 08:01:58 +10:00
Nyall Dawson
f4b260e49d Cleanup unused API 2020-03-30 08:01:58 +10:00
Martin Dobias
804ac87030 Get rid of qDebug(), wrap strings in QStringLiteral 2020-03-27 21:51:55 +01:00
Martin Dobias
9e80f59f20 Use random colors, fix sip includes, fix warnings in server 2020-03-27 19:41:18 +01:00
Martin Dobias
3c33bf7863 Added a basic rendering test 2020-03-27 16:36:19 +01:00
Martin Dobias
8d24e1744b Added zmin/zmax parameters to limit usable zoom levels 2020-03-27 14:07:24 +01:00
Martin Dobias
5ec1890643 Moved to proper QgsMapLayer subclass + icon + optional tile borders 2020-03-27 12:08:40 +01:00
Matthias Kuhn
acbfb424b8 [joins] Disable caching if editing is enabled
Fixes https://github.com/qgis/QGIS/issues/35403
2020-03-27 10:59:25 +01:00