51191 Commits

Author SHA1 Message Date
Alessandro Pasotti
0e50b3ba70 Revert "Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness"
This reverts commit 096b4ce00426ee35a1eec5b54453b9ea2e22b903, reversing
changes made to 87e0f6961adcbf7039d2c0bef914cebd747afc67.
2018-10-16 09:33:09 +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
7bd0285dfd Fix banned keyword use 2018-10-16 15:54:57 +10:00
Nyall Dawson
230e3b410a Address some clazy warnings 2018-10-16 15:54:57 +10:00
Nyall Dawson
ca427d3316 Rename actions 2018-10-16 14:13:29 +10:00
Nyall Dawson
f8863aa115 Use simpler dock action API 2018-10-16 14:13:29 +10:00
Nyall Dawson
b7b638c52b Simpler API to link actions to QgsDockWidget 2018-10-16 14:13:29 +10:00
Nyall Dawson
51f6fb0667 QStringLiteral 2018-10-16 13:32:05 +10:00
Nyall Dawson
c6db18d37c Fix svg marker doesn't render when size is very small 2018-10-16 13:32:05 +10:00
Nyall Dawson
814594f145 Highlight form functions/variables in value relation filter edit 2018-10-16 13:25:07 +10:00
Nyall Dawson
0a628ff649 Fix crash on layer save/rollback
Context objects should always be used in lamda connects, or
the connection has a potentially infinite lifetime!
2018-10-16 13:25:07 +10:00
Larry Shaffer
2069dc7a97 Add qt PATH_SUFFIXES to find QScintilla2 includes; match conda-forge qt
For builds using dependencies from conda-forge, also search in qt
recipe's include path at <prefix>/include/qt
2018-10-15 16:19:22 -06:00
Nyall Dawson
9cae77f262 Use a proxy task for field calculator 2018-10-16 06:28:36 +10:00
Nyall Dawson
9f3b90775a More efficient field calculator iteration 2018-10-16 06:28:36 +10:00
Nyall Dawson
0db9f05789 Use QgsTemporaryCursorOverride 2018-10-16 06:28:36 +10:00
Nyall Dawson
1eba8ae597 enabledAutoGeometryRestore is static 2018-10-16 06:28:36 +10:00
Nyall Dawson
5f7f7b616a Simpler geometry restore for field calculator dialog 2018-10-16 06:28:36 +10:00
Even Rouault
c89a542365
Merge pull request #8185 from rouault/fix_19571
[WFS client] Try to handle layers of type GeometryCollection if the first GeometryCollection is made of geometries of the same type (fixes #19571)
2018-10-15 20:33:08 +02:00
Denis Rouzaud
4cc4bab969
[fix #19092] fix big cursors on Mac (#8152) 2018-10-15 10:05:53 -08:00
Denis Rouzaud
bf2dae2993 lower debug msg noise 2018-10-15 09:59:58 -08:00
Denis Rouzaud
6396571d56 [fix #18418] do not pursue when wheel event when delta = 0 2018-10-15 09:59:58 -08:00
Denis Rouzaud
32d4bcc425
add Python __repr__ method to QgsGeometry.Error (#8198) 2018-10-15 06:53:09 -08:00
Even Rouault
9014285bc7
[WFS client] Try to handle layers of type GeometryCollection if the first GeometryCollection is made of geometries of the same type (fixes #19571) 2018-10-15 15:29:42 +02:00
Martin Dobias
440d8d854c Add entry for OSTN15 transformation grid for datum shift
This is the change in plain SQL:

INSERT INTO tbl_datum_transform VALUES (7709, 100018, 4277, 4258, 9615, 'OSTN15_NTv2_OSGBtoETRS.gsb',
  null, null, null, null, null, null, 'UK National Transformation provided by Ordnance Survey',
  'For applications requiring an accuracy of better than 10 centimetres.', 1, 0, 1264);

INSERT INTO tbl_datum_transform VALUES (7710, 100019, 4277, 4326, 9615, 'OSTN15_NTv2_OSGBtoETRS.gsb',
  null, null, null, null, null, null, 'UK National Transformation provided by Ordnance Survey',
  'For applications requiring an accuracy of better than 10 centimetres.', 1, 0, 1264);

(one still needs to manually download the .gsb grid file to use it but at least no need to modify system srs.db)

https://www.ordnancesurvey.co.uk/business-and-government/help-and-support/navigation-technology/os-net/formats-for-developers.html
2018-10-15 15:12:10 +02:00
Martin Dobias
939a910cfc
Merge pull request #8181 from wonder-sk/py3d
Python bindings for QGIS 3D library
2018-10-15 15:07:40 +02:00
Denis Rouzaud
574c672a1e
add QgsVectorLayer::getGeometry(fid) (#8174)
* add QgsVectorLayer::getGeometry(fid)

* update docs to say geom is invalid
2018-10-15 03:31:14 -08:00
Even Rouault
d5e57d31e6
Merge pull request #8186 from rouault/fix_20104
[GDAL provider] Make sure that setEditable(true) invalides cached GDAL handles to get proper refresh (fixes #20104)
2018-10-15 11:10:00 +02:00
Even Rouault
b777ab23b1
Merge pull request #8184 from rouault/fix_20098
[OGR provider] Make again a feature iterator to be resetable on a OSM layer (fixes #20098)
2018-10-15 11:09:43 +02:00
Nyall Dawson
530397c168 [layouts] Fix legend does not respect anchor point when resizing
based on map content

Fixes #19987
2018-10-15 19:02:48 +10:00
Nyall Dawson
46b6ffadda Fix a bunch of QString warnings 2018-10-15 19:02:48 +10:00
Alessandro Pasotti
096b4ce004
Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness
Fixes slow update in field calculator
2018-10-15 10:32:09 +02: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
Nyall Dawson
d77c61ef81 More test 2018-10-15 16:51:16 +10:00
Nathan Woodrow
5a6c825db0 Adjust the default size of expression/selection dialog 2018-10-15 16:41:03 +10:00
Nathan Woodrow
bc51a60ee4
Expression widget ux fixes (#8194)
* Add default custom function file

* Set default size of custom expression list
2018-10-15 16:13:32 +10:00
Nyall Dawson
0fb0023519 Fix corrupted group box layouts 2018-10-15 15:47:28 +10:00
Nyall Dawson
88da833b72 Try resurrecting test under Travis 2018-10-15 15:25:17 +10:00
Nathan Woodrow
c0d35ce5de
Fix #14897 - Remove double undo/redo buttons (#8189) 2018-10-15 13:06:47 +10:00
Nathan Woodrow
3a684c8a2b Fix custom function help 2018-10-15 11:50:29 +10:00
Nyall Dawson
e33caa4902 [mssql] Skip some tests on Travis which fail because of msodbcsql segfaults 2018-10-15 11:47:30 +10:00
Nyall Dawson
c6dda7b4f3 SQL Server on Travis 2018-10-15 11:47:30 +10:00
Nyall Dawson
a1a35e91cc Dox++ 2018-10-15 11:47:01 +10:00
Nyall Dawson
f07462b69a Spelling 2018-10-15 11:47:01 +10:00
Nyall Dawson
cea155fca5 Fix warning 2018-10-15 11:47:01 +10:00
Nyall Dawson
8f6ee1c40d Dox 2018-10-15 11:47:01 +10:00
Nathan Woodrow
8dd0f00877 Fix - Fix loading expression template for first item and space vs tabs
Fix tab vs spaces in Python editor widget. Use spaces
2018-10-15 10:23:24 +10:00
Nathan Woodrow
bd8d61ab1e Follow up 5beb4e2b8d - Enable rename browser tree node on edit key only 2018-10-15 09:38:35 +10:00
Martin Dobias
0f3088abf8 Fix spelling 2018-10-14 22:13:58 +02:00