Nyall Dawson
676238b28f
[processing][grass] Highlight GRASS error messages and warnings in log
...
And catch segmentation faults from GRASS commands and show a nice
helper text advising user that QGIS isn't at fault here ;)
Also add a tip to try disabling the v.external option if that setting
is enabled and a GRASS segfault occurs
2018-11-01 18:36:53 +10:00
Nyall Dawson
17447e4b5c
[FEATURE][browser] Restore preview functionality from old 2.x standalone
...
browser into inbuilt browser dock panel layer properties widget
2018-11-01 15:55:57 +10:00
William Kyngesburye
3f72e0cd41
don't run GRASS commands in shell, that's not working
2018-10-31 20:55:56 -05:00
Nyall Dawson
41c31b44ba
Fix build warning
2018-11-01 05:56:38 +10:00
Matthias Kuhn
2df0cae8e3
Regenerate fids for "join attributes by location", pt2
2018-10-31 10:27:56 +01:00
Matthias Kuhn
d0eeffbecb
Regenerate fids for "points along geometry"
...
Fix #19998
2018-10-31 10:27:55 +01:00
Matthias Kuhn
f8d873c7cb
Regenerate fids for "join attributes by location"
...
Fix #19708
2018-10-31 10:27:55 +01:00
Matthias Kuhn
2e1c5e6103
Skip path checking
2018-10-31 10:27:55 +01:00
Matthias Kuhn
99b246dd78
Add comment for semi-broken control file
2018-10-31 10:27:55 +01:00
Matthias Kuhn
2c4abdf70d
Fix test for merging layers to gpkg
2018-10-31 10:27:55 +01:00
Matthias Kuhn
3949cb70c4
Fix faulty alg name in test
2018-10-31 10:27:54 +01:00
Matthias Kuhn
19276e2b03
Add merge vector layer test for gpkg
2018-10-31 10:27:54 +01:00
Matthias Kuhn
2a973fc0b6
Allow using gpkg in processing tests
2018-10-31 10:27:54 +01:00
Nyall Dawson
f3e9aaf79a
Fix some inefficient python dictionary iteration
2018-10-31 08:42:51 +10:00
Nyall Dawson
85efc77bb4
Fix inefficient calls to QgsFeature.attributes()[idx]
...
Replace with just f[idx]. Calling QgsFeature.attributes()
allocates a list of all attributes, which is inefficient
when only a single attribute value is needed.
2018-10-31 08:42:51 +10:00
fuzzysolutions
6c99cbc1ba
Minor changes to speed up PointstoPaths algorithm
...
# 1: Replaced time-consuming call on all attributes by a more specific request - responsible for about 90% of running time in my tests.
# 2: Minor speedup by calling items() before the for loop (1s in a large layer).
2018-10-31 08:42:51 +10:00
havatv
79731715ed
Update GDAL extractprojection.py to QGIS 3
2018-10-30 17:19:15 +01:00
Håvard Tveite
296df2e00c
Reintroduce GDAL extract projection
...
Fixes #20263 (when some other files are also fixed)
2018-10-30 17:01:06 +01:00
Nyall Dawson
0d5a8ddd8e
[processing] Fix exceptions due to closed algorithm dialogs when
...
opened from toolbox and closed before task completes
2018-10-29 10:49:46 +10:00
Juergen E. Fischer
9ad01cf9ba
replace three dots with ellipsises in translation strings
2018-10-27 19:06:37 +02:00
Denis Rouzaud
d34fe6b109
fix gdal_contour in test ( #8351 )
...
now gdal_contour does not create 3D by default
see upstream issue https://github.com/OSGeo/gdal/issues/336
and fix abae82ccf4
2018-10-26 13:50:49 -08:00
Nyall Dawson
1a2d0cc54f
[processing][SAGA] Fix multilevel b spline description files
...
Resync with SAGA parameters
2018-10-26 13:15:43 +10:00
rldhont
236edd2723
Merge pull request #8318 from rldhont/processing-convertformat-geopackage
...
[Processing] Add GeoPackage support in alg qgis:convertformat (forward)
2018-10-25 10:19:03 +02:00
Borys Jurgiel
d0813a8822
Introduce QgsGui::HigFlags and don't capitalize menu entries and dialog titles in languages other than English. Fixes #19724
2018-10-25 18:11:36 +10:00
rldhont
1d246de545
[Processing] Add GeoPackage support in alg qgis:convertformat (forward)
...
This is the forward porting of #8143
2018-10-25 09:20:29 +02:00
Alessandro Pasotti
d76ae43fd1
Merge pull request #8284 from elpaso/bugfix-20099-locator-inplace
...
[in-place] Fix locator filter for in-place when active layer changes
2018-10-24 08:17:11 +02:00
Nyall Dawson
0fad3e5731
Fix build with newer sip versions
...
Fixes #19476
2018-10-24 08:10:50 +10:00
Alessandro Pasotti
7ecd303acc
[in-place] Fix locator filter for in-place when active layer changes
...
Invalidate the locator results when active layer changes
Fix #20099 - Locator bar does not update the filter of algorithms according to active layer when using "ef"
2018-10-23 16:12:49 +02:00
Nyall Dawson
b2a2a2603c
Add fallback to parameter's name to be safe
2018-10-23 12:42:08 +10:00
Nyall Dawson
e5f52f98c2
[processing] Use outputi database layer name instead of file name when
...
'use filename as layer name' is checked
Avoids raw uri layer names for database type destinations
2018-10-23 12:42:08 +10:00
Alessandro Pasotti
dcd33186bb
[in-place] Fix alg runner when context is none
2018-10-20 10:05:48 +02:00
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
...
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Alessandro Pasotti
adb930b204
Speed up getFeatures query by using a proper QgsFeatureRequest
2018-10-19 16:27:18 +02:00
Giovanni Manghi
90b57ab814
fix GRASS7 r_stats_quantile
2018-10-19 12:46:37 +01:00
Giovanni Manghi
a151debcc1
fix GRASS7 v_cluster tool
2018-10-19 08:34:42 +10:00
Alessandro Pasotti
71e2a6be7e
In-place passthrough for invalid geometries if processing option is to skip invalid
...
Fixes #20147 - difference deletes invalid geometries
2018-10-18 17:43:00 +02:00
Nyall Dawson
ee8e1ce9bc
[processing][gdal] More unit tests
2018-10-16 16:52:00 +10:00
Nyall Dawson
bef8d6e072
Update expected test results
2018-10-16 16:52:00 +10:00
Giovanni Manghi
fbb916d908
fixes the ogr2ogr based geoprocessing tools
2018-10-16 16:52:00 +10:00
Nyall Dawson
87e0f6961a
[processing][gdal][needs-docs] Rename crop to cutline option for clarity
...
The previous name is unclear, as the option can expand as well
as crop the raster extent. We also don't refer anywhere else in this
dialog to the cutline, so that has no meaning to users
2018-10-15 18:29:28 +10:00
Alessandro Pasotti
cdf5bb630f
Fix test
2018-10-05 11:03:49 +02:00
Alessandro Pasotti
29c4970f8a
[processing] In-place add layer name to dlg title and store active layer
2018-10-05 10:10:20 +02:00
Alessandro Pasotti
0782b9d869
Dynamically change button text for in-place editing
...
The button title changes if there are selected features
2018-10-05 09:21:28 +02:00
Alessandro Pasotti
ca1c65d07a
[processing] In place editing triggers editing and select all
...
If the active layer is not editable, the executor will
try to switch editing on.
If there are no selected features, the executor will
select all features before running.
2018-10-05 08:53:30 +02:00
Nyall Dawson
8cad2a6e16
[processing] Fix random selection count parameter
...
Remove a bunch of manual "max" values for numeric parameters
where the maximum just represents a 'large number' and not a real
constraint, and let the default parameter max value handling kick in instead.
In the case of random selection the max value exceeded the possible
range for integers in spin boxes and broke the widget.
Fixes #20015
2018-10-05 10:48:17 +10:00
Nyall Dawson
706b13a47b
[processing] Make 'canvas extent' its own menu item in the extent
...
selection parameter button, instead of requiring opening the
'select layer/canvas extent' and choosing 'canvas extent'
It's only one extra click, but I don't think there's any reason
against saving this click!
2018-10-05 05:17:19 +10:00
Giovanni Manghi
e5e1b9a416
fix the GRASS7 r_contour tool removing the mandatory flag of one of the parameters
2018-10-04 05:52:13 +10:00
Nyall Dawson
57f77d01cb
[processing] Fix in-place mode results in unknown distance units
...
We need to still create the parameter wrappers when in in-place mode
for the input/output parameters, as some other wrappers may rely
on these for various interactions (e.g. getting the crs/fields
from the input layer)
Fixes #19990
2018-10-02 19:51:02 +10:00
Nyall Dawson
68dee5b17f
[processing] Remove hack
2018-10-02 16:46:16 +10:00
Nyall Dawson
c8bf6db363
[processing] Give progress reports/allow cancelation in in-place mode
2018-10-02 16:46:16 +10:00