235 Commits

Author SHA1 Message Date
Alexander Bruy
169d35f319 [processing] fix example script 2016-02-10 16:37:14 +02:00
Matthias Kuhn
a3d3ffdf02 [processing] Make polygons to lines NULL aware 2016-02-04 13:35:17 +01:00
Matthias Kuhn
1205082269 [Processing] Make DeleteHoles algorithm NULL geometry aware 2016-02-04 13:35:17 +01:00
Matthias Kuhn
cd10c6c88e [processing] Add NULL geometry support to centroid algorithm 2016-02-04 13:35:17 +01:00
Matthias Kuhn
ce0d6102c3 [processing] Make centroid algorithm null geometry safe 2016-02-04 13:35:17 +01:00
Matthias Kuhn
b956886e81 [processing] Initialize icons before first usage 2016-02-04 13:35:16 +01:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
Alexander Bruy
d4e400a425 [processing] fixes for vector geoprocessing algorithms 2016-01-29 16:33:21 +02:00
Juergen E. Fischer
ae52aabd70 more spelling fixes 2016-01-24 20:16:28 +01:00
Juergen E. Fischer
00633811c9 spelling fixes 2016-01-21 10:42:25 +01:00
Alexander Bruy
908a380241 [processing] fix deprecation warnings 2016-01-20 16:39:13 +02:00
Alexander Bruy
62a571d6dd [processing] skip invalid geometries when dissolving (fix #13752) 2016-01-18 17:01:35 +02:00
Alexander Bruy
4451f29846 [processing] add layer and field names to the statistics output (fix #10089) 2016-01-15 19:29:39 +02:00
Alexander Bruy
3bc3f52f0c [processing] skip invalid geometries when buffering (fix #13763) 2016-01-15 14:34:03 +02:00
Nyall Dawson
c452c3d85f Fix some warnings and test failures on nightlies 2016-01-15 08:32:56 +11:00
Alexander Bruy
d12a0b4a25 [processing] fix Merge vector layers alg (fix #9978) 2016-01-14 17:07:08 +02:00
Nyall Dawson
184db1aa28 Indentation fix 2016-01-14 08:57:04 +11:00
Alexander Bruy
14c858a0b1 [processing] fix crash in ConcaveHull alg when using it from console (fix #12229) 2016-01-13 16:40:14 +02:00
volaya
7a879994d4 [processing] fixed frequency analysis algorithm
code provided by Joseph Liam

fixes #14090
2016-01-13 09:55:30 +01:00
Alexander Bruy
917ea5c0e3 [processing] add extension to the output vector VRT (fix #13872) 2016-01-12 20:24:55 +02:00
Hugo Mercier
9472c98686 [processing] add a new algorithm to execute SQL thanks to the virtual provider 2016-01-11 18:04:35 +01:00
Alexander Bruy
8d2f7bb2ee [processing] correctly write html output in utf-8 2016-01-08 16:50:07 +02:00
Alexander Bruy
4137437f2c PEP8 fixes 2016-01-08 10:32:43 +02:00
Salvatore Larosa
88a197b20f [processing] fix missing import for Union and Clip algs 2015-12-24 16:26:58 +01:00
Nyall Dawson
19ff7de06d Fix indentation 2015-12-15 11:22:39 +11:00
Juergen E. Fischer
02f8988837 indentation update 2015-12-02 18:36:59 +01:00
radosuav
34df72c75b [Processing] Use raster band scailing factor and offset in Zonal Statistics algorithm 2015-11-30 14:00:47 +01:00
Matthias Kuhn
afd436da9f Yet another fix to 594fafe 2015-11-24 16:57:43 +01:00
Matthias Kuhn
2e7c33281c Followup 594fafe73b8, Also fix processing 2015-11-24 16:29:35 +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
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
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
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
Bernhard Ströbl
cfb932afa9 [PROCESSING] Speed up dissolve without changing parameters 2015-11-11 16:29:33 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
rldhont
e4996d77cd [processing] allow output directly on Spatialite tables
like 11b5092140f5a966dbb2d85cb64face1e927ff90 but for Spatialite
2015-11-06 17:54:58 +01:00
mdouchin
f443bb8c03 Update ConcaveHull.py 2015-10-25 12:29:25 +01:00
mdouchin
99fcd625eb Update ConcaveHull.py
Correct qgis:dissolve algorithm call
2015-10-25 12:17:36 +01:00
volaya
4da1ce9eee Merge pull request #2341 from arnaud-morvan/processing_precisionmodel
[Processing] Add precision parameter to by location algorithms
2015-10-24 15:42:36 +02:00
Juergen E. Fischer
bf64f8d0a0 spelling fixes and indentation update 2015-10-22 21:56:54 +02:00
arnaud.morvan@camptocamp.com
3bc11b1947 Revert crs.ImportFromProj4(unicode(...)) to crs.ImportFromProj4(str(...)) 2015-10-20 17:19:27 +02:00
Anita Graser
b20d316692 changed to descriptive name
as suggested in https://hub.qgis.org/issues/9868
2015-10-20 14:27:01 +02:00
Bernhard Ströbl
64bf3a80b2 [PROCESSING] Undo recent changes to Dissolve 2015-10-20 09:23:12 +02:00
volaya
ca27277bb3 [processing] do not set an upper limit for points in random points layer
fixes #13483
2015-10-13 19:59:16 +02:00
Paolo Cavallini
9cd5eed9bf Update Grid.py
Fixes a broken module. Possibly more broken ones around.
2015-10-13 13:30:43 +02:00