7436 Commits

Author SHA1 Message Date
Giovanni Manghi
4260ed2f03 split the tool 2019-11-05 12:44:43 +10:00
Giovanni Manghi
7aa0a4f3e5 add 'burn' parameter 2019-11-05 12:44:43 +10:00
Giovanni Manghi
75a1ad1e7b implement few suggested changes 2019-11-05 12:44:43 +10:00
Giovanni Manghi
b31c4124f4 revive the GDAL 'rasterize over' tool that was available in the old ltr and for some reason not activated/added in QGIS 3 2019-11-05 12:44:43 +10:00
Juergen E. Fischer
002d3986d5 translation string fix 2019-11-03 19:00:08 +01:00
Alexander Bruy
3701d360a1 remove unused variable
fix tests
2019-11-03 21:25:52 +10:00
Giovanni Manghi
74d6e099e6 fix gdal calc compression options 2019-11-03 21:25:52 +10:00
Alexander Bruy
094359f7b2 [processing] allow to select files without suffix in the Processing
options dialog
2019-10-28 11:07:57 +02:00
Matthias Kuhn
aa3ba9d119
Merge pull request #32125 from m-kuhn/db_manager_select_geom_type
[db_manager] Allow selecting geometry type in context menu
2019-10-26 19:54:23 +02:00
Giovanni Manghi
414807a74f fix typo 2019-10-26 21:14:37 +10:00
Giovanni Manghi
76bc160612 change v.voronoi description 2019-10-26 21:14:37 +10:00
Giovanni Manghi
0fee816414 fixes again GRASS7 v.voronoi 2019-10-26 21:14:37 +10:00
Sebastian Niklasch
1a45936595 prevent AttributeError
If os.path.isfile(sqlite_cache_file) is False, the Attribute cache_connection was not assigned and so an Attribute Error occured in the following lines.
2019-10-26 15:59:39 +10:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Giovanni Manghi
150d6ce33f add missing file 2019-10-26 08:31:28 +10:00
Giovanni Manghi
890ec4abbe re add original tool to avoid brekaing models 2019-10-26 08:31:28 +10:00
Giovanni Manghi
f03b4f72dd update decorator names for SAGA reclass tools 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c1df3a07dc change default for some parameters 2019-10-26 08:31:28 +10:00
Giovanni Manghi
4a83cb9008 split SAGA reclass raster values in order to improve UX 2019-10-26 08:31:28 +10:00
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