415 Commits

Author SHA1 Message Date
Nyall Dawson
f6e63d7f4c Fixes and cleanups to algorithm dialogs 2017-12-01 18:15:40 +11:00
Alexander Bruy
3d4a59bb8b [processing] cleanup files from unused code and remove some files 2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692 [processing] remove Python 2 compatibility layer 2017-11-28 12:27:45 +02:00
Nyall Dawson
cab807dc30
Merge pull request #5426 from medspx/ProcessingPortGrass72
[Processing] Port GRASS 7.2 algorithm provider
2017-11-09 06:42:38 +10:00
Nyall Dawson
fe0566000e More QPair API removal 2017-11-06 07:34:01 +10:00
Nyall Dawson
dc341d2047 Add flags to QgsVectorFileWriter methods which return lists of drivers
Initially only flag available is whether to sort drivers by
recommended order. The recommended order puts GPKG first and
SHP second, then leaves the rest alphabetical.

This fixes a few instances in the QGIS gui where these recommended formats
are not listed first.
2017-11-06 07:22:04 +10:00
Médéric RIBREUX
d10aaf4bd4 Support multiple output file raster formats:
* A new createopt textbox has been added to the parameters dialog for algorithms which exports to raster files.
* A new metaopt textbox has also been added to the Algorithm parameters dialog.
* Raster file format is detected from output filename extension.
* GdalUtils has been improved to correctly detect raster formats supported for creation.
* QFileDialog for output rasters now display only file filters for supported output raster file formats.
2017-11-05 13:18:24 +01:00
Alexander Bruy
4a51c40821 [processing] correctly handle layers without attributes in GDAL-based
geoprocessing algorithms (fix #17287)
2017-10-24 15:33:49 +03:00
Nyall Dawson
4ce166241e Allow processing providers to specify a long name, and show it in tooltips
Add version number to gdal provider long name
2017-10-19 13:12:31 +10:00
Nyall Dawson
a33376fe09 Drop version and count from algorithm item in tree view 2017-10-19 12:01:40 +10:00
Alexander Bruy
d0623620a3 [processing] retrieve dissolve parameter as boolean value 2017-10-18 16:21:57 +03:00
Matthias Kuhn
34a9d91488 Fix broken error handling 2017-10-16 23:16:30 +02:00
Matthias Kuhn
28c67e1c01 Remove double-defined __init__ function 2017-10-16 23:05:14 +02:00
Mathieu Pellerin
edf734677e [processing] use a vector feature source for gdal clip raster by mask (#5351) 2017-10-12 22:08:34 +07:00
Alexander Bruy
2104b273af [processing][API]introduce QgsProcessingOutputFile output and fix gdal2xyz test 2017-10-11 17:06:11 +03:00
Alexander Bruy
97238fd687 [processing] fix SQL-based geoprocessing tools and tests 2017-10-11 17:06:11 +03:00
Alexander Bruy
c4c780fa04 [processing] tests for clipping (raster and vector) algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
67265c64c1 [processing] reproject extent into input CRS where possible 2017-10-11 17:06:11 +03:00
Alexander Bruy
2c50fd8dd8 [processing] use feature source in the interpolation algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
874c7f545e [processing] fix copy-paste error in Execute SQL 2017-10-11 17:06:11 +03:00
Alexander Bruy
ff75873eb8 [processing] tests for OGR-based algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
fd12d29615 [processing] restore gdal_merge algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
68863a9c5d [processing] restore Execure SQL algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
fb958df64f [processing] restore dissolve algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
750e80f7de [processing] restore ogr2ogr algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
efa97b2913 remove unused includes 2017-10-11 17:06:11 +03:00
Alexander Bruy
6c7a292627 [processing] restore clip vector by mask algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
679cc2c887 [processing] restore clip vector by extent algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
3750a5bf63 [processing] restore one side buffer algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
f59e3a340c [processing] homogenize and improve Points along lines 2017-10-11 17:06:11 +03:00
Alexander Bruy
98dfda3aa7 [processing] restore buffer algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
bba509ee4d [processing] fixes to Offset curve algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
fde5c89d97 fix typos and add tests for gdal algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
9b74d9f2df [processing] restore offset curve algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
105222ea8c [processing] restore ogrinfo algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
7c9d634323 [processing] rename some algorithms to avoid naming conflicts and
maintain consistency
2017-10-11 17:06:11 +03:00
Alexander Bruy
5b7b3a9930 [processing] restore gdaladdo algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
491a9aabda [processing] restore gdal2xyz algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
95c91f881c [processing] restore retile algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
4c2c568f0a fix optional CRS parameter handling 2017-10-11 17:06:11 +03:00
Alexander Bruy
6a1b68edd6 [processing] restore gdal2tiles algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
0f226645fa [processing] homogenize gdal algorithms
-consistent parameters naming
-use additional creation options where possible
-remove duplicated functionality
2017-10-11 17:06:11 +03:00
Alexander Bruy
10baf9a1c4 [processing] restore proximity algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
587907e003 [processing] restore clip raster by mask algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
1744ad7114 [processing] restore clip raster by extent algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
4272b8b7ad [processing][FEATURE] add linear interpolation 2017-10-11 17:06:11 +03:00
Alexander Bruy
46662443a8 [processing][FEATURE] add IDW with neareast neighbor search 2017-10-11 17:06:11 +03:00
Alexander Bruy
26f80351f0 [processing] restore nearest neighbor interpolation 2017-10-11 17:06:11 +03:00
Alexander Bruy
ad591c768e [processing] restore inverse distance to a power algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
dc7b9e41bc [processing] restore grid data metrics algorithm 2017-10-11 17:06:11 +03:00