56788 Commits

Author SHA1 Message Date
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
Matthias Kuhn
31f0b1fb94 Measure Tool: Recalculate area when measure polygon drawing finishes
Fix #31134
2019-08-07 10:02:38 +02:00
Matthias Kuhn
0ea4dfd481
Merge pull request #31053 from DelazJ/patch-15
Add checkbox to allow non core devs to indicate backport desire
2019-08-07 08:01:49 +02:00
Nyall Dawson
0419f182d8 Use a more appropriate, global snap to grid algorithm when simplifying
geometries for layout exports

This avoids all chance of slivers or overlaps between previously
adjacent features.
2019-08-07 15:57:26 +10:00
Nyall Dawson
d8d23b56ea [FEATURE][layouts] Add option to simplify PDF or SVG exports
This new setting, "Simplify geometries to reduce output file size",
is exposed in the SVG or PDF export settings dialogs shown when
exporting a layout/atlas/report to PDF or SVG.

If checked (the new default), geometries will be simplified while exporting
layouts in order to remove any redundant vertices which are not
discernably different at the export DPI. (e.g. if export DPI is 300 dpi,
vertices less then 1/600 inch different from each other will be removed).

This avoids exporting ALL geometry vertices during PDF/SVG export,
which can result in a ridiculously complex and large export file size.
Aside from the file size issues, it also causes problems when trying
to load these outputs into other applications, e.g. Inkscape, which
chokes on the huge number of vertices and grinds to a crawl.

Sponsored by the GeoPDF export group
2019-08-07 15:57:26 +10:00
Nyall Dawson
fe40512200 [layouts] Respect layout context simplification settings in layout map renders 2019-08-07 15:57:26 +10:00
Nyall Dawson
daf3491b5e [layouts] Add vector simplification method to QgsLayoutRendereContext
Allows specification of simplify method to use when rendering layouts
2019-08-07 15:57:26 +10:00
Nyall Dawson
615e245b18 Add method to specify global vector simplification overrides on a
QgsMapSettings object

If specified (they default to off), these simplification settings
will override any layer-specific simplification settings, and
provide a way for specifying a global simplication to apply
to vector layers while exporting maps.
2019-08-07 15:57:26 +10:00
Nyall Dawson
401b469ed0 Use real news feed url 2019-08-07 15:07:04 +10:00
Nyall Dawson
286b967917 Consistent dox 2019-08-07 10:40:30 +10:00
Nyall Dawson
238d0a0f9e Fix changing source effect properties doesn't "stick"
Fixes #31118
2019-08-07 10:35:26 +10:00
Nyall Dawson
99594147b1 [processing] Fix raster layers are not shown as an option for map layer
parameters in batch mode

Fixes #30739
2019-08-07 09:58:46 +10:00
Nyall Dawson
c6b3c47ecb Don't try to translate ellipsis character
Fixes #31115
2019-08-07 09:58:31 +10:00
Juergen E. Fischer
96253d2fb6 dwg import: allow opening existing geopackage without confirmation 2019-08-07 01:31:09 +02:00
Nyall Dawson
830ec4b308 Another test 2019-08-07 09:02:28 +10:00
Nyall Dawson
75326e50af Ensure raster style is not lost when dealing with invalid layer sources 2019-08-07 09:02:28 +10:00
Harrissou Sant-anna
0f3b02c988 Add checkbox to allow non core devs to indicate backport desire
and remove some superfluous checkbox in template
2019-08-06 23:59:27 +02:00
lbartoletti
03f48bdbd8 Rewriting documentation 2019-08-07 07:30:19 +10:00
lbartoletti
2354065e90 use Enum for Result of addTopologicalPoints 2019-08-07 07:30:19 +10:00
lbartoletti
aac1e23de0 remove debug message from test 2019-08-07 07:30:19 +10:00
lbartoletti
aaa6f65537 topologicalEditing: Fix Z for add feature 2019-08-07 07:30:19 +10:00
lbartoletti
6505e30fc4 use Q_ASSERT 2019-08-07 07:28:08 +10:00
lbartoletti
bdbb435d09 topological editing: fix topological editing for reshape map tool 2019-08-07 07:28:08 +10:00
Nyall Dawson
6a4ec5b704 [processing][needs-docs] Add missing input and output types to decorator syntax 2019-08-07 07:26:54 +10:00