56860 Commits

Author SHA1 Message Date
Nyall Dawson
80f32aaa4c Fix some warnings 2019-08-14 06:46:19 +10:00
Nyall Dawson
3773f95d57 Move QgsMapRendererJob::needTemporaryImage to correct .cpp file 2019-08-14 06:46:19 +10:00
Nyall Dawson
dd27f72b0e Convert doxygen \throws to Sphinx :raises: syntax in sipify 2019-08-14 06:45:54 +10:00
Denis Rouzaud
9b4cb6f502
Merge pull request #31178 from 3nids/relation_composite_gui
[FEATURE] allow to define multiple field pairs for relations (composite keys)
2019-08-13 16:44:31 +02:00
Alessandro Pasotti
6d1c87cfae
Merge pull request #31191 from elpaso/bugfix-gh31177-server-gfi-cascading
Fix server WMS cascading getfeatureinfo
2019-08-13 11:07:24 +02:00
Nyall Dawson
a46803844a [layouts] Add an indicator in the status bar while a map redraw is
occurring in the background

Otherwise there's no way to tell if a redraw is humming away in
the background, or is completed...
2019-08-13 18:27:38 +10:00
Denis Rouzaud
bb775ddc60 simpler code to create strings 2019-08-13 09:33:50 +02:00
Nyall Dawson
71e8211016 Fix crash in categorized renderer widget (master only) 2019-08-13 12:47:20 +10:00
nirvn
67146aa0d2 Add test case for georeferencing of layouts exported to PDF 2019-08-12 19:21:17 +07:00
nirvn
4b0b8d4c93 [needs-docs][layout] Limit georeferencing of exported PDFs when reference map is on the first page 2019-08-12 19:21:17 +07:00
nirvn
69ff83bc30 Be more descriptive as to what 'RDF metadata' is 2019-08-12 19:21:17 +07:00
nirvn
f623c52fdf [needs-docs][layout] Give user explicit option to georeference (or not) PDF exports 2019-08-12 19:21:17 +07:00
Nyall Dawson
b3c1719e98 Fix unnecessary layer reloads triggering after project load, which
also causes a leak
2019-08-12 16:41:31 +10:00
Alexander Bruy
e3ad35bb32 add Ukrainian translation to tx config and update translators list 2019-08-12 09:15:10 +03:00
Nyall Dawson
79a7edcff2 Cleanup default item displayName formatting in export layers 2019-08-12 16:12:03 +10:00
Nyall Dawson
ba800662a0 Use reference instead of pointer 2019-08-12 16:12:03 +10:00
Nyall Dawson
8b154a1753 Remove unused layer 2019-08-12 16:12:03 +10:00
Nyall Dawson
071d8c777b Another tweak to export names: indicate source map item in map item sublayer names 2019-08-12 16:12:03 +10:00
Nyall Dawson
0f2a4828e4 Better display names for page items
These can't have ids set, so default to a nicer looking name
2019-08-12 16:12:03 +10:00
Nyall Dawson
6bf088a106 Much improved, more descriptive names for exported layers
E.g. use lists of item types to describe multi-item layers
2019-08-12 16:12:03 +10:00
Nyall Dawson
276a34fd12 Add API to set/retrieve plural variants of layout item type names (e.g. Labels instead of Label) 2019-08-12 16:12:03 +10:00
Nyall Dawson
2adfd27f4e [layouts] Don't export empty layers in layered exports 2019-08-12 16:12:03 +10:00
Nyall Dawson
98bcfe26b6 When multiple items of same type are on a layer, use type name as layer name 2019-08-12 16:12:03 +10:00
Nyall Dawson
508a03d7ce When an item is isolated on its own layer, use the item's id as the layer name 2019-08-12 16:12:03 +10:00
Nyall Dawson
208beb7f8c [layouts] Improve logic of splitting layouts into separate layers when
exporting to a multi-layer format

