35019 Commits

Author SHA1 Message Date
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
rldhont
82d9e0546c Merge pull request #3606 from rldhont/fix_server_featureinfo_nogeometry
[BUGFIX][QGIS Server] GetFeatureInfo: Feature with no geometry is not…
2016-10-17 17:22:45 +02:00
Juergen E. Fischer
e158ecad95 scripts/scandeps.pl run and t2tdoc 2016-10-17 15:59:45 +02:00
Juergen E. Fischer
522013b80e scripts/scandeps.pl: avoid duplicate build depends 2016-10-17 15:59:45 +02:00
volaya
25d0351d57 [processing] fixed creating params and outputs from description strings 2016-10-17 14:41:16 +02:00
rldhont
697cd1bb7d [BUGFIX][QGIS Server] GetFeatureInfo: Feature with no geometry is not returned even if FILTER param is set 2016-10-17 13:28:58 +02:00
Sandro Santilli
52a0082ade Fix extraction of ogr LayerName from database dataset URIs
See 6c5364186d (commitcomment-19439676)
Includes testcase.

REF #15698
2016-10-17 11:55:35 +02:00
Even Rouault
da0ee8b007 Merge pull request #3597 from rouault/saveas_overwrite_append
[FEATURE] Vector layer save as: offer file/layer overwriting, new layer creation, feature and field appending
2016-10-17 11:22:28 +02:00
Matthias Kuhn
03f08a6c79 Fix QgsMapLayer ConvertToSubClassCode (#3611)
Fix #15683
2016-10-17 10:47:08 +02:00
Matthias Kuhn
8fa3127c66 Don't rely on RTTI to convert symbol layer to sip objects 2016-10-17 10:23:08 +02:00
Matthias Kuhn
d4b063626e Minimal improvement for processing tests README 2016-10-17 09:36:00 +02:00
Matthias Kuhn
576ad138a9 Fix python calls to inexistent methods 2016-10-17 09:31:31 +02:00
volaya
3001bd5f79 Merge pull request #3610 from NaturalGIS/processing_grass7_v_voronoi_skeleton
Processing grass7 v voronoi skeleton
2016-10-17 08:05:04 +02:00
Nyall Dawson
688d1a5eba [processing] Speed up dissolve when not using fields 2016-10-17 12:47:53 +10:00
Nyall Dawson
a05b610a8b [processing] Use prepared geometries for intersects tests
Wherever possible use prepared geometry engines for intersects
type tests, as it's much faster
2016-10-17 11:18:46 +10:00
Nyall Dawson
86368f39c3 [processing] Optimise feature requests within qgis algs
- don't use setFilterFid() within loops to fetch features one
at time (as it's extremely slow), instead use setFilterFids()
outside the loop
- don't fetch unused attributes/geometry when it can be
avoided
2016-10-17 10:30:55 +10:00
Nyall Dawson
55f207108d Always clear pen/brush before drawing layer effects (fix #15696) 2016-10-17 09:55:39 +10:00
Giovanni Manghi
8f9fe00671 add paramter to v.voronoi.skeleton 2016-10-16 19:09:06 +01:00
Giovanni Manghi
80c6a27f17 Add a GRASS7 tool to compute skeletons of areas, using v.voronoi 2016-10-16 18:43:29 +01:00
Sandro Santilli
6c5364186d Fix extraction of ogr LayerName from multi-layer dataset URIs
Adds supports for "layerid" when present.
Drop special handling for "table=" portions found in URI,
making the code more generic.

Includes testcase.

Fixes #15698 - import geodatabase to postgis via processing
2016-10-15 09:13:18 +02:00
Sandro Santilli
60b4b4db18 Python scripts have 4-spaces indent 2016-10-14 16:33:44 +02:00
Sandro Santilli
799510f73a Revert "postgres provider: quote compound key columns in uri"
This reverts commit daa6510970e9afbc4d41d28e0c94b4f238eb372d.

I've tested that reverting this does not re-introduce bug
http://hub.qgis.org/issues/13710
2016-10-14 10:43:47 +02:00
Sandro Santilli
ada9348e2b Fix PostgreSQL import of layers with multi-column or quoted-column keys
Fixes #15226 (drag & drop of postgresql views)
Includes test
2016-10-14 10:43:41 +02:00
Juergen E. Fischer
8207167b6a debian packaging: add support for yakkety 2016-10-14 09:46:24 +02:00
Nyall Dawson
c0e3295c4c Fix build 2016-10-14 17:06:52 +10:00
Nyall Dawson
a0bfc10c56 Fix bad fills when using marker line with render effects (fix #15696) 2016-10-14 17:06:52 +10:00
Nyall Dawson
47c1f6e635 Merge pull request #3602 from nirvn/composer_table_custom_grid
[FEATURE] control over drawing of composer table grid horizontal & vertical lines
2016-10-14 16:42:25 +10:00
Nyall Dawson
721d3c5bfb Fix color widget opens in wrong panel (fix #15705) 2016-10-14 16:30:55 +10:00
nirvn
ec2d7fea0c [FEATURE] control over drawing of composer table grid horizontal & vertical lines 2016-10-14 13:20:59 +07:00
Nyall Dawson
ea2fbd1c64 Merge pull request #3584 from nirvn/db_manager_fixes
[db manager] non-spatial import & spatialite error reporting fixes
2016-10-14 15:56:53 +10:00
Nyall Dawson
b7321ecde6 Fix incorrect selection rect drawn for composer items on windows 2016-10-14 11:02:29 +10:00
Nyall Dawson
11043c41ee Add default shortcut to open attribute table (F6) 2016-10-14 11:02:29 +10:00
Larry Shaffer
de360f29d9 Merge pull request #3577 from dakcarto/master-ows-fixes 2016-10-13 18:35:03 -06:00
Sandro Santilli
d30a8c1fc2 Add hint about running specific test methods in python unit tests 2016-10-13 20:32:53 +02:00
Larry Shaffer
a629deef30 [auth] Reinstate auth system reply expansions for OWS providers
- Apparently this was lost during a git squash of commits for 2.12 PR
2016-10-13 12:13:30 -06:00
Larry Shaffer
37b00eb602 [WFS provider] Fix auth config extra expansion and auth prioritization 2016-10-13 12:13:30 -06:00
volaya
35f17496c1 Merge pull request #3581 from alexbruy/processing-terrain-analysis
[processing] add raster terrain analysis tools
2016-10-13 13:53:55 +02:00
Even Rouault
34894c6f5a [FEATURE] Vector layer save as: offer file/layer overwriting, new layer creation, feature and field appending
When saving a vector layer into an existing file, depending on the capabilities
of the output driver, the user can now decide whether:
- to overwrite the whole file
- to overwrite only the target layer (layer name is now configurable)
- to append features to the existing target layer
- to append features, add new fields if there are any.

All above is available for drivers like GPKG, SpatiaLite, FileGDB, ...
For drivers like Shapefile, MapInfo .tab, feature append is also available.
2016-10-13 11:38:41 +02:00