Nyall Dawson
247d2657ca
Fix invalid regular expression warnings
2017-09-01 09:00:57 +10:00
Nyall Dawson
9fa12ac57f
Merge pull request #5090 from nyalldawson/raster_layer_extent
...
[FEATURE] New algorithm for creating vector layer from raster layer's extent
2017-08-31 09:02:32 +10:00
Nyall Dawson
d46317802b
Port gdal translate alg to new api
2017-08-30 18:13:51 +10:00
Nyall Dawson
a29e3780cd
Port rgb2pct to new API
2017-08-30 17:53:14 +10:00
Nyall Dawson
d0fea64b23
Port GDAL info alg to new API
2017-08-30 17:44:52 +10:00
Nyall Dawson
bb5a499c23
Fix generation of processing tests on Windows
2017-08-30 15:25:11 +10:00
Nyall Dawson
8dde180f3f
Rename parameter for consistency with other algs
2017-08-30 14:42:19 +10:00
Nyall Dawson
43e4ed0b27
Rename Polygon from Layer Extent to Polygon from Vector Extent
...
Helps clarify that this alg only functions for vector layers
2017-08-30 14:41:24 +10:00
Nyall Dawson
44e7f3371e
[FEATURE] New algorithm for creating vector layer from raster layer's extent
...
Allows creation of a new vector layer with a single feature containing
a raster layer's extent. Previously this was only possible for
vector layers.
2017-08-30 14:40:21 +10:00
Nyall Dawson
184899ec30
Port remaining plotly based algs to new API
2017-08-30 07:28:25 +10:00
Nyall Dawson
9ca57bd62c
Use a QgsFeatureSink instead of path to shapefile in QgsTinInterpolator
...
Instead of just forcing writing the triangulation to a shapefile (boo!)
change the parameter to use a QgsFeatureSink, so that anything
which implements the QgsFeatureSink interface can be used for
storing the triangulation.
2017-08-29 21:46:35 +10:00
Nyall Dawson
07a570fd05
Merge pull request #5069 from nyalldawson/std
...
Swap use of some q* macros to std calls
2017-08-26 03:58:40 +10:00
nirvn
c64bc974b5
[processing] one more z factor minimum value adjustment
2017-08-25 17:43:54 +07:00
nirvn
922ded8d76
[processing] fix z factor minimum value in various raster algorithms
2017-08-25 17:15:31 +07:00
Nyall Dawson
641d78bb4c
Add new raster hash for hillshade test (verified ok)
2017-08-25 16:21:42 +10:00
Nyall Dawson
d573c43e3e
Better test debugging
2017-08-25 15:58:57 +10:00
Nyall Dawson
0669167af2
Rename processing 'recently used algorithms' to 'recently used'
...
Since we show much more than just 'algorithms' here
2017-08-23 17:35:09 +10:00
Nyall Dawson
cb70aad7a3
Fix restricting model algorithm input types to valid types for alg (refs #17030 )
2017-08-23 17:34:08 +10:00
Nyall Dawson
4511ea1c12
Add a file selector for file parameters in model algorithms
...
Makes it more obvious to users that a fixed filename can be
used here
2017-08-23 02:14:30 +10:00
Nyall Dawson
451a3fab26
Reformat code
2017-08-23 02:14:29 +10:00
Nyall Dawson
cdbb57d65f
Don't throw python exception when modeler algorithm is missing inputs
...
Instead use nicer messagebar for feedback. Also fix untranslatable
strings.
Refs #17028
2017-08-23 02:14:24 +10:00
Nyall Dawson
367aba7059
Rename some processing widget wrappers to better match corresponding c++ classes
2017-08-23 00:16:42 +10:00
Nyall Dawson
c119c286eb
Add basic unit tests for constructing processing widget wrappers
2017-08-23 00:13:15 +10:00
Nyall Dawson
9882e4f7bb
Fix some inconsistent capitalization in algorithm naming
2017-08-22 23:40:11 +10:00
Nyall Dawson
2a442c7886
Rationalise algorithm groups a bit
2017-08-22 23:36:42 +10:00
Nyall Dawson
8218f35383
Fix use of incorrect icon for algorithm
2017-08-22 23:20:52 +10:00
Nyall Dawson
b62fd51cc2
Don't allow dragging groups in model algorithm tree
2017-08-22 23:16:33 +10:00
Harrissou Sant-anna
6fd3c1090a
Fix wording
...
Fully write the label because there's enough space + alignment
2017-08-22 07:53:44 +02:00
Nyall Dawson
bcc662722b
Upgrade Convert Geometries algorithm to maintain Z/M, curves were possible
2017-08-20 18:21:03 +10:00
Nyall Dawson
8da29c06b4
Fix test reference file
2017-08-20 18:21:03 +10:00
Nyall Dawson
51f8b1a2bb
Port Convert Geometry Type to new API
...
Includes partial support for Z/M types (values are lost during
conversion, but at least 2d geometries are exported)
TODO: full support for Z/M/curves
2017-08-20 18:21:03 +10:00
Nyall Dawson
4d242c5673
Partial port of raster calculator to new API
...
TODO: modeler handling
2017-08-20 18:21:03 +10:00
Nyall Dawson
338ee36b1d
Port Execute SQL to new API, add test
2017-08-20 18:21:03 +10:00
Nyall Dawson
99fd727bab
Fix some issues when creating processing tests
2017-08-20 18:21:03 +10:00
Nyall Dawson
2a6847e030
Port define projection to new API
2017-08-20 18:21:03 +10:00
Nyall Dawson
cfb926a70d
Port Find Projection alg to new API
...
Also modify alg to export a vector table of candidates instead of
a HTML list, since a vector table is more useful inside of
models and can be used for further analysis steps.
2017-08-20 18:21:03 +10:00
Nyall Dawson
a56725f76e
Resurrect Python Field Calculator algorithm, add test
2017-08-20 18:21:02 +10:00
Nyall Dawson
6144b1c5d9
Resurrect Field Calculator algorithm, add test
2017-08-20 18:21:02 +10:00
Juergen E. Fischer
dae6666aa5
translation string fixes
2017-08-19 13:51:43 +02:00
Giovanni Manghi
3cc3946029
improves grass7 v.in.dxf making a couple of parameters optional/mandatory
2017-08-19 07:42:14 +02:00
Nyall Dawson
114f071cf8
Don't generate triangulation files by default in TIN algorithm
2017-08-19 05:08:40 +10:00
Nyall Dawson
090bb9bba4
Use QgsFeedback instead of QProgressDialog in tin interpolator
2017-08-19 05:05:40 +10:00
Nyall Dawson
000c86e7de
Restore TIN interpolation algorithm
2017-08-19 04:56:48 +10:00
Nyall Dawson
356588abf0
Use QgsFeedback in QgsGridFileWriter instead of QProgressDialog
2017-08-19 04:08:04 +10:00
Nyall Dawson
a07ea33340
Port IDW Interpolation alg to new API
2017-08-19 04:03:50 +10:00
Nyall Dawson
355cff191d
Add Map Layer input parameter type for models
...
Since algorithms now use this parameter type (render map alg)
we also need to allow its use in models
2017-08-19 03:45:51 +10:00
Nyall Dawson
7d69e5f5af
Expose all layer type filters to both model feature source, vector
...
layer and multi layer inputs
Refs #17030
2017-08-19 03:36:33 +10:00
Nyall Dawson
370b26798f
Fix wrapped c++ object has been deleted error when editing model parameters
...
Fixes #16858
2017-08-19 03:24:28 +10:00
Nyall Dawson
ebda2fd212
Rename some enum values for clarity
2017-08-19 02:46:22 +10:00
Nyall Dawson
076fdc9449
Port rectangles, ovals, diamonds to new API
2017-08-19 02:37:39 +10:00