5532 Commits

Author SHA1 Message Date
Alessandro Pasotti
bb567cd5b8 Processing importintopostgis: Do not transform table name to lowercase 2019-05-23 09:14:59 +02:00
Alexander Bruy
ab646c4d75 [processing] split r.sun into two algorithms as it has mutually
exclusive options (fix #21637)
2019-05-23 10:13:50 +03:00
Alexander Bruy
88647ff5a6 [processing] use correct parent layer parameter in v.net.distance
algorithm (fix #22013)
2019-05-23 09:45:22 +10:00
Alexander Bruy
dd8c5c1611 [processing] move "Split RGB bands" algorithm inside "Raster tools"
group to maintain consistency (fix #21849)
2019-05-23 09:45:05 +10:00
Alexander Bruy
bef58ac6a7 [processing] use correct file extension in r.in.lidar.info (fix #21910) 2019-05-23 09:44:39 +10:00
Alessandro Pasotti
fd4895b9fb processing postgis connector quote indexes names 2019-05-22 18:28:35 +02:00
Alessandro Pasotti
ad24b87601 Add missing error class and quote identifiers
Fixes #22035 - case sensitive schema
2019-05-22 18:15:19 +02:00
Nyall Dawson
289e72dc07 Adjust precision of some processing tests to allow them to pass under proj 6 2019-05-21 19:14:55 +10:00
nirvn
20ed28da29 [processing] Move the new XYZ algorithms under the raster tools group 2019-05-21 12:19:20 +07:00
matteo
ad4b3d21e0 update help yaml 2019-05-20 16:01:15 +02:00
matteo
34f02327d2 do suggestions 2019-05-20 14:26:40 +02:00
Juergen E. Fischer
ac5e945742 translation string fixes 2019-05-20 01:05:56 +02:00
Harrissou Sant-anna
94cb85490a Title case the options 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
4c41819eb3 Fix option label for GDAL ADDO resampling method 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
6e5976e640 Title case the resampling options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
bd2fc75f2e [needs-docs] Harmonize display of GDAL build vrt options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
491ca3315f Make data type option translatable in GDAL algorithms dialog 2019-05-20 08:51:38 +10:00
Peter Petrik
6d9b40f634 add TMS (fix #21987)and HTML output (fix #21991) for tilesxyz. Split to 2 algorithms (directory and MBTiles) 2019-05-18 11:34:15 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
matteo
17000a4b36 use combineField and handle exceptions better 2019-05-17 08:06:33 +02:00
rldhont
943c7d5d90 [Processing] Define boolean output
In processing, if an algorithm has a boolean as an output, it cannot be defined as boolean but as a number.

To be more precise in algorithms description, the commit add QgsProcessingOutputBoolean.
2019-05-17 08:21:57 +10:00
matteo
aa2aed9e1f [feature][needs-doc] format strings 2019-05-16 12:32:23 +02:00
matteo
cd5afc4a8a remove plugin from header 2019-05-15 16:14:28 +02:00
matteo
8de4006dbf fix spelling 2019-05-15 13:44:53 +02:00
matteo
d9a6778b1f astyle and other fixes 2019-05-15 13:05:13 +02:00
matteo
baea3bcd61 format strings 2019-05-15 11:03:56 +02:00
matteo
9b3b61a094 after first review 2019-05-15 10:58:15 +02:00
matteo
b3a8d8f3a3 after review 2019-05-15 08:18:45 +02:00
matteo
4ca3935fbd [feature[ Processing Climb along lines algorithm 2019-05-15 08:18:45 +02:00
Alexander Bruy
5844a0fc90 [processing] allow selecting input from open layers only if input is a
layer-type (e.g. raster, vector, mesh). All other inputs can be selected
only from filesystem
2019-05-14 15:36:48 +03:00
Nyall Dawson
2ec429cb89 [FEATURE][processing] New algorithm "Overlap analysis"
This algorithm calculates the area and percentage cover
by which features from an input layer are overlapped by
features from a selection of overlay layers.

New attributes are added to the output layer reporting
the total area of overlap and percentage of the input
feature overlapped by each of the selected overlay layers.

This is quite a common GIS task request, yet is full
of traps for inexperienced users, and the amount of
manual data work usually done by users to calculate
these figures can often lead to mistakes and inaccurate
results. It's nice to have a robust, fast, inbuilt
algorithm which allows this task to be done in a
single step without risk of human error.
2019-05-14 06:13:10 +10:00
Raymond Nijssen
6e62c0246d tests for rounded values in polygonfromlayerextent algorithm 2019-05-11 08:42:27 +02:00
Raymond Nijssen
59367618cd improved description 2019-05-11 08:39:41 +02:00
Raymond Nijssen
95c8cfed5f use distance instead of number parameter, and set advanced flag 2019-05-11 08:39:41 +02:00
Raymond Nijssen
a6d9d26e7d fix keyword 2019-05-11 08:39:41 +02:00
Raymond Nijssen
052db03919 Round values in ExtentFromLayer processing algorithm 2019-05-11 08:39:41 +02:00
Nyall Dawson
69c89151ef Add extra raster hashes 2019-05-09 14:04:30 +10:00
Nyall Dawson
6ec58f90c8 Spelling, formatting 2019-05-09 14:04:30 +10:00
Nyall Dawson
e2bd17f3c9 Split processing test files into multiple batches
There's two motivations for this:
- the existing one was getting massive and took ages to run, which was
a pain when developing. Smaller batches allow just a subset of test to
be run which is much faster.
- There's a random segfault on test exit which occurs on Travis. Rather
then disabling these absolutely critical tests altogether, I'm using
this as a method of bisecting exactly which alg is causing this.
2019-05-09 14:04:30 +10:00
Alexander Bruy
f085f55276 rename method so API is compatible with recent changes and other wrappers 2019-05-09 08:14:12 +10:00
Alexander Bruy
f8890d8f04 [processing] populate batch interface with rows when multiple layers
selected (fix #21859)
2019-05-09 08:14:12 +10:00
Nyall Dawson
af6d3d773d [processing] Fix exception when running batch alg after loading parameters 2019-05-08 20:13:07 +10:00
Marcel Dancak
9820bb4fa9 [processing] updated test files - tiles with transparent background 2019-05-03 13:43:15 +02:00
Marcel Dancak
b1106b9f1e [processing] fix #21958 used sqlite3 module instead of GDAL/ORG's SQLite driver 2019-05-03 13:43:15 +02:00
Nyall Dawson
070de69e30 [processing] Fix incorrect columns hidden when toggling advanced params in batch mode 2019-04-30 14:43:58 +10:00
Nyall Dawson
1d80fe8a19 Review comments 2019-04-30 14:43:58 +10:00
Nyall Dawson
c12fd877ed [processing] Remove selected rows from batch table, not always last row 2019-04-30 14:43:58 +10:00
Nyall Dawson
9f43f2f608 [FEATURE][processing] New "Add values by expression" option for
populating batch processing dialog

This option adds news rows using the values from an expression
which returns an array. (As opposed to "Calculate by Expression",
which works only on existing rows).

The intended use case is to allow populating the batch dialog
using complex numeric series, e.g. those created by the "generate_series"
expression function.

For example, adding rows for a batch buffer using the expression

    generate_series(100, 1000, 50)

(results in new rows with values 100, 150, 200, .... 1000)
2019-04-30 14:43:58 +10:00
Nyall Dawson
ee7daa8db7 [FEATURE][processing] Add option to calculate parameter values by expression in batch dialog
This new option is available under the Autofill menu for a column. Selecting it allows users
to create a new QGIS expression to use to update the value inside that column. Existing
parameter values (including those from other columns) are available for use inside
the expression via @variables.

E.g. this allows setting output file names to complex expressions like
'/home/me/stuff/buffer_' || left(@input, 30) || '_' || @distance || '.shp'
2019-04-30 14:43:58 +10:00
Nyall Dawson
185172a946 Refactor creation of batch dialog row algorithm parameters 2019-04-30 14:43:58 +10:00