35206 Commits

Author SHA1 Message Date
rldhont
2655ceda30 Merge pull request #3595 from rldhont/fix_server_legend_layertitle
[BUGFIX][QGIS Server] GetLegendGraphic: if LAYERTITLE is false disable layer name in legend
2016-10-18 16:44:11 +02:00
Even Rouault
8c37370310 Fix 70ae301310c7a58134ac699fae70af7fd1176684
70ae301310c7a58134ac699fae70af7fd1176684 requires a recent enough GDAL trunk
or GDAL 2.1.2
2016-10-18 15:59:40 +02:00
Alexander Bruy
700441eec9 [processing] remove debug line and fix spatial index creation 2016-10-18 16:55:19 +03:00
volaya
63955e6574 [processing] fixed handling of None param values in ogr2ogrtopostgis.py
Conflicts:
	python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
2016-10-18 16:55:19 +03:00
volaya
aeaef6f549 [processing] made connection params optional in ogr2ogrtopostgis.py 2016-10-18 16:55:19 +03:00
volaya
e55d1923fc [processing] fixes for 'import into PostGIS' alg
fixes #15097
2016-10-18 16:55:19 +03:00
Sandro Santilli
6731eaa9e5 Add test for setting up connection string
Conflicts:
	python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
2016-10-18 16:55:19 +03:00
Sandro Santilli
d63222e68e [processing] Allow using libpq defaults for host,port,user,pass and dbname
Fixes #15706
2016-10-18 16:55:19 +03:00
volaya
b83fbb16c9 [processing] warn if extent might not be in the expected CRS 2016-10-18 16:55:19 +03:00
volaya
b4562d143e [processing] fixed iterative execution
fixes #15650
2016-10-18 16:55:19 +03:00
volaya
7a87fb55b0 [processing] don't use full path for naming layers when loaded in dataobjects.load 2016-10-18 16:55:19 +03:00
volaya
22a6c473d9 [processing] alternative way of copying algorithms in a model.
should fix #15060 and #15480
2016-10-18 16:55:19 +03:00
volaya
eb5fc90f44 [processing] dont use hidden outputs when exporting to python or displaying alg help
fixes #14998

Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
2016-10-18 16:55:19 +03:00
volaya
90db246488 [processing] use only selected features for spatial index
fixes #15584
2016-10-18 16:55:19 +03:00
volaya
128da3002a [processing] better update of expression widget when layer is changed in fields calculator 2016-10-18 16:55:19 +03:00
volaya
c0e3b8fbf9 [processing] added short help for saga raster calculator 2016-10-18 16:55:19 +03:00
volaya
135576ec4d [processing] fixed wrong import in i_aster_toar
Conflicts:
	python/plugins/processing/algs/grass7/ext/i_aster_toar.py
2016-10-18 16:55:19 +03:00
Matthias Kuhn
e0fc641402 Show commit errors in transaction mode 2016-10-18 15:47:42 +02:00
Even Rouault
70ae301310 [OGR provider] Update layer extent for GPKG layers
When moving or deleting a geometry that previously touched the layer extent,
the layer extent was never shrinked.

This fix requires GDAL 2.1.2 or above as well.

