Andrea Giudiceandrea
41c847136e
Remove qgis:pointsalonglines python alg help
...
after "Points along geometry" algorithm port to C++ since 3.8 qgis\QGIS@f30fcca5ece7019d83d2b385f954a0335c84e7c6 qgis\QGIS#30175
2020-01-28 05:10:22 +10:00
Andrea Giudiceandrea
2c84b43c18
Remove qgis:creategrid python alg help
...
after "Create grid" algorithm port to C++ qgis/QGIS@9e9ade3903
2020-01-27 16:25:17 +10:00
Sandro Santilli
d39b6ac77d
Merge pull request #33225 from strk/dbmanager-reconnect-button
...
DBManager PostgreSQL backend using core APIs instead of psycopg2
2020-01-20 12:05:22 +01:00
Alessandro Pasotti
5af1306bf3
Merge pull request #33685 from elpaso/pgraster-pkeys
...
Native PostGIS raster data provider
2020-01-17 11:31:28 +01:00
Alexander Bruy
57e211dc4e
update tests
2020-01-15 15:17:39 +02:00
Alexander Bruy
1fe16b712a
use native algorithm instead of RectanglesOvalsDiamondFixed
2020-01-15 13:41:52 +02:00
Alexander Bruy
c752919dd0
[processing][needs-docs] port Rectangle,ovals,diamonds algorithm to C++
...
and make width, height and rotation parameters dynamic.
Old Python implementations marked as deprecated to maintain API
compatibility.
2020-01-15 13:41:52 +02:00
Nyall Dawson
a9ed83f1a6
[FEATURE][processing] New algorithm "Rename table field"
...
Takes an input layer, existing field and a new name for the field, and
outputs a new layer with the selected field renamed.
While this result could also be achieved with the Refactor Fields
algorithm, Refactor Fields isn't particularly model friendly. It
relies on a constant, fixed table structure, and can't adapt to
input tables with different field structures.
In constrast, this simple Rename Field algorithm adapts nicely for
model use, because it operates on a single field only and leaves
all the other fields untouched.
2020-01-15 21:56:10 +13:00
Sandro Santilli
5b4e581d03
Remove debugging
2020-01-14 10:42:56 +01:00
Sandro Santilli
6a20ed41a7
Extract field type from QgsField
2020-01-14 10:39:31 +01:00
Sandro Santilli
8ca08ec798
Set field precision and lengths from QgsField
2020-01-14 10:34:45 +01:00
Sandro Santilli
b4f4c331b7
Use lazy evaluation for query result descriptions
2020-01-14 10:31:11 +01:00
Nyall Dawson
771fc3ff60
[FEATURE][processing] Add new mode to "Join Attributes by Location" algorithm
...
to take attributes from matching feature with largest area of overlap only
This allows for easy polygon->polygon joins, where you expect there to be
only a single matching feature and don't want to include features which
are just touching or have just tiny sliver polygon overlaps.
Sponsored by SMEC/SJ
2020-01-14 21:28:30 +13:00
Etienne Trimaille
0a4f0e51a6
add field name when reporting an error in refactorfield algo
2020-01-14 11:32:48 +13:00
Alessandro Pasotti
0c2c133d83
DB manager use postgresraster provider instead of GDAL
2020-01-13 14:02:19 +01:00
Andrea Giudiceandrea
0d4d8254c1
[SAGA] Fix saga_cmd command with multiple outputs
...
Fixes a regression bug accidentally introduced with 40134d6473fcdbd8b6f53c3ea3db01e2dd606419 (PR #8968 ) and backported with a887b7d34bfa44a8400bcaa986ede96e15a760c9 (PR #9231 ): when there are multiple output parameters processAlgorithm incorrectly generates multiple saga_cmd commands, instead of a single command containing the output parameters.
Fixes #33658
2020-01-13 13:19:33 +13:00
Sandro Santilli
1ee8034e5b
Handle query error
2020-01-10 14:52:33 +01:00
Sandro Santilli
bf4ed9ad47
Use QgsVectorLayer to retrive field names from queries
2020-01-10 09:46:05 +01:00
root676
aa2b38f9ca
remove hash based python test entry
2020-01-10 13:32:42 +13:00
root676
4b8177fda9
add linedensity testdata
2020-01-10 13:32:42 +13:00
root676
ce342f7ac4
[feature][processing] Add Line denisty algorithm
2020-01-10 13:32:42 +13:00
Alexander Bruy
986930d28f
[processing] use system temporary directory as default for Processing
...
temporary outputs (refs #33641 )
2020-01-10 08:05:12 +13:00
Sandro Santilli
8e5ff28077
Revert "Start reorganizing DB connection for SQL window dialog"
...
This reverts commit 0ad368a9d28128a4f80896cc6f9989f12b758840.
2020-01-09 10:08:03 +01:00
Sandro Santilli
ae8f35926f
Make CursorAdapter more generic (directly use AbstractConnection)
2020-01-09 10:08:03 +01:00
Sandro Santilli
95cb05e12e
Fix disabling of debug
2020-01-09 10:08:03 +01:00
Sandro Santilli
5109e17019
Drop debug calls, and unused import
2020-01-09 10:08:03 +01:00
Sandro Santilli
d2d723b91b
Do not get db and user names from the env if service is used
2020-01-09 10:08:03 +01:00
Sandro Santilli
07d88b1aaf
Set dbname from environment, if not set already
2020-01-09 10:08:03 +01:00
Sandro Santilli
67ce48f698
Hard-code provider name in connector, so existing test is fixed
2020-01-09 10:08:03 +01:00
Sandro Santilli
6aa87fa67b
Rename CursorProxy to CursorAdapter
2020-01-09 10:08:03 +01:00
Sandro Santilli
e0ec0e0b3b
Make CursorProxy scrollable, tweak more of the adapter
2020-01-09 10:08:03 +01:00
Sandro Santilli
285a98431f
Remove debugging line
2020-01-09 10:08:03 +01:00
Sandro Santilli
bb12bf2cca
Add special code to ensure a NULL value gets converted to None
...
NOTE: this should really be done in lower levels
2020-01-09 10:08:03 +01:00
Sandro Santilli
7acbc362c0
Fix more Cursor execution functions (rename table)
2020-01-09 10:08:03 +01:00
Sandro Santilli
18c51c485c
Fix TopoViewer plugin
2020-01-09 10:08:03 +01:00
Sandro Santilli
f034317665
Use the new QgsAbstractDatabaseProviderConnection interface
2020-01-09 10:08:03 +01:00
Sandro Santilli
3892faeb1c
Start reorganizing DB connection for SQL window dialog
...
Working toward resolution of #31994 (allowing reconnect on
connection loss)
[skip ci]
2020-01-09 10:08:03 +01:00
Alexander Bruy
cf6cd48b38
fix typo
2020-01-06 11:19:55 +10:00
Alexander Bruy
5e62e60de9
[processing] add user-defined parameters to gdal_rasterize
2020-01-06 11:19:55 +10:00
Alexander Bruy
b511841775
[processing] fix v.net,centrality
2020-01-06 11:19:55 +10:00
Alexander Bruy
432a8a5fd0
[processing] cleanup tests
2020-01-06 11:19:55 +10:00
Alexander Bruy
1fa3edfc51
[processing] add tests for r.series and r.reclass algorithms
2020-01-06 11:19:55 +10:00
Alexander Bruy
dcabb0536b
[processing] fix r.rescale and r.rescale.eq
2020-01-06 11:19:55 +10:00
Alexander Bruy
0b749558b9
[processing] add proper support for range parameters ( fix #29269 )
2020-01-06 11:19:55 +10:00
Nyall Dawson
fcdf1f6e78
Fix test
2020-01-05 20:58:10 +10:00
Nyall Dawson
42885bfbb7
[needs-docs][processing] Move Build Vector VRT to gdal provider
...
and setup alias to avoid script/model breakage. This algorithm
uses GDAL utilities and fits better alongside the other GDAL based
algorithm rather than in the qgis provider.
2020-01-05 20:58:10 +10:00
Nyall Dawson
27277c54f1
Remove unused code
2020-01-05 20:50:05 +10:00
Nyall Dawson
223dfafb15
[processing] Port field parameter widget to new API
2020-01-05 08:59:38 +10:00
Nyall Dawson
70ee385f4a
[processing] Add message bar to widget context
2020-01-05 08:59:38 +10:00
Nyall Dawson
1a74938ba8
[processing] Add option for multiple field parameters to default to
...
selecting all available fields
For some algorithms this is better UX then defaulting to an empty list
2020-01-04 23:06:03 +10:00