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
Andrea Giudiceandrea
5f85a82caa
[processing][feature] Add tests for gdal:ogrinfo and gdal:ogrinfojson
2024-07-11 08:58:22 +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
20d5b34cd3
Rename test_definition_file to definition_file
...
Otherwise unittest thinks the function is a test itself and runs it
accordingly, and then raises a deprecation warning because
return values are not permitted from test functions
2024-02-12 16:44:06 +10:00
Jean Felder
e0466ab5eb
plugins/tests: Port to QgisUnitTests
...
`unittest.TestCase` is deprecated.
2023-12-12 05:27:30 +10:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin
2023-04-24 10:03:57 +02:00
Alexander Bruy
1c096ceb52
allow negative values for buffer distance in GDAL buffer algorithm ( fix #46667 )
2022-01-06 17:53:54 +10:00
Benoît Blanc
b9473655b3
Add command-line based tests for ogr2ogr
2021-12-09 13:01:00 +10:00
Nyall Dawson
43b5f00267
Trust GDAL gives correct results given that we are confident we are creating the correct command line string
2021-02-08 13:23:40 +10:00
Nyall Dawson
1e82802d41
Fix SHAPE_ENCODING argument should not always get escaped
2021-02-08 13:23:40 +10:00
Nyall Dawson
9ee5e5646a
Update tests
2021-01-09 07:16:14 +10:00
Alexander Bruy
c7c91de52e
fix tests
2019-09-17 08:32:01 +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
Alexander Bruy
543673c388
also split YAML-based tests into raster and vector and run them as part
...
of the corresponding algorithms test
2019-06-25 11:50:36 +03:00
Alexander Bruy
f16f7f765e
reorganize gdal provider tests
...
Now GDAL algorithms test are splitted into parts: general tests, raster
algorithms and vector algorithms. This makes testing a bit faster and
easier, as there is no need to run not related tests.
2019-06-25 09:59:50 +03:00