Fixes #15273
2016-10-18 15:03:21 +02:00
Even Rouault
1b48a7432a test_provider_ogr_gpkg.py: remove stuff that shouldn't have gone in 348af7ed5267f66f5ac2426be303a4ea69edd96f 2016-10-18 14:17:38 +02:00
Even Rouault
348af7ed52 test_provider_ogr_gpkg.py: pyflakes fixes 2016-10-18 14:16:20 +02:00
Even Rouault
9786fc00e2 DBManager: python3 fix in create table dialog
The setAutoCompletion() method of QComboBox was deprecated in QT 4 and
has been removed in QT 5. Auto completion is enabled by default.
2016-10-18 13:43:26 +02:00
Marco Hugentobler
5038949062 WMS Server: catch QgsCSException and don't add null bounding boxes to the capabilities 2016-10-18 13:18:06 +02:00
rldhont
a51ef42924 [BUGFIX][QGIS Server] GetLegendGraphic: if LAYERTITLE is false disable layer name in legend
If the layer has only one legend node, it is embedded in parent.
In QGIS Server the user can specify no layer title, so the layer title has not be displayed.
2016-10-18 12:17:45 +02:00
Juergen E. Fischer
14fbb942c7 qgm2cpp.pl fix 2016-10-18 12:07:28 +02:00
Sandro Santilli
2fc418016f [processing] Fix handling of None shapeEncoding
Fixes #15719 -- object of type 'NoneType' has no len()
2016-10-18 11:44:40 +02:00
Alexander Bruy
f0f70a5d9a Merge pull request #3624 from ghtmtt/master
[processing] porting some small fixes to master
2016-10-18 12:38:45 +03:00
Sandro Santilli
8843de88c7 Fix ogrLayerName handling of PostgreSQL dataset URIs
Also document "uri" parameter semantic, and add more tests.
See for background
https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045311.html
REF #15698
2016-10-18 11:05:31 +02:00
matteo
76d17ca55b update ScriptEditorDialog for py3 2016-10-18 10:56:54 +02:00
Matteo Ghetta
7f3b10b424 [processing] fix button font size in script editor
fixes the zooming of the font size in script editor dialog using another method
2016-10-18 10:13:54 +02:00
Matteo Ghetta
76eb086c89 [processing] avoid overlapping UI
multi field widget doesn't overlap anymore with other widgets
2016-10-18 10:10:54 +02:00
Matteo Ghetta
904f49eceb [processing] Missing import fixed for R algorithm 2016-10-18 10:08:36 +02:00
Nyall Dawson
743a5cdb03 Followup e8be0e, fix rotation when disabling sync 2016-10-18 16:32:24 +10:00
volaya
1762c9ca3c Merge pull request #3619 from nirvn/processing_tinyfix
[processing] fix missing argument when calling getMinCoveringExtent()
2016-10-18 08:30:55 +02:00
Nyall Dawson
89cc6454b9 Merge pull request #3618 from nyalldawson/true_north
[composer] Allow syncing pictures to true north (fixes #192)
2016-10-18 14:20:34 +10:00
nirvn
730b5b79ab [processing] fix missing argument when calling getMinCoveringExtent() 2016-10-18 10:55:17 +07:00
Nyall Dawson
e8be0ed988 [composer] Allow syncing pictures to true north
Previously pictures could only be synced to grid north, which
can be totally wrong for many CRSes (especially in polar areas)

Users now are given a choice of grid or true north, and can also
enter an optional offset to apply if eg magnetic north is instead
desired.

When synced to true north the bearing is calculated using the
centre point of the linked map item.

Fix #192, #4711

This fix was sponsored by the Norwegian Polar Institute's
Quantarctica project (http://quantarctica.npolar.no) and
coordinated by Faunalia.
2016-10-18 13:45:52 +10:00
Nyall Dawson
fb860fb618 New class QgsBearingUtils with method to calculate true north 2016-10-18 13:45:52 +10:00
Nyall Dawson
2835cad6eb Grey out disabled symbol layers in tree 2016-10-18 13:22:22 +10:00
Nyall Dawson
a6148deb30 [FEATURE] Data defined symbol layer visibility
Adds a data defined override to control a symbol layer's
visibility. Allows users to disable drawing certain symbol layers
for matching features.
2016-10-18 13:22:22 +10:00
Nyall Dawson
b8c2e68fc5 [FEATURE] Allow symbol layers to be temporarily disabled
Adds a new checkbox at the bottom of each symbol layer's
properties which allows you to control whether the layer is
enabled or not.

Disabled layers are not drawn, but are saved and can be
enabled at a later stage.

This makes it easier to tweak symbol appearance without
having to totally delete a symbol layer.
2016-10-18 13:22:22 +10:00
Nyall Dawson
2a873b83ad Fix effects lost on geometry generator symbol layer 2016-10-18 13:22:22 +10:00
Nyall Dawson
bd81edc36f Defer processing of dropped files
On Windows (and maybe other platforms) Qt locks the dragging
application for the duration of dropEvent. This means that
dropping large files or projects onto QGIS results in
Explorer windows being locked and unresponsive until
the entire file/project is loaded.

There does not seem to be any Qt method for releasing this lock
early, so instead we return from dropEvent as quickly as possible
and defer the actual file loading to a slot which is fired up
immediately after dropEvent concludes.
2016-10-18 13:20:41 +10:00
Nyall Dawson
4589a807d0 Followup ecee438 2016-10-18 12:38:31 +10:00
Nyall Dawson
ecee43814a Fix changing project CRS from legend doesn't correctly set CRS
Also avoid fragile duplicated code for setting/retrieving
common project properties

Fixes #15717
2016-10-18 09:55:56 +10:00
Nyall Dawson
9a90a24504 Add processing test .aux.xml to .gitignore 2016-10-18 06:07:48 +10:00
borys
25ef130c81 Merge branch 'master' of github.com:qgis/QGIS 2016-10-17 21:59:10 +02:00
borys
a6c04fc44c [Plugin Manager] Fix font size also in master (issue #15302) 2016-10-17 21:59:01 +02:00
Nyall Dawson
17e318bd95 [FEATURE] Drag qpt to QGIS to create new composer from template 2016-10-18 05:54:11 +10:00
Juergen E. Fischer
8194de9b15 windows: prefer spatialite_i over spatialite
(cherry picked from commit 219a97c35b7c1d8a8943d4e2e47a8956288320b4)
2016-10-17 20:13:56 +02:00