53512 Commits

Author SHA1 Message Date
Nyall Dawson
06d5b996bf [processing][gdal] Fix polygonize field name is ignored 2019-02-06 04:16:40 +11:00
Nyall Dawson
62e09d9467 [processing] If model name starts with a digit, we need to remove that when generating a class name 2019-02-05 22:45:43 +11:00
Alessandro Pasotti
185855b214
Merge pull request #9099 from elpaso/bugfix-21150-file-protocol-path-resolver
Strip file:// from local files path before resolving
2019-02-05 10:58:26 +01:00
nirvn
6413349ff1 follow up 4f77477 : fix hasty pasting error 2019-02-05 16:32:26 +07:00
nirvn
4f77477227 Fix relationship between scale<->extent in the save [canvas] as image/pdf dialog 2019-02-05 15:49:29 +07:00
Nyall Dawson
a97ce698e4 Allow maximum number of entries to show in relation reference widget
to be configurable via an advanced setting configuration option

In some circumstances 100 is not enough
2019-02-05 19:38:38 +11:00
Martin Dobias
ce8684d0aa Make coverage test happy 2019-02-05 09:07:58 +01:00
Martin Dobias
4f905cc2e8 [vertex tool] right-click to loop through editable features
Until now mouse right-click could only select and deselect the highlighted
feature to "lock" vertex tool (and numerical editor) to it, so that it is
easier to focus only on editing of the particular feature. It was however
still difficult to pick the right feature in case there were multiple
features in one location or very close to each other. This is now solved
by the fact that repeated right button clicks will loop through the editable
features. So if there are two features in one location (A, B) then repeated
right-clicks will select: A - B - nothing - A - B - nothing ...
2019-02-05 09:07:58 +01:00
Alessandro Pasotti
22c22e8e5c Strip file:// from local files path before resolving
Fixes #21150 - Delimitedtext layer saves absolute path
when project in relative path mode
2019-02-05 08:29:38 +01:00
nirvn
c62a4ae012 [themes] Get rid of the check mark in combo box drop down lists 2019-02-05 14:01:27 +07:00
Nyall Dawson
eeff02fc14 [processing] Port matrix widget wrapper to newer c++ API
Allows matrix parameters to be correctly set for model child algorithms

Fixes #20914
2019-02-05 16:57:21 +11:00
Nyall Dawson
c6f3d5ff48 [processing][needs-docs] Make Find Projection algorithm simpler to use
We no longer require the seperate CRS parameter, because the extent
parameter contains the CRS information itself. This means the algorithm
is simplified to just picking the layer and drawing the desired area
on the canvas.
2019-02-05 16:55:54 +11:00
Nyall Dawson
c93775f6b1 [processing][gdal] Ensure that GDAL algs output the CORRECT
generated filename for outputs

