56811 Commits

Author SHA1 Message Date
Nyall Dawson
b9116521a9 Fix valgrind use after free warning when converting CRS to WKT 2019-08-12 11:09:44 +10:00
Nyall Dawson
cc28d021dc Fix valgrind jump on unintialized value warning 2019-08-12 10:44:25 +10:00
Isghj5
9fd93a1013 ProcessingConfig: added multithread max thread setting, TilesXYZ: max thread now inherrrits from ProcessingConfig 2019-08-12 08:41:26 +10:00
Isghj5
ba17f3b81e TilesXYZ: removed try/except/print from atypical exception, regular raise chosen instead 2019-08-12 08:41:26 +10:00
Isghj5
6b519195da TilesXYZ: converted feedback notifications to translate 2019-08-12 08:41:26 +10:00
Isghj5
9baa6b7e51 TilesXYZ.py: core limit defined in general settings is applied to multicore render 2019-08-12 08:41:26 +10:00
Isghj5
0e48e45d21 prepare-commit changes 2019-08-12 08:41:26 +10:00
Isghj5
e6963cb6dd Processing(TilesXYZ): Added Multithreading with ThreadPoolExecutor, multicore optimization 2019-08-12 08:41:26 +10:00
Peter Petrik
3c5091bef7 Do not create sAuthIdToQgisSrsIdMap for proj5 builds 2019-08-12 08:38:13 +10:00
Nyall Dawson
ecfad70161 Ensure color picker opens inline for singleband psuedocolor renderer widget 2019-08-12 08:20:48 +10:00
lbartoletti
799aafb8a8 use FLEX/BISON FILES_PREFIX 2019-08-12 08:20:32 +10:00
lbartoletti
03c0d691bf Fix bison warning: deprecated directive 2019-08-12 08:20:32 +10:00
Juergen E. Fischer
bf31ce1d8c debian packaging:
- add dependency for qgis-server on python3-qgis
- set test timeouts to 60s

