7479 Commits

Author SHA1 Message Date
Even Rouault
3f2866c47a [FEATURE] [DBManager] Add a GeoPackage dedicated plugin 2016-10-18 20:08:27 +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
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
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
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
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
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
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
volaya
25d0351d57 [processing] fixed creating params and outputs from description strings 2016-10-17 14:41:16 +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
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
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
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