57261 Commits

Author SHA1 Message Date
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
Denis Rouzaud
95355c55af
remove uncessary breaks 2019-08-20 15:38:48 +02:00
Alessandro Pasotti
0897b4e7fe
Merge pull request #31299 from elpaso/server-python-catch-plugins-exceptions
Server: catch Python exceptions from plugins
2019-08-20 13:50:19 +02:00
Peter Petrik
07841c4e2e fix sip 2019-08-20 13:40:26 +02:00
Peter Petrik
8f831bb37a qt 5.13.1 does not have QPrinter header 2019-08-20 13:40:26 +02:00
Peter Petrik
5e849793ca fix qml loading 2019-08-20 13:40:26 +02:00
Alessandro Pasotti
c9c2d3ed27 Server API: simplify contentTypes handling and allow overrides 2019-08-20 12:22:32 +02:00
Nyall Dawson
b47dea0cc6 Spelling 2019-08-20 14:58:14 +10:00
Nyall Dawson
090d148805 Remove outdated code 2019-08-20 14:58:14 +10:00
Nyall Dawson
b2ae45b475 Respect group structure in geopdf output 2019-08-20 14:58:14 +10:00
Nyall Dawson
763e2ef94b Unit tests for theme based layout rendering feature collection 2019-08-20 14:58:14 +10:00
Nyall Dawson
cf19528006 Fix crash in staged render jobs 2019-08-20 14:58:14 +10:00
Nyall Dawson
f47ab549a2 If a layout map is set to follow a particular theme, don't iterate over
the export themes for that map

Otherwise it breaks the ability to have inset maps during iterated theme exports
2019-08-20 14:58:14 +10:00
Nyall Dawson
c8a368f598 Start prepping for group-based output, shuffle tests so that some work on GDAL < 3 2019-08-20 14:58:14 +10:00
Nyall Dawson
8459112cd3 Start on tests - todo - handle map theme in feature registration! 2019-08-20 14:58:14 +10:00
Nyall Dawson
39dc3147ef More tests 2019-08-20 14:58:14 +10:00
Nyall Dawson
a3d60751d7 Update export layer names 2019-08-20 14:58:14 +10:00
Nyall Dawson
5a252a3b81 Expose map theme info to export layer details 2019-08-20 14:58:14 +10:00
Nyall Dawson
f49389d751 [layouts] API framework to allow rendering multiple map themes to layered exports 2019-08-20 14:58:14 +10:00
Mathieu Pellerin
a726f4f7fc
[FEATURE] Brand new map canvas image decoration (#31291) 2019-08-20 10:37:48 +07:00
Alessandro Pasotti
dab7481083 More Python exception bubbling and SIP enum fix 2019-08-19 20:50:01 +02:00
Alessandro Pasotti
4cc7a0ffa6 Server: catch Python exceptions from plugins
Make sure Python exceptions are converted into
QgsServerException and catched by the main
service executor.

Without this patch, the server process is terminated
(aborted).
2019-08-19 18:32:03 +02:00
Alessandro Pasotti
037bdef53e
Merge pull request #31295 from elpaso/server-wfs3-layerid-as-operation-id
Use layerId as OperationId (because of spaces and utf8 in the layer
2019-08-19 15:57:48 +02:00
Alessandro Pasotti
b20f2ea175 Use layerId as OperationId (because of spaces and utf8 in the layer
names)
2019-08-19 14:44:58 +02:00
Matteo Ghetta
8cdfc2554d Rename Parent to Child (#31290) 2019-08-19 14:12:09 +02:00