50673 Commits

Author SHA1 Message Date
Nyall Dawson
9fcd4fd00c Use QgsVectorLayerUtils.matchAttributesToFields in processing in-place edits 2018-09-25 08:49:21 +10:00
Nyall Dawson
95e95d0fe8 Unit tests for QgsVectorLayerUtils.matchAttributesToFields 2018-09-25 08:49:21 +10:00
Nyall Dawson
a8794001e0 Add method to match feature attributes to the given fields
Refs #18784
2018-09-25 08:49:21 +10:00
Nyall Dawson
81487f9f18 Proxy filterNeedsGeometry for inverted/displacement renderers 2018-09-25 05:21:35 +10:00
Nyall Dawson
b5867bff58 Fix legend count is 0 if graduated/categorized expression uses geometry
Likely fixes many other bugs too with graduated/categorized renderers

Fixes #15544
2018-09-25 05:21:35 +10:00
Nyall Dawson
17567ee5aa [processing] Never run feature validity check for point layers
Saves a few cycles. The feature validity checks have no meaning
for point layers.

Refs #19919
2018-09-25 05:21:12 +10:00
Nyall Dawson
03bef52d13 Also shortcut validity checks for multipoint
Since multipoints are always valid (but not always simple, e.g.
if they contain a duplicate point they are valid but non-simple)
2018-09-25 05:20:49 +10:00
Nyall Dawson
f380577a6c Micro-optimisation: don't call geos for checking point geometry validity
Since a single-point will always be valid
2018-09-25 05:20:49 +10:00
Nyall Dawson
93f83a0271 [processing] Remove unnecessary index creation in points in polygons
...and rely instead on the data provider's spatial index.

Refs #19919
2018-09-25 05:20:25 +10:00
Nyall Dawson
6286cf1994 Don't spell check appdata file, it needs translation 2018-09-24 19:53:00 +10:00
Peter Petrik
f377498157 do not ask again for CRS when loading qgsproject with mesh layer 2018-09-24 11:04:50 +02:00
Peter Petrik
9c1dc79b43 fix issues from Nyall review 2018-09-24 11:04:50 +02:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Peter Petrik
74c9925448 update MDAL to 0.0.8 (fix projection issue) 2018-09-24 11:04:50 +02:00
Peter Petrik
5dffeaac52 use data provider CRS 2018-09-24 11:04:50 +02:00
Peter Petrik
2c8f23812e use spatial index to limit rendering of features 2018-09-24 11:04:50 +02:00
Peter Petrik
9b480afe1e use qpainter to draw lines, not QgsSingleSymbolRenderer 2018-09-24 11:04:50 +02:00
Peter Petrik
58116a222b only render when in extent 2018-09-24 11:04:50 +02:00
Peter Petrik
11645ac744 implement simple cache for rendering of mesh layer 2018-09-24 11:04:50 +02:00
Peter Petrik
eda3396864 update spatial index only when mesh or CRS changed 2018-09-24 11:04:50 +02:00
Peter Petrik
7ad1b7174d use projection string from MDAL provider in Mesh Layer 2018-09-24 11:04:50 +02:00
Martin Dobias
7a85fb0176 Catch coordinate transform exceptions 2018-09-24 10:47:51 +02:00
Martin Dobias
e148d4b69f Fix identification in 3D if CRS of 2D and 3D canvas are different 2018-09-24 10:47:51 +02:00
Matthias Kuhn
88ccb8813f
A bit less nesting 2018-09-24 10:44:39 +02:00
Nyall Dawson
f9f683dbd0 Fix new annotations are shown even when annotations are hidden
Fixes #19117
2018-09-24 18:26:51 +10:00
Tom Kralidis
746654429c [MetaSearch] update default CSW connections 2018-09-24 10:41:38 +10:00
Juergen E. Fischer
e2caf2209a fix tests (followup 9c5d397b4) 2018-09-24 02:13:37 +02:00
Juergen E. Fischer
6ecb08c4f7 Revert "Revert "reorder application initialization (fixes #19879, #19916, followup d6795818)""
This reverts commit 469b4b4a57fb2c30441b5de393662cdde36031b2.
2018-09-24 02:13:37 +02:00
Nyall Dawson
b4c8f627c3 Fix tiny symbol layer list on hidpi 2018-09-24 10:10:34 +10:00
Nyall Dawson
39f36c3db4 Fix layer styling dock has tiny icons on hidpi 2018-09-24 10:10:34 +10:00
Saber
87aa932041 fixes #16587 2018-09-24 09:08:10 +10:00
Harrissou Sant-anna
8cf75e4e3e Add style manager icon to the project properties dialog 2018-09-24 09:07:54 +10:00
Nyall Dawson
aa88c856c8 Remove maximum width from categorized/graduate expression widgets
This constraint makes the widgets no-hidpi friendly
2018-09-24 08:43:35 +10:00
Nyall Dawson
469b4b4a57 Revert "reorder application initialization (fixes #19879, #19916, followup d6795818)"
This reverts commit 9c5d397b4d4ce12cb81f05955760a18c213a8566

The commit broke *every* test on Travis ;)
2018-09-24 08:22:22 +10:00
Juergen E. Fischer
4911d2e745 [BUGFIX][NEEDS-DOCS] add command line option to hide browser (refs #18260) 2018-09-23 21:54:03 +02:00
Juergen E. Fischer
7623ee8daf fix #18938 2018-09-23 21:52:46 +02:00
Even Rouault
208571a832
Merge pull request #7984 from rouault/fix_19483
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes #19483)
2018-09-23 15:52:03 +02:00
Even Rouault
ac65ee0398
Merge pull request #7983 from rouault/fix_18804
QgsRasterFilWriter: fix crash when building overviews (fixes #19679)
2018-09-23 15:51:52 +02:00
Even Rouault
bdc11197f3
Merge pull request #7982 from rouault/fix_19477
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477)
2018-09-23 15:51:38 +02:00
Juergen E. Fischer
77be7eae2c packaging fix 2018-09-23 03:10:25 +02:00
Juergen E. Fischer
9c5d397b4d reorder application initialization (fixes #19879, #19916, followup d6795818) 2018-09-22 19:50:51 +02:00
Juergen E. Fischer
b6ec1bce5d fix warnings 2018-09-22 19:29:22 +02:00
Juergen E. Fischer
f27c7cad94 packaging: include oauth2 method and opencl programs 2018-09-22 19:29:22 +02:00
Even Rouault
d2a7668c16
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes #19483) 2018-09-22 16:47:32 +02:00
Even Rouault
0c0e30b48f
QgsRasterFilWriter: fix crash when building overviews (fixes #19679) 2018-09-22 15:09:47 +02:00
Even Rouault
fabdc04764
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477) 2018-09-22 11:59:14 +02:00
Even Rouault
9dd1406539
Merge pull request #7979 from rouault/fix_19722
QgsVectorFileWriter: fix DGN creation (fixes #19722, fixes #19723)
2018-09-22 00:43:43 +02:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885)
2018-09-22 00:43:27 +02:00
Nyall Dawson
eb24bdb484 Dox 2018-09-22 05:26:29 +10:00
Nyall Dawson
961835cd8e [processing][GRASS] v.decimate zrange should be doubles, not int 2018-09-22 05:26:29 +10:00