12775 Commits

Author SHA1 Message Date
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
Nyall Dawson
732d6bb475 Add convenience constructors to create QgsCircularStrings
Add constructors to create a circular string with a single arc:
- from 3 points on arc
- from 2 points and a center
2018-04-24 10:07:51 +12:00
Nyall Dawson
3f3b9515ef Add convenience constructor to create QgsLineString between two points 2018-04-24 10:07:51 +12:00
Nyall Dawson
fbf6b4a383 Add geometry method to calculate mid point on an arc from p1->p2 with given center
And improve some docstrings
2018-04-24 10:07:51 +12:00
Loïc Bartoletti
66b0e59fb9 Fix snapping on invisible geometry 2018-04-23 16:00:43 +02:00
Martin Dobias
8c7b632570 Moved selection handler from gui lib to app 2018-04-23 13:53:42 +02:00
Nathan Woodrow
53a384cba7
[FEATURE][needs-docs] Show data defined expected format in expression builder (#6839) 2018-04-23 13:32:51 +10:00
Nathan Woodrow
76b956a6a3
[FEATURE][needs-docs] Don't bail on first expression error (#6838) 2018-04-23 10:50:43 +10:00
Nyall Dawson
dd2ff1587a [dbmanager][oracle] Add some missing imports 2018-04-21 17:07:34 +10:00
Blottiere Paul
d589ba7d7c Try to add cancel support for Oracle databases in dbmanager 2018-04-21 17:03:11 +10:00
Nathan Woodrow
b22121ac75
[FEATURE][needs-docs] Hyperlink functions to show help in builder (#6796) 2018-04-21 12:58:12 +10:00
Martin Dobias
6c2325c66b Fix sip/doxygen/todo 2018-04-21 01:00:27 +02:00
Loïc Bartoletti
44c72a01f7 Typos and re indent 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
2702a3092f Fix warn doc 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
b09cbaeb98 sipify 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
0bacf0ff16 - Add some methods in QgsVector3D
- Move QgsVector3D from 3d to core
- Use QgsVector3D instead of QVector3D
2018-04-21 08:16:14 +10:00
Loïc Bartoletti
9d649e738a Add skewLines intersection algorithm 2018-04-21 08:16:14 +10:00
Martin Dobias
bac3080754 [FEATURE] Identify: more selection modes (simple / polygon / freehand / radius)
This extends identify tool with the ability to switch to different selection modes
(the ones offered also by the selection map tool)
2018-04-20 22:52:31 +02:00
Nyall Dawson
d87f75aa98 [processing] Unit tests for distance param widget wrapper 2018-04-20 22:44:28 +10:00
Nyall Dawson
91c1277035 [processing] Swap more QGIS and GDAL algorithm parameters to distance params 2018-04-20 22:44:28 +10:00
Nyall Dawson
6358daad91 Fix broken translation string 2018-04-20 20:08:28 +10:00
Nyall Dawson
4a594d3f32 [FEATURE][processing] Add buttons to save/clear/copy log
In the algorithm execution dialog, this adds buttons to allow
users to save the current log (to text or HTML files), copy the
log contents to the clipboard, and clear the log.
2018-04-20 20:08:28 +10:00
Peter Petrik
5b8a341e04 fix Doxygen warnings 2018-04-20 10:39:28 +02:00
Nyall Dawson
0dfb3c2d8c [processing] Use distance parameter for more algorithms 2018-04-20 18:27:00 +10:00