Nyall Dawson
8e411eb832
Make PAL problem solver a bit more memory safe
...
(cherry picked from commit 3c688597a5ad56bdbeee8223a073960bde89e6e4)
2019-11-28 13:39:57 +10:00
Harrissou Sant-anna
ce0363a704
Move the vertical spacer at the bottom of the raster marker symbol dialog
...
and fix tabulation order
2019-11-28 09:34:18 +07:00
Nyall Dawson
8a7c1271eb
Fix method name
2019-11-28 09:54:51 +10:00
Nyall Dawson
849f3152da
Avoid trailing ; warning thrown by QGSCOMPARENEAR macro
2019-11-28 09:54:51 +10:00
Nyall Dawson
4622ede354
Flip logic and leave default labeling engine as v1, mark v2 as experimental
...
Allows us time to tweak and refine the new rules before deploying on a
widespread basis
2019-11-28 09:54:51 +10:00
Nyall Dawson
bdb1c76ec8
[needs-docs] Add labeling engine version setting in project labeling settings dialog
...
This allows users to upgrade existing projects to the newer labeling engine version.
A warning will show advising users that change the version will alter the placement
of labels within the project.
2019-11-28 09:54:51 +10: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
Alessandro Pasotti
daeae76076
Store relative publicSource when possible
2019-11-27 18:04:03 +01:00
Alessandro Pasotti
37c42c3665
Relation-reference widget: load dependencies
...
Same behavior of value-relation widget.
Funded by: ARPA Piemonte
2019-11-27 17:54:16 +01:00
Nyall Dawson
d953f9ed0f
[pal] Don't sort final label placements in pal
...
We have a (better) sorting method in QGIS which accounts for other
things like the label z orders, so this sorting in the pal library
is completely redundant and is immediately overwritten by QGIS
label sorting routines.
2019-11-27 17:11:57 +10:00
Matthias Kuhn
98d1f98f47
Merge pull request #33060 from m-kuhn/value_map_ordered_import
...
Keep order of value map items when importing CSV
2019-11-27 07:44:59 +01:00
Nyall Dawson
a997ab8b85
Add more labeling tests covering different label/obstacle combinations
2019-11-27 13:16:52 +10:00
Nyall Dawson
175a075bd8
Use geojson files instead of sqlite for PAL test suite
...
It's much more git friendly...
2019-11-27 11:07:52 +10:00
Nyall Dawson
2bccde39cd
Tweak test qml for test consistency
2019-11-27 11:07:52 +10:00
Nyall Dawson
b921e3e299
[processing] Fix menu links following c++ algorithm ports
2019-11-27 09:47:07 +10:00
Nyall Dawson
5d27d7cfdf
Attempt to fix crash when adding fields to existing table
...
Refs #32819
2019-11-27 05:07:23 +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
root676
9fba322a73
fix point count test parameter
2019-11-27 04:18:28 +10:00
root676
3bf89fe100
fix CRS test parameter
2019-11-27 04:18:28 +10:00
root676
f19922a495
establish CRS parameter as normal param
2019-11-27 04:18:28 +10:00
root676
2fa6a3ff5c
optimize index usage and geometry creation
2019-11-27 04:18:28 +10:00
root676
948ea41656
move QgsSpatialIndex to stack and fix QList check
2019-11-27 04:18:28 +10:00
root676
a7ffa9ff31
fix parameter names and add crs and attempts parameters to advanced parameter group
2019-11-27 04:18:28 +10:00
root676
03f0dd635c
fix multiple spaces in helpstring and exception
2019-11-27 04:18:28 +10:00
root676
590c57c05e
remove python alg help
2019-11-27 04:18:28 +10:00
root676
b96aed4e2d
adaptation of algorithm test parameters
2019-11-27 04:18:28 +10:00
root676
08c194c7e0
remove python version of Random points in extent algorithm
2019-11-27 04:18:28 +10:00
root676
a75436c5e3
[feature][processing] Port and optimization of Random points in extent algorithm to C++
2019-11-27 04:18:28 +10:00
nirvn
d0348127bf
[ui] Fix out-of-sync show help button enabled state for the expression builder
2019-11-26 15:27:04 +07:00
Nyall Dawson
ab6239b753
Don't report success when a calculation error occurred
2019-11-26 18:25:26 +10:00
Nyall Dawson
f086d4e6bd
Avoid qt containing detachment, remove some auto use
2019-11-26 18:25:26 +10:00
Nyall Dawson
bc6c3e57ff
Avoid altering std::map while iterating over it (potentially unsafe)
...
And avoid some double-lookups
2019-11-26 18:25:26 +10:00
Nyall Dawson
e3d2dcdbe3
Fix crash in raster calculator on Windows builds
...
It's not safe to take the data from a vector like this, it will be
deleted as soon as the vector itself is
Fixes #32855
2019-11-26 18:25:26 +10:00
Matthias Kuhn
4512318f1c
Happy now?
2019-11-26 08:36:33 +01:00
Nyall Dawson
7f5baf036f
Fix SVG artifact outside of viewbox in poi_place_city.svg file
...
Fixes #33061
2019-11-26 14:03:32 +07:00
nirvn
a45811886c
[diagrams] Harmonize the diagram type combobox looks
2019-11-26 13:04:09 +07:00
nirvn
5efd20d258
[layouts] Shuffle legend item widget tool buttons to reduce visual cumbersomeness
2019-11-26 13:03:36 +07:00
nirvn
b700e6d68c
[layouts] Make legend's filter by map extent widget a check box
2019-11-26 13:03:36 +07:00
Nyall Dawson
a225ec0952
Don't enable diagram effects by default
2019-11-26 15:19:57 +10:00
Nyall Dawson
0b3b7123b9
[processing] Port "Count points in polygon" algorithm to c++
2019-11-26 13:45:08 +10:00
Denis Rouzaud
abada63c93
convert if structures to switch
2019-11-26 11:25:31 +10:00
Nyall Dawson
3d4abaf818
Fix windows build
2019-11-26 10:53:10 +13:00
Harrissou Sant-anna
e02b5e6416
Make the comment on mask shape usage multiline
...
avoiding unnecessary scroll to fully read it
2019-11-26 05:32:19 +10:00
Alexander Bruy
3e63d65f89
address comments
2019-11-26 04:40:07 +10:00
Alexander Bruy
82559322d1
use QGIS API instead of GDAL API to create heatmaps
2019-11-26 04:40:07 +10:00
Nyall Dawson
42d6c3941f
Hide coordinate operations which utilise a LAS/LOS grid shift file,
...
which are unsupported by proj 6
E.g. some candidate operations between EPSG:3035 and EPSG:5514
Since these can NEVER (as of now) be instantiated by proj, even if
the grid shift files are present, it's misleading to present them
as options to users.
Refs #30569
2019-11-26 03:59:39 +10:00
Nyall Dawson
97fd59a99a
Fix grid file installation fails if path does not already exist
...
Fixes #32936
2019-11-26 03:59:13 +10:00
Nyall Dawson
3ba9515427
Fix expression function helping missing for all functions
...
Fixes #33016
2019-11-26 03:58:51 +10:00
Nyall Dawson
8b968cf2f5
Add missing documentation for geom_to_wkt precision argument
2019-11-26 03:58:51 +10:00
Nyall Dawson
37f2d2d8ae
Fix function help for project function
...
Fixes #33035
2019-11-26 03:58:51 +10:00