46646 Commits

Author SHA1 Message Date
Nyall Dawson
bba3f6c6fe Add QgsProjectMetadata member to QgsProject 2018-03-22 16:13:30 +11:00
Nyall Dawson
09aca080ec Add new QgsProjectMetadata metadata class
For storing QgsProject metadata. Contains all metadata items
from QgsMetadataBase, plus adds author and creation datetime
metadata items.
2018-03-22 16:13:30 +11:00
Nyall Dawson
1e05de049a Update metadata validator for base class split 2018-03-22 16:13:30 +11:00
Nyall Dawson
a96d59a1a6 Create unit test for QgsMetadataBase 2018-03-22 16:13:30 +11:00
Nyall Dawson
5cf2656ace Split metadata into two classes
A new base class QgsMetadataBase has been split off QgsLayerMetadata,
containing all non-layer specific metadata items.

This allows us to reuse the common metadata settings for other
non-layer items, e.g. projects.
2018-03-22 16:13:30 +11:00
Nyall Dawson
9c06d86ad8 Fix some HIG string violations 2018-03-22 12:32:08 +10:00
Nyall Dawson
a2ba566e2b Fix generation of world file when exporting canvas
Fixes #18491
2018-03-22 11:18:26 +11:00
Nyall Dawson
8a5924d0f1 [layouts][needs-docs] Add missing tool actions to Edit menu
Fixes #18494
2018-03-22 09:17:38 +10:00
Nyall Dawson
5e52d5142d [layouts] Add missing tooltips to toolbars
Fixes #18495
2018-03-22 09:13:56 +10:00
Nyall Dawson
7942f7e0bc [layouts] Fix Toolbox toolbar name
Refs #18494
2018-03-22 09:00:41 +10:00
Nyall Dawson
bbebcb4d33 Fix qt warning about widget already has a layout 2018-03-22 09:00:16 +10:00
Nyall Dawson
49d585ef17 [processing][gdal] Move method to write input files to text file to GdalUtils 2018-03-22 06:46:39 +11:00
Nyall Dawson
b17feaaa97 [processing][gdal] Expose no data options for gdal merge algorithm 2018-03-22 06:46:39 +11:00
Nyall Dawson
1d8ecaf79a [processing][gdal] Use a text file for input file list to gdal_merge
Otherwise command fails when attempting to merge many rasters due
to length of command line. Now the algorithm uses the same approach
as buildvrt and creates a text file containing the names of the
rasters and then passes this to the gdal_merge command

Fixes gdal merge algorithm fails with many input files
2018-03-22 06:46:39 +11:00
Denis Rouzaud
95fa89ef70 [travis] add section title 2018-03-21 14:03:22 +01:00
Denis Rouzaud
c752e15326 fix docker variables in Travis (take 2) 2018-03-21 13:45:44 +01:00
Nyall Dawson
66c8a85b88 Fix incorrect display of coordinates in status bar 2018-03-21 22:20:43 +11:00
Alessandro Pasotti
017b9343ce
Merge pull request #6646 from elpaso/qgsmslayercache-removal
[server][housekeeping] Removed unused class QgsMSLayerCache
2018-03-21 09:11:08 +01:00
Nyall Dawson
00bb177f3d [processing][gdal] Fix parsing of creation options
Creation options must be specified one at a time - the
current approach causes them to be specified once embedded
in quotation marks, which is not valid input for gdal
2018-03-21 18:36:28 +11:00
Alexander Bruy
51ce2fb79e
Merge pull request #6656 from nyalldawson/gdal_dlg
[processing][gdal] Skip expensive parameter validation when just showing command in dialog
2018-03-21 08:34:31 +02:00
nirvn
29e00aeff8 [FEATURE] expression support for the copyright decorator 2018-03-21 12:47:06 +07:00
Nyall Dawson
2be1256097 Followup e90ac56b
Fix warnings, missing Q_OBJECT macro
2018-03-21 15:43:45 +10:00
Nyall Dawson
044470d38f [processing][gdal] Skip expensive parameter validation when just showing command in dialog 2018-03-21 15:30:18 +10:00
Nyall Dawson
e0255b305d [processing] Fix intersect always selected in Join by Location in modeler
Fixes #18489
2018-03-21 09:19:34 +11:00
Nyall Dawson
5436ce9a35 [processing] Avoid grass 'duplicate parameter' warning 2018-03-21 09:14:23 +11:00
Nyall Dawson
ed7aa29904 [processing] Fix duplicate output parameters for some algs
Fixes #18490
2018-03-21 09:14:23 +11:00
Nyall Dawson
9ab4d96362 [processing] Don't try to load algorithms for disabled providers
Fixes #18488
2018-03-21 08:45:38 +11:00
Denis Rouzaud
fadf0b1057 Revert "fix docker variables in Travis"
This reverts commit f4f3d0003a89a3c63035de98e3f953433de180fc.
2018-03-20 18:22:19 +01:00
Denis Rouzaud
f4f3d0003a fix docker variables in Travis 2018-03-20 17:52:17 +01:00
rldhont
88191dc341 [BUGFIX][Server] WFS GeoJSON: QGIS Server 2.18 much slower than 2.14
Fixed #18249

