Giovanni Manghi
c3c750a749
fix wronng paste
2019-10-26 08:13:09 +10:00
Giovanni Manghi
b57229b944
fix SAGA Slope, Aspect, Curvature
2019-10-26 08:13:09 +10:00
root676
2221bcad6a
remove old python algorithm and helpstrings
2019-10-26 06:43:32 +10:00
root676
ccc7566bf1
Port of Densify Geometries by Count algorithm to C++
2019-10-26 06:43:32 +10:00
Sandro Santilli
76b39de1b8
Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci ( #32199 )
...
* Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci
Closes #32143
* Update python/plugins/processing/tests/CMakeLists.txt
Co-Authored-By: Harrissou Sant-anna <delazj@gmail.com>
2019-10-11 11:26:33 +02:00
Clemens Raffler
9e9ade3903
[processing] Port of Create Grid algorithm to C++
...
MUCH faster grid creation vs the Python implementation
2019-10-10 09:33:59 +10:00
Nyall Dawson
023ba1968e
[processing] Drop precision of attribute check for create grid test results
2019-10-10 08:55:20 +10:00
ThiesVanLoon
93a52b47f7
Bug fix resolving issue 32172
...
The 'upload' parameter value 'to_attr' should not involve a closing bracket
https://github.com/qgis/QGIS/issues/32172
2019-10-09 13:39:34 +02:00
Nyall Dawson
3112332227
Rename variable for clarity
2019-10-09 15:01:51 +10:00
Nyall Dawson
cb06519d16
[api] Add API to indicate that individual layers may be loaded without any
...
CRS validation, regardless of the user's settings
This avoids hacks put in place in other parts of QGIS code or in plugins
to temporarily deactivate the CRS validation prompt, providing a supported,
stable method to indicate that when loading a particular layer no CRS
validation is required.
2019-10-09 15:01:51 +10:00
Matthias Kuhn
ea510e83ef
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Alessandro Pasotti <elpaso@itopen.it>
2019-10-07 09:18:34 +02:00
Alexandre Neto
54d3c64c19
Update tests
2019-10-07 09:07:45 +10:00
Alexandre Neto
28b24bda51
Better approach for preferredFormat
2019-10-07 09:07:45 +10:00
Alexandre Neto
6918f230b8
Checks is gpkg is available for writing
2019-10-07 09:07:45 +10:00
Alexandre Neto
9f3ed88145
Makes GPKG prefered input format for OGR algs #Fixes 29097
2019-10-07 09:07:45 +10:00
Matthias Kuhn
f3dd5150c7
[db_manager] Detect CRS in advanced add layer
2019-10-06 18:43:57 +02:00
Matthias Kuhn
2555e6420c
Initialize variable
2019-10-06 18:43:57 +02:00
Matthias Kuhn
c9133ee75d
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-06 18:43:57 +02:00
Matthias Kuhn
da31655549
Update python/plugins/db_manager/db_plugins/plugin.py
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-06 18:43:57 +02:00
Matthias Kuhn
fd9cc9354f
Fix python warning
2019-10-06 18:43:57 +02:00
Matthias Kuhn
54354406d0
[db_manager] Allow selecting geometry type in context menu
...
When a layer has a generic "GEOMETRY" type, it will only be listed once in the db_manager
but with an additional context menu entry for advanced properties, where one can select
the geometry type and the CRS.
Fix #32119
References #30787
2019-10-06 18:43:47 +02:00
Giovanni Manghi
cd71ea1f3c
change confusing parameter name in DB Manager
2019-10-02 09:12:52 +01:00
Giovanni Manghi
c7e4130140
make the A_SRS parameter optional
2019-10-02 08:11:15 +10:00
Nyall Dawson
196e15a0ff
[processing] Avoid confusing use of expression parameter type in
...
Random Points in Polygon algorithm
Instead, use a standard numeric parameter which accepts data-defined
expression values
Fixes #27640
2019-09-30 16:58:15 +10:00
Nyall Dawson
a49edf1f25
[processing] Make minimum distance between points in "Random Points in polygon"
...
algorithm optional
And don't do any unnecessary index work when it's not set. Shaves roughly 1/3rd
off the time of algorithm execution.
2019-09-30 16:58:15 +10:00
Andrea Giudiceandrea
7903889f54
Modeler: Set default action to Export as Script Algorithm
...
otherwise the button tooltip is not shown
2019-09-30 09:48:30 +10:00
Nyall Dawson
f32d6fdcf2
[processing] Highlight row_number variable in batch expression editor
2019-09-26 20:46:38 +10:00
Alexander Bruy
4df50691bc
Merge pull request #31901 from alexbruy/fix-29336
...
[processing] correctly handle case when layer source is not a plain path (fix #29336 )
2019-09-24 15:03:43 +03:00
Nyall Dawson
90bac82f12
[needs-docs][processing] Respect user set default vector output format
...
in vector split algorithm
The created outputs will now be created using the format specified from
the Processing setting default vector format setting.
2019-09-24 16:50:22 +10:00
Nyall Dawson
cfcf580b61
[processing][needs-docs] Resurrect setting for default raster/vector
...
output format
This setting is still used and required in some circumstances, e.g.
it is used as the default selection in outputs file pickers when
the previously used format is not valid.
2019-09-24 16:50:22 +10:00
Nyall Dawson
08c55780b3
Followup cbc86ffc1ac
...
Fix exceptions, breakage of raster output format handling
2019-09-24 16:49:57 +10:00
Alexander Bruy
78a289348a
use html.escape to escape strings
2019-09-24 09:27:29 +03:00
Alexander Bruy
20583a8004
use GDAL connection string to support not only file-based layer but also
...
database and WFS
2019-09-23 11:53:19 +03:00
Alexander Bruy
dceabb0e29
use another approach for test
2019-09-23 11:53:19 +03:00
Alexander Bruy
3c13fbfeb5
[processing] correctly handle case when layer source is not a plain path
...
in the virtual vector algorithm (fix #29336 )
2019-09-23 11:53:19 +03:00
Alexander Bruy
cebdc8dded
[dbmanager] don't ignore field modifiers (e.g. length or geometry
...
definition) when updating it (fix #27613 )
2019-09-23 06:01:56 +10:00
Alexander Bruy
54c23d137f
[dbmanager] handle attempts to edit raster tables ( fix #30214 )
2019-09-21 06:05:42 +10:00
Matthias Kuhn
54dda46e85
Merge pull request #31899 from paulwittle/master
...
Update general.py
2019-09-20 18:48:10 +02:00
Alexander Bruy
0c4f826039
[processing] add missed import
2019-09-20 12:59:33 +03:00
Paul Wittle
be25b2e392
Update general.py
...
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
2019-09-20 09:27:30 +01:00
Alexander Bruy
27b576c794
Merge pull request #31735 from alexbruy/fix-29663
...
[processing] add support for WFS as input (fix #29663 )
2019-09-17 15:54:48 +03:00
Alexander Bruy
c7c91de52e
fix tests
2019-09-17 08:32:01 +03:00
Even Rouault
cbc86ffc1a
Processing: disable 'open output layer' for write-only formats such as PGDUMP (relates to #31421 )
2019-09-16 18:25:16 +02:00
Alessandro Pasotti
04f0879ed5
Processing editing in place: handle constraints
...
Fixes #31634
2019-09-16 10:41:58 +10:00
Etienne Trimaille
37803810eb
fix combobox ID not having correct checked state when we update a SQL layer
2019-09-13 17:46:38 +02: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