5399 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
Nyall Dawson
719ff408a5 Add some missing SIP bindings, comment some classes as not available
in Python
2015-11-10 17:08:27 +11:00
Nyall Dawson
a0542e5d1d Fix sip bindings for interpolation classes
Also missing members declared in interpolation headers
2015-11-10 17:07:42 +11:00
volaya
55c18a5e45 [processing] fixed creation of vector layer as PostGIS Table
fixes error introduced in last commit
2015-11-09 08:50:54 +01:00
volaya
b2b6823321 Merge pull request #2423 from rldhont/processing_spatialite_output
[processing] allow output directly on Spatialite tables
2015-11-09 08:48:34 +01:00
volaya
b36566b045 Merge pull request #2429 from NaturalGIS/fix_saga_idw
fix SAGA 2.2.* Inverse Distance Weighted
2015-11-09 08:47:35 +01:00
volaya
658c5842c1 [processing] fixed ui file after last commit 2015-11-09 08:45:17 +01:00
volaya
43926b55f6 [processing] added tooltip to 'export as python script' button 2015-11-09 08:43:42 +01:00
volaya
5c1da4ebae [Processing] correctly parse value of boolean argument for parameters 2015-11-08 23:15:56 +01:00
volaya
f3cd3ee7ef [processing] add log error message when error occurs in postprocessing task 2015-11-08 22:16:32 +01:00
Juergen E. Fischer
b5794b2f2d sip coverage fixes:
* make sip coverage test aware that there are less classes where QSci sip
  headers are not available
* exclude properties from members
* fix QgsFeatureIds typedef (fixes missing signal
  QgsVectorLayer.featuresDeleted and others)
* add missing notes for PyNames
* include some missing new methods in bindings
2015-11-08 19:30:39 +00:00
volaya
7e79398601 [processing] fixed adding raster layer to project
fixes #13791
2015-11-08 17:55:25 +01:00
volaya
86556c227b [Processing] corrected wrong change in config dialog 2015-11-08 16:31:45 +01:00
volaya
f0bbb88944 [Processing] fixed #13790 (issue saving config option) 2015-11-08 16:28:10 +01:00
Giovanni Manghi
0652955224 fix SAGA 2.2.* Inverse Distance Weighted 2015-11-08 14:25:47 +00:00
Nathan Woodrow
4cc6650d55 Forgot sip for composerTemplatePaths 2015-11-07 10:14:53 +10:00
rldhont
e4996d77cd [processing] allow output directly on Spatialite tables
like 11b5092140f5a966dbb2d85cb64face1e927ff90 but for Spatialite
2015-11-06 17:54:58 +01:00
volaya
9f3bd1d46d [processing] minor fix in parameter parsing in scripts 2015-11-06 14:02:38 +01:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
b05fb0b5b0 [processing] better naming for output memory and postgis layers 2015-11-06 11:36:28 +01:00
volaya
11b5092140 [processing] allow output directly on PostGIS tables 2015-11-06 11:36:27 +01:00
volaya
22ace3df2e [processing] minor indentation fix 2015-11-06 11:36:26 +01:00
volaya
8d8fac46e7 [processing] do not format errors before sending to log 2015-11-06 11:36:25 +01:00
volaya
4692eb526b [processing] don't use temp folder for default output folder 2015-11-06 11:36:24 +01:00
volaya
54bdcefc11 [processing] hide SAGA folder option if built-in SAGA is available 2015-11-06 11:36:23 +01:00
volaya
edb3cf350e [processing] add option to add validators to settings 2015-11-06 11:36:22 +01:00
volaya
b3b33799d9 [processing] fixes for representing input values in history 2015-11-06 11:36:21 +01:00
Alessandro Pasotti
f982c842eb Merge pull request #2420 from elpaso/bugfix-13410
[FEATURE] Bugfix 13410
2015-11-05 21:06:44 +01:00
Vincent Mora
700fc043a4 Merge pull request #2414 from vmora/varying_width_assistant
[FEATURE] assistant for varying line width
2015-11-05 16:48:43 +01:00
vmora
6d1d213973 [FEATURE] assistant for varying line width
The qgssizescalewidget as been modified to handle line symbols as well
as markers.
The scale expression has been enhanced to support general exponentials
(i.e. eponents different from Flanery .57 and Area .5a)
The assistant as been modified to disply the exponent when Exponential
scaling is required.
2015-11-05 14:14:36 +01:00
Nyall Dawson
fe3417b5ef Partial revert of 70bff3f
Commit was causing crashes in browser. Refs #13738
2015-11-05 21:23:04 +11:00
elpaso
954b39d389 [FEATURE] store python init code into the project
Adds an option and code editor to store python form
init code into the project (and the DB, since it's in
the style section)
2015-11-04 18:03:27 +01:00
elpaso
e69bebdda0 Added /Out/ to run 2015-11-04 18:02:13 +01:00
Nathan Woodrow
8c86aab0f4 [Expressions] Redesign expression function editor.
Add auto save
2015-11-04 21:27:00 +10:00
elpaso
35d09825bf Added new method to bindings 2015-11-04 10:37:43 +01:00
volaya
8187ad50c9 [processing] some fixes for supporting optional parameters 2015-11-04 09:51:44 +01:00