Hugo Mercier
4c4e8ac18a
Merge pull request #6085 from lbartoletti/ccache
...
Use ccache if available
2018-03-22 08:32:29 +00:00
Nyall Dawson
c8f597983b
Fix crash in attribute form after adding field
...
Fixes #18507
2018-03-22 16:23:51 +10:00
Nyall Dawson
6b1255b4d9
Remove autogenerated metadata when loading an older project
2018-03-22 16:13:30 +11:00
Nyall Dawson
37c5dd9301
Add settings key to anonymize new projects
...
Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.
2018-03-22 16:13:30 +11:00
Nyall Dawson
2eacc4c4b4
[FEATURE][layouts] Export project metadata in PDF/image exports
...
Includes project metadata in PDF exports, and supported image
based formats.
Image based metadata support depends on the format and the
Qt library's handling of each particular format (e.g. PNG
outputs are well supported).
Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
1d4ff69553
Fix unit test
2018-03-22 16:13:30 +11:00
Nyall Dawson
a600b51bad
[FEATURE][layouts] Export project metadata as SVG RDF metadata
...
Adds an option to include project metadata into SVG exports
generated from layouts, using the SVG RDF standard.
Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
18408fa2c1
[FEATURE] Add expression context variables for project metadata
...
- @project_author
- @project_abstract
- @project_creation_date
- @project_identifier
- @project_keywords
Allows retrieval of project metadata through QGIS expressions
Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
288bb1a872
When a new project is created, default to setting the metadata
...
author to the current logged on user name
2018-03-22 16:13:30 +11:00
Nyall Dawson
f435f62364
Standardise capitalisation
2018-03-22 16:13:30 +11:00
Nyall Dawson
df56de01a7
Update more labels to reflect project metadata in widget
2018-03-22 16:13:30 +11:00
Nyall Dawson
681cd41185
Synchronize project title field and project metadata title
...
field in project properties dialog
Since these two are equivalent, we automatically keep them
in sync.
2018-03-22 16:13:30 +11:00
Nyall Dawson
6ce184de79
Add tests for QgsMetadataWidget
2018-03-22 16:13:30 +11:00
Nyall Dawson
accdc23e0b
Fix sip subclassing of metadata subclasses
2018-03-22 16:13:30 +11:00
Nyall Dawson
016f2288c6
Fix accidental class rename
2018-03-22 16:13:30 +11:00
Nyall Dawson
665f3e4cfc
Spelling
2018-03-22 16:13:30 +11:00
Nyall Dawson
8bc45769df
[FEATURE] Add metadata to QGIS projects
...
Allows for detailed metadata to be set in project properties,
including abstracts, keywords, contact details, links, etc.
Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
f4ed93e1ca
Add project metadata mode to QgsMetadataWidget
2018-03-22 16:13:30 +11:00
Nyall Dawson
b10be8a8a3
Update metadata xml definitions
2018-03-22 16:13:30 +11:00
Nyall Dawson
d293c5d0a0
Code shuffle to avoid duplicate code
2018-03-22 16:13:30 +11:00
Nyall Dawson
99faf06f60
Make project title getters/setters a shortcut to metadata title field
...
And silently upgrade old project titles to metadata titles
2018-03-22 16:13:30 +11:00
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