rldhont
7de6eeb6d8
Merge pull request #9654 from rldhont/fix-regression-server-print-selection-pdf-master
...
[Unit-test]To avoid regression in Server printing to PDF output format
2019-04-04 12:28:38 +02:00
Nyall Dawson
037a8283fa
Fix crash when searching in layer properties
...
Fixes #21769
2019-04-04 15:23:39 +10:00
Denis Rouzaud
7410fb0a52
clearer definition of flaky tests ( #9693 )
2019-04-03 11:02:30 -05:00
Matthias Kuhn
e04395455c
Merge pull request #9291 from dmarteau/fix-HAVE_SERVER_PYTHON_PLUGINS
...
Fix build without HAVE_SERVER_PYTHON_PLUGINS
2019-04-03 15:57:50 +02:00
David Marteau
e839f277c5
Disable WITH_SERVER_PLUGINS when WITH_BINDINGS=FALSE
2019-04-03 14:48:24 +02:00
Matthias Kuhn
21e08c2f82
Update src/server/services/wms/qgswmsgetlegendgraphics.cpp
...
Co-Authored-By: dmarteau <dhmarteau@gmail.com>
2019-04-03 14:38:35 +02:00
David Marteau
47fba3266e
Fix build without HAVE_SERVER_PYTHON_PLUGINS
2019-04-03 14:38:35 +02:00
Juergen E. Fischer
80a4fc9339
Also retry tx pull on failure
2019-04-03 00:10:26 +02:00
Nyall Dawson
f8f319b6e0
Fix dox
2019-04-03 02:31:27 +10:00
Nyall Dawson
50dd2d6ec7
Unit tests for hashed line symbols
2019-04-03 02:31:27 +10:00
Nyall Dawson
714a4ac77a
Remove duplicate test
...
This is just a direct copy of another test from this file -
the actual ring filter test is in Python
2019-04-03 02:31:27 +10:00
Nyall Dawson
48d2a37057
[FEATURE] New line symbol type: Hash line
...
This line symbol type is designed to replicate the ArcGIS Hash Line
symbol layer type. It allows for a repeating line segment to be
drawn over the length of a feature, with a line-sub symbol used
to render each individual segment.
To reduce code duplication, this is heavily based off the current
line marker symbol layer, since the functionality is almost
identical (draw some sub symbol at some interval along a line).
Accordingly, I've split off QgsMarkerLineSymbolLayer to move
as much of the common functionality as possible to a new abstract
base class, so that only the actual marker/line segment rendering
occurs in the marker line/hash line subclasses.
This also gives the hash line all the existing placement options
permissible for marker lines -- e.g. first/last vertex, mid points,
regular intervals, etc.
The hash line length and angle can have data defined overrides,
which are evaluated per-line segment, allowing for the hash line
to change size and angle over the length of a single rendered
feature.
2019-04-03 02:31:27 +10:00
Nyall Dawson
59ed07891a
Also store x/y coordinates of nearest points on features when calculating
...
nearest features
This can be useful, and is difficult to calculate later!
2019-04-03 02:31:03 +10:00
Nyall Dawson
95af4d4a45
[FEATURE] New Processing algorithm "Join attributes by nearest"
...
K-nearest neighbour joins from the Processing toolbox!
This algorithm takes an input vector layer and creates a new
vector layer that is an with additional attributes in its attribute table
The additional attributes and their values are taken from a second
vector layer, where features are joined by finding the closest features
from each layer.
By default only the single nearest feature is joined, but optionally
the join can use the n-nearest neighboring features instead.
If a maximum distance is specified, then only features which are
closer than this distance will be matched.
2019-04-03 02:31:03 +10:00
Nyall Dawson
8d6e3dc911
[FEATURE][API] Add method to QgsSpatialIndex to perform
...
nearest neighbor search based on QgsGeometry to QgsGeometries
Previously only point - geometry was possible. But with this
change, you can safely and accurately use QgsSpatialIndex
to determine the nearest neighbours between any types of
geometries.
2019-04-03 02:31:03 +10:00
Juergen E. Fischer
2ef99da242
legend: truncate excessively long tooltips ( fixes #21737 )
2019-04-02 17:18:40 +02:00
Juergen E. Fischer
c6382553cd
don't relink object if just the shared objects/DLL is changed
2019-04-02 17:14:09 +02:00
Juergen E. Fischer
95bd7480d0
postgres provider: use st_estimatedextent only when 'use estimated metadata' is enabled ( fixes #21718 )
2019-04-02 15:59:51 +02:00
Juergen E. Fischer
a03658663f
show more verbose PROJ release info
2019-04-02 14:04:33 +02:00
rldhont
56733ee0f7
Add unit-tests to avoid regression in Server printing to PDF output format
...
In QGIS 3.4, Selection can be printed in Image output and not in PDF or SVG output.
A fix has been done 2752f83 to fix inconsistent use of layout render context flags, and draw selection is activated with a flag.
2019-04-02 12:44:11 +02:00
Juergen E. Fischer
2a6629ef56
fix build (followup 7674e1657b476889afe63ee8f8b9fd93f581d3c6)
2019-04-02 10:27:05 +02:00
Nyall Dawson
7e23f4ddf6
Run QgsJsonUtils test on Travis
...
This was originally blacklisted back in the 3.0 transition due to
issues with Qt 5.6. We no longer support that version.
2019-04-02 14:34:46 +10:00
Nyall Dawson
6248bb8eea
Fix failing TestQgsJsonUtils
2019-04-02 14:34:46 +10:00
Nyall Dawson
3c6c0ac2d5
Fix locally failing TestQgsColorScheme
2019-04-02 14:34:46 +10:00
Nyall Dawson
d1503e030a
Fix network access manager test failing due to server change
2019-04-02 14:34:46 +10:00
Denis Rouzaud
eacd47bfa6
[Travis] Fix backport branch being run as push job ( #9680 )
2019-04-01 17:29:37 -05:00
Alessandro Pasotti
5b586e8139
Merge pull request #9671 from elpaso/bugfix-server-locale-override
...
[server] Allow locale and group separator override
2019-04-01 22:50:55 +02:00
Matthias Kuhn
1bb3f99f0e
Properly convert to QgsVectorLayerEditpassTrough subclass
2019-04-02 06:18:45 +10:00
Chris Holden
356ec23afa
Include missing include of <functional>
...
Caught trying to build with GCC7 and MSVC
2019-04-02 06:18:28 +10:00
Nyall Dawson
39a255c1b9
[processing] Use null instead of nan for invalid stat values in join by location summary
2019-04-02 06:17:56 +10:00
Nyall Dawson
7bf9279a53
[processing] Fix invalid reprojection in join by location (summary)
2019-04-02 06:17:56 +10:00
Nyall Dawson
9376cb098b
Re-run attribute table tests on Travis
...
Should be fixed with proxy task fix
2019-04-02 06:17:29 +10:00
Nyall Dawson
b28227fa7f
Fix stuck tasks when proxied task using a proxy progress task
...
completes before the proxy task has been started by task manager
Fixes #21589 , fixes #19761
2019-04-02 06:17:29 +10:00
Nyall Dawson
7674e1657b
[processing] Include version information at start of log
...
Start the log text with QGIS/Qt/GEOS/GDAL version information strings.
This is helpful for debugging and accountability.
2019-04-02 06:16:45 +10:00
Alessandro Pasotti
0355611b60
Added \since QGIS 3.8
2019-04-01 17:25:36 +02:00
Juergen E. Fischer
8ec02625c3
debian packaging: only break/replace older python-qgis* packages ( fixes #21722 ; followup 957c51e6916)
2019-04-01 17:17:27 +02:00
Alessandro Pasotti
77b0e23299
Add test reference file for server locale overrides
2019-04-01 16:28:46 +02:00
Alessandro Pasotti
8a32848f85
Add tests for server locale override options
2019-04-01 16:24:24 +02:00
Alessandro Pasotti
120ae773b6
[server][feature][needs-docs] Add env vars to override locale ...
...
...and group separator:
QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE (default '')
QGIS_SERVER_SHOW_GROUP_SEPARATOR (default false)
2019-04-01 16:22:37 +02:00
Juergen E. Fischer
88513284d4
fix removal of temporary directories ( fixes #21292 )
2019-04-01 14:18:30 +02:00
Alessandro Pasotti
62895d1f42
Merge pull request #9619 from elpaso/plugin-dependencies
...
Plugin dependencies optional support
2019-04-01 09:43:28 +02:00
Alessandro Pasotti
2174577ee3
Merge pull request #9661 from elpaso/bugfix-21714-filewriter-field-length
...
Fix wrong field length in file writer
2019-04-01 08:24:20 +02:00
Nyall Dawson
4472820ead
More reference images and masks for layout attribute table tests
2019-04-01 16:11:31 +10:00
Nyall Dawson
824ba076da
More reference images and masks for 3d tests
2019-04-01 16:11:31 +10:00
Nyall Dawson
25980ab0ce
Fix crash in stats summary on debug builds
2019-04-01 16:11:31 +10:00
Nyall Dawson
9820e6b222
Revert "fix removal of temporary directories"
...
This reverts commit b141349c90be91f191f612b7e2a349adde3c6349, which
causes crashes in almost every unit test.
2019-04-01 09:30:50 +10:00
Nyall Dawson
e5a4716018
Remove outdated comment
2019-04-01 08:52:10 +10:00
Nyall Dawson
2d3e9e156f
Update testqgsvectorfilewriter.cpp
2019-04-01 08:51:04 +10:00
Andrea Giudiceandrea
70f3bd7f60
deleteShapeFile(): delete also ".cpg", ".sbn", ".sbx", ".idm", ".ind" files
...
Make QgsVectorFileWriter::deleteShapeFile() delete ".cpg" (and ".sbn", ".sbx", ".idm", ".ind") files along with ".shp", ".shx", ".dbf", ".prj", ".qix", ".qpj" ones.
2019-04-01 08:37:36 +10:00
Juergen E. Fischer
b141349c90
fix removal of temporary directories
2019-04-01 00:02:12 +02:00