Alexander Bruy
1840dfef0d
raise exception when algorithm requires layer name, but layer name is
...
not set
2025-05-17 06:48:03 +01:00
Alexander Bruy
76d8920bce
fix handling of virtual layers as inputs in GDAL Processing provider
...
(fix #59364 )
2025-05-16 05:59:57 +01:00
Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
mazano
6ca60b7502
[ogr2ogr] Fix promote to multipart logic and add makevalid option ( #58440 )
2024-10-18 07:45:43 +10:00
Nyall Dawson
e38849d750
Fix running GDAL algorithms on cloud storage layers
...
Correctly generate commands when run on eg /vsis3/ layer sources,
and translate credential options to "--config KEY VALUE" arguments
for GDAL commands
2024-06-27 13:07:25 +10:00
Nyall Dawson
18efe655e9
Pass vector layer open options over to GDAL command
...
Ensures that processing tools which use vector layers with open
options work correctly, respecting the layer's open option settings
2024-06-27 13:07:25 +10:00
Nyall Dawson
36e3c43f84
Make getOgrCompatibleSource API more flexible
2024-06-27 13:07:25 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02:00
Nyall Dawson
6a7e4c133e
[processing][gdal] Fix escaping of connection string in OGR to postgis
...
alg
Fixes #41839
2021-02-26 12:05:53 +10:00
Evan Derickson
ef6799fad4
More append thinning
...
Along with some other loop optimizations
2021-02-20 12:26:00 +10:00
admire
2bcddfb4e1
Allow importing vector dimensions greater than 3 and other geometry types
2020-10-24 10:59:06 +10:00
Nyall Dawson
cd2caf84f7
Raise an exception when connection is not specified
2020-03-17 15:10:53 +10:00
Nyall Dawson
97e47fa7b8
[processing] Use core connections API instead of Python GeoDB class
...
for postgres connection handling
2020-03-17 15:10:53 +10:00
Nyall Dawson
83d2a816fb
[processing] Use proper database schema/table name widgets in algorithms
2020-03-14 16:57:14 +10:00
Nyall Dawson
f587430d23
Remove ad-hoc python provider connection parameters and replace
...
with proper provider connection parameters
2020-03-10 19:10:52 +10:00
Giovanni Manghi
c7e4130140
make the A_SRS parameter optional
2019-10-02 08:11:15 +10: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
Matthias Kuhn
b90a01847f
Prefer parameterAsBoolean over parameterAsBool
2019-04-16 08:30:00 +02:00
Nyall Dawson
6e03253143
[processing][gdal] Fix empty fid is passed if FID option is not set
...
Also add full range of unit tests for OgrToPostGis algorithm.
Fixes #19947
2018-09-26 08:07:09 +10:00
Nyall Dawson
83feea46a7
[processing] Accept geometry-less layers in more algorithms
...
Fixes #19685
2018-08-25 15:41:13 +10:00
Nyall Dawson
5fab46f41c
[processing][needs-docs] Refine names for 'Import into PostGIS' algs
...
Renames the existing algorithms for clarity and consistency
to the format 'Export to PostgreSQL...'. Add tags so that they
still show when searching for the old names, and add descriptions
to make their use more obvious from the toolbox.
Fixes #19658
2018-08-21 16:00:18 +10:00
Nyall Dawson
59d425c5b0
[processing] Fix some incorrect formatting of algorithm titles
2018-05-31 15:27:51 +10:00
Nyall Dawson
0d520456ea
[processing][gdal] Fix conversion of non-EPSG crs parameters
...
to GDAL compatible strings
2018-05-11 11:29:34 +10:00
Alexander Bruy
53bc147dca
[processing] add group id to GDAL algorithms
2017-12-14 18:04:11 +02:00
Nyall Dawson
b578f8af35
Fix layer handling in import to postgis algs
2017-12-08 15:25:25 +10:00
Nyall Dawson
2d4a465212
[processing][gdal] Spatial extent filter for import to postgis
...
should be optional
2017-12-08 15:24:30 +10:00
Nyall Dawson
846400cb70
Resurrect GDAL import to PostGIS (available connections) alg
...
Fixes #17605
2017-12-08 15:18:03 +10:00
Nyall Dawson
96c7e6e0a6
[processing][gdal] Cleanup some code, add method to customise
...
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Matthias Kuhn
28c67e1c01
Remove double-defined __init__ function
2017-10-16 23:05:14 +02:00
Nyall Dawson
e33647dc5a
Move OGR processing provider specific methods to GdalUtils
2017-08-14 04:56:24 +10:00
Nyall Dawson
ab079f9d92
ogrConnectionString reuses existing context
2017-08-14 04:56:24 +10:00
Nyall Dawson
ce8e18da10
Fix overridden function signatures
2017-08-14 04:56:24 +10:00
Nyall Dawson
ba03f1a13a
Move minimum layer extent calculation to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c
Push parameters into processAlgorithm and related functions
2017-06-06 07:41:19 +10:00
Nyall Dawson
77ab933788
Move alg character definitions to __init__
2017-06-06 07:41:19 +10:00
Nyall Dawson
dd4f530cfb
[processing] Pass context argument to processAlgorithm
2017-04-26 12:53:35 +10:00
Nyall Dawson
a0bd464232
Use formatted name for algorithm names
...
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a
Move algorithm group handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Alexander Bruy
dbca0304d9
[processing] rename algorithm groups in GDAL provider
2017-02-28 12:37:48 +02:00
volaya
cdb35d6288
Merge pull request #4119 from arnaud-morvan/processing_postgis_wrappers
...
[processing] Add PostGIS widget wrappers
2017-02-16 11:12:30 +01:00
Giovanni Manghi
26448364b4
make ogr postgis parameters mandatory where needed
2017-02-10 15:41:39 +00:00
arnaud.morvan@camptocamp.com
c768edf9d1
[processing] Add postgis widget wrappers
2017-02-10 11:01:41 +01:00
Nyall Dawson
ede452be85
[processing] Port feedback object to c++
...
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
arnaud.morvan@camptocamp.com
a6a09d9ae2
[processing] Fix Ogr2OgrToPostGisList with 8798c42339 and 3472ac80d8bd
2016-11-06 15:25:11 +01:00
Sandro Santilli
2fc418016f
[processing] Fix handling of None shapeEncoding
...
Fixes #15719 -- object of type 'NoneType' has no len()
2016-10-18 11:44:40 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00