58896 Commits

Author SHA1 Message Date
Felis Pimeja
60ed888277 Fix alg description
PostGIS DB - PostgreSQL DB
2019-11-17 11:55:35 +10:00
Nyall Dawson
2a5ee9b563 [processing] Warn when we know for certain that no spatial index
exists on a source used for the Join by Location algorithm

Advise users that performance will be severely degraded as a result.
2019-11-17 04:54:41 +10:00
Nyall Dawson
37044b0a26 If we know for certain a spatial index already exists on a vector layer,
adjust the "Create Spatial Index" button in the vector layer properties
dialog to reflect this.
2019-11-17 04:54:41 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Alessandro Pasotti
29824c1765
Merge pull request #32890 from elpaso/processing-raster-calc-expression-check
[feature] Processing raster calc: add missing btns and validate
2019-11-16 08:19:27 +01:00
Juergen E. Fischer
81e645902f travis: avoid pr_has_label.py error 2019-11-15 17:35:02 +01:00
Alessandro Pasotti
25edd83b0a Processing raster calc: add missing btns and validate
Validate expression
2019-11-15 15:49:18 +01:00
Juergen E. Fischer
9b32c0be3b database style manager: translatable & title case 2019-11-15 15:37:26 +01:00
Alessandro Pasotti
2eb410844f
Merge pull request #32694 from elpaso/server-wfs3-transaction-simple-2
[feature] Server OAPIF simple transactions
2019-11-15 14:21:03 +01:00
Sandro Santilli
ebc9888f40 mhkun style 2019-11-15 13:14:42 +01:00
Sandro Santilli
e6cc12fc1a Make capabilities methods const, drop unused ones
Uses mutable members to retain the lazy capability queries
2019-11-15 13:14:42 +01:00
Sandro Santilli
2ba9d3c49f Improve debug messages about geos/topology support 2019-11-15 13:14:42 +01:00
Sandro Santilli
f543a9abb7 Add test for TopoGeometry layers visibility with and w/out permissions
Adds a "qgis_test_user" database users with the db setup script,
using an hard-coded password for connection.

This was the simplest way to make things work because the alternative
of using 'options' member in the URI is not supported by QGIS
at the moment, see https://github.com/qgis/QGIS/issues/32832
2019-11-15 13:14:42 +01:00
Sandro Santilli
9c4f77f7c9 Topology is unavailable when user cannot read topology tables
Fixes determination of tables from metadata when user has no
privileges on topology. The bug was introduced by
commit bbdbca418c0eeb5a349fc257ad033adad7b4fc47

References #32002

