5472 Commits

Author SHA1 Message Date
Alexander Bruy
c7c91de52e fix tests 2019-09-17 08:32:01 +03:00
Alexander Bruy
af77d68716 return only base URL as connection string
adopt ogrinfo and ogrtabletopostgis algorithms so they can work with WFS
2019-09-13 11:11:53 +03:00
Alexander Bruy
4b7eaa4b9c [processing] support for WFS layers in GDAL algorithms (fix #29663) 2019-09-13 09:14:04 +03:00
Alexander Bruy
3f54e1db9a use doublequotes for indentifiers as required by GDAL's RFC52 2019-09-12 12:09:29 +03:00
Alexander Bruy
e1c97dc5ba [processing] quote field names in GDAL commands (fix #30878) 2019-09-12 10:52:31 +03:00
Geoff Kimbell
283c8b813a [processing] fix gdalwarp handling of custom projection for target extent
Fixes #31276
2019-09-07 08:24:14 +10:00
Juergen E. Fischer
c5fbddc827 typo fix
[ci skip]
2019-09-06 15:44:24 +02:00
Nyall Dawson
c409025409 [FEATURE][processing] New algorithm "Split features by character"
This algorithm splits features into multiple output features by
splitting a field's value with a specified character.

For instance, if a layer contains features with multiple comma
separated values contained in a single field, this algorithm can
be used to split these values up across multiple output features.

Geometries and other attributes remain unchanged in the output.

Optionally, the separator string can be a regular expression for
added flexibility.

Designed for use in models which need to process input files
with multiple concatenated values in a single attribute, e.g.
geocoding a table with "address1,address2,address3" format strings
2019-09-06 11:09:37 +10:00
Harrissou Sant-anna
2f95dd7701 Remove duplicate 'Ctrl+Shift+M' shortcuts 2019-09-06 07:38:33 +10:00
Giovanni Manghi
7b680f80d6 fix SAGA seeds generation tool 2019-09-06 05:29:50 +10:00
Nyall Dawson
1537f83614 Fix some algorithms fail to execute correctly in in-place mode 2019-09-06 05:29:08 +10:00
Alexandre Neto
fbb9fdd680 Fix Saga Raster Skeletonization algorithm
The saga tool expects integers only for the convergence parameter.
2019-09-05 11:49:36 +10:00
Luigi Pirelli
25ffc9f1c7 Hey! the var is dynamic! 2019-09-04 01:51:53 +10:00
Luigi Pirelli
7eaccc9049 changed to row_number to be consistent with other expression variables 2019-09-04 01:51:53 +10:00
Luigi Pirelli
a4b9ef73fd Added batch_number variable in algorithm scope to allow use it in the expression editor in Processing batch context 2019-09-04 01:51:53 +10:00
Harrissou Sant-anna
58cc42a747 [needs-docs]Set the service area algorithms speed to 50km/h
using the same value as the "Shortest Path" algorithms
2019-08-28 03:53:54 +10:00
Harrissou Sant-anna
2f5d544e3e Set objectName of items to allow their children status restoring 2019-08-17 10:12:26 +02:00
Isghj5
9fd93a1013 ProcessingConfig: added multithread max thread setting, TilesXYZ: max thread now inherrrits from ProcessingConfig 2019-08-12 08:41:26 +10:00
Isghj5
ba17f3b81e TilesXYZ: removed try/except/print from atypical exception, regular raise chosen instead 2019-08-12 08:41:26 +10:00
Isghj5
6b519195da TilesXYZ: converted feedback notifications to translate 2019-08-12 08:41:26 +10:00
Isghj5
9baa6b7e51 TilesXYZ.py: core limit defined in general settings is applied to multicore render 2019-08-12 08:41:26 +10:00
Isghj5
0e48e45d21 prepare-commit changes 2019-08-12 08:41:26 +10:00
Isghj5
e6963cb6dd Processing(TilesXYZ): Added Multithreading with ThreadPoolExecutor, multicore optimization 2019-08-12 08:41:26 +10:00
Nyall Dawson
fe8b7c0c95 [processing] Always clear list of previously encountered errors on
each new algorithm execution

Avoids the situation where errors reported during an algorithm
which was overall successully executed are append to the errors
for later execution steps
2019-08-08 10:07:27 +10:00
Julien Cabieces
2cc6775354 Use context.project() instead of QgsProject.instance() and
QgsProcessingUtils generateTempFileName method
2019-08-07 21:17:05 +10:00
Julien Cabieces
36fe8e64e3 Get supported extension to avoid unavailable driver 2019-08-07 21:17:05 +10:00
Julien Cabieces
4232e67c3d fixes #24041 : Write intermediate memory layer to disk in Execute SQL
algorithm so they can be referenced by the virtual layer provider
2019-08-07 21:17:05 +10:00
Nyall Dawson
99594147b1 [processing] Fix raster layers are not shown as an option for map layer
parameters in batch mode

Fixes #30739
2019-08-07 09:58:46 +10:00
Nyall Dawson
078ab8b04e
Merge pull request #30462 from DelazJ/patch-11
Add precision to travel cost parameter in service area algorithms
2019-08-06 07:17:46 +10:00
Dimitris Salmas
0a27b7b131
bug fix
Bug fix for ERROR: Output distance in meters for lat/lon is only possible with 'metric=geodesic'
2019-08-02 17:08:53 +03:00
Harrissou Sant-anna
292efc2bf8 Add minimal description to Processing algorithms
enabling the right-hand help panel
2019-08-01 09:19:08 +10:00
Harrissou Sant-anna
ad011ac0a2
Apply suggestions from code review
Typo fix

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-08-01 00:58:18 +02:00
Harrissou Sant-anna
7cad1e3a0a
Revert bar plot removal 2019-07-31 20:54:12 +02:00
Harrissou Sant-anna
bae77bf8c3 Add help panel to service area algorithms dialog
with information of travel cost units
2019-07-31 18:23:52 +02:00
Nyall Dawson
8ef960442d [processing] Use lists, not maps in overlap analysis algorithm
Ensures consistent field ordering and that fields are always matched
to input layer order
2019-07-26 10:21:20 +10:00
Nyall Dawson
da1b5637af Fix deprecated gdal import warnings 2019-07-25 11:25:51 +10:00
Alexander Bruy
d0b8d6210c
Merge pull request #30715 from alexbruy/gdal-layers
[processing] pass layer name to the gdalwarp to avoid issues with multi-layer datasources (fix #30292)
2019-07-18 10:21:03 +03:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
Alexander Bruy
e45b62c6af re-enable some disabled test and fix broken r.describe algorithm 2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435 [processing] improve handling of the HTML outputs in GRASS provider (fix #30609) 2019-07-16 06:20:23 +10:00
Alexander Bruy
109d1fb7a8 [processing] pass layer name to the gdalwarp to avoid issues with
multi-layer datasources (fix #30292)
2019-07-15 16:05:16 +03:00
Alexander Bruy
5709f84b2f [processing] add createByDefault argument to directory output
constructor
2019-07-15 08:51:01 +10:00
Alexander Bruy
9ed4d08d5b [processing] ignore hidden parameters when generating GDAL command (fix #30669) 2019-07-15 07:52:36 +10:00
Nyall Dawson
e0093e1d11 [processing] Don't abort when an algorithm step fails in batch mode
Instead, record errors and report them all at the end of the batch
process. If we abort the remaining batch steps when encountering any
error, this blocks a useful use of the batch mode and prevents users
from running a batch process over a large number of input files, some
of which may be invalid.
2019-07-15 06:35:14 +10:00
Alexander Bruy
84c530b97b [processing] make color parameter available to description-based algs 2019-07-09 06:14:48 +03:00
Nyall Dawson
ec246e3ddb [processing] Fix batch mode 'fill with parameter values' option for outputs
Fixes #30543
2019-07-09 07:20:20 +10:00
Nyall Dawson
e05572a11d Port file parameter definition widget to new APi 2019-07-08 15:07:42 +10:00
Nyall Dawson
aa8d5cd22e [processing] Fix API break which breaks some 3rd party providers (e.g. R and Javascript providers) 2019-07-08 13:26:55 +10:00
Alexander Bruy
d3091e7d64 [processing][needs-docs] allow to set tiles background (fix #30490) 2019-07-03 12:15:47 +03:00
Nyall Dawson
b8e53dc012 Add missing visual links between layout and layout item parameters in models 2019-07-01 17:01:34 +10:00