56765 Commits

Author SHA1 Message Date
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
Nyall Dawson
35fc3799cd Dox++ 2019-08-07 06:26:04 +10:00
Nyall Dawson
b4c4c99250 Improve QgsRasterLayer dox 2019-08-07 06:26:04 +10:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Daniele Viganò
8d44f84cd0 [RPM] Update the lib64 PyQtMacros.cmake patch 2019-08-06 16:15:10 +02:00
Juergen E. Fischer
cf6faa410d fix crash with invalid layers (fixes #31110) 2019-08-06 13:42:13 +02:00
Denis Rouzaud
0698eedc94
add test for detecting composite key relations (#31092) 2019-08-06 13:39:00 +02:00
Denis Rouzaud
e4faaf4988
add __repr__ for QgsMapLayer (#31108) 2019-08-06 13:36:14 +02:00
Nyall Dawson
e3fbe28148 Fix incorrect /Factory/ annotation 2019-08-06 21:31:59 +10:00
nirvn
ec75aa0300 [FEATURE][text renderer] Support vertical text orientation 2019-08-06 13:24:15 +07:00
Stephen Knox
9b4dbbd317 Fixes #28966 - disallow save project in postgres when < 9.5 (#30977) 2019-08-06 13:56:54 +10:00
Nyall Dawson
126ccb9736 Apply same logic regarding joined fields as is used in field calculator
to QgsFieldProxyModel set to hiding read only fields

I.e. show editable joined fields, but only if they are set to a non-hidden
editor widget
2019-08-06 13:47:41 +10:00
Juernjakob Dugge
4a1115096b Added test 2019-08-06 13:38:44 +10:00
Jürnjakob Dugge
18d7286b13 Remove unnecessary variables 2019-08-06 13:38:44 +10:00
Jürnjakob Dugge
85c8e6825a Removed unnecessary import 2019-08-06 13:38:44 +10:00
Juernjakob Dugge
75bfb28a1e Respect choice of relative or absolute paths for virtual layers when saving project.
Fixes #29481
2019-08-06 13:38:44 +10:00
Nyall Dawson
078ab8b04e
Merge pull request #30462 from DelazJ/patch-11
Add precision to travel cost parameter in service area algorithms
2019-08-06 07:17:46 +10:00
Alessandro Pasotti
648cb8c540
Merge pull request #31096 from elpaso/bugfix-gh-31095-bbox-precision
Fix JSON exported bbox and precision
2019-08-05 20:09:41 +02:00
Alessandro Pasotti
c25aeab214 Fix JSON exported bbox and precision
Fixes #31095
2019-08-05 18:50:53 +02:00
Denis Rouzaud
086fc20152
remove expected failure (#31091) 2019-08-05 15:18:05 +02:00
Matthias Kuhn
b21b2573be
Merge pull request #31085 from signedav/qml-widget-window
Fix layout of QML widget config
2019-08-05 09:48:02 +02:00
Alessandro Pasotti
f98b364da6
Merge pull request #31076 from elpaso/pg_raster_authcfg
Accept authcfg with or without quotes
2019-08-05 09:21:27 +02:00
Matthias Kuhn
549abbfb86
Merge pull request #31047 from m-kuhn/support_loading_curved_pg_types
[db_manager] support loading mixed curved and straight type tables
2019-08-05 08:39:44 +02:00
David Signer
dd2952ffad fix layout of qml widget 2019-08-05 08:28:31 +02:00