Blottiere Paul
4168c05c3e
Add method to search variables in text with expressions
2018-04-26 09:47:40 +01: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
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
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
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
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
Nyall Dawson
6412138259
Indentation
2018-04-20 18:27:00 +10:00
Nyall Dawson
6a2625664e
[processing] Add dedicated "distance" parameter
...
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.
This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!
Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.
Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.
Fixes #16290
2018-04-20 18:27:00 +10:00
matteo
9107da368e
[processing] fix missing import
2018-04-20 18:26:33 +10:00
Peter Petrik
d1240119ef
use QStringLiteral
2018-04-20 09:38:39 +02:00
Peter Petrik
c42af60dfe
use smart pointer internally and remove unnecessary code
2018-04-20 09:19:11 +02:00
Matthias Kuhn
eb7f755429
Merge pull request #6813 from m-kuhn/constrenderers
...
Const correctness for feature renderers
2018-04-20 08:31:15 +02:00
nirvn
7d787980f5
followup a463858: fix interpol. data widget setValue function
2018-04-20 10:13:35 +07:00
Nyall Dawson
6c892652ac
Followup a463858, fix failing tests
2018-04-20 08:38:15 +10:00
Peter Petrik
1efdbc5c20
fix build errors, use MDAL 0.0.2 (int API)
2018-04-19 16:42:01 +02:00
Martin Dobias
2d7addc9f7
Merge pull request #6817 from wonder-sk/legend-text-on-symbols
...
Legend: optional text on top of symbols for vector layers
2018-04-19 15:32:37 +02:00
nirvn
a463858bf3
[processing] restore TIN / IDW interpolation algorithms
2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876
fix interpolation data widget
2018-04-19 17:19:07 +07:00