14261 Commits

Author SHA1 Message Date
Nyall Dawson
82ac04d6f7 [processing][GRASS] Give some more feedback when trying to use
v.external for reading inputs, and if we can't, advise why not
2018-11-01 18:36:53 +10:00
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
187f74148c [FEATURE] Show QGIS style xml libraries in browser and support
drag and drop of style .xml files to main QGIS window

Double clicking the databases or dragging them to QGIS
triggers the import from style dialog with the corresponding
input file already selected
2018-11-01 15:57:31 +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
c55b4eb4c8
Make sip a bit happier 2018-10-31 12:15:43 +01:00
Matthias Kuhn
87c126323c
Regenerate fids for "multipart to singlepart algorithm" 2018-10-31 10:27:56 +01: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
a4d4c55c82
Parameter name harmonization 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2e1c5e6103
Skip path checking 2018-10-31 10:27:55 +01:00
Matthias Kuhn
6fe832b984
Add missing param doc 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
50cf8b9e4e
Unify parameter names 2018-10-31 10:27:54 +01:00
Matthias Kuhn
229c617785
Ignore FID field when merging vector layers to geopackage 2018-10-31 10:27:54 +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
Matthias Kuhn
02ec785e1b
Fix deadlock in geometry validation
Fix a deadlock in geometry validation. This happens when the mainthread "waits for finished" of a checker thread.

What happened in this case was, that the main thread canceled the feedback and waited for any jobs to finish.
If a job was waiting for a feature source (or something else to be executed on the main thread) this resulted in a mighty deadlock.

What we do here is that we regularly check if we ought to cancel while waiting for our slot on the main thread and can bail out if we should cancel before the main thread gets around to take care of our function.
The difference is, we still execute the code on the background thread and make sure that the main thread is not doing anything during this time to avoid working on the same data structures in parallel.
2018-10-29 15:05:51 +01:00
Matthias Kuhn
8fc43780dc
Merge pull request #8114 from signedav/bugfix_not_deleting_relation
More intuitive relation reference widget text filter
2018-10-29 09:52:41 +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
7ac521529b [FEATURE] Add "export to file" options for raster and vector layers
within the browser panel

Allows direct export of these files (e.g. to a different format,
crs, etc) without having to actually load them into a project
first.
2018-10-27 05:07:15 +10:00
rldhont
6249b07f7c
Merge pull request #8320 from rldhont/server-reactivate-print-selection-3
[Server] Reactivate the capability to print selection with Server 3.4
2018-10-26 14:23:09 +02:00
Denis Rouzaud
4ba77f83a6 fix typo 2018-10-26 08:12:57 -04:00
Denis Rouzaud
9e6d165861 doxymentation 2018-10-26 08:11:17 -04:00
lbartoletti
f002a9c43d fix snapping indicator when advance digitizing tools is enabled 2018-10-26 08:11:17 -04:00
Matthias Kuhn
a0e3c2df3b
Merge pull request #8335 from m-kuhn/qgsrectangleSnappedToGrid
Add QgsRectangle::snappedToGrid
2018-10-26 10:00:39 +02:00
Nyall Dawson
bbdbfa17a9 [layouts] Final fixes for data defined widgets showing outdated
data defined definitions when clicking between layout items
of the same type

Fixes #18694
2018-10-26 16:58:08 +10:00
Nyall Dawson
d1e2978314 Add warning to QgsLayerTreeLayer::layer() dox
Because the returned pointer must ALWAYS be tested before
being dereferenced
2018-10-26 16:57:36 +10:00
Matthias Kuhn
694424000c
Merge pull request #8338 from 3nids/fix20201
use Exclude field by default for relation search widget wrapper
2018-10-26 08:24:48 +02:00
Matthias Kuhn
0da210df52
Add QgsRectangle::snappedToGrid
Snaps a rectangle to a grid.
2018-10-26 07:58:27 +02:00
Nyall Dawson
1ae010a6c9 Fix some clang truncate to int warnings 2018-10-26 15:03:54 +10:00
Nyall Dawson
1a2d0cc54f [processing][SAGA] Fix multilevel b spline description files
Resync with SAGA parameters
2018-10-26 13:15:43 +10:00
Nyall Dawson
7f484aba3b Fix some more inconsistent status bar fonts 2018-10-26 11:54:11 +10:00
Denis Rouzaud
8eb193020a
Merge pull request #8330 from 3nids/fix9160
Properly zoom to feature for single point selected
2018-10-25 13:34:49 -08:00
Nyall Dawson
1118f4ac91 Remove some dox details which are likely to go out of date quickly 2018-10-26 07:20:47 +10:00
Denis Rouzaud
95142cc19e use Exclude field by default for relation search widget wrapper
fix #20201
2018-10-25 16:38:22 -04:00
lbartoletti
94ce3b92a9
Merge branch 'master' into bugfix_18902 2018-10-25 20:30:39 +02:00
Denis Rouzaud
5577d83a75 mark method as const 2018-10-25 13:49:26 -04:00
Denis Rouzaud
80d0c33f5b add QgsRectangle::scaled which returns the scaled rectangle
facilitates one-lines
2018-10-25 13:37:07 -04:00