49149 Commits

Author SHA1 Message Date
Nyall Dawson
d5ce6dcb1d [FEATURE][processing] native drape features to z/m algorithms
Sets vertex z/m values to values sampled from a raster band.

Values can optionally be scaled using a (data definable) scale value.
2018-07-30 12:11:17 +10:00
Nyall Dawson
d09faf42be Add method to transform vertices of QgsGeometry/QgsAbstractGeometry
in place using a custom lambda function
2018-07-30 12:11:17 +10:00
Nyall Dawson
df1832f90b [3d] Fix reset buttons in 3d config dialog reset values to 0, not initial settings 2018-07-30 11:54:28 +10:00
Nyall Dawson
7f84b6c1b6 Fix crash in network content fetcher when run from non-main thread
Because a QNetworkAccessManager is the parent for all QNetworkReplys
created by it, if a reply is created in a thread then we need to
ensure that this reply isn't deleted early by destruction of the
thread local QgsNetworkAcessManager instance. Work around this
by unsetting the parent for the QNetworkReplys owned by
QgsNetworkContentFetcher objects.

Fixes #19452
2018-07-29 08:46:15 +10:00
Martin Dobias
c28de6d3b5 Refactor camera pose to a separate class outside of the camera controller
This will allow easier storage of camera configuration when it is needed outside
of the camera controller.
2018-07-28 17:55:46 +02:00
Salvatore Larosa
88ddd4b0de
Merge pull request #7467 from slarosa/truncate_name
do not truncate layer name in legend panel if filename contains period
2018-07-28 16:55:54 +02:00
Denis Rouzaud
c0dd00615a
[pyqgis] __repr__ method for QgsExpression, QgsField (#7464)
* [pyqgis] __repr__ method for QgsExpression, QgsField

* add tests for __repr__ methods

* Fix test
2018-07-28 08:06:08 +02:00
nirvn
e19e1dea9d [processing] be more flexible with multipoint layers, allow sampling for single part point 2018-07-28 12:30:06 +07:00
Nyall Dawson
3e31a6570c Fix path resolver sometimes returns non empty paths while resolving empty filenames 2018-07-27 18:08:48 +10:00
Mathieu Pellerin
2d964919f6
[FEATURE][expression] add raster_value() function (#7487) 2018-07-27 12:56:04 +07:00
Nyall Dawson
2692de6ed0 [FEATURE][processing] Choice of units for non degree/unknown distances
When an algorithm has a distance parameter in meters/feet/etc (i.e.
non-geographic distances), show a combo box allowing choice of
unit type.

(We don't (and should never) expose this for distances in degrees --
it's up to users in this situation to choose a suitable local
projection and reproject their data to match. Refs: a recent
talk by @volaya)
2018-07-27 13:24:03 +10:00
Nyall Dawson
d1d6840a5f [processing][feature] Port 'offset lines' to c++, support dynamic offset parameter
Adds data defined support for the offset line distance parameter.
2018-07-27 13:23:50 +10:00
Nyall Dawson
76c84f14d7 [FEATURE][processing] "Create parallel lines" algorithm
This algorithm creates copies of line features in a layer, by
creating multiple parallel versions of each feature. Each copy is offset
by a preset distance.
2018-07-27 13:23:50 +10:00
Nyall Dawson
b80ad5e96e Tweak output name 2018-07-27 13:23:50 +10:00
Nyall Dawson
abe4532a2c [feature][processing] "Array of Offset Features" algorithm
This algorithm creates copies of features in a layer, by
creating multiple offset versions of the feature. Each copy is displaced
by a preset amount in the x/y/z/m axis.
2018-07-27 13:23:50 +10:00
nirvn
07366e8a3c [maptips] fix maptips showing after mouse leave the canvas area 2018-07-27 09:56:16 +07:00
Nyall Dawson
5b283494ab [wms] Fix another misleading error message 2018-07-27 12:24:57 +10:00
Nyall Dawson
b94745b073 Fix misleading error message 2018-07-27 12:24:47 +10:00
Nyall Dawson
a38db47a6e Fix debug messages about untranslated 'regular' font style 2018-07-27 12:24:26 +10:00
Juergen E. Fischer
f14ae4602e add note that duplicated layers use the same data source (fixes #19489) 2018-07-26 22:01:32 +02:00
Martin Dobias
031acd0dd3 Fix search path for qmlplugindump tool
CMake kept picking up the binary from /usr/bin which belongs to Qt4 installation.
Here we require CMake to use the binary from Qt5 installation that is being used.
2018-07-26 21:36:14 +02:00
Mathieu Pellerin
8fbae38482
[maptips] clear the map tip widget when deactivating map tip display (#7484) 2018-07-26 17:25:05 +07:00
Blottiere Paul
b1a16bdc15
Merge pull request #7481 from pblottiere/server_wfs_spatial_operator
[server] Fixes spatial operator in WFS 1.1.0 GetCapabilities doc
2018-07-26 09:29:41 +01:00
Blottiere Paul
3141bb596b Update unit test 2018-07-26 08:40:24 +01:00
Blottiere Paul
0a76d4969c Fixes spatial operator in WFS GetCapabilities doc 2018-07-26 07:50:32 +01:00
Harrissou Sant-anna
466992ec38 [Style Manager] Rephrase strings away from being symbol-specific 2018-07-26 13:36:15 +07:00
Martin Dobias
0bfe5014bc Finish Travis hacks 2018-07-26 08:34:38 +02:00
Martin Dobias
4b88bfb7ce More Travis hacks tweaking 2018-07-26 08:34:38 +02:00
Martin Dobias
0de21cc70b It seems like the delay hack worked - let's make it shorter 2018-07-26 08:34:38 +02:00
Martin Dobias
e5dbd803af Make the tests tolerant to small color differences 2018-07-26 08:34:38 +02:00
Martin Dobias
db5106253e Let's see if this helps with blank output 2018-07-26 08:34:38 +02:00
Martin Dobias
9ea06e1cbb Add expected iages for 3D rendering tests 2018-07-26 08:34:38 +02:00
Martin Dobias
45d49c2743 Add test data for the 3D auto tests 2018-07-26 08:34:38 +02:00
Martin Dobias
30d6812537 Add auto-tests for 3D scene rendering using the off-screen 3D engine 2018-07-26 08:34:38 +02:00
Alessandro Pasotti
df394c78e3
Merge pull request #7465 from elpaso/bugfix-19468-layercache-filter-rect
fix layercache filter rect and a bonus crash
2018-07-26 08:03:44 +02:00
Nyall Dawson
20e62b4c5f Fix typo, failing test 2018-07-26 09:37:19 +10:00
Nyall Dawson
d3bee8dc7e Fix failing tests 2018-07-26 09:37:19 +10:00
Nyall Dawson
faec3248c1 Make __repr__ tests actually run 2018-07-26 09:37:19 +10:00
Nyall Dawson
5503af8b91 [afs] Add error browser item when connection fails 2018-07-26 06:33:41 +10:00
Nyall Dawson
e3c7dffbff Fix AFS browser items not correctly repopulated after changing AFS connection URL 2018-07-26 06:33:41 +10:00
Nyall Dawson
6d5ba5a786 Standardise browser item behavior for AFS provider 2018-07-26 06:33:41 +10:00
Salvatore Larosa
3425046204
Merge pull request #7418 from slarosa/fix_precision_value
[fieldcalculator] do not set precision for datatypes that have not one
2018-07-25 20:47:22 +02:00
Nyall Dawson
28c4a6cf59 [processing][grass] Fix v.net.* output types, add tests
Fixes #19186
2018-07-25 19:50:48 +10:00
Nyall Dawson
eca775f9ef [processing][grass] Fix output type for v.edit 2018-07-25 19:50:48 +10:00
Nyall Dawson
b10fa5e979 [processing][grass] Fix v.vect.stats output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
0c56d00c01 [processing][grass] Fix v.what.rast data type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
71f880bb93 [processing][grass] Fix v.voronoi output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
ba56ba2133 [processing] Prefer to log layer source instead of id as it's persistent 2018-07-25 19:50:48 +10:00
Matthias Kuhn
263ce39c79
Merge pull request #7463 from m-kuhn/fixFreeze
Avoid repeated update of edit selection
2018-07-25 07:48:47 +02:00
Nyall Dawson
a463af32f8 [processing][grass] Fix generation of output for v.rast.stats, add test 2018-07-25 09:23:36 +10:00