Matthias Kuhn
f81b680aa1
DXF export preserve dashed line style
...
We do not (yet) support an option to guarantee stroked parts at corners.
So also do not set this flag in the DXF export.
2019-11-29 17:58:02 +01:00
Vincent Cloarec
6d4c995a28
[FEATURE] API for rendering frames for mesh vector dataset animation (particles) ( #33110 )
...
* [FEATURE] API for rendering frames for mesh vector dataset animation (particles)
Adds a renderer to generate frames that represent particle traces in a vector field of a mesh layer. The renderer cannot be chosen in the current GUI, however crayfish plugin can use API to generate avi/gif files with nice animations representing the movement of (random) particles in the mesh layer vector field.
2019-11-29 09:06:47 +01:00
Nyall Dawson
6ef3746bfb
[processing] Fix exceptions when reporting errors during batch execution
...
Fixes #33105
2019-11-29 11:16:09 +10:00
David Signer
161af6ad26
search tags in expression function to look up the functionality in the expression builder
2019-11-28 16:47:48 +01:00
Nyall Dawson
ff3b4d5a74
Add API to set a label placement engine version, which dictates which
...
placement rules should be followed when solving the pal labeling engine
solution.
For new projects it defaults to version 2, but when loading an older project
version 1 is used.
This allows changes to be made to the label placement problem solving without
affecting the placement of labels in existing projects.
2019-11-28 09:54:51 +10:00
Nyall Dawson
078f8451e0
[layouts] Ensure overview frames are correctly exporting during layer
...
based exports when the stacking position is set not set to above labels
Fixes #32763
2019-11-27 05:06:37 +10:00
Nyall Dawson
0b3b7123b9
[processing] Port "Count points in polygon" algorithm to c++
2019-11-26 13:45:08 +10:00
Peter Petrik
23ae038da4
fix docs for streamlines ( #33054 )
2019-11-25 10:14:25 +01:00
Vincent Cloarec
938aa58df8
[FEATURE] Streamlines Renderer for vector dataset on mesh layer. ( #32996 )
...
* [FEATURE] Mesh streamlines
fix #29534
The vector field data set in a mesh layer can currently be only rendered with arrows. This PR adds a new feature to render vector field in mesh layers with streamlines.
The streamlines are seeded from start points. The seeding points can start from the vertices of the mesh, from a used grid or randomly. Streamlines could be coloured or width can be selected.
2019-11-25 08:54:11 +01:00
Nyall Dawson
83dd2aa036
Move some non-error debug messages to QgsDebugMsgLevel
2019-11-25 12:43:10 +10:00
Nyall Dawson
e8ec0042f4
[FEATURE][diagrams] Paint effect support for diagram renderer
...
Allows for diagrams to use paint effects, including drop shadows,
outer glows, etc...
Sponsored by SLYR
2019-11-25 06:20:43 +10:00
Nyall Dawson
204bd47b19
[FEATURE][diagrams] New diagram type "stacked bars"
...
Stacks bars of varying colors for each attribute on top of each other
vertically or horizontally.
Sponsored by SLYR
2019-11-24 19:11:21 +10:00
Nyall Dawson
9a23e1b209
[FEATURE][diagrams] Add option to show diagram axis for histogram diagram symbols
...
Where the axis line symbol can be set using a standard QGIS line symbol.
Sponsored by SLYR
2019-11-23 18:06:18 +10:00
Nyall Dawson
249d38a522
Add read/write context to diagram serialization
2019-11-23 18:06:18 +10:00
Nyall Dawson
baf38199e0
[FEATURE][diagrams] Add option to control pie diagram angular direction
...
I.e. control whether the sections are rendered in a clockwise or
anticlockwise direction
Sponsored by SLYR
2019-11-22 09:01:49 +10:00
Nyall Dawson
701ea057b1
Fix broken QMap<QVariantList,...> finding, which causes case-insensitive
...
comparisons to be made when resolving primary keys in the Oracle and
Postgres providers
qt's built in qMapLessThanKey for QVariantList is broken and does a
case-insensitive operation, so we replace it with a working version instead...
2019-11-22 04:09:50 +10:00
Matthias Kuhn
63956785dc
Merge pull request #30297 from roya0045/handler_v2
...
Bad Layer Handler Improvements
2019-11-21 11:51:53 +01:00
Nyall Dawson
49dcc2c253
[FEATURE] Add spacing option for vector layer bar chart diagrams
...
Allows for user-controlled spacing between each bar in the chart.
Sponsored by SLYR
2019-11-21 15:21:44 +10:00
Alex
91563b8b88
auto layer finder
2019-11-20 08:12:39 -05:00
Nyall Dawson
1ca926d72a
[FEATURE][layouts] Add search box to layout manager
...
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Nyall Dawson
214bbe9e36
Fix clazy fully-qualified-moc-types warnings
2019-11-20 10:08:13 +10:00
Nyall Dawson
fe32fdfe40
Add API to QgsFeatureSource to determine whether a spatial index
...
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Nyall Dawson
41fa4b19fd
Fix rendering artifacts on the edges of resampled raster tiles
...
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.
Fixes #30152
2019-11-15 13:48:38 +10:00
Matthias Kuhn
cbe6150348
Merge pull request #32770 from m-kuhn/dxf-symbol-fixes
...
Make the DXF renderer ready for background threading and fix symbology
2019-11-14 09:47:22 +01:00
Nyall Dawson
4294f5e546
Add missing file
2019-11-14 13:00:48 +10:00
Matthias Kuhn
ce50f11048
Dox and fixes
2019-11-11 09:30:38 +01:00
Nyall Dawson
06f36ddbe6
Cleanup duplicate code and add tests for graduated range resolving
2019-11-11 17:51:49 +10:00
Matthias Kuhn
6374f02e93
Decouple DXF rendering from the layers
...
This makes it possible to run dxf exports in a thread.
2019-11-11 08:44:41 +01:00
Matthias Kuhn
00efcbf91f
QgsDxfExport should not be copied
2019-11-11 08:44:41 +01:00
Nyall Dawson
5eeba90341
Update sip, fix use of old style enum
2019-11-11 17:17:22 +10:00
Nyall Dawson
6b82917715
[processing] Refine behavior of "Use filename as layer name" option to
...
always avoid using temporary file names, and then set this option as
enabled by default.
Also change the setting key so that existing users will also get the new
default value.
Fixes #32591
2019-11-09 20:07:55 +10:00
Nyall Dawson
377848e2ad
Add QgsMapLayer::isTemporary to test whether a map layer is temporary
...
These include memory layer provider layers, or layers physically
stored inside a user's temporary folder (e.g. /tmp)
2019-11-09 13:43:03 +10:00
Juergen E. Fischer
b830a4a448
qgsfunction: replace deprecated inspect.getargspec() to inspect.getfullargspec()
2019-11-07 22:47:08 +01:00
Denis Rouzaud
5ec6a98826
Merge pull request #32705 from 3nids/fix_include
...
remove relative include
2019-11-07 22:09:51 +01:00
Matthias Kuhn
e5df863302
Merge pull request #32629 from m-kuhn/dxf_hali_vali
...
[dxf] HAlign/VAlign support for TEXT
2019-11-07 16:37:06 +01:00
Denis Rouzaud
16ca39ce21
fix sip
2019-11-07 10:01:26 +01:00
Hugo Mercier
845894b313
[FEATURE] Selective masking ( #30747 )
...
* [FEATURE] Selective masking
Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
signedav
c1f2d439cf
Merge pull request #32665 from m-kuhn/fix_qgsfield_private_header
...
Fix various private header
2019-11-06 15:40:48 +00:00
Denis Rouzaud
5910a7b9f1
Be more QML friendly ( #32652 )
...
* add Q_ENUM for QgsGeometry::OperationResult
* QgsVectorLayer::startEditing, commitChanges and editBuffer Q_INVOKABLE
* Fix indentation
* fix sip
2019-11-06 07:36:58 +01:00
Juergen E. Fischer
5ee5e37a94
fix windows build including some warnings
2019-11-06 00:49:15 +01:00
Matthias Kuhn
cb804b23d5
More forward declare fixes
2019-11-05 22:40:14 +01:00
Matthias Kuhn
db838a3203
Fix qgsfield private header
2019-11-05 21:30:56 +01:00
Denis Rouzaud
8e40df8e26
add Q_ENUM macro to QgsVectorLayer::EditResult and SelectBehavior
2019-11-05 13:25:48 +01:00
nirvn
60ee76bc69
Followup 1f3b039: fix wrong monkey patched var name
2019-11-05 16:03:25 +07:00
Matthias Kuhn
924b4eda58
Fully qualify enum default parameters
2019-11-04 21:56:41 +01:00
Matthias Kuhn
0f5a4f7d2f
[dxf] HAli/VAli support for TEXT
2019-11-04 16:47:48 +01:00
Alessandro Pasotti
696c4075da
Merge pull request #32487 from elpaso/value-relation-restore
...
[feature] Value relation restore missing layers from DBs
2019-11-04 12:03:40 +01:00
Alessandro Pasotti
144f6a8d09
Merge pull request #32553 from elpaso/uniform-field-display-alias
...
field displayNameWithAlias
2019-11-04 09:05:53 +01:00
Matthias Kuhn
31e74e1342
Merge pull request #32602 from m-kuhn/automoc
...
Widespread use of AUTOMOC
2019-11-04 07:42:42 +01:00
Matthias Kuhn
1f3b039fe2
Merge pull request #32552 from m-kuhn/q_global_static
...
non POD static
2019-11-03 23:11:51 +01:00