58481 Commits

Author SHA1 Message Date
SrNetoChan
07076fd070 Better icon for No CRS indicator 2019-10-17 03:58:24 +10:00
Denis Rouzaud
2406837650
replace deprecated in by deprecated since (#32260) 2019-10-15 15:56:54 +02:00
Denis Rouzaud
6a797d6736
commenting noisy warnings (#32238)
* commenting noisy warnings

These are annoying and prevent from correctly testing QGIS nightlies.
Will be reverted when #32176 is merged
2019-10-15 15:31:40 +02:00
Denis Rouzaud
6297da3d11
Merge pull request #32258 from 3nids/pyqgis_deprecated
[sipify] correctly output deprecation
2019-10-15 14:43:05 +02:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Denis Rouzaud
c5e36dbf73 [sipify] correctly output deprecation 2019-10-15 13:17:15 +02:00
Richard Duivenvoorde
5f24a0b214 Change help answer to what is actually shown in the preview 2019-10-14 09:35:22 +10:00
SrNetoChan
0eff3733c4 Adds better Layer panel indicator for noCRS 2019-10-14 07:46:30 +10:00
Even Rouault
9dc367a2ae
Merge pull request #32226 from rouault/wfs_fix_filter_expression
[WFS provider] Do not forward FilterExpression to spatialite cache if the expression needs a geometry
2019-10-13 23:26:51 +02:00
rldhont
424e5001d8 [Server] WFS Service: force Geometry to Multi in GML to be compliant with XML schema provided by DescribeFeatureType 2019-10-13 22:35:59 +02:00
Sandro Santilli
fa82f8690c Fix typo 2019-10-13 11:33:02 +02:00
Sandro Santilli
738d6d33d5 Fix handling of RASTER layers in retrieveLayerTypes 2019-10-13 11:33:02 +02:00
Sandro Santilli
177182e27b Only pick distinct srid/type combinations from vector layers
Closes #32223
2019-10-13 11:33:02 +02:00
rldhont
29520d6ab1
Merge pull request #32222 from rldhont/abstract-content-cache-task-wait-for-finished
Wait for finished in abstract content cache when fetching with blocking
2019-10-13 03:26:19 +02:00
Even Rouault
85e4827b19
[WFS provider] Do not forward FilterExpression to spatialite cache if the expression needs a geometry 2019-10-13 00:54:09 +02:00
Even Rouault
a6602da5a5
featuresourcetestbase.py: make assert_query() robust to non-0 attribute index for pk field 2019-10-13 00:53:39 +02:00
rldhont
436b09ce13 Try to wait for already fetch content in abstract content cache 2019-10-12 19:58:44 +02:00
rldhont
db44407704 Enhance wait for finished in abstract content cache to be sure reply has been checked 2019-10-12 17:42:20 +02:00
rldhont
d680d72253 Wait for finished in abstract content cache when fetching with blocking 2019-10-12 05:40:20 +02:00
rldhont
d9ef585e47 Abstract content cache: delete task later
Try to fix travis segfault by replacing the delete task calls with task->deleteLater() in QgsAbstractContentCache
2019-10-12 12:49:16 +10:00
Nyall Dawson
857697dd99 Fix uncaught transform exception when determining AFS layer bounds 2019-10-12 12:12:57 +10:00
signedav
172956adb7
Merge pull request #32158 from signedav/null-strings-datetime
Null representation in QgsDateTimeEdit on getting focus
2019-10-11 21:20:32 +02:00
Stéphane Brunner
6a08e0bd81 The layer can be null 2019-10-11 12:46:01 +02:00
Sandro Santilli
b68ceacf72 Honour "useEstimatedMetadata" config in QgsPostgresProviderConnection::tables 2019-10-11 11:56:29 +02:00
Sandro Santilli
8441993ddb Always honour useEstimatedMetadata connection setting
... rather than hard-coding a "true" value

References #32053
2019-10-11 11:56:29 +02:00
Sandro Santilli
7f42034b69 When using estimated metadata, skip NULL geometries
This allows determining srid/type of columns having a NULL
geometries in the first 1000 records, at the cost of possibly
scanning whole tables when geometries are ALL nulls.

References #32053
2019-10-11 11:56:29 +02: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
Sandro Santilli
f421dc4f92 More commitTransaction error handling 2019-10-11 08:38:19 +02:00
Sandro Santilli
61b34653ce Return false on commit failure from QgsOgrProvider::changeGeometryValues
Fixes #32144
2019-10-11 08:38:19 +02:00
Sandro Santilli
84325e69c1 Simplify GEOS version extraction code 2019-10-11 08:24:56 +02:00
rldhont
6625c7ba62 [Bugfix] Get remote SVG synchronously - in the server context 2019-10-11 14:08:17 +10:00
Sandro Santilli
f467fc5876 Fix detection of GEOS release candidate versions
Closes #32170
2019-10-11 14:06:55 +10:00
Peter Petrik
0a71599a04 [ios] [qgsquick] fix crash of GPS widget on iOS, see input issue 470 2019-10-10 13:07:46 +02:00
Alessandro Pasotti
afc598204a
Merge pull request #32185 from elpaso/bugfix-gh32118-remove-windows-qgz-T-attr-bis
Move clear T attr on windows before tmp file is renamed
2019-10-10 12:33:28 +02:00
Sandro Santilli
bbdbca418c Rewrite layers retrival code to use less queries
Drastically reduces waiting times when using QGIS against a remote
database with high latency.

Fixes #32002
2019-10-10 10:32:57 +02:00
Sandro Santilli
369f3ae1be Tweak layer type retrival test to be immune from ordering 2019-10-10 10:32:57 +02:00
Alessandro Pasotti
5430596241 Move clear T attr on windows before tmp file is renamed
Fixes #32118
2019-10-10 09:35:50 +02:00
Nyall Dawson
12ad9fca1e Fix qt warning thrown when converting a 2.18 project 2019-10-10 16:56:10 +10:00
Nyall Dawson
a3ef3899c1 Optimise grid polygon creation
Avoid the unwanted expense of converting QgsPointXY sequences to geometries
and just construct the desired geometries directly
2019-10-10 12:13:59 +10:00
Jorge Gustavo Rocha
8f2aac1447 Format legend name for remote rasters added via http/https/ftp (#32169) 2019-10-10 08:41:47 +07: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
Denis Rouzaud
16c0552787
fix building custom widgets 2019-10-09 21:31:33 +02:00
Denis Rouzaud
1d6d12876f
[custom widgets] add QgsAuthConfigSelect (#32178) 2019-10-09 20:48:22 +02:00
Denis Rouzaud
e08fe1cc8f prevent clearing selection in QgsFeatureListView
this removes warning in debug mode about invalid model

currently, the unselection is not used in the dual view and the signal (currentEditSelectionChanged) is only emitted when the selection count is 1 (so never emitted when clearing the selection)

it might makes sense to implement a clear selection in the feature list view but it has to emit proper signals and the dual view must be adapted to clear the form on the right
2019-10-09 15:18:50 +02: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
Alessandro Pasotti
ffc5897c27
Merge pull request #32161 from elpaso/bugfix-gh32149-rangewidget-negative-integers
Fix range widget negative integers -> NULL
2019-10-09 08:57:09 +02:00
Nyall Dawson
6e26963908 Cleanup QgsMapLayerRenderer api
Make associated QgsRenderContext a base class member, since all
renderer subclasses require this
2019-10-09 16:36:18 +10:00
Nyall Dawson
8e58027512 Test mask 2019-10-09 16:36:18 +10:00
Nyall Dawson
dbd3544703 Add unit tests for raster rendering during staged render jobs 2019-10-09 16:36:18 +10:00