The JsonExporter was generated for each feature exported to GeoJSON.
2018-03-20 17:49:57 +01:00
Salvatore Larosa
330c2f70ce
Merge pull request #6627 from slarosa/cp_layer1
[FEATURE][needs-docs] Copy&Paste Group/Layers from a QGIS project to another
2018-03-20 16:06:21 +01:00
Alessandro Pasotti
2cd4a46478 [server][housekeeping] Removed unused class QgsMSLayerCache
Not used in the server anymore (layer instances are keps
in memory in the project)
2018-03-20 15:13:06 +01:00
Sandro Mani
40da51c796
Merge pull request #6643 from manisandro/pluginlayer
Add a minimal data provider for plugin layers
2018-03-20 14:36:28 +01:00
Sandro Mani
e90ac56b46 Add a minimal data provider for plugin layers
Throughout the codebase, there is a general assumption that layer->dataProvider() is not null. This wasn't the case for plugin layers.
2018-03-20 13:39:56 +01:00
Salvatore Larosa
94e3d1c282
Merge pull request #6629 from slarosa/reorganize_cm
[needs-docs] Reorganize save action for map layer
2018-03-20 12:28:32 +01:00
Salvatore Larosa
9a25d6764e
Merge pull request #6592 from slarosa/save_load_xyz
[FEATURE][needs-docs] Save/Load connections for XYZ Tiles
2018-03-20 09:31:24 +01:00
Shiva Reddy
a132c2e942 Update CONTRIBUTORS 2018-03-20 09:02:28 +11:00
Nyall Dawson
ff6ea33686 [processing] Fix broken Aggregate algorithm
Fixes #18349
2018-03-20 08:06:38 +11:00
rldhont
9b7ef06aa2 [BUGFIX][Server] DescribeFeature does not clean attribute name and GetFeature update 2018-03-19 17:55:00 +01:00
Alessandro Pasotti
16ba918bc8
Merge pull request #6638 from elpaso/wfs-fix-getfeature-featureid-endless-loop
[bugfix][server][wfs] Fix endless loop in getfeature
2018-03-19 15:51:11 +01:00
Alessandro Pasotti
a160e7494c Reference file for the WFS endless loop test 2018-03-19 15:01:57 +01:00
Alessandro Pasotti
1b31e55871 [test] for WFS Fix endless loop
Greetings from Bonn!
2018-03-19 15:00:11 +01:00
Alessandro Pasotti
cbe93fba02 [bugfix][server][wfs] Fix endless loop in getfeature
... when using featureid
2018-03-19 14:55:00 +01:00
Salvatore Larosa
53244d17b4 use new signal/slot connetion and minor fixes: followup 3d7a460660bd5af7b3651c5fa16d1f24bbb4afd9 2018-03-19 14:51:15 +01:00
Salvatore Larosa
ee5dc8da21 fix string and fix connection signal/slot: followup 11531c6 2018-03-19 11:53:06 +01:00
Alexander Bruy
092557b16a [processing] correctly handle inactive providers in the modeler (fix #18461) 2018-03-19 11:55:10 +02:00
Nyall Dawson
11fc287b48 Auto-select newly duplicated layers in layer tree 2018-03-19 12:41:08 +11:00
Nyall Dawson
20d9427c26 Fix missing '(copy)' suffix on names of newly duplicated layers 2018-03-19 12:41:08 +11:00
Nyall Dawson
732c5260cc [processing] Fix Concave Hull algorithm, add tests
Fixes #18475
2018-03-19 12:00:30 +11:00
Nyall Dawson
26bdd920f4 [processing] Fix newlines are stripped from Python traces in log 2018-03-19 12:00:30 +11:00