Closes #32726
2019-11-15 13:14:42 +01:00
Sandro Santilli
6b6509fafc Unify list of supported spatial types 2019-11-15 13:14:42 +01:00
Sandro Santilli
797a43e30e Simplify calls to has_*_privilege to avoid name resolution
... when oid is already known...
2019-11-15 13:14:42 +01:00
Nyall Dawson
674ae6ff1e Minor optimisation to QgsFields::allAttributesList() 2019-11-15 15:21:57 +10:00
nirvn
28572a8856 Fix crash when resetting a project-less snapping config 2019-11-15 13:50:22 +10:00
Nyall Dawson
874577f4b9 Also account for oversampling along tile edges 2019-11-15 13:48:38 +10:00
Nyall Dawson
41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes #30152
2019-11-15 13:48:38 +10:00
Juergen E. Fischer
7fdac2fc6b custom widgets: fix designer crash (fixes #32860) 2019-11-15 00:39:16 +01:00
Juergen E. Fischer
0bf62ed688 show message before running crssync. so we know what failed, if it couldn't be executed 2019-11-15 00:35:53 +01:00
Juergen E. Fischer
044090da78 fix windows build 2019-11-15 00:35:53 +01:00
Even Rouault
aeeb11b00d
Merge pull request #31986 from roya0045/patch-6
[Bugfix] enabling spatialite gpkg amphibious mode
2019-11-14 19:23:27 +01:00
David Marteau
87e3516f2f Fix default defaultValue in algfactory
According to doc: https://qgis.org/pyqgis/3.10/core/QgsProcessingParameterDefinition.html?highlight=qgsprocessingparameterdefinition#module-QgsProcessingParameterDefinition
2019-11-15 02:53:25 +10:00
Julien Cabieces
46525045d2 add back the point locator tests 2019-11-15 02:51:10 +10:00
Julien Cabieces
d3a7f08634 add test for waitforfinished before task is started 2019-11-15 02:51:10 +10:00
Julien Cabieces
9887827b05 fix waitforfinished when task is not started 2019-11-15 02:51:10 +10:00
Alex
eda36d4796 Allow using spatialite function on geopackge in dbmanager
Enables Spatialite's amphibious mode for Geopackages, allowing the use of geospatial functions on geopackages in the DB manager.
2019-11-14 10:41:36 -05:00
Alessandro Pasotti
001819045f
Merge pull request #32865 from elpaso/followup-32487
Fix wrong check validity when fixing broken deps
2019-11-14 16:01:54 +01:00
Alessandro Pasotti
61fdbf7429 Renamed API definition -> description 2019-11-14 15:05:14 +01:00
Alessandro Pasotti
ca74d47fb8 Fix wrong check validity when fixing broken deps
Just cleaning my own mess :)
2019-11-14 14:35:25 +01:00
Alessandro Pasotti
a059c367d9
Merge pull request #32854 from nirvn/loadstylefix
Followup 64949d : fix failure to load provider-provided style
2019-11-14 14:31:09 +01:00
Alessandro Pasotti
852d6cdc73
Merge pull request #32862 from elpaso/bugfix-gh32808-db-manager-pg-renametable
Fix DB manager PG rename table
2019-11-14 14:30:49 +01:00
Sandro Santilli
bd01f66f57
Merge pull request #32857 from strk/consistent-pg-test-connstring
Use service=qgis_test for referencing test database
2019-11-14 13:51:04 +01:00
Alessandro Pasotti
7f6b3cf877 Fix DB manager PG rename table
Fixes #32808
2019-11-14 13:42:36 +01:00
Sandro Santilli
20114fc958 Use service=qgis_test in test project files as well 2019-11-14 13:05:05 +01:00
Sandro Santilli
635f4c8646 Update comment about setting up test db 2019-11-14 13:05:05 +01:00
Sandro Santilli
c20ba1e5f3 Have db setup script check for pg_service.conf functionality
... and hint about how to set it up
2019-11-14 13:05:01 +01:00
Sandro Santilli
dea253b9e0 More consistent use of service file for test db connection 2019-11-14 11:37:03 +01:00
Sandro Santilli
46a05727e8 Use service=qgis_test for referencing test database
Makes PostgreSQL testing setup consistent.
Updates README accordingly
2019-11-14 11:30:21 +01:00
Matthias Kuhn
cbe6150348
Merge pull request #32770 from m-kuhn/dxf-symbol-fixes
Make the DXF renderer ready for background threading and fix symbology
2019-11-14 09:47:22 +01:00
nirvn
7cb9e04762 Followup 64949d : fix failure to load provider-provided style 2019-11-14 15:25:51 +07:00
Nyall Dawson
6180c59fa8 Fix tiny sizes of icons in layout legend settings widget on hi-dpi displays
Fixes #32845
2019-11-14 13:23:43 +10:00
Nyall Dawson
4294f5e546 Add missing file 2019-11-14 13:00:48 +10:00
Håvard Tveite
b0c1827b78 Update python/plugins/processing/algs/qgis/Rasterize.py
Don't know how the A ended up here - sorry.
2019-11-14 12:36:00 +10:00
Håvard Tveite
904d1d6c2d The "Convert map to raster" algorithm does not handle extent CRS correctly
Fixes: #32829
2019-11-14 12:36:00 +10:00
Håvard Tveite
59292b47c7 Update CreateConstantRaster.py
Cast cols (and rows) to int to fix the error.
Fixes: #32827
2019-11-14 03:07:30 +10:00
Juergen E. Fischer
f67369cc26 debian packaging: drop python-gdal dependency (closes #32835)
[ci skip]
2019-11-13 17:09:26 +01:00
Matthias Kuhn
a63501a5b7 Implement TODO 2019-11-13 16:09:34 +01:00