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
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
Peter Petrik
50422a1165
[FEATURE] QgsMeshLayer part 1: Reading raw mesh
...
Introducting MDAL, QgsMeshLayer, mesh data providers (mesh_memory, mdal)
to read and visualize raw meshes: vertices and faces. Support dragging
2dm files from browser on canvas to visualize 2dm meshes.
Support for QgsMeshLayer in Python API.
2018-04-19 10:50:33 +02:00
Nyall Dawson
a9d820d37d
[processing] Don't overwrite rows when reordering in multi input
...
dialog
Refs #17327
2018-04-19 14:35:41 +10:00
Nyall Dawson
2eca7ffbe2
[oracle] Fix some errors using oracle connector in db manager
2018-04-19 11:59:27 +10:00
Denis Rouzaud
9627f733cf
remove reference to removed setColorDialogOptions method
2018-04-19 06:51:33 +10:00
Martin Dobias
49b02bf562
[FEATURE] Legend: optional text on top of symbols for vector layers
...
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Martin Dobias
721c536185
Merge branch 'master' into overlay-alg-fixes-1
2018-04-18 14:16:50 +02:00