752 Commits

Author SHA1 Message Date
Alexander Bruy
95091d9342 Merge pull request #4062 from alexbruy/raster-provider
Use native QGIS raster API instead of GDAL API in zonal statistics
2017-02-02 10:54:03 +02:00
Nyall Dawson
46404f73d9 Merge pull request #4081 from ghtmtt/rename_sql
[processing] rename execute sql output
2017-02-02 14:24:48 +10:00
Nyall Dawson
87f2fe55b2 Add unit test for processing polygonize algorithm 2017-01-31 10:47:00 +10:00
Nyall Dawson
14bd79f844 Remove dependance on shapely library
Port processing polygonize alg to use native QgsGeometry methods
2017-01-31 10:47:00 +10:00
Nyall Dawson
8709e1f9d5 Merge pull request #4078 from nyalldawson/geom_api
API changes to QgsGeometry::isEmpty()/isNull()
2017-01-31 09:13:15 +10:00
Nyall Dawson
af0d68b882 Implement QgsGeometry::isEmpty()
Faster than QgsGeometry::isGeosEmpty() because it avoids the
conversion to GEOS geometries and just uses the QgsAbstractGeometry
subclasses directly.

Also implements faster isEmpty() overrides for specific
QgsAbstractGeometry subclasses.
2017-01-31 07:15:51 +10:00
matteo
83a24884f9 [processing] rename execute sql output 2017-01-30 17:39:45 +01:00
LOMENEDE Jean-Daniel
c4165e4eeb [processing]Execute Sql : fix Input2.. InputN parameters 2017-01-30 16:38:58 +01:00
Nyall Dawson
49aae6e908 Rename QgsGeometry::isEmpty to isNull
Differentiates missing geometries from empty geometries (eg
empty geometry collections)
2017-01-30 21:58:23 +10:00
Alexander Bruy
278913b7ce use QgsRasterBlock instead of GDAL in zonal statistics (addresses #8736)
This should make zonal statistics usable rasters which come from
other providers, e.g. WCS.
2017-01-28 11:12:12 +02:00
Alexandre Neto
290758a4bc More PNG to SVG replacements (#4065) 2017-01-28 11:17:43 +07:00
Denis Rouzaud
958dff9d82 spelling fixes 2017-01-25 17:38:01 +01:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
Nyall Dawson
9124100fb6 Python formatting updates 2017-01-23 12:25:19 +10:00
Denis Rouzaud
4c3968b9aa more spelling fixes 2017-01-20 15:06:09 +01:00
volaya
5e479fc67e [processing] always use only selected features in 'save selected features' 2017-01-19 10:33:52 +01:00
lbartoletti
01cd784ee7 [FEATURE][processing] Add overlay option to GridLine and GridPolygon 2017-01-19 16:49:35 +10:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Alexander Bruy
f01b2f0597 [processing] extent is mandatory parameter for interpolation algorithms 2017-01-13 15:50:38 +02:00
Alexander Bruy
ce88da6eb9 [processing] raise error if cellsize is not defined in interpolation
algorithm
2017-01-13 15:50:38 +02:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
Nyall Dawson
86e1138a04 [processing] Correctly handle when no feedback object is passed 2017-01-11 11:11:11 +10:00
Nyall Dawson
ede452be85 [processing] Port feedback object to c++
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
Nyall Dawson
04eb293362 [processing] Move some SVG icons out of plugin to themes
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Nyall Dawson
bb24dfe245 [processing] c++ base class for providers
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.

As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:

- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon

These API breaks are documented
2017-01-11 10:55:15 +10:00
volaya
7b68c77f4c [processing] removed unnecessary code to check validity of geometries 2017-01-09 15:13:47 +02:00
Martin Dobias
63d1cfddc8 Fix QgsExpressionContextUtils::projectScope() usage in processing 2017-01-06 11:34:55 +08:00
Nyall Dawson
e5e0ec51eb [FEATURE][processing] New algorithm to truncate tables
Irretrievably deletes all features from a table... use with caution!
2017-01-06 10:32:52 +10:00
Nyall Dawson
bce716c8b1 [processing] Allow selection of non-spatial tables for create attribute index alg 2017-01-06 10:32:52 +10:00
Nyall Dawson
e7e9ba0efc [processing] Add test, help for create spatial index alg 2017-01-06 10:32:52 +10:00
Alexander Bruy
12ab928e4b Merge pull request #3918 from alexbruy/processing-providers
Processing providers updates
2017-01-05 11:02:19 +02:00
Nyall Dawson
a4838e1a95 [processing] Don't abort heatmap if adding single feature fails 2017-01-02 10:05:33 +10:00
Alexander Bruy
ce9c08f3f6 [processing] rename GdalOgr provider to Gdal provider
Show version numbers in providers descriptions
2016-12-31 09:09:07 +02:00
DelazJ
a56f928f71 Replace unicode by Unicode 2016-12-29 01:46:18 +01:00
DelazJ
c301369ebe Replace cellsize by cell size 2016-12-29 01:46:17 +01:00
Juergen E. Fischer
8fb37aa666 indentation fixes 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
e5a4426dce more spelling fixes 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
a3faa92339 spelling fixes 2016-12-26 22:19:45 +01:00
Alexander Bruy
47e5a5fc19 [processing] include start point into service area convex hull 2016-12-26 16:39:58 +02:00
Alexander Bruy
ffd67f119e Merge pull request #3891 from alexbruy/processing-interpolation
[processing] add remaining functionalify from the interpolation plugin
2016-12-22 10:18:02 +02:00
Alexandre Neto
932de2ab55 Replace PNGs by SVGs (#3896)
- removes no longer needed SVG compounds
- Improves cap and join style icons
2016-12-21 08:55:22 +07:00
Alexander Bruy
7dde862cc4 [processing] add missed functionality from Interpolation plugin 2016-12-20 10:14:49 +02:00
nirvn
e338a90c80 [processing] support non-ogr layers in merge vector layers alg 2016-12-20 14:38:42 +07:00
Alexander Bruy
f4f86cad63 [processing] use full precision for elevation values
remove unused file
2016-12-19 09:49:49 +02:00
Alexander Bruy
4e59c5a045 [processing] merge two Relief algorithms into one 2016-12-19 09:49:49 +02:00
Alexander Bruy
0d1c9a31bb [processing] implement missed functionality from Raster terrain analysis
plugin
2016-12-19 09:49:49 +02:00
Denis Rouzaud
2ffe1a764b spelling fixes 2016-12-15 15:26:36 +01:00
Juergen E. Fischer
8d8bbabf81 indentation update 2016-12-14 14:13:31 +01:00
volaya
0035c97f5b Merge pull request #3725 from arnaud-morvan/processing_geometry_predicate
[processing] Remove parameter geometry predicate
2016-12-13 15:58:16 +01:00