58269 Commits

Author SHA1 Message Date
Éric Lemoine
09921a186a Add tests for WMS GetLegendGraphic JSON 2019-10-26 10:51:38 +10:00
Éric Lemoine
2483304daf Add json support to WMS GetLegendGraphic 2019-10-26 10:51:38 +10:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
lbartoletti
dc95936137 QString -> QLatin1String 2019-10-26 08:32:26 +10:00
lbartoletti
3b9c240ba7 rewrite functions. Only hash(string, method), md5(string) and sha256(string) are available now 2019-10-26 08:32:26 +10:00
lbartoletti
ba7770c7cc fix build 2019-10-26 08:32:26 +10:00
lbartoletti
910c3c478e add help files 2019-10-26 08:32:26 +10:00
lbartoletti
23f4d5eba2 [FEATURE][needs-docs] Add hash functions 2019-10-26 08:32:26 +10:00
Giovanni Manghi
150d6ce33f add missing file 2019-10-26 08:31:28 +10:00
Giovanni Manghi
890ec4abbe re add original tool to avoid brekaing models 2019-10-26 08:31:28 +10:00
Giovanni Manghi
f03b4f72dd update decorator names for SAGA reclass tools 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c1df3a07dc change default for some parameters 2019-10-26 08:31:28 +10:00
Giovanni Manghi
4a83cb9008 split SAGA reclass raster values in order to improve UX 2019-10-26 08:31:28 +10:00
Matthias Kuhn
5a01e3cb5e Various safety checks to avoid crashes 2019-10-26 08:29:24 +10:00
Matthias Kuhn
2dbdd6bf76 Fix crash when opening symbology of invalid layer
Fix #32041
2019-10-26 08:29:24 +10:00
Matthias Kuhn
55660d6bae Add the cmake docs while I still remember how things are supposed to work 2019-10-26 08:28:51 +10:00
Matthias Kuhn
de2400f8b0 typo 2019-10-26 08:28:51 +10:00
Matthias Kuhn
46abf27fcc In source doc relative path magic 2019-10-26 08:28:51 +10:00
Matthias Kuhn
6b82fc94e3 https for qt docs 2019-10-26 08:28:51 +10:00
Matthias Kuhn
f65d3aa365 Fix install paths 2019-10-26 08:28:51 +10:00
Matthias Kuhn
e6a06ec3b2 Also copy svg, icons and doc to build dir, into /data/ subdir 2019-10-26 08:28:51 +10:00
Matthias Kuhn
bb181c828a For loop 2019-10-26 08:28:51 +10:00
Matthias Kuhn
958a6ee90b Fix SRS path 2019-10-26 08:28:51 +10:00
Matthias Kuhn
651b7b18d6 Copy resources to build dir
Fix #31796
2019-10-26 08:28:51 +10:00
Martin Dobias
ab51de0c3f [mssql] Speed up loading of larger views (fixes #27618)
The extent estimation was taking a long time for views because we can't use
spatial index statistics - the code was doing full scan of the view. Now we
try to scan just 1% of the rows to get a good estimate. If that fails
(e.g. when the table is not very big) we fall back to the full scan.

Test results: a view with 90k rows was taking 2.5s to estimate extents during load - now it's <0.1s
2019-10-26 08:28:09 +10:00
Martin Dobias
dfb9914e35 [mssql] Fix removal of views
It was impossible to drop views as we were always using 'drop table' command.
QGIS would even tell user that it was correctly removed even though nothing happened.

There's some code duplication for ms sql layer info fetching, so I added
"is view" detection to both places (gui widget, data items) even though it's currently
only used in data items.
2019-10-26 08:28:09 +10:00
Antoine Belvire
33d0c3d654 Sort translations in desktop file
Desktop file generation is non-deterministic - translation positions may vary
across builds. This makes the build non-reproducible.

The cause is the use of glob() which collects qm file paths in a random order,
depending on the filesystem. To ensure the translations are written in a fixed
order the list returned by glob() must be sorted.
2019-10-26 08:25:56 +10:00
Sandro Santilli
da818dd706 Do not hard-code default estimatedMetadata default in wrong place
Re-uses existing static function in QgsPostgresConn class
2019-10-26 08:15:51 +10:00
Sandro Santilli
295d3303e7 Honour useEstimatedMetadata connection configuration from Browser
Closes #32277
2019-10-26 08:15:51 +10:00
Sandro Santilli
f99310839a When requesting a specific type/srid don't try to detect its validity
Avoids double-checking from browser and data selector

See #32276
2019-10-26 08:15:51 +10:00
Alessandro Pasotti
381a57433c Drop const and fix duplicated "Source" 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
0116666fd4 Update src/core/qgsapplication.h
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-26 08:13:47 +10:00
Alessandro Pasotti
1bc7ece06a Add styleSheetType to application reportStyleSheet 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
a57aff35b1 Remove leftover 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
e8d8258a82 Remove QWebFrame include 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
dd9fcbd86e Raster info: delegate all links (tiff issue)
... or it will try to show a geotiff in-browser and fail.
2019-10-26 08:13:47 +10:00
Alessandro Pasotti
6f6cbc756f Revert modeless dialog (used for web inspector) 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
58f76de4af Fix anchor hyperlinks in raster layer info 2019-10-26 08:13:47 +10:00
Alessandro Pasotti
234a5331d7 Optimize WMS raster information
Fixes #32213
2019-10-26 08:13:47 +10:00
Giovanni Manghi
c3c750a749 fix wronng paste 2019-10-26 08:13:09 +10:00
Giovanni Manghi
b57229b944 fix SAGA Slope, Aspect, Curvature 2019-10-26 08:13:09 +10:00
myarjunar
f225ee06b7 [geonode] fix data item context menu 2019-10-26 08:11:57 +10:00
Blottiere Paul
9d49a8e9e2 Fixes invalid renderer type after loading qml style 2019-10-26 08:10:03 +10:00
David Signer
671ed378eb build target only for server part to avoid long compiling 2019-10-26 08:09:09 +10:00
Nyall Dawson
fe296fa95d Use optimised point getters/setters on GEOS >= 3.8 2019-10-26 06:49:54 +10:00
Etienne Trimaille
cfe1766e5a add missing QgsExpression import when exporting model as Python script 2019-10-26 06:49:21 +10:00
Even Rouault
6d47b5d847 [OAPIF] Rename WFS_VERSION_API_FEATURES to WFS_VERSION_API_FEATURES_1_0 2019-10-26 06:47:59 +10:00
Even Rouault
77013db8ca [WFS/OAPIF] Take into account @nyalldawson review comments 2019-10-26 06:47:59 +10:00
Even Rouault
6aa4fadd59 [OAPIF provider] If the server provide only a default limit, and no maximum, use the max of 1000 and the default for the page size 2019-10-26 06:47:59 +10:00
Even Rouault
4485ea38b4 OAPIF: address @elpaso review comments 2019-10-26 06:47:59 +10:00