Previously they were just echoing the input parameter value,
which isn't always a string and accordingly was broken for
temporary outputs. This caused models to break when the output
of a GDAL algorithm was used in a subsequent model step.
2019-02-05 16:55:34 +11:00
Nyall Dawson
f54f5a4fe7 [processing][gdal] Fix incorrect definition of gdal_warp extra_param parameter 2019-02-05 16:55:34 +11:00
Nyall Dawson
715395aa47 Fix incorrect 'not available in Python' dox 2019-02-05 13:46:34 +11:00
Tom Kralidis
fe82890055 [MetaSearch] OWS GetCapabilities checking regression (fixes #19787) [needs-docs] 2019-02-05 12:26:23 +11:00
Nyall Dawson
867e39947b Allow for exact calculation of symbol sizes with mixed layer units
Fixes #21143
2019-02-05 11:07:02 +11:00
Etienne Trimaille
427cb0b27a fix some HIG and add missing translations in dbmanager 2019-02-05 10:48:47 +11:00
Etienne Trimaille
ac9c6f1e18 some minor code cleanup in dbmanager 2019-02-05 10:48:47 +11:00
Denis Rouzaud
fd42980892
fix error in scale optimization (#9081) 2019-02-04 15:25:44 -05:00
Nyall Dawson
384d310233 Minor improvements to PyQGIS returns for SIP_OUT params 2019-02-05 04:55:34 +11:00
Nyall Dawson
4b0f6b756c Slight improvements to Python docs 2019-02-05 04:55:34 +11:00
Alessandro Pasotti
109fcc0abc
Merge pull request #9070 from elpaso/bugfix-21121-opencl-16bit-raster
Fix hillshade renderer with data type != Float32 [opencl]
2019-02-04 11:01:56 +01:00
Alessandro Pasotti
3c9b6e5e4f
Merge pull request #9071 from elpaso/bugfix-21100-ogrprovider-missing-quoteidentifier
Quote field name identifiers in ORDER BY and MAX/MIN queries
2019-02-04 11:01:38 +01:00
Mathieu Pellerin
8ac762e5e1
[ui] Fix tiny vertex marker on hidpi 2019-02-04 16:43:04 +07:00
nirvn
41a04d0ab3 [ui] Improve 3D map scene config dialog (fixes #20685) 2019-02-04 15:48:42 +07:00
Hugo Mercier
ed45181bee
Merge pull request #9064 from mhugo/fix_20831
Avoid undefined behaviour with signed integer overflow
2019-02-04 08:29:36 +01:00
Alexander Bruy
e953141fe0
Merge pull request #9005 from alexbruy/wcs-fix
fix CRS handling in the DescribeCoverage response (refs #21045) [wcs]
2019-02-04 09:03:08 +02:00
nirvn
d3daa86ce8 [ui] More hidpi-compatibility work for the vertex tool 2019-02-04 11:06:45 +07:00
Nyall Dawson
0250cab307 [processing] Reorganise python script generated from model, to
move "guts" of script to top (initAlgorithm/processAlgorithm)
and boilerplate methods (createInstance, etc) to end
2019-02-04 11:58:55 +11:00
Nyall Dawson
6aea4838db [processing] Pep8 fixes for model to script 2019-02-04 11:58:55 +11:00
Juergen E. Fischer
92f5cb9a7e translation fix 2019-02-04 00:52:23 +01:00
Nyall Dawson
15bcbf8c6a Hidpi icon size fixes 2019-02-04 10:51:49 +11:00
Nyall Dawson
1c92fd2394 HIG string fixes 2019-02-04 10:51:49 +11:00
Nyall Dawson
2fc24aedde Clearer phrasing 2019-02-04 09:21:17 +10:00
Juergen E. Fischer
4a44306700 allow to build against separate PROJ.4 and GDAL installs 2019-02-03 16:29:46 +01:00
Mathieu Pellerin
3f63c9caed Last weaks to blend of gray prior to its initial release 2019-02-03 13:08:39 +07:00
Nyall Dawson
eba5409ebc Dox++ 2019-02-03 13:02:18 +11:00
Nyall Dawson
16995206ae Unit tests for QgsCredentials 2019-02-03 13:02:18 +11:00
Nyall Dawson
c9e7616498 Fix hang when WMS credentials requested
Remove responsibility for credentials mutex locking from external
callers and handle appropriate locks internally. This allows the
mutex lock to be much "tighter" and avoids deadlocks when
credentials are requested while an existing credentials dialog
is being shown.

(No mutex is required protecting the credentials dialog itself
as this is ALWAYS shown in the main thread)

Fixes #20826
2019-02-03 13:02:18 +11:00
Mathieu Pellerin
59aea69894 [ui] Make vertex tool markers and rubber bands hidpi-friendly 2019-02-03 07:32:19 +07:00
Etienne Trimaille
57695bd036 use upper camel case for the class name 2019-02-03 07:18:34 +11:00
Nyall Dawson
599b0c8861 Fix some label settings hidpi issues 2019-02-03 07:17:50 +11:00
Alessandro Pasotti
020117262c Add testdata file 2019-02-02 19:22:04 +01:00
Alessandro Pasotti
0797059a38 Spellok 2019-02-02 17:25:36 +01:00
Alessandro Pasotti
b51426640d Quote field name identifiers in ORDER BY and MAX/MIN queries
Fixes #21100
2019-02-02 11:45:13 +01:00
Alessandro Pasotti
1923967d22 Remove debug output 2019-02-02 10:56:51 +01:00
Alessandro Pasotti
1aef9cfa49 [opencl] Fix hillshade renderer with 16bit rasters
Fixes #21121
2019-02-02 10:53:11 +01:00
Juergen E. Fischer
9a8c0d2898 avoid OSRFixup with GDAL >= 2.5 2019-02-02 00:35:36 +01:00
Etienne Trimaille
122d5c3efd fix some PEP8 in Processing Model as python code 2019-02-02 09:29:58 +11:00