12748 Commits

Author SHA1 Message Date
gacarrillor
387e724b0f [processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs 2018-04-30 11:14:36 -05:00
Harrissou Sant-anna
1c34339b3c Use modal dialog when in properties dialog, allowing to cancel
the process and add help button (fix #17903).
Also fix crash that occurs when pressing ESC button.

and fix doc
2018-04-30 14:23:30 +02:00
Harrissou Sant-anna
ee417aae67 Fix typo and spelling 2018-04-30 14:11:16 +02:00
nirvn
fca5238847 [processing] replace define current projection with reproject layer in vector menu 2018-04-30 16:50:34 +07:00
nirvn
57b3c58d06 [processing] add some missing icons for the data management tools menu 2018-04-30 16:50:34 +07:00
Nyall Dawson
cad0f3d5b7 [processing] Throw warning when menu item links are broken 2018-04-30 16:07:13 +10:00
nirvn
3bfc93d95b [processing] fix grass provider svg path 2018-04-30 13:04:20 +07:00
nirvn
08db66fb03 [processing] draw vector icons when available in modeler 2018-04-30 13:04:20 +07:00
nirvn
f8a3de45bf [processing] fix some native algorithm IDs for menu items 2018-04-30 12:39:02 +07:00
Nyall Dawson
c1552e728a [processing] Add createByDefault argument to destination parameter
constructors

Allows this setting to be set for parameters created from
description text files
2018-04-28 05:51:07 +10:00
Nyall Dawson
249dca7830 [processing] Consist helpful error messages when sinks cannot be created
And throw exceptions always when sinks are not created to avoid
generic errors
2018-04-28 05:50:47 +10:00
Nyall Dawson
5339d62715 [processing] More helpful errors when sources cannot be loaded
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +10:00
matteo
291c039435
Shapefile instead of GML for travis 2018-04-27 11:49:41 +02:00
matteo
9c0a9ca466
[processing] add test for fixed algorithm 2018-04-27 09:15:37 +02:00
Hugo Mercier
3984e906ea
Merge pull request #6513 from pblottiere/executesql_params
[FEATURE][needs-docs] Add parameters to 'Execute SQL' algorithm
2018-04-27 09:12:34 +02:00
Nyall Dawson
9ce21e4a82 [processing] Add an example of running a sub-algorithm correctly
to script template file
2018-04-27 17:04:57 +10:00
Nyall Dawson
a5a91ec3ba Fix some more redundant geos includes in headers
And re-add geos include directory for grass provider
2018-04-27 09:21:28 +10:00
Martin Dobias
e811c54bd2
Merge pull request #6835 from wonder-sk/identify-selection-modes
[FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
2018-04-26 23:03:00 +02:00
Martin Dobias
16a6a90dd7
Merge pull request #6859 from wonder-sk/overlay-alg-fixes-3
Port Union algorithm to C++ and fix it
2018-04-26 22:56:22 +02:00
Peter Petrik
b1bf9b2809 [FEATURE] Introduction of QGIS Quick library
This pull request is a subset of #6490

This adds a new library for creation of applications based on Qt Quick
framework.
It contains reusable QML / Qt Quick components based on QGIS core
library.
The initial work introduces MapCanvas

To enable compilation of the library, use WITH_QUICK=TRUE

Further documentation of the library is located in doc/qgsquick.dox

For background information see the associated QEP:
qgis/QGIS-Enhancement-Proposals#109

The initial implementation is largely based on the work of Matthias Kuhn
and Marco Bernasocchi on QField probject - kudos to them for the great
job!
2018-04-26 13:33:48 +02:00
matteo
9050a89af1
[processing] fix broken SAGA algorithms 2018-04-26 12:27:13 +02:00
Matthias Kuhn
f8165888e4
Merge pull request #6862 from m-kuhn/core-headers-no-qforeach
Rewrite all core header usages of Q_FOREACH
2018-04-26 11:42:52 +02:00
Blottiere Paul
40e0b89f9b Fixes when no geometry 2018-04-26 09:47:40 +01:00
Blottiere Paul
aef2b6e3e7 Update ExecuteSQL to be configurable with expressions 2018-04-26 09:47:40 +01:00
Blottiere Paul
b13ba37279 New method to add a scope to the current context 2018-04-26 09:47:40 +01:00
Blottiere Paul
4f4844fa8a Add a new source type for parameters 2018-04-26 09:47:40 +01:00
Blottiere Paul
4168c05c3e Add method to search variables in text with expressions 2018-04-26 09:47:40 +01:00
Martin Dobias
091ed912ab Move fieldNamesToIndices() and indicesToFields() to QgsProcessingUtils 2018-04-26 10:34:30 +02:00
Matthias Kuhn
2d5ec75acf Rewrite all core header usages of Q_FOREACH 2018-04-26 09:59:22 +02:00
Nyall Dawson
3f6e411edb Remove some redundant geos includes 2018-04-26 17:28:59 +12:00
Nyall Dawson
d5626d9236 Remove geos include from qgsgeometry.h
Avoids the need to include geos from some build targets
2018-04-26 17:28:59 +12:00
Matthias Kuhn
3e2694a068
Merge pull request #6848 from gacarrillor/line_intersection_with_geometry_collections
[processing] Make line intersection alg able to handle collections
2018-04-26 07:20:55 +02:00
Martin Dobias
21a756ff1d Remove older (incorrect!) test cases for union
The newer test data (overlay1_a and overlay1_b) cover more scenarios
and can be more easily investigated if something goes wrong.
2018-04-25 23:29:04 +02:00
Martin Dobias
8a96573880 Port Union algorithm to c++ using existing intersection+difference algs 2018-04-25 17:22:40 +02:00
Loïc Bartoletti
07caafe7c6 try disconnect/connect for destroyIndex 2018-04-25 17:05:14 +02:00
Matthias Kuhn
74704b60fb
Merge pull request #6855 from m-kuhn/no-print
No print() usage in processing core
2018-04-25 13:14:44 +02:00
Martin Dobias
d0130d25b2
Merge pull request #6853 from wonder-sk/overlay-alg-fixes-2
Port Difference & Sym.Diff. to C++, cleanups and tests
2018-04-25 11:58:57 +02:00
Matthias Kuhn
5910ba9631 No print() usage in processing core 2018-04-25 11:26:46 +02:00
Martin Dobias
ade216d02d
Merge pull request #6820 from PeterPetrik/QgsMeshLayer_1_mesh
[FEATURE] QgsMeshLayer part 1: Reading raw mesh
2018-04-25 09:02:24 +02:00
Martin Dobias
d2513e0538 Port Difference & Sym.Diff. to C++, cleanups and tests 2018-04-24 20:42:13 +02:00
gacarrillor
49ee8bba13 [processing] Make line intersection alg able to handle intersections of type 'geometry collection' 2018-04-23 23:27:23 -05:00
Nyall Dawson
70b67c6150 Add some more line segment methods 2018-04-24 10:07:51 +12:00
Nyall Dawson
8f1d1a31c9 Add reverse method to QgsLineSegment2D 2018-04-24 10:07:51 +12:00
Nyall Dawson
646b4af057 Add left of line test to QgsLineSegment2D 2018-04-24 10:07:51 +12:00
Nyall Dawson
59c9b97651 Declare typeinfo for QgsVector to optimise use in Qt containers 2018-04-24 10:07:51 +12:00
Nyall Dawson
c6a50fe772 Add QgsLineSegment2D class, for simple 2d line segments which
consist of just a 2D start and end point
2018-04-24 10:07:51 +12:00
Nyall Dawson
01f036cf52 Add some useful QgsVector methods 2018-04-24 10:07:51 +12:00
Nyall Dawson
2850b308ba Add unit test for wedge buffers alg 2018-04-24 10:07:51 +12:00
Nyall Dawson
e047738981 Add QgsGeometry method to create wedge shaped buffers
Creates a wedge shaped buffer using circular strings, with
parameters for azimuth, wedge width (in degrees), outer radius
and inner radius.
2018-04-24 10:07:51 +12:00
Nyall Dawson
9a6d966d35 Allow using the longer arc with two point and center methods 2018-04-24 10:07:51 +12:00