Matthias Kuhn
9f682a0663
struct class
2019-08-14 10:04:51 +02:00
Matthias Kuhn
8531754dd0
Apply suggestions from code review
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-08-12 07:38:33 +02:00
Matthias Kuhn
9ac76c7fb9
GUI improvements for allowed gaps configuration
2019-08-12 07:37:17 +02:00
Matthias Kuhn
fed5009ce5
Remove unrequired prepares
2019-08-12 07:28:28 +02:00
Matthias Kuhn
f5638fe63d
Check that QgsGeometryCheckContext::project is only used from main thread
2019-08-12 07:25:42 +02:00
Matthias Kuhn
43bbaf0c5d
dox++
2019-08-08 08:49:26 +02:00
Matthias Kuhn
2ed85987d1
Add fix allowed gaps test
2019-08-08 08:41:30 +02:00
Matthias Kuhn
0650e10037
Allowed gaps test
2019-08-08 08:41:30 +02:00
Matthias Kuhn
af1916f9f2
Connect allowed gaps layer saving to master layer
2019-08-08 08:41:30 +02:00
Matthias Kuhn
66d9e1887f
Safety check
2019-08-08 08:41:30 +02:00
Matthias Kuhn
9729f17732
Dox
2019-08-08 08:41:30 +02:00
Matthias Kuhn
07a0e24b0c
RAII
2019-08-08 08:24:23 +02:00
Matthias Kuhn
6fbe6228cf
Thread safety in duplicates check
2019-08-08 08:24:23 +02:00
Matthias Kuhn
19ee6f569c
Show complete gap even if partially ignored
2019-08-08 08:24:23 +02:00
Matthias Kuhn
a39fd60ff4
fix warnings
2019-08-08 08:24:23 +02:00
Matthias Kuhn
46a14f4343
Fix gaps by allowing exceptions
2019-08-08 08:24:22 +02:00
Matthias Kuhn
c8b277ba6c
Call prepare method on geometry checks
2019-08-08 08:24:22 +02:00
Matthias Kuhn
fd64cbb2c0
Code style
2019-08-08 08:24:22 +02:00
Matthias Kuhn
dc7169e2df
Add configuration interface for allowed gaps
2019-08-08 08:24:22 +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