Médéric RIBREUX
c3b97827df
Review all r.* description files
2017-11-11 14:31:58 +01: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
da90477121
Improve input detection and add new algorithms
2017-11-05 13:52:26 +01: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
Médéric RIBREUX
aa17df1a55
* Add new GRASS 7.2 algorithms.
...
* Fix ParameterRange GUI.
* Fix Multiple values Enum support.
2017-11-04 18:34:25 +01:00
Médéric Ribreux
6c81895fb0
Improve GRASS provider:
...
- Improve GRASS detection for all OS.
- Use GRASS --exec command.
- Unified GRASS batch job method for all OS (easier to maintain).
- Handle MS-Windows codepages (for data only, if you have a username with special characters, it will not work).
- Better support for filepath normalization.
- add -m option to r.out.gdal.
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
c63df209a8
Fix cz function
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
74826dc1ea
Support directory output via QgsProcessingParameterFolderDestination
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
b46e969325
Fix indentation
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
65f483d613
Modify Grass7 detection
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
d6fb7181aa
Fix layers loading...
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
4b8b6a09c8
Massive conversion
2017-11-04 15:31:21 +01:00
Médéric Ribreux
56b963e313
Improve ext scripts and support OutputFolder
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
5827513c4b
First work on ext mechanism factorisation
2017-11-04 15:31:21 +01:00
Médéric Ribreux
6bf8448bfb
Improve cell size detection and FileDestinationOutput (but not perfect)
2017-11-04 15:31:21 +01:00
Médéric Ribreux
f32bba4456
(WIP) better cellsize suport
2017-11-04 15:31:21 +01:00
Médéric Ribreux
f0da7b0186
Improve MultiLayers and FileDestination support
2017-11-04 15:31:21 +01:00
Médéric Ribreux
9a52e344fd
First working raster algorithm
2017-11-04 15:31:21 +01:00
Médéric Ribreux
483a4b9e8a
First functional version (for single vector inputs/outputs)
2017-11-04 15:31:21 +01:00
Médéric Ribreux
9eff16f431
Finish fixing description files (no more errors on startup)
2017-11-04 15:31:21 +01:00
Médéric Ribreux
7369c4dece
Fix some other description files
2017-11-04 15:31:21 +01:00
Médéric Ribreux
be78153427
(WIP) Grass algorithms can be opened and inputs are treated
2017-11-04 15:31:21 +01:00
Médéric RIBREUX
a676db2c0f
Handle parameters and update description files (WIP)
2017-11-04 15:31:21 +01:00
Médéric Ribreux
733218caca
(WIP) enable Grass7 provider and start to work on QgsProcessing new framework
2017-11-04 15:31:21 +01:00
Médéric Ribreux
297c7b5f8b
Update TODO list
2017-11-04 15:31:21 +01:00
Nyall Dawson
fe78611cf5
Simplify interpolation API
...
Don't require both pixel size and row/col count in constructor,
since we can calculate the pixel size from the extent and row/column
count.
2017-11-03 14:00:07 +10:00
Nyall Dawson
8631472089
QgsTINInterpolator->QgsTinInterpolator
2017-11-03 10:49:33 +10:00
Nyall Dawson
e91ee5b71c
More flexible API for interpolation
...
E.g. adds API support for interpolating by m value
2017-11-03 09:18:45 +10:00
Nyall Dawson
73306f1266
Update python code
2017-11-03 07:47:40 +10:00
Nyall Dawson
8f22f5eb3b
[processing] Misc fixes for network analysis tools
...
Also maintain attributes in service area from layer alg, add test
Fixes #17325
2017-10-31 16:01:32 +10:00
Nyall Dawson
8d32bf729e
Fix QgsGraphAnalyzer::dijkstra traverses through edges backwards
...
This means that it flips the direction of the graph edge, breaking
route restrictions.
Refs #17325
2017-10-31 16:01:32 +10:00
Nyall Dawson
57edec668e
Fix incorrect enum values in network analysis algs
...
Didn't result in a bug, but made the code confusing to read
2017-10-31 16:01:32 +10:00
Nyall Dawson
ab05fe7603
Fix extremely confusing network graph API naming
...
Since names of api calls were backwards to expectations
2017-10-31 16:00:19 +10:00
Nyall Dawson
5ffd7214ee
[processing] Shortest path handling for multipoint layers
...
Fixes shortest path algorithms fail for multipoint source layers
or layers with null geometries
Refs #17325
2017-10-31 16:00:18 +10:00
Nyall Dawson
4149da0556
Better reporting of errors when paths cannot be found, also
...
output point but with no geometry and missing attributes so
that it's clear which points could not be linked
2017-10-31 16:00:18 +10:00
Nyall Dawson
36a38f4e2d
[processing] Keep attributes from start/end points layer in
...
output layer for shortest path algorithms
Otherwise the paths are nearly impossible to link back to
the source layer for further analysis
2017-10-31 16:00:18 +10:00
Nyall Dawson
49254384df
Fix index out of range error in shortest path algs
2017-10-31 16:00:18 +10:00
Matthias Kuhn
d2c1011a13
Convert missing from[Geometry]XY calls
2017-10-30 09:14:06 +01:00
Matthias Kuhn
e0025b65b1
Rename QgsGeometry::fromPoint to QgsGeometry::fromPointXY
...
Also introduces the from[Geometry]XY for QgsGeometryFactory
2017-10-30 09:14:06 +01:00
Matthias Kuhn
750a54f8f6
More drop V2 suffix fixes
2017-10-30 09:14:05 +01:00
Matthias Kuhn
7f3ad76882
Rename QgsMultiPolygonV2 to QgsMultiPolygon
2017-10-30 09:14:04 +01:00
Matthias Kuhn
3fcdcd87af
Rename QgsMultiPointV2 to QgsMultiPoint
2017-10-30 09:14:04 +01:00
Matthias Kuhn
b6f46eae11
Rename QgsPolygonV2 to QgsPolygon
2017-10-30 09:14:04 +01:00
Nyall Dawson
68179e224c
Merge pull request #5475 from nyalldawson/snap_to_grid
...
[FEATURE][processing] Native c++ snap to grid algorithm
2017-10-27 17:19:37 +11:00
Nyall Dawson
4372ac2658
[FEATURE][processing] Native c++ snap to grid algorithm
...
With support for snapping Z/M values, keeping curves
2017-10-27 15:16:15 +10:00
Harrissou Sant-anna
30aa5f5f96
Allow double typed values in algorithm
...
Also homogenize the output name
2017-10-27 13:09:39 +11:00
Nyall Dawson
034baf1b53
Merge pull request #5436 from alexbruy/processing-gdal-memory
...
[processing] correctly handle layers without attributes in GDAL-based geoprocessing algorithms (fix #17287 )
2017-10-26 20:19:12 +11:00
Nyall Dawson
c50ee6d42f
Update python code to new API
2017-10-26 07:06:34 +10:00