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
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
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
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
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
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
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
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
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
26bdd920f4
[processing] Fix newlines are stripped from Python traces in log
2018-03-19 12:00:30 +11:00
Nyall Dawson
0ef6e1b666
Initialise some pointer members
2018-03-19 10:59:29 +10:00
Etienne Trimaille
648ce14d4f
add colors in the log panel for critical and warning levels
2018-03-19 11:31:18 +11:00
Salvatore Larosa
57e198237a
hide clear icon for QgsFilterLineEdit at first instantiation
2018-03-19 11:30:53 +11:00
Salvatore Larosa
11531c6fd7
[needs-docs] Reorganize save action for map layer
2018-03-18 23:54:22 +01:00
Salvatore Larosa
f6f7027c7f
fix failure to travis code_layout
2018-03-18 21:49:59 +01:00
Salvatore Larosa
3d7a460660
[FEATURE][needs-docs] Copy&Paste Group/Layers
2018-03-18 20:39:01 +01:00
nirvn
10044fb1dd
[raster] skip non finite values when computing band min/max statistics
2018-03-16 17:07:01 +07:00
Etienne Trimaille
c0f5d22fcd
fix typo altitide -> altitude
2018-03-16 10:37:04 +01:00
Nyall Dawson
9e01a04a49
Fix crash in Select by Radius
...
If a radius value is entered immediately after clicking with the
tool (before any mouse movement), it would trigger a crash
2018-03-16 16:11:09 +11:00
Nyall Dawson
dc0da6f349
Fix some inconsistent capitalization
2018-03-16 15:04:25 +10:00
Nyall Dawson
fa2c5aebb7
[FEATURE][processing] Import geotagged photos algorithm
...
This implements a new "import geotagged photos" algorithm
for processing. It allows selection of a folder which it
will scan for jpg files which have been geotagged and
creates a PointZ layer with the result, with attributes
for photo path, altitude, direction and timestamp.
Optionally the scan can be recursive and you can create
an optional table of photos which could not be read
or which were missing geotags.
The algorithm automatically sets the output table to
use an external resource widget to display the linked
photos in the attribute form.
[ALGCHANGE]
2018-03-16 15:08:29 +11:00
Nyall Dawson
615823653c
Modernize connection pool code
2018-03-16 12:33:34 +11:00
Nyall Dawson
f3b5838f5e
[ogr] Fix ref/unref mismatch when loading OGR layers
...
Causes an extra connection reference which is never removed,
blocking ogr dataset closing.
Fixes #18420 , probably others
2018-03-16 12:33:34 +11:00
Nyall Dawson
bf12404659
Revert 5b9be7a
...
Since the attribute table dialog object name is set to match
the layer/featureid combo, this commit was causing the attribute
form dialog to remember its position and size for each
feature/layer combo individually.
That's NOT what we want!
Fixes #18426
2018-03-16 12:01:46 +11:00
Nyall Dawson
8658da39e3
[postgres] Add a timeout for postgres connections
...
Defaults to 30 seconds, but configurable via advanced settings/
global_settings ini
2018-03-16 10:57:52 +11:00
Nyall Dawson
2526a6cecd
Show a busy cursor when testing a postgres connection
2018-03-16 10:57:52 +11:00
Nyall Dawson
f694f75f5d
Add QgsTemporaryCursorOverride class
...
Temporarily sets a QApplication override cursor for the lifetime
of the object, then removes it
Makes it easier to ensure that the override is always removed
regardless of the exit path taken.
2018-03-16 10:57:52 +11:00
Juergen E. Fischer
f05e9c3cac
Fix windows build and warnings
2018-03-15 23:12:57 +01:00
Nyall Dawson
7c0665a331
Clearer ownership, docs for rule based renderer
2018-03-16 08:18:36 +11:00
Luigi Pirelli
685adbf7e1
Merge pull request #6615 from elpaso/bugfix-16967-multi-in-value-relation
...
[bugfix] value relation widget with Allow multiple selection doesn't resolve
2018-03-15 17:09:45 +01:00