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
Denis Rouzaud
699d8487dc
add QgsFeatureRequest::setNoAttributes ( #8326 )
...
since it's more convenient than setSubsetOfAttributes( QgsAttributesList() )
2018-10-25 07:35:05 -08:00
signedav
9768fdd0f3
handle EnableChange event in QgsFilterLineEdit
2018-10-25 15:27:05 +02:00
rldhont
a9e6950eee
[Server] Use Project selection color in GetPrint for 3.4
...
Because selection was deactivated in layout, selection color was not transmitted from QgsProject to QgsLayoutRenderContext to QgsMapSettings.
forward porting of #7294
2018-10-25 14:31:07 +02:00
signedav
f0b0aea3b2
controll clear button by edit-state
...
because it has to appear on edit-mode, otherwise not
2018-10-25 13:56:57 +02:00
Ted Meyer
a1d6f29e87
Use time.process_time() instead of time.clock()
...
time.clock is set to be deprecated in python3.8,
and was replaced by time.process_time in python3.3
2018-10-25 20:48:48 +10:00
rldhont
74f2785532
[Server] Reactivate the capability to print selection with Server 3.4
...
The capability to print selection has been removed by the commit aaa7003 to
prevent accidental selections showing in exports from composer.
It is reactivated only for QGIS Server.
Fixes #13459 QGIS Server WMS GetPrint request don't respect SELECTION parameter
It's a forward porting of #7185
2018-10-25 11:33:43 +02:00
rldhont
3ff5c8299d
Merge pull request #8319 from rldhont/fix-dbmanager-sql-layer-set-unique-combo-3
...
[BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
2018-10-25 11:31:27 +02: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
2eb22d93ff
[BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
...
When opening Update SQL layer, the unique combobox is not well set specifically with oracle.
It's a forward porting of #7872
Funded by Ifremer
2018-10-25 09:30:59 +02: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
Nyall Dawson
0bd1b7ab81
Fix failing dox test
2018-10-25 16:41:11 +10:00
Nyall Dawson
124f738188
Allow message bar items to be dismissed from QgsMessageBarItem
2018-10-25 10:51:44 +10:00
Nathan Woodrow
01d2fc58cb
UX - Add icon for field types in expression widget ( #8195 )
2018-10-25 09:59:03 +10:00
Denis Rouzaud
fa92f41eb5
add missing doxymentation to gui/layout
2018-10-24 07:54:06 -08:00
Denis Rouzaud
0b22508fe6
give a few references in QgisInterface API docs
2018-10-24 07:54:06 -08:00
Denis Rouzaud
1bcd306197
add missing SIP_DEPRECATED annotation
2018-10-24 07:54:06 -08:00
Juergen E. Fischer
4464089487
auto-detect name of sip module used by PyQt5
2018-10-24 13:38:03 +02:00
Alessandro Pasotti
6c218b8032
Fix import sip on python 3.5
2018-10-24 11:13:54 +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
fee1f95a1c
Make sip import path configurable, default to upstream path
2018-10-24 08:10:50 +10:00
Nyall Dawson
0fad3e5731
Fix build with newer sip versions
...
Fixes #19476
2018-10-24 08:10:50 +10:00
Alessandro Pasotti
a51d7f5be3
Code layout
2018-10-23 18:56:27 +02:00