osgeo4w:
- set test timeouts to 60s
2019-08-10 20:54:18 +02:00
Juergen E. Fischer
bc1aea62df osgeo4w: switch nightly to GDAL3 and PROJ6 nightlies 2019-08-09 21:32:19 +02:00
Blottiere Paul
7e16b6c9db
Merge pull request #30277 from marisn/TileSet_Title
WMS provider: Extract TileSet layer title and abstract from matching …
2019-08-09 19:23:16 +02:00
Māris Nartišs
6eeb031134 WMS provider: Extract WMS-C TileSet layer title and abstract from matching WMS Layer data (fixes #30262) 2019-08-09 13:42:10 +03:00
Juergen E. Fischer
0b757f84d1 debian packaging: drop cosmic 2019-08-09 10:08:57 +02:00
Nyall Dawson
364c937ee9 Ensure layer scope and fields are available during callout data defined expression preparation 2019-08-09 10:40:20 +10:00
Nyall Dawson
c20395f630 Avoid unnecessary detachment of QgsProperty when evaluating expression
based properties

Sponsored by QGIS grant, identified by Hotspot
2019-08-09 10:40:20 +10:00
Nyall Dawson
f17846c319 If an expression based property can't be prepared, don't continually
retry preparing it for every feature rendered

This can cause a huge slowdown on projects where a layer has a
data defined property with an invalid expression (e.g. due to
a field which has been renamed or dropped).

Sponsored by QGIS grant, identified by Hotspot
2019-08-09 10:40:20 +10:00
Nyall Dawson
34a2ca0dc0 [needs-docs][labeling] Drop setting to control label solution method
from project labeling settings

This is an unnecessary setting, resulting in 1000's of extra, very complex
and untested lines of code. Furthermore, the differences are almost non-existant
and it's extremely unlikely end users would (or should) need to change this
setting.
2019-08-09 09:38:04 +10:00
Matthias Kuhn
6fd35f6f17 Cleanup 2019-08-09 09:16:21 +10:00
lbartoletti
3afe7ad769 Fix BSD/Clang build 2019-08-09 08:47:00 +10:00
Nyall Dawson
2d016830ec Avoid loss of styling information when correcting raster layer paths
via API
2019-08-09 06:00:33 +10:00
Nyall Dawson
8c7a56c346 Allow setting the raster renderer for invalid raster layers
Avoids loss of style information when layer paths are broken
2019-08-09 06:00:33 +10:00
Nyall Dawson
30ef5333d9 Make raster renderer widget tolerant to invalid raster layers 2019-08-09 06:00:33 +10:00
Juergen E. Fischer
54e846419f fix mac build 2019-08-08 21:02:30 +02:00
nirvn
6a75d9d997 [text renderer] Add rotation-based orientation mode 2019-08-08 16:59:22 +07:00
Juergen E. Fischer
b9c348a3b6 debian packaging: fix dash submission of failed builds
(cherry picked from commit 3b4f358eec36e25788fc747934ab547ba7a51d2f)
2019-08-08 09:39:16 +02:00
Matthias Kuhn
a1736af2c6
Merge pull request #31144 from m-kuhn/thread_safety_duplicates_check
Thread safety in duplicates check
2019-08-08 07:32:15 +02:00
Matthias Kuhn
96eeca3168 Fix log message title on label geometry generators
Fix #30379
2019-08-08 12:34:03 +10:00
Nyall Dawson
f672124e39 Take the nuclear option 2019-08-08 11:19:55 +10:00
Nyall Dawson
013779824f Attempt to fix doxygen warning 2019-08-08 11:19:55 +10:00
Nyall Dawson
fe8b7c0c95 [processing] Always clear list of previously encountered errors on
each new algorithm execution

Avoids the situation where errors reported during an algorithm
which was overall successully executed are append to the errors
for later execution steps
2019-08-08 10:07:27 +10:00
Juergen E. Fischer
2c5766e7f9 update packaging after 92ac7a2e93a2 2019-08-07 22:36:40 +02:00
Matthias Kuhn
ce513bfc3c RAII 2019-08-07 20:22:40 +02:00
Matthias Kuhn
2db7f5aac9 Thread safety in duplicates check
Fix #30798
2019-08-07 18:40:20 +02:00
Juergen E. Fischer
650f79617c fix windows build (includes update to inja.hpp 57ac9b93725cb) 2019-08-07 18:03:56 +02:00
Denis Rouzaud
97a002f35a
fix deprecation warning (#31141) 2019-08-07 17:40:50 +02:00
Denis Rouzaud
4e56eaf035
add test for relation aggreation with composite keys (#31117) 2019-08-07 14:01:45 +02:00
Nyall Dawson
eface49a6a Try to hide member from sip 2019-08-07 21:53:16 +10:00
Nyall Dawson
74e5ee132e Correctly register displaced points 2019-08-07 21:53:16 +10:00
Nyall Dawson
dca0f3f4fa Add API to allow rendered feature handlers to indicate which attributes
they require

And ensure these are fetched in the iterator used for rendering features
2019-08-07 21:53:16 +10:00
Nyall Dawson
992939c724 Call rendered features handlers when rendering maps 2019-08-07 21:53:16 +10:00
Nyall Dawson
c71cd4b5fc Initial work on rendered feature handler interface
Adds an interface for classes which provider custom
handlers for features rendered as part of a map render job.

QgsRenderedFeatureHandlerInterface objects are registered
in the QgsMapSettings objects used to construct map render
jobs. During the rendering operation, the handleRenderedFeature()
method will be called once for every rendered feature, allowing
the handler to perform some custom task based on the provided
information.

They can be used for custom tasks which operate on a set of
rendered features, such as creating spatial indexes of the
location and rendered symbology bounding box of all features
rendered on a map.
2019-08-07 21:53:16 +10:00
Julien Cabieces
2cc6775354 Use context.project() instead of QgsProject.instance() and
QgsProcessingUtils generateTempFileName method
2019-08-07 21:17:05 +10:00
Julien Cabieces
36fe8e64e3 Get supported extension to avoid unavailable driver 2019-08-07 21:17:05 +10:00
Julien Cabieces
4232e67c3d fixes #24041 : Write intermediate memory layer to disk in Execute SQL
algorithm so they can be referenced by the virtual layer provider
2019-08-07 21:17:05 +10:00
Matthias Kuhn
0181248fff
Merge pull request #31135 from m-kuhn/fix-measuretool-area
Measure Tool: Recalculate area when measure polygon drawing finishes
2019-08-07 10:50:37 +02:00
Juergen E. Fischer
65e86eb0de translation string fix 2019-08-07 10:27:57 +02:00