8256 Commits

Author SHA1 Message Date
Vincent Cloarec
938aa58df8 [FEATURE] Streamlines Renderer for vector dataset on mesh layer. (#32996)
* [FEATURE] Mesh streamlines

fix #29534

The vector field data set in a mesh layer can currently be only rendered with arrows. This PR adds a new feature to render vector field in mesh layers with streamlines. 
The streamlines are seeded from start points. The seeding points can start from the vertices of the mesh, from a used grid or randomly. Streamlines could be coloured or width can be selected.
2019-11-25 08:54:11 +01:00
Jorge Gustavo Rocha
529aea6f4e Fix WMTS Capabilities document and related tests 2019-11-25 10:12:09 +10:00
Nyall Dawson
e8ec0042f4 [FEATURE][diagrams] Paint effect support for diagram renderer
Allows for diagrams to use paint effects, including drop shadows,
outer glows, etc...

Sponsored by SLYR
2019-11-25 06:20:43 +10:00
Nyall Dawson
204bd47b19 [FEATURE][diagrams] New diagram type "stacked bars"
Stacks bars of varying colors for each attribute on top of each other
vertically or horizontally.

Sponsored by SLYR
2019-11-24 19:11:21 +10:00
Nyall Dawson
9a23e1b209 [FEATURE][diagrams] Add option to show diagram axis for histogram diagram symbols
Where the axis line symbol can be set using a standard QGIS line symbol.

Sponsored by SLYR
2019-11-23 18:06:18 +10:00
Nyall Dawson
bfd925dc31 [diagrams] Fix placement of histogram diagrams with bar spacing set 2019-11-23 18:06:18 +10:00
Nyall Dawson
abb643825c [diagrams] Fix bars drawn outside of registered diagram extent for some orientations 2019-11-23 18:06:18 +10:00
Even Rouault
ed7d13da7c QgsCoordinateTransform::transformCoords(): with PROJ 6, do no raise on partial failure of multiple point transformation
Fixes #32973 or at least improve it significantly

Currently with PROJ 6 transformCoords() will raise an exception as soon
as a single point fails to transform. With PROJ < 6, this (generally)
did not occur. Exceptions were raised only (mostly) on failures on
single point.
Imitate that
2019-11-23 14:02:21 +10:00
Even Rouault
e75ff1b592
QgsVectorFileWriter: fix axis order issue with GDAL 3 (fixes #33014) 2019-11-22 20:18:50 +01:00
Alessandro Pasotti
22a72bef6b
Merge pull request #33012 from elpaso/bugfix-gh-33000-time-support
Fix time (and date) fields editing in forms
2019-11-22 17:04:32 +01:00
Alessandro Pasotti
2c61eb39a0 Address comments 2019-11-22 16:00:01 +01:00
Alessandro Pasotti
17a700b34b Fix time (and date) fields editing in forms
Fixes #33000
2019-11-22 11:33:52 +01:00
Matthias Kuhn
63911c1d01
Merge pull request #32551 from rduivenvoorde/from_epoch
[FEATURE] Add datetime_from_epoch (MSec from epoch) expression function
2019-11-22 11:09:37 +01:00
Nyall Dawson
baf38199e0 [FEATURE][diagrams] Add option to control pie diagram angular direction
I.e. control whether the sections are rendered in a clockwise or
anticlockwise direction

Sponsored by SLYR
2019-11-22 09:01:49 +10:00
Nyall Dawson
701ea057b1 Fix broken QMap<QVariantList,...> finding, which causes case-insensitive
comparisons to be made when resolving primary keys in the Oracle and
Postgres providers

qt's built in qMapLessThanKey for QVariantList is broken and does a
case-insensitive operation, so we replace it with a working version instead...
2019-11-22 04:09:50 +10:00
rldhont
b14d7a8d0e
Merge pull request #32800 from rldhont/fix-server-round-precision-extent
[Bugfix][Server] Correctly round extent coordinates in services capabilities
2019-11-21 19:02:29 +01:00
Alessandro Pasotti
8913fb34e6
Merge pull request #32114 from troopa81/fix_feature_count_estimated_metadata
Fix featureCount on postgres view when flag estimatedmetadata is set
2019-11-21 18:21:51 +01:00
rldhont
a60ea5d78e [Server] Update WMS GetProjectSettings tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
e5431a88a9 [Server] Update WMS Dimension tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
9743e306d8 [Server] Test WCS Access Control: update comment 2019-11-21 18:08:33 +01:00
rldhont
0808c2babb [Server] Update WCS tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
90f325a810 [Server] Update WMS tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
Matthias Kuhn
63956785dc
Merge pull request #30297 from roya0045/handler_v2
Bad Layer Handler Improvements
2019-11-21 11:51:53 +01:00
Matthias Kuhn
3456bc0150
Merge pull request #32990 from m-kuhn/dxf_fix_dd
Fix data defined symbology in dxf export
2019-11-21 11:29:13 +01:00
Nyall Dawson
2ff4bd547e Test masks 2019-11-21 18:10:24 +10:00
Nyall Dawson
8a7bf147e6 [diagrams] Fix diagram attribute order is reversed when using left or right orientation mode 2019-11-21 18:10:24 +10:00
Matthias Kuhn
22e1bfa5e7 Add data based orientation text dxf test 2019-11-21 09:03:29 +01:00
Nyall Dawson
49dcc2c253 [FEATURE] Add spacing option for vector layer bar chart diagrams
Allows for user-controlled spacing between each bar in the chart.

Sponsored by SLYR
2019-11-21 15:21:44 +10:00
rldhont
2599eb536a [Server] Update WFS tests for round extent in GetCapabilities 2019-11-20 21:46:56 +01:00
rldhont
1d3b90bb2d [Server] Update WMTS tests for round extent in GetCapabilities 2019-11-20 21:46:56 +01:00
rldhont
9b731edbd7 [Server] tests: Add masks 2019-11-20 21:46:56 +01:00
lbartoletti
b848b0a9a7 add test 2019-11-21 05:04:52 +10:00
Matthias Kuhn
39741e549e Disable flaky test
See https://travis-ci.org/qgis/QGIS/jobs/606030466#L6726
2019-11-21 04:55:50 +10:00
Blottiere Paul
e8b38c36b1
Merge pull request #32666 from pblottiere/fix_emblayer_qgz
Read qgz project when embedding layers/groups. Fixes #28280
2019-11-20 15:05:42 +01:00
Alex
91563b8b88 auto layer finder 2019-11-20 08:12:39 -05:00
Blottiere Paul
0aea46bb28 Add unit test for qgslayerdefinition 2019-11-20 11:36:36 +01:00
Even Rouault
08d5b83f6a
Merge pull request #32811 from troopa81/fix_wfs_cache
fix cache read on wfs request
2019-11-20 10:56:59 +01:00
Nyall Dawson
1ca926d72a [FEATURE][layouts] Add search box to layout manager
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Nyall Dawson
986aa713ef Identation 2019-11-20 10:08:13 +10:00
Nyall Dawson
6ce8856741 Fix clazy warnings 2019-11-20 10:08:13 +10:00
Julien Cabieces
c2a3a855dd Test cache read 2019-11-19 17:54:37 +01:00
Blottiere Paul
0770ca9121 Add unit tests for qgsproject 2019-11-19 17:50:32 +01:00
Nyall Dawson
0d6599a7b6 [labeling] Fix evalution of letter/word spacing when font size is map units
Fixes #32825
2019-11-19 16:46:54 +10:00
Alessandro Pasotti
f9f00d3388 Fix fid regenerate on GPKG vector layer exported
Fixes #32927
2019-11-19 06:20:57 +10:00
nirvn
617955ac1e [expression] Language support for format_date() and to_{date,datetime,time}()
By default, those expression use the application's locale. The addition of an optional
language parameter allows handling of dates that wouldn't match that default
locale (say for e.g. an English system running QGIS trying to transform a
French-formatted string into a date object).
2019-11-18 12:13:47 +07:00
Pete King
0e7edd5588 [feature] is_valid expression
Returns true if a geometry is considered valid according to the OGC validity rules
2019-11-18 02:31:48 +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
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
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
Nyall Dawson
874577f4b9 Also account for oversampling along tile edges 2019-11-15 13:48:38 +10:00