Matthias Kuhn
c0a8ee51e1
Do not re-lookup already present CRSes
2017-02-24 09:15:22 +01:00
Bernhard Ströbl
115ede60ce
[processing] replace alg Eliminate with new alg EliminateSelection
...
* [processing] replace alg Eliminate with new alg EliminateSelection
* Deprecate Eliminate algorithm
* Expose new EliminateSelection algorithm in GUI
* Rename ouput layer
* Reflect algorithm changes in help
* Remove superfluous init method
* Simplify code, thanks Nyall
* Improve transfer of selection to processLayer
* Remove deprecated Eliminate algorithm
* Remove test for Eliminate
* Fix indentation
2017-02-23 09:33:28 +01:00
Nyall Dawson
74abd5bbf6
[FEATURE][processing] Topological coloring can have a minimum
...
distance between features assigned the same color set
2017-02-22 12:54:34 +10:00
Nyall Dawson
5c43e0b22b
Add method to assign colors in order to maximize the distance between
...
features assigned to same color
This is the most cartographically pleasing color arrangement in my
opinion as it creates a nicely distributed set of colors.
2017-02-22 12:37:12 +10:00
Nyall Dawson
2fd78b85bd
Make algorithm recursive
...
When a new color is required, repeat the color assignment process.
This is the fastest part of the algorithm, so there's no noticable
speed drop. Repeating the whole coloring ensures that newly added
colors are properly balanced with respect to other colors, and avoids
the situation where one of the last features to be colored requires
a whole new class to be created, which will only have a few possible
members.
Overall this results in more balanced color assignment.
2017-02-22 12:10:13 +10:00
Nyall Dawson
ff10cf48f4
Add balance by area mode
...
This mode attempts to assign colors in such a way that the total
area of features assigned to each color class is balanced. It helps
avoid larger features causing a single color class to appear more
dominant on a colored map.
2017-02-22 12:10:13 +10:00
Nyall Dawson
ac5e292243
Allow specifying minimum number of colors for coloring map
2017-02-22 12:10:13 +10:00
Nyall Dawson
1cf0a20267
[FEATURE][processing] New algorithm for topological coloring of polygons
...
This ports to old (pre 2.0!!) topocolor plugin to processing. It's based
off my beta 2.x fork (never publicly released) which implemented
a bunch of improvements to the algorithm allowing for minimal number
of required colors and also balanced counts of features assigned
each individual color.
** Pretty sure this plugin was highlighted in Victor's presentation
about plugins-which-shouldn't-be-plugins-and-should-be-processing-algs
instead. It's a prime example of a plugin where the amount of code
required for gui+setup exceeded the actual "guts" of the plugin by
a huge factor, and which is much more useful when it can be
integrated into a larger processing model.
2017-02-22 12:10:13 +10:00
Juergen E. Fischer
0d1ab702fc
processing: improve saga detection on windows
2017-02-19 22:24:25 +01:00
Alexander Bruy
aa862810e3
Merge pull request #4146 from jdugge/master
...
[processing] gdal translate fixes
2017-02-16 14:44:36 +02:00
Alexander Bruy
f587ae5f30
Merge pull request #4150 from alexbruy/processing-graphs
...
[processing] improve graphs
2017-02-16 14:42:08 +02:00
volaya
7f1ff08ebb
Merge pull request #4116 from ghtmtt/r_prov
...
[processing] small fix for R provider
2017-02-16 11:13:16 +01:00
volaya
cdb35d6288
Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
...
[processing] Add PostGIS widget wrappers
2017-02-16 11:12:30 +01:00
Alexander Bruy
1d68c164e2
don't open output file automatically
2017-02-15 20:07:24 +02:00
Alexander Bruy
58b9c82e20
remove old imports
2017-02-15 20:07:24 +02:00
Alexander Bruy
b3ab5543dd
[processing] update polar plot
2017-02-15 20:07:24 +02:00
Alexander Bruy
19289ccc4e
[processing] update mean and std.dev plot
2017-02-15 20:07:24 +02:00
Alexander Bruy
2abc3f7233
[processing] update raster layer histogram
2017-02-15 20:07:24 +02:00
Alexander Bruy
e0131a7526
[processing] update vector layer histogram
2017-02-15 20:07:24 +02:00
Alexander Bruy
a352773887
[processing] update vector layer scatterplot
2017-02-15 20:07:23 +02:00
Alexander Bruy
46a9891e5c
[processing] update bar plot
2017-02-15 20:07:07 +02:00
jdugge
f2ac88ba25
Update translate.py
2017-02-14 22:43:13 +01:00
Juernjakob Dugge
063c80ee1d
GDAL translate algorithm: Default value for EXPAND, make PROJWIN optional
2017-02-14 21:56:55 +01:00
Alexander Bruy
1430e93340
[processing] improve SAGA version check. Fix getCopy() method
2017-02-14 12:55:33 +02:00
Nyall Dawson
91eea30e7d
[FEATURE][processing] Algorithm to find an unknown layer's projection
...
If you have a layer with an unknown CRS, this algorithm gives a list
of possible candidate CRSes which the layer could be in.
It allows users to set the area (and corresponding CRS) which they know
the layer should be located near. The algorithm then tests every CRS
in the database to see what candidate CRSes would cause the layer
to be located at that preset area.
It's much faster than it sounds!! (just a couple of seconds)
Sponsored by SMEC/Surbana Jurong
2017-02-14 05:49:23 +10:00
Alexander Bruy
f7380c1b6f
Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_params
...
[processing] make ogr postgis parameters mandatory where needed
2017-02-10 18:04:12 +02:00
Alexander Bruy
5c8c53c397
[processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3)
2017-02-10 17:59:53 +02:00
Alexander Bruy
40dfdd7960
Merge pull request #4131 from NaturalGIS/fix_ogr_offset_lines
...
[processing] remove useless options form ogr offset line tool
2017-02-10 17:43:54 +02:00
Giovanni Manghi
26448364b4
make ogr postgis parameters mandatory where needed
2017-02-10 15:41:39 +00:00
Alexander Bruy
47d46bb8c3
[processing] fix initialization of GdalAlgorithmDialog
2017-02-10 17:38:24 +02:00
Giovanni Manghi
5ade65aa16
remove usless options form ogr offset line tool
2017-02-10 15:01:25 +00:00
arnaud.morvan@camptocamp.com
c768edf9d1
[processing] Add postgis widget wrappers
2017-02-10 11:01:41 +01:00
Alexander Bruy
501a5f9268
[processing] always load ExecuteSQL algorithm
2017-02-10 11:18:05 +02:00
Alexander Bruy
c0eb9975f8
Merge pull request #4118 from alexbruy/processing-saga-ltr
...
[processing] support only SAGA LTR
2017-02-10 10:31:23 +02:00
Alexander Bruy
2ea3ac4611
Merge pull request #4122 from alexbruy/processing-gdal2
...
[processing] remove code with GDAL 1.x API calls
2017-02-09 20:48:43 +02:00
Alexander Bruy
2c188b2b0f
[processing] fix helper function from system module ( fix #16128 )
2017-02-09 14:25:53 +02:00
Alexander Bruy
f66646c483
[processing] remove code with GDAL 1.x API as QGIS 3 will require GDAL 2.x
2017-02-09 14:15:31 +02:00
Alexander Bruy
732b501db1
[processing] support only SAGA LTR
2017-02-09 11:49:22 +02:00
Giovanni Manghi
566c058db8
fix some ogr tools in master
2017-02-08 11:22:21 +00:00
matteo
f999970899
[processing] small fix to R provider
2017-02-08 11:14:28 +01:00
Alexander Bruy
44698d4576
[processing] don't quote geometry column name ( fix #16122 )
2017-02-07 16:57:07 +02:00
Alexander Bruy
4963548f4d
[processing] warn user about incorrect input data when calculating
...
mean coordinates using weight field (fix #9084 )
2017-02-07 16:29:27 +02:00
Alexander Bruy
d3003de61c
[processing] add tags and short help
2017-02-07 12:52:05 +02:00
Alexander Bruy
91fe2f93c4
explicitly convert geometry to multi
2017-02-07 12:52:04 +02:00
Alexander Bruy
7df04ac7e7
[processing] Fix Geometry algorithm always produces multi-geometry
...
Also added code to handle GeometryCollections
2017-02-07 12:52:04 +02:00
Alexander Bruy
0293bc76a0
[FEATURE][processing] algorithm to fix invalid geometries using native
...
makeValid() implementation
2017-02-07 12:52:04 +02:00
Juergen E. Fischer
2c65a66587
revert more of ab0345
2017-02-04 21:22:48 +01:00
Nyall Dawson
4f20979d39
Partially revert ab0345
2017-02-04 21:43:19 +10:00
Nyall Dawson
ab03453136
[processing] Rename 'export/add geometry columns' alg + add tags for discoverability
2017-02-04 14:56:54 +10:00
Alexander Bruy
5939ae23e7
Merge pull request #4076 from volaya/remove_processing_providers
...
[FEATURE][processing] removed otb and lidartools providers
Tagged as feature to not forget mention this in changelog and docs
2017-02-02 10:56:56 +02:00