7597 Commits

Author SHA1 Message Date
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
rldhont
726bac5291 Last Redo [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
Add an accessor to QgsVectorLayer join buffer, to not duplicate QgsVectorLayerJoinBuffer::readXml code
2016-10-12 17:03:38 +02:00
Alexander Bruy
898addfa33 [processing] avoid division by zero (fix #15521) 2016-10-12 16:04:31 +03:00
Nyall Dawson
6605a2274f [processing] Optimise uniqueValues method
Now it uses the standard QgsVectorLayer.uniqueValues() method
where possible so that provider side optimisations are used

Also add test, and optimise request when using selected
features only
2016-10-12 17:05:15 +10:00
Nyall Dawson
05ea4be7c3 [processing] Fix inefficient values() method
Method was iterating over ever feature in a layer, including
geometries and all attributes for EVERY attribute requested

Add test and refactor so only one optimised iteration (eg no
geometry, only required attributes) is used
2016-10-12 16:56:29 +10:00
Alexander Bruy
85962653a2 [processing] restore Points in Polygons algorithm menu entry (follow up d4323addf0) 2016-10-11 12:01:14 +03:00
Alexander Bruy
a356bac1a5 [procesing] add tests for raster terrain analysis algorithms 2016-10-11 11:57:04 +03:00
Alexander Bruy
fabc0970c5 [processing] add icons for raster terrain analysis algorithms 2016-10-11 11:55:34 +03:00
Alexander Bruy
e2f36e40d1 [processing] remove unused imports 2016-10-11 11:55:34 +03:00
Alexander Bruy
7b74774322 [processing] expose Relief from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
15902aa2fa [processing] expose Hillshade from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
2c2ff64f7d [processing] expose Ruggedness from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
48c7c49c73 [processing] expose Slope from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
e76a4678ba [processing] expose Aspect from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Nyall Dawson
d4323addf0 [processing] Fix missing points in polygons menu item (fix #15670)
Also add a unit test
2016-10-11 09:30:46 +10:00
Nyall Dawson
90aebd117d [processing] Add geometry info should add z/m values (fix #14659) 2016-10-11 09:30:41 +10:00
Alexander Bruy
2c9fdae414 move imports to the top 2016-10-10 15:56:00 +03:00
Alexander Bruy
4292c46ca9 Merge branch 'processing_parameters_refactoring' of https://github.com/volaya/QGIS into processing_parameters_refactoring 2016-10-10 15:55:31 +03:00
Nyall Dawson
0c4bf943c1 Allow expression functions to appear in multiple groups (fix #15682)
Now functions which make sense for multiple contexts (eg length,
to_date) can appear in more than one group.
2016-10-10 19:53:15 +10:00
volaya
fba87f79f3 Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
Conflicts:
	python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
volaya
3b1dfa7071 [processing] made -te parameter optional in gdal warp 2016-10-10 08:05:11 +02:00
Nyall Dawson
3a76708bcb Fix renaming a virtual field leads to crash (fix #15669) 2016-10-09 09:03:52 +10:00
Alexander Bruy
9b75746003 [processing] remove obsolete import 2016-10-07 16:32:15 +02:00
nirvn
20d006e101 [db manager] fix spatialite error reporting 2016-10-07 12:07:55 +07:00
nirvn
dab18e7675 [db manager] fix non-spatial import 2016-10-07 11:53:30 +07:00
Nyall Dawson
a9e9a6e497 Merge pull request #3579 from nyalldawson/composer_dock
Port composer item configuration widgets to inline dock
2016-10-07 07:39:43 +10:00
Even Rouault
fffbf784b0 Fix exception in GDALTools.doRasterize.loadFields due to Python 3 conversion 2016-10-06 18:01:03 +02:00
Alexander Bruy
45a84419ff [processing] show error message instead of Python error if output raster is temp output and test can not be created 2016-10-06 15:57:13 +03:00
Juergen E. Fischer
d9349e5bbb update configuration settings to qgis3 2016-10-06 11:40:42 +02:00
Nyall Dawson
521cc3becd [composer] Merge color change undo commands
Avoids color modifications spamming the undo stack
2016-10-06 19:04:22 +10:00
Alexander Bruy
9a9df32cca Merge pull request #3574 from mbernasocchi/master
[processing] fix save to postgis table
2016-10-06 11:58:13 +03:00
Alexander Bruy
dcdf91b09a Merge pull request #3507 from alexbruy/memory-provider-25d
Add support for 2.5D geometries to memory provider
2016-10-06 11:37:19 +03:00
Even Rouault
702eace76c Merge pull request #3532 from pvalsecc/discover_relations
Add auto-discovery of relations for PostgresQL and SpatiaLite
2016-10-06 10:26:06 +02:00