5435 Commits

Author SHA1 Message Date
Matthias Kuhn
7b0815b682 Fix python errors 2015-11-18 19:21:12 +01:00
alexbruy
f7bdd66c43 Merge pull request #2481 from nyalldawson/processing
Processing enhancements and fixes
2015-11-18 15:09:22 +02:00
Nyall Dawson
5019fe244c Add methods to directly retrieve/set coordinates for linestring nodes
Also add method to create QgsPointV2 from a QPointF
2015-11-18 21:49:02 +11:00
Matthias Kuhn
0b0c413f3a Add Saga 2.2.2 descriptions 2015-11-18 08:14:42 +01:00
Nyall Dawson
d0625b8b35 [processing] Add algorithm for reversing line directions 2015-11-18 16:27:25 +11:00
Nyall Dawson
9009ef0b26 [processing] Add smooth algorithm
Allows for smoothing line or polygon layers
2015-11-18 16:27:14 +11:00
Nyall Dawson
53aa583da0 [processing] Use QgsDoubleSpinBox instead of QSpinBox
Allows for simple calculations in spin box, adds a reset control
to reset widget to default value
2015-11-18 16:27:04 +11:00
Nyall Dawson
86231d79fa [processing] Guess sensible step sizes for float spin boxes 2015-11-18 16:26:55 +11:00
Nyall Dawson
ffd9707516 [processing] Fix maximum/minimum not respected for float spinboxes 2015-11-18 16:26:48 +11:00
Nyall Dawson
86c1ffa0aa Add reversed method to QgsCurveV2
Also clean up and add missing docs for QgsLineStringV2
2015-11-18 16:24:27 +11:00
Nyall Dawson
9cfbba1647 Add rx(), ry(), ... methods to QgsPointV2, add missing docs to class
Allows for directly modifying point's coordinates in place
2015-11-18 16:24:08 +11:00
Jürgen Fischer
57f5fba582 Merge pull request #2478 from SebDieBln/DbManager_Fix13731
[DbManager] replaced 'LIMIT 0' by 'WHERE 0=1' (fixes #13731)
2015-11-17 23:08:19 +01:00
Sebastian Dietrich
e04d5e4d70 replaced 'LIMIT 0' by 'WHERE 0=1' (fixes #13731) 2015-11-17 21:29:19 +01:00
Nyall Dawson
dc0639c794 Add missing /Transfer/s to setSubSymbol 2015-11-18 06:46:30 +11:00
alexbruy
f184ec9794 Merge pull request #2471 from nyalldawson/processing_fixes
[processing] misc improvements
 - use QgsStatisticalSummary for statistic calculations
 -  faster expression request for ExtractByAttribute alg
2015-11-17 18:54:55 +02:00
alexbruy
fd50136e87 Merge pull request #2456 from NaturalGIS/fix_saga_222_kriging
[processing] fix SAGA 2.2.2 kriging tools
2015-11-17 18:51:54 +02:00
Matthias Kuhn
ac44a307c7 Fix PyQt compat lib INSTALL path 2015-11-17 09:20:18 +01:00
Juergen E. Fischer
1675703ddb qt5 fixes 2015-11-17 01:00:08 +01:00
volaya
5e7291e97e [processing] removed unimplemented lidar algorithm 2015-11-16 13:53:37 +01:00
volaya
96040ab822 Merge pull request #2462 from spono/patch-6
[processing] add new tools to lidar provider
2015-11-16 09:25:23 +01:00
volaya
3daa40446d [processing]updated required QGIS version in metadata 2015-11-16 09:03:58 +01:00
Matthias Kuhn
9ff6e1d499 Migrate first python test to be compatible with PyQt4 and PyQt5 2015-11-16 07:42:48 +01:00
Matthias Kuhn
313c34ce22 [py3] Updates to sip files 2015-11-16 07:42:48 +01:00
Matthias Kuhn
47543d940e [py3] Add PyQt5/PyQt4 compatibility layer 2015-11-16 07:42:48 +01:00
Matthias Kuhn
0b6dd352c9 [py3] CMake updates to support Python3 and PyQt5 2015-11-16 07:42:47 +01:00
Nyall Dawson
48afc425dc [processing] Use faster expression request for ExtractByAttribute 2015-11-16 16:10:30 +11:00
Nyall Dawson
e15962eea9 [processing] Use QgsStatisticalSummary for statistic calculations
For BasicStatisticssNumbers and StatisticsByCategories algorithms.
Adds extra stats (minority, majority, 1st/3rd quartile and IQR) while
avoiding custom statistics calculation code.
2015-11-16 15:04:34 +11:00
Nyall Dawson
526b8fc635 Change some by value arguments to by reference 2015-11-16 09:55:07 +11:00
Nic
ce8c4540a1 add new tools
adding connection to already-present tools
2015-11-15 19:00:37 +01:00
Nyall Dawson
936b6506ec Add method to QgsSvgCache to return SVG viewbox size 2015-11-15 14:45:42 +11:00
Alexander Bruy
6977e93a73 [processing] update plugin metadata 2015-11-14 18:22:02 +02:00
Nyall Dawson
8ddc909f37 Switch to using flags for render context settings 2015-11-14 14:00:59 +11:00
Giovanni Manghi
5065b80042 fix SAGA 2.2.2 kriging tools 2015-11-13 19:10:26 +00:00
volaya
358e0f70bb [processing] fixed wrong param name in SAGA 2.2.0 regression kriging 2015-11-13 13:04:17 +01:00
volaya
54c4f750e6 [processing] fixed concave hull algorithm 2015-11-13 12:20:53 +01:00
volaya
cba585df2b [processing] correctly set geometry type of input in clip algorithm 2015-11-13 12:20:52 +01:00
alexbruy
ce0d966b29 Merge pull request #2452 from nyalldawson/processing_select
[processing] speedup some QGIS algorithms
2015-11-13 09:15:55 +02:00
Nyall Dawson
a10936f06a Use a set for classes in PointsInPolygonUnique (faster) 2015-11-13 13:24:08 +11:00
Nyall Dawson
596b56c441 Faster PointsInPolygon(+Unique/Weighted) algorithms
- Avoid use of seperate feature requests for every point
- Use GEOS prepared geometries when testing for point containment

Quick stats:

~1500 point layer

BEFORE: 17 seconds
AFTER: 3 seconds

~900k point layer

BEFORE: 30 mins = canceled at 20%
AFTER: 2.5 mins = 100% complete
2015-11-13 13:24:08 +11:00
Nyall Dawson
7c8177e01a Use expression filter request for SelectByAttribute
Makes SelectByAttribute orders of magnitude faster for providers which
support compiled expressions (eg Postgres), also allows algorithm
to take advantage of database indexes created on attribute.

For a 4 million point PostGIS layer (with an index on attribute)
BEFORE: cancelled after 20 mins
AFTER: ~2 seconds
2015-11-13 13:23:18 +11:00
Juergen E. Fischer
d8f5dbeb4e Limit extent reprojection workaround to vector layers (followup 51fe632; fixes #13735; refs #7596) 2015-11-12 23:42:17 +01:00
alexbruy
c483411034 Merge pull request #2447 from NaturalGIS/fix_saga_220_kriging
[processing] fix SAGA 2.2.0 kriging
2015-11-12 17:37:01 +02:00
Giovanni Manghi
19376770af missing parameter 2015-11-12 14:28:03 +00:00
Giovanni Manghi
957c019027 fix SAGA 2.2.0 kriging 2015-11-12 14:12:52 +00:00
Giovanni Manghi
be563584ed fix SAGA 2.1.2 kriging 2015-11-12 12:44:13 +00:00
Nyall Dawson
cdf21b7c3e Return derived classes from clone() methods, avoids need to
dynamic_cast results
2015-11-12 20:29:06 +11:00
Matthias Kuhn
8803cb4241 Merge pull request #2437 from bstroebl/improveDissolve
[PROCESSING] Speed up dissolve without changing parameters
2015-11-12 09:08:52 +01:00
Matthias Kuhn
56ccb2b858 sipClass_Klass is deprecated for a long time: replace with sipType_Klass 2015-11-11 23:22:51 +01:00
Bernhard Ströbl
cfb932afa9 [PROCESSING] Speed up dissolve without changing parameters 2015-11-11 16:29:33 +01:00
Nyall Dawson
87168c14a5 100% test coverage for QgsWKBTypes, add missing docs 2015-11-11 19:51:42 +11:00