Now, items are either
- placed onto the same layer as other items (simple items like labels, lines, pictures)
- placed onto the same layer as only other items of equal types (semi-complex items like scalebars or pages)
- placed onto their own unique layers (complex items like legends, maps)

Plus lots of tests covering this, where previously there was few
2019-08-12 16:12:03 +10:00
Nyall Dawson
b6ab6df69f Also allow retrieving map layer ID associated with a layout export layer 2019-08-12 16:12:03 +10:00
Nyall Dawson
3fe851a306 API Improvements to handling layered layout exports, add tests
Fixes #20253
2019-08-12 16:12:03 +10:00
Nyall Dawson
568aabb6dd Add method to determine whether a layout map has any grids or overviews enabled 2019-08-12 16:12:03 +10:00
Nyall Dawson
697dd0ded4 Refactor out logic for exporting layouts into separate layers 2019-08-12 16:12:03 +10:00
Nyall Dawson
53075ad720 Provide rendered feature handlers access to render context 2019-08-12 16:12:03 +10:00
Nyall Dawson
4636773bd6 Add API to register rendered feature handlers for a layout map 2019-08-12 16:12:03 +10:00
Matthias Kuhn
5c2358edc2
Merge pull request #31156 from qgis/shorten_pull_request_template
Shorten pull request template
2019-08-12 07:44:12 +02:00
nirvn
2e4a5677b5 [FEATURE] Add option to georeference PDFs and TIFs to save map canvas as image/PDF 2019-08-12 12:10:01 +07:00
Nyall Dawson
c567974486 Fix leak in labeling due to expression context scope not being cleaned
correctly (master only)
2019-08-12 12:54:32 +10:00
Nyall Dawson
674d037c7d Fix leak when calling GEOS is valid 2019-08-12 12:54:17 +10:00
Nyall Dawson
c965f5fb75 Fix misleading dox, memory leaks in renderer widgets 2019-08-12 11:59:12 +10:00
Nyall Dawson
3b1a56b835 [layouts] Fix lockup in HTML item when using setFeature function which
raises a Javascript error
2019-08-12 11:09:58 +10:00
Nyall Dawson
b9116521a9 Fix valgrind use after free warning when converting CRS to WKT 2019-08-12 11:09:44 +10:00
Nyall Dawson
cc28d021dc Fix valgrind jump on unintialized value warning 2019-08-12 10:44:25 +10:00
Isghj5
9fd93a1013 ProcessingConfig: added multithread max thread setting, TilesXYZ: max thread now inherrrits from ProcessingConfig 2019-08-12 08:41:26 +10:00
Isghj5
ba17f3b81e TilesXYZ: removed try/except/print from atypical exception, regular raise chosen instead 2019-08-12 08:41:26 +10:00
Isghj5
6b519195da TilesXYZ: converted feedback notifications to translate 2019-08-12 08:41:26 +10:00
Isghj5
9baa6b7e51 TilesXYZ.py: core limit defined in general settings is applied to multicore render 2019-08-12 08:41:26 +10:00
Isghj5
0e48e45d21 prepare-commit changes 2019-08-12 08:41:26 +10:00
Isghj5
e6963cb6dd Processing(TilesXYZ): Added Multithreading with ThreadPoolExecutor, multicore optimization 2019-08-12 08:41:26 +10:00
Peter Petrik
3c5091bef7 Do not create sAuthIdToQgisSrsIdMap for proj5 builds 2019-08-12 08:38:13 +10:00
Nyall Dawson
ecfad70161 Ensure color picker opens inline for singleband psuedocolor renderer widget 2019-08-12 08:20:48 +10:00
lbartoletti
799aafb8a8 use FLEX/BISON FILES_PREFIX 2019-08-12 08:20:32 +10:00
lbartoletti
03c0d691bf Fix bison warning: deprecated directive 2019-08-12 08:20:32 +10:00
Alessandro Pasotti
8a0a67e017 Fix CRS transform 2019-08-10 21:10:00 +02:00