1352 Commits

Author SHA1 Message Date
Nyall Dawson
4e4bb2bf6b Merge pull request #3728 from nyalldawson/open
Cleanup processing file handling
2016-11-07 13:20:13 +10:00
Nyall Dawson
8acc286b0f [FEATURE] Snap to layer algorithm accepts a mode parameter
With a new option to prefer to snap to closest point on geometry.
The old behaviour was to prefer to snap to nodes, even if a node
was further from the input geometry than a segment. The new option
allows you to snap geometries to the closest point, regardless
of whether it's a node or segment.
2016-11-07 12:20:59 +10:00
Nyall Dawson
dae0a01761 [FEATURE][processing] Snap geometries algorithm allows snapping
to other layer types, supports point/line layers

Fix #14791, #15313
2016-11-07 12:20:59 +10:00
Nyall Dawson
c3a978b9da [FEATURE][processing] Snap geometries to layer algorithm
Port the Geometry Snapper plugin across to the analysis lib, and
expose to python bindings

Add a new algorithm which performs the snapping to layers
2016-11-07 12:20:59 +10:00
Nyall Dawson
0484769b7d [processing] Use subprocess.DEVNULL instead of open(os.devnull) 2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
Nyall Dawson
eefa7115bf [processing] Fix invalid geometries made by densify when input geom is null 2016-11-07 09:22:50 +10:00
Alexander Bruy
8b3c39a220 [processing] add missed description files for OTB 5.4.0 2016-11-03 16:58:18 +02:00
nirvn
03e29d4f01 [processing] optimise singlepart to multipart algorithm
- keep z/m/curved geometries intact
- rewrite loop to avoid the cost of nb. feature x unique values
2016-11-03 09:05:31 +07:00
Nyall Dawson
a44ea22880 Small refinement to multipart to singlepart alg 2016-11-03 05:40:11 +10:00
Alexander Bruy
5d877fd888 Merge pull request #3707 from nyalldawson/multipart_to_single
[processing] optimise multipart to singlepart algorithm
2016-11-02 10:06:25 +02:00
Nyall Dawson
18fc0c6fad [processing] optimise multipart to singlepart algorithm
- simplify code
- keep z/m/curved geometries intact
- might be a bit faster
2016-11-02 16:06:00 +10:00
Nyall Dawson
f65e770242 [FEATURE[processing] New algorithm to compute geometry by expression
This algorithm updates existing geometries (or creates new
geometries) for input features by use of a QGIS expression. This
allows complex geometry modifications which can utilise all the
flexibility of the QGIS expression engine to manipulate and create
geometries for output features.
2016-11-02 16:05:46 +10:00
Juergen E. Fischer
d3c7a04193 fix typo
(cherry picked from commit 658cfe68c91ec24f04f8ebda307fbec7d55a412f)
2016-11-01 13:51:49 +01:00
Juergen E. Fischer
7a326b1b8d fix typos 2016-11-01 13:46:29 +01:00
nirvn
8e663309c0 [processing] remove console error message when optional otb provider not installed 2016-10-31 12:53:42 +07:00
Nyall Dawson
a117df2205 Merge pull request #3656 from nirvn/processing_import_to_spatialite
[processing] add "Import into Spatialite" algorithm
2016-10-31 09:14:19 +10:00
Nyall Dawson
82312e10e4 [FEATURE][processing] New algorithm to extract specific nodes
This algorithm allows you to extract specific nodes from geometries.
Eg you can extract the first or last node in the geometry.

The algorithm accepts a comma separated list of node indices to
extract, eg 0 = first node, 1 = second node, etc. Negative indices
can be used to extract nodes from the end of the geometry. Eg
-1 = last node, -2 = second last node.
2016-10-31 07:56:24 +10:00
Nyall Dawson
8dab2cd4d7 [FEATURE][processing] New algorithm to extend lines
Allows extending linestrings by a set distance at the start
and end of the line
2016-10-31 07:56:24 +10:00
Nyall Dawson
c494c472ac Merge pull request #3690 from nyalldawson/extract_by_exp
[FEATURE][processing] New extract by expression algorithm
2016-10-30 08:23:40 +10:00
nirvn
121f48d654 [processing] add import into spatialite algorithm 2016-10-29 09:33:47 +07:00
Nyall Dawson
74e64645e4 [FEATURE][processing] New extract by expression algorithm
Filters an input layer by expression
2016-10-29 08:05:26 +10:00
Paolo Cavallini
79e5911e07 Update RegularPoints.py
Fixes #15773
2016-10-28 09:11:28 +02:00
volaya
b58229009b indentation fix 2016-10-27 14:36:31 +02:00
volaya
472a550168 [processing] fixed field loading in field calculator
fixes #15767

Conflicts:
	python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py
2016-10-27 14:36:30 +02:00
Alexander Bruy
323c6582c6 [processing] add workaround for GDAL regression with cutlines (fix #15746) 2016-10-25 17:48:19 +03:00
Paolo Cavallini
7470b55bbd Enable CROP_TO_CUTLINE by default
Fixes https://hub.qgis.org/issues/15750
Please backport it where appropriate.
2016-10-25 08:57:31 +02:00
Nyall Dawson
5eb875d63b [processing] Add algorithm to strip null geometries 2016-10-24 11:24:37 +10:00
Nyall Dawson
12a7bb34e8 [processing] Fix qgis zonal stats algorithm 2016-10-24 08:41:16 +10:00
Juergen E. Fischer
28abbf9513 add *.py to .gitattributes 2016-10-23 08:38:36 +02:00
Paolo Cavallini
66b66ed450 Update r.mapcalc.txt
Better description of r.mapcalc
2016-10-23 07:42:51 +02:00
Nyall Dawson
3cc9b5d962 Indentation 2016-10-22 09:03:24 +10:00
nirvn
772f2019c1 [processing] add a spatialite execute SQL algorithm 2016-10-21 10:05:03 +07:00
Alexander Bruy
89fa21e5fa [processing] more complete support for int64 fields (follow up 8d2cc8806b)
(cherry picked from commit 649d41f1ecd4b8d22110e11cb9e693231bec8ed2)
2016-10-20 21:02:37 +03:00
Germán Carrillo
62a9436178 Using QVariant.Type enum instead of numbers for readability.
(cherry picked from commit 6df926dfe6e3e8f7ac330fbb9206dc69492da6ed)
2016-10-20 21:02:37 +03:00
Germán Carrillo
4730d25012 Fixing issue with 'Eliminate sliver polygons' and fields of type long.
(cherry picked from commit be25a29da196fac687f95abffb71e34138e3d20c)
2016-10-20 21:02:37 +03:00
Juergen E. Fischer
2013984297 fix translation strings 2016-10-20 18:16:37 +02:00
Matthias Kuhn
e0d8db721c Rename README to README.md 2016-10-20 12:49:56 +02:00
Alexander Bruy
b9c2ab2b74 Merge pull request #3646 from alexbruy/processing-otb-test
[processing] add tests for OTB algorithms
2016-10-20 12:30:34 +03:00
Alexander Bruy
8f7183b2a4 [processing] add icon for zonal statistics tool 2016-10-20 12:13:51 +03:00
Alexander Bruy
7bd4315970 [processing] expose zonal statistics from Zonal statistics plugin in toolbox 2016-10-20 12:13:51 +03:00
Sandro Santilli
7971815343 Do not pass None to len() 2016-10-20 10:51:30 +02:00
Sandro Santilli
06976a2e87 Make Extent and Extent CRS GDAL parameters optional
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.

Fixes #15685
2016-10-20 10:51:30 +02:00
Alexander Bruy
ea0ad5dd21 Merge pull request #3592 from alexbruy/processing-interpolation
[processing] add interpolation tools
2016-10-20 11:31:43 +03:00
Alexander Bruy
2778a8fe8c [processing] minor formatting fixes to the OTB README 2016-10-20 11:28:34 +03:00
Alexander Bruy
a7d4b19fc9 update readme for otb maintenance script 2016-10-20 09:22:36 +03:00
Manuel Grizonnet
afea25bda2 BUG: add version 5.4 to supported version 2016-10-20 09:21:41 +03:00
Mathieu Pellerin
cf6004959e [processing] ensure that outputs of vector overlay operations are multiparts (#3622) 2016-10-19 14:58:23 +02:00
Alexander Bruy
ca66951ab1 [processing] add icons for interpolation tools 2016-10-19 14:59:41 +03:00
Alexander Bruy
774965c2d4 [processing] expose TIN interpolation from interpolation plugin in toolbox 2016-10-19 14:59:41 +03:00