Nyall Dawson
a8adb2d6c2
Code shuffle: move all labeling related code into src/core/labeling
...
So that these files are all grouped together, making it easier to locate
all the components of the labeling engine and hopefully making things
easier to navigate
2019-12-11 14:05:44 +10:00
Denis Rouzaud
c5766dc83b
Merge pull request #33262 from 3nids/log_impr
...
Classification methods: save/read parameters, improve negative value handling in log method
2019-12-10 23:20:58 +01:00
Nyall Dawson
b40ee5f554
More test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
4ddf31ef0b
Test updates again
2019-12-10 18:28:11 +10:00
Nyall Dawson
25988ffbca
Don't try to build genericspatialindex test on windows
...
Can't find the magic formula to make msvc happy here!
2019-12-10 18:28:11 +10:00
Nyall Dawson
6ab265873f
Add test masks
2019-12-10 18:28:11 +10:00
Nyall Dawson
b0dc935568
Use a report for selective mask tests, try to make tests stable
2019-12-10 18:28:11 +10:00
Nyall Dawson
02f883f111
More test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
4a6b6bd533
Test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
0517da1116
More test image updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
25db33cc8e
Update some label reference images
2019-12-10 18:28:11 +10:00
Nyall Dawson
ef15d76917
Spelling
2019-12-10 18:28:11 +10:00
Nyall Dawson
56bab7860e
Unit tests for QgsGenericSpatialIndex
2019-12-10 18:28:11 +10:00
Denis Rouzaud
0391c85360
fix test
2019-12-09 22:29:48 +01:00
Alexander Bruy
cc5b6e74f4
[processing] port zonal statistics to C++
2019-12-09 13:28:32 +02:00
Matthias Kuhn
baded30eb7
Add test for preview rotation fallback
2019-12-08 17:58:32 +01:00
Matthias Kuhn
fc5c95c28b
Merge pull request #33279 from m-kuhn/sandboxed_expression_mode
...
Fail expression evaluation if missing field is referenced
2019-12-08 14:42:52 +01:00
Matthias Kuhn
1f9414cb60
Update tests for non existing fields
2019-12-08 08:46:58 +01:00
Alessandro Pasotti
9af63012db
Also accept collection URLs with ending slash
...
Fixed #33203
2019-12-07 17:33:35 +01:00
Matthias Kuhn
4d6758d12c
Merge pull request #33246 from m-kuhn/nan_null
...
Support for NaN in text edit widget
2019-12-07 12:00:22 +01:00
Nyall Dawson
7c59700f2b
Responsibility for managing obstacle geometry is in QgsLabelObstacleSettings
2019-12-07 19:09:51 +10:00
Nyall Dawson
7f38c41497
Avoid duplicate code for evaluating label obstacle data defined values
2019-12-07 19:09:51 +10:00
Peter Petrik
b93dfdd0b3
[feature] Support datasets with data defined on faces in mesh calculator ( #33248 )
...
* [feature] support datasets with data defined on faces in mesh calculator, fix #30219 , fix #30170
added "driver" and "group name" to the calculator interface.
MDAL now supports 3 drivers for storing results, so user must be able to choose appropriate driver and dataset group name (some drivers store multiple groups to 1 file)
2019-12-06 18:27:28 +01:00
Denis Rouzaud
84d6bbe88a
fix dox and switch to classic enum
...
scope based enum is causing troubles from Python depending on sip version
2019-12-06 13:06:08 +01:00
Matthias Kuhn
93ecb00d7a
Add test for TextEditWidget NaN/NULL
2019-12-06 12:49:57 +01:00
Denis Rouzaud
9e216b40cc
adapt test
2019-12-06 09:30:28 +01:00
Nyall Dawson
6cd5ade937
Fix intermittently failing test (python was garbage collecting too early)
2019-12-06 13:17:53 +10:00
Peillet Sebastien
35eea1c083
Visible status for embedded layers in embedded group
...
- For project : check visible state for embedded layers inside an unchecked group, instead of putting all layers in embedded-invisible-layers
- For theme : Add an 'checked-group-node' to save group visible state independently to layers in it.
Fixes #33097
2019-12-06 04:54:27 +10:00
Nyall Dawson
1e9709cf5b
Don't try to style poly2tri library
2019-12-06 04:51:48 +10:00
Nyall Dawson
0b1c0fdbf2
Followup 89de7579, fix broken authentication/username/password
...
support in WMS and other providers
These providers rely on the QgsDataSourceUri param methods for storing and retrieving
authentication details, so the change made to use the dedicated username/password/auth
setters in 89de7579 broke all auth support for these providers.
Ensure that the param system is fully compatible and aliased to the dedicated
username/password/authcfg getters and setters
2019-12-06 04:49:35 +10:00
Denis Rouzaud
d147a8dffa
Merge pull request #33233 from 3nids/class_method_params
...
Option to filter negative values in logarithmic classification method
2019-12-05 14:59:04 +01:00
olivierdalang
adf40e2e74
followup: still fiddling with tests
2019-12-05 14:17:33 +01:00
Denis Rouzaud
2868074eb3
fix test with locale thousand separator
2019-12-05 10:00:57 +01:00
Matthias Kuhn
2f5d210b02
Merge pull request #33161 from m-kuhn/dxf_export_quadrant_based
...
Respect placement quadrant in DXF export
2019-12-05 08:46:18 +01:00
Matthias Kuhn
c01f8042f8
Merge pull request #33162 from m-kuhn/dxf_dash_beautify
...
DXF export preserve dashed line style
2019-12-05 08:46:00 +01:00
olivierdalang
f6c961a670
followup: improve tests to also test for results stability when seeded
2019-12-04 23:59:36 +01:00
olivierdalang
ef0f2de4ea
followup: fix type mistake and tests
2019-12-04 23:42:12 +01:00
Denis Rouzaud
a4fda0ac01
adapt test and actually run it
2019-12-04 22:20:40 +01:00
olivierdalang
b67dd4642b
followup: fix tests
2019-12-04 20:26:24 +01:00
Julien Cabieces
ba925bb36d
Create child feature with geometry from the relation editor ( #32528 )
...
* [FEATURE][needs-docs] Create geometric child feature from relation editor
2019-12-04 14:46:32 +01:00
Nyall Dawson
7746061b46
[FEATURE][processing] New algorithm "Repair Shapefile"
...
Uses GDAL to repair shapefiles which have a broken or missing .SHX file
2019-12-04 19:58:02 +10:00
rldhont
caf8cfafa4
[Tests] Update QgsVectorLayer readSld to test read label
2019-12-04 17:13:01 +10:00
Sandro Santilli
30fe748469
Add test for pointcloud layers fetching and related permissions
...
This commit is expected to fail, lacking an actual fix
See #32972
2019-12-04 16:59:24 +10:00
Nyall Dawson
66456a30e7
[labeling] When a layer is set to "blocking" mode, expose the obstacle
...
settings widget to allow users to tweak the obstacle behavior
Previously these settings were stuck inside the disabled label settings
widget, which meant that to edit them you had to temporarily enable simple
labels, tweak the setting, and then set back to obstacle mode... woot.
2019-12-04 14:47:36 +10:00
Nyall Dawson
cf43104806
Add some unit tests for label settings widgets
2019-12-04 14:47:36 +10:00
olivierdalang
65fed42213
[FEATURE][expressions] allow to seed random functions
...
useful to get deterministic random values
2019-12-03 13:35:27 +01:00
Nyall Dawson
316fd50b73
Fix tests
2019-12-03 19:38:24 +10:00
Nyall Dawson
9f63f49230
Move label obstacle settings out to their own class, and monkey patch around
...
to maintain current API
QgsPalLayerSettings is way too heavy, and we need to start refactoring
this into smaller atomic components
2019-12-03 19:38:24 +10:00
Vincent Cloarec
7f415ca7a7
[FEATURE] Static particle traces for rendering mesh vector dataset ( #33165 )
...
* [FEATURE] Static particle traces for rendering mesh vector dataset
This PR permits to display directly in QGIS static particle traces for vector datasets in mesh layer without any plugin.
The user can choose in the mesh layer properties window :
- the color
- the size of the traces (line width)
- the count of particles
- the maximum length of the particle's tail
2019-12-03 08:13:36 +01:00
Nyall Dawson
ea5b4234ab
Default to label placement engine v2 for newly created projects (for QGIS 3.12)
2019-12-03 13:48:45 +10:00