57185 Commits

Author SHA1 Message Date
Matthias Kuhn
4ebe6f96eb Funding 2019-08-24 10:17:56 +02:00
nirvn
e7a46c21f6 Play safe, lock mutex on all QgsTileCache functions 2019-08-24 09:44:55 +07:00
Juergen E. Fischer
ea4756ab1a add feeding of layout pictures with blobs 2019-08-23 17:43:45 +02:00
Denis Rouzaud
cab11fe919 add method to set extra identifier values to Null and embryon of test 2019-08-23 16:17:37 +02:00
Juergen E. Fischer
d40d04c40e escape ampersands in recent file menu (eg. from database projects) 2019-08-23 13:54:21 +02:00
Denis Rouzaud
65cfaa53e0 avoid deprecation warnings/errors 2019-08-23 08:17:24 +02:00
Denis Rouzaud
a5574eb96b allow QgsFeatureListComboBox to handle multiple keys 2019-08-23 08:17:14 +02:00
nirvn
285f46f8d9 Fix wrong direction of legend opacity slider widget for raster layers (fixes #31354) 2019-08-23 12:25:31 +07:00
Nyall Dawson
24fb1196c5 [needs-docs] Revise QgsPathResolver::setPathPreprocessor API
Allow path preprocessors to be chained and don't force replace
any existing ones.

Processors can be removed via a call to QgsPathResolver::removePathPreprocessor,
using the unique ID returned by the original call to setPathPreprocessor
2019-08-23 06:35:12 +10:00
Nyall Dawson
3209cf2282 Make Extract Selected Features algorithm thread safe
Now it can safely run as a background task
2019-08-23 06:34:52 +10:00
Nyall Dawson
f62f85769e [FEATURE] When a layer path is fixed in a project, auto scan through
all other broken paths and try to auto-fix any others which were
also pointing to the same original broken file path

AKA the ArcMap behavior
2019-08-23 06:34:32 +10:00
Nyall Dawson
1f5e1558ca Fix massive regression in speed of editing operations (E.g. pasting 100s+
features into a layer)

This was triggering multiple duplicate geometry requests from the provider
even when no validation settings were specified for a layer
2019-08-23 06:34:09 +10:00
Nyall Dawson
77f7988496 Update test 2019-08-23 06:33:47 +10:00
Nyall Dawson
9210478998 Update test mask image 2019-08-23 06:33:47 +10:00
Nyall Dawson
02ffca34d7 Fix font markers become too large when size is actually very small
When the font size drops below a certain threshold, qt resets it to
a default size. This means that font markers which should be rendered
tiny (e.g. 0.5 pixels) end up being 10pt font size...

Also bypass font marker rendering completely if marker size is specifically
set to 0.
2019-08-23 06:33:47 +10:00
Nyall Dawson
266c1aa35c Add a fast shortcut to rectangle/geometry intersection test
We can shortcut a lot of heavy lifting by first testing that
the bounding boxes intersect
2019-08-23 06:33:23 +10:00
Nyall Dawson
4d909a810a Some BIG speed ups to QgsGeometry::isGeosEqual test
Implement some shortcuts to avoid expensive checks where we can

Speeds up processing "delete duplicate geometry" algorithm and
topology plugin duplicate geometry checks by orders of magnitude
2019-08-23 06:32:51 +10:00
Alessandro Pasotti
631ac63e57 Call QgsRasterBlock destructor from SIP (add factory)
Fixes #31343 memory leak
2019-08-23 06:32:32 +10:00
Nyall Dawson
9ae5ff5c52 Speed up QgsFeatureRequests::acceptFeature when only non-exact intersection tests are required 2019-08-23 06:32:04 +10:00
nirvn
570e85dd53 Fix save map canvas to clipboard feature 2019-08-22 18:10:55 +07:00
Matthias Kuhn
2e5e009445
Merge pull request #31280 from DelazJ/addtoolbarsWidgets
Allow more actions from toolbar to be listed/managed in the customization dialog
2019-08-22 10:48:46 +02:00
Nyall Dawson
77191597ff Spelling 2019-08-22 17:36:43 +10:00
Nyall Dawson
3583e7ad0c More explicit documentation of geometry classes, with warnings
that calculations are Cartesian only and point users to QgsDistanceArea
for ellipsoidal calculations

Fixes #31275
2019-08-22 17:36:43 +10:00
Alessandro Pasotti
fad258e37a
Merge pull request #31319 from elpaso/db_interface_new_constructors
New ctors for connections interface
2019-08-22 09:03:17 +02:00
Nyall Dawson
4e4a93dbf9 Don't try to resolve svg paths corresponding to embedded svg files
Big speedup when loading symbols with embedded paths
2019-08-22 13:53:01 +10:00
Alessandro Pasotti
fc73f7bec1
Merge pull request #31325 from elpaso/bugfix-gh31226-gfi-href
Fix crash when clicking on an hyperlink in identify
2019-08-21 18:46:37 +02:00
Alessandro Pasotti
ed7794cd81 Fix crash when clicking on an hyperlink in identify
Fixes #31226
2019-08-21 18:14:48 +02:00
Sandro Santilli
ae0721891b Restore TopoViewer functionality
This was broken in commit d7166404030292b9536e649795e9efec49225dfd
2019-08-21 17:27:48 +02:00
Alessandro Pasotti
a092a82b52 New ctors for connections interface
Tries to make it clearer what are the use cases for the two
constructors (name and uri).
2019-08-21 15:45:21 +02:00
Alessandro Pasotti
95073f9a1e
Merge pull request #31318 from elpaso/server-api-remove-debug-output
Remove debugger from HTML template
2019-08-21 13:41:27 +02:00
Alessandro Pasotti
8402a408ce Remove debugger from HTML template 2019-08-21 12:42:13 +02:00
Nyall Dawson
09785d653c Add unit test for custom groups 2019-08-21 20:33:02 +10:00
Nyall Dawson
aa590a8e4b Respect custom PDF group settings during export 2019-08-21 20:33:02 +10:00
Nyall Dawson
768376c8c5 Revert temporary change 2019-08-21 20:33:02 +10:00
Nyall Dawson
94921f483b Don't export features for layers set to skip 2019-08-21 20:33:02 +10:00
Nyall Dawson
d014d63ede Don't show canvas specific formatting settings in layer tree model
used outside of main canvas

E.g. we shouldn't show scale based visibility text format changes
or the editable toggle in models used for snapping dialog, project
properties, etc.

These properties are only associated with the main map canvas.
2019-08-21 20:33:02 +10:00
Nyall Dawson
885029be5c UI 2019-08-21 20:33:02 +10:00
Nyall Dawson
7c22da07f5 [FEATURE] Add UI for configuring layer-by-layer export attributes and layer groups to GeoPDF export
Allows users to set on a layer-by-layer basis whether layers should be identifiable
and include vector features in a GeoPDF export, and optionally whether to group multiple
layers together into a single logical, switchable entry in the GeoPDF layer tree.
2019-08-21 20:33:02 +10:00
Nyall Dawson
2ca302999d [FEATURE] "Center of segment" placement mode for marker and hash line symbol layers
Adds a new placement option to place markers/hash lines at the center
point of individual line segments

Refs #29785
2019-08-21 19:41:58 +10:00
nirvn
8145f8f927 [ui] Improve height of save map canvas as PDF dialog 2019-08-21 12:34:44 +07:00
Nyall Dawson
b3e4c28505 Fix unit test 2019-08-21 05:15:04 +10:00
Nyall Dawson
754d61322a Dox 2019-08-21 05:15:04 +10:00
Nyall Dawson
f45674c1d2 No crash when geopdf export is not available 2019-08-21 05:15:04 +10:00
Nyall Dawson
dbf9d917dd [FEATURE][layouts] Option to export multiple map themes while
creating GeoPDF documents from layouts
2019-08-21 05:15:04 +10:00
Nyall Dawson
9116907eca Bounds polygon must be in PDF units 2019-08-21 05:15:04 +10:00
Nyall Dawson
3bb93fc00f Correctly georeference layout geopdf exports 2019-08-21 05:15:04 +10:00
Nyall Dawson
edf81aae3d Add API to handle non-rectangular georeferenced regions in geopdf pages 2019-08-21 05:15:04 +10:00
Nyall Dawson
417f8d97a4 Hookup other pdf export settings to settings dialog 2019-08-21 05:15:04 +10:00
Nyall Dawson
4587181fbe [FEATURE] Option to export layouts as GeoPDF files 2019-08-21 05:15:04 +10:00
Nyall Dawson
1c99754f23 Make PDF export options dialog a real class 2019-08-21 05:15:04 +10:00