Nyall Dawson
1342f4d9ac
Add API to set optional destination parameters as not created by default
...
This allows optional outputs (such as null geometry features detected
by the Remove Null Geometries algorithm) to be skipped by default
when desirable.
2017-07-16 18:19:24 +10:00
Nyall Dawson
5deb8fcb87
Port Remove Null Geometries algorithm to c++/new API
...
Enhancements:
- add a new optional output for null geometries, and make
the non-null geometry output optional. This allows the algorithm
to act as a router for features with null/not null geometries
inside of a model
2017-07-16 17:56:10 +10:00
Nyall Dawson
aec6a79462
Merge pull request #4863 from nyalldawson/nn
...
Port 2 more processing algorithms
2017-07-16 17:30:15 +10:00
Matthias Kuhn
99a9e249f5
Fix file permissions for processing algs
2017-07-16 08:01:06 +02:00
Nyall Dawson
1b1dc7de63
Port Extract Nodes to new API
...
Improvements:
- Retain Z/M values from input geometries
2017-07-16 15:55:05 +10:00
Nyall Dawson
bb344bcee2
Fix typo
2017-07-15 22:08:39 +10:00
Nyall Dawson
ea06500caf
Port Unique Values algorithm to new API
...
Improvements:
- by default output a table with unique values, instead of a HTML
file. This allows the values to be more easily used in follow up
analysis (e.g. in a model). HTML output is still available, but
not output by default
2017-07-15 22:07:12 +10:00
Juergen E. Fischer
b350676622
run target t2tdoc (followup ec74e03a)
2017-07-15 13:38:50 +02:00
Jürgen Fischer
ec74e03a41
Merge pull request #4864 from signedav/patch-1
...
Fedora Install Typo: OSWLib to OWSLib
2017-07-15 13:36:46 +02:00
Nyall Dawson
82edbab814
Fix mean coords uses old exception
2017-07-15 21:17:50 +10:00
signedav
d66b7b2c90
Fedora Install Typo: OSWLib to OWSLib
2017-07-15 06:55:15 -04:00
Nyall Dawson
b7f888bf5b
Port Distance Matrix algorithm to new API
...
Enhancements:
- support source/target layers in different CRS
- output layers with geometry (i.e. keep input point geometry - avoids
need to rejoin result back to original table to get geometry)
- keep original data types for id fields
- don't fire off many single feature requests - instead request
multiple features at once to improve speed
2017-07-15 20:33:53 +10:00
Nyall Dawson
7f58af11ae
Port mean coords algorithm to new API
...
Improvements:
- Don't export UID class field if no class field was set
2017-07-15 20:33:08 +10:00
Nyall Dawson
8333f6a59d
Merge pull request #4862 from nyalldawson/nn
...
Port Line Intersection algorithm to new API
2017-07-15 20:32:50 +10:00
Nyall Dawson
a6736ceb77
Add ability to select output fields from both layers to Intersection algorithm
2017-07-15 17:40:45 +10:00
Nyall Dawson
02bf88c4b7
Port Line Intersection algorithm to new API
...
Improvements
- allow different CRS between layers
- instead of optionally allowing selection of a single field to keep from
both inputs, allow selection of multiple fields
2017-07-15 17:40:45 +10:00
Nyall Dawson
eaad18c6ad
Merge pull request #4861 from nyalldawson/nn
...
Port nearest neighbour alg to new API
2017-07-15 17:40:32 +10:00
Alexander Bruy
1cb2728c02
Merge pull request #4859 from alexbruy/processing-restore
...
[processing] restore most of terrain analysis tools
2017-07-15 10:12:23 +03:00
Nyall Dawson
353d4fc703
Add missing dox
2017-07-15 17:07:31 +10:00
Nyall Dawson
7baa623f6f
Allow bulk load of QgsSpatialIndex to be canceled via QgsFeedback
2017-07-15 16:43:44 +10:00
Alexander Bruy
671f024789
fix tests
2017-07-15 09:30:21 +03:00
Alexander Bruy
f3f9e544ab
[processing] restore Hillshade algorithm
2017-07-15 09:29:35 +03:00
Alexander Bruy
f4bba54a11
[processing] restore Ruggedness algorithm
2017-07-15 09:29:35 +03:00
Alexander Bruy
05b4cc22bf
[processing] restore Slope algorithm
2017-07-15 09:29:35 +03:00
Alexander Bruy
5f5fc587b7
[processing] homogenize input/output names in Heatmap algorithm
2017-07-15 09:29:35 +03:00
Nyall Dawson
b441a4f2c9
Port nearest neighbour analysis algorithm to new API
2017-07-15 16:24:14 +10:00
Nyall Dawson
8af7318c98
Ensure distance area is always correctly used in processing
2017-07-15 16:24:14 +10:00
Nyall Dawson
bbe466ff98
Merge pull request #4860 from nyalldawson/sum_lines
...
Port sum line length algorithm to new API
2017-07-15 16:16:53 +10:00
Nyall Dawson
2e8b84867e
Port sum line length algorithm to new API
...
and implement auto reprojection of lines to polygon layer CRS
2017-07-15 15:56:04 +10:00
Nyall Dawson
223059776e
Merge pull request #4858 from nyalldawson/points
...
Port Points in Polygon algorithms to new API
2017-07-15 15:54:40 +10:00
Nyall Dawson
79df6b4749
Add cancelation support for points in polygons algorithm
2017-07-15 15:21:06 +10:00
Nyall Dawson
dd38c52dd8
[needs-docs] Copy unique class field option from Points in Polygons Unique
...
to Points in Polygons
Again, it doesn't make sense for a whole separate algorithm just to
add a single option
2017-07-15 14:50:15 +10:00
Nyall Dawson
b67e525f29
[needs-docs] Add optional weight field to Points In Polygon algorithm
...
Instead of a separate Points In Polygon algorithm just for this
extra option, add it to the original Points In Polygon algorithm
as a non-default option.
2017-07-15 14:50:10 +10:00
Nyall Dawson
68687c1e04
Port counts points in polygon alg to new API
...
and add auto-reprojection support if points layer is in
different CRS to polygon layer
2017-07-15 14:23:07 +10:00
Nyall Dawson
455769c54d
Merge pull request #4856 from signedav/stringliteral
...
Minor improvements QStringLiterals for GitHub Test
2017-07-15 06:15:12 +10:00
Josep Comas
8370bbb150
Update connections-default.xml
...
Added Spain resource: Centro Nacional de Información Geográfica (CNIG)
2017-07-14 17:43:39 +02:00
Juergen E. Fischer
9c08d0050f
update t2tdoc outputs (INSTALL, NEWS; followup 0d9945deac)
2017-07-14 16:57:17 +02:00
signedav
53cb9edaf8
Use QStringLiteral
2017-07-14 16:01:13 +02:00
Matthias Kuhn
bf94df83f1
Return invalid fid instead of null fid
...
The default comparison code for two QVariants does a really crappy job
when it comes to NULL values.
I.e. it will return true for `QVariant( 0 ) == QVariant( QVariant::Int )`
We work around this issue here by returning an invalid QVariant instead,
which - and luckily also Qt is aware of this - also is different from 0.
Fix #16745
2017-07-14 10:51:17 +02:00
Mathieu Pellerin
b5dc9fd3cd
[processing] restore and improve lines to pol / pol to lines algs ( #4850 )
...
New geometry model for lines to pol / pol to lines agls.
2017-07-14 14:44:38 +07:00
Nyall Dawson
8711473b7f
Add a very basic guard against virtual fields which reference themself
2017-07-14 10:29:18 +10:00
Nyall Dawson
f84a3bbd04
Merge pull request #4819 from nyalldawson/layout_gui
...
Layout GUI work (pt 1/?)
2017-07-14 10:22:38 +10:00
Nyall Dawson
3f4d6de54b
Fix aggregate expression calculation when used with virtual fields
...
The layer expression context (which is required for aggregate
calculation to work) was not being added to the context used
by vector layer feature iterators.
Fix #15930
2017-07-14 10:21:56 +10:00
Nyall Dawson
0639264a4a
Merge pull request #4852 from nyalldawson/heatmap_source
...
Use QgsFeatureSource instead of QgsVectorLayer for QgsKde
2017-07-14 10:19:15 +10:00
Harrissou Sant-anna
0d9945deac
Use JavaScript instead of javascript/Javascript
...
+ update INSTALL doc
2017-07-13 17:40:55 +02:00
Harrissou Sant-anna
99ea2e8e8f
Use Cartesian instead of cartesian
2017-07-13 17:40:55 +02:00
Nyall Dawson
4fa69643fc
Fix heatmap widget wrapper, update to use source input
2017-07-13 20:52:16 +10:00
Nyall Dawson
b7ae44fb30
Move method to evaluate a variant to a feature source to QgsProcessingUtils
2017-07-13 20:51:47 +10:00
Nyall Dawson
8f19f74893
Fix reportError call
2017-07-13 20:11:37 +10:00
Nyall Dawson
653ef7b243
Update heatmap alg to use feature source instead of layer
2017-07-13 20:11:28 +10:00