1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-12 00:02:25 -04:00

8244 Commits

Author SHA1 Message Date
Matthias Kuhn
63911c1d01
Merge pull request 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 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 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 from roya0045/handler_v2
Bad Layer Handler Improvements
2019-11-21 11:51:53 +01:00
Matthias Kuhn
3456bc0150
Merge pull request 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 from pblottiere/fix_emblayer_qgz
Read qgz project when embedding layers/groups. Fixes 
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 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 
2019-11-19 16:46:54 +10:00
Alessandro Pasotti
f9f00d3388 Fix fid regenerate on GPKG vector layer exported
Fixes 
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 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
Nyall Dawson
41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes 
2019-11-15 13:48:38 +10:00
Even Rouault
aeeb11b00d
Merge pull request from roya0045/patch-6
[Bugfix] enabling spatialite gpkg amphibious mode
2019-11-14 19:23:27 +01:00
Julien Cabieces
46525045d2 add back the point locator tests 2019-11-15 02:51:10 +10:00
Julien Cabieces
d3a7f08634 add test for waitforfinished before task is started 2019-11-15 02:51:10 +10:00
Julien Cabieces
9887827b05 fix waitforfinished when task is not started 2019-11-15 02:51:10 +10:00
Alex
eda36d4796 Allow using spatialite function on geopackge in dbmanager
Enables Spatialite's amphibious mode for Geopackages, allowing the use of geospatial functions on geopackages in the DB manager.
2019-11-14 10:41:36 -05:00
Alessandro Pasotti
61fdbf7429 Renamed API definition -> description 2019-11-14 15:05:14 +01:00
Sandro Santilli
20114fc958 Use service=qgis_test in test project files as well 2019-11-14 13:05:05 +01:00
Sandro Santilli
635f4c8646 Update comment about setting up test db 2019-11-14 13:05:05 +01:00
Sandro Santilli
c20ba1e5f3 Have db setup script check for pg_service.conf functionality
... and hint about how to set it up
2019-11-14 13:05:01 +01:00
Sandro Santilli
dea253b9e0 More consistent use of service file for test db connection 2019-11-14 11:37:03 +01:00
Sandro Santilli
46a05727e8 Use service=qgis_test for referencing test database
Makes PostgreSQL testing setup consistent.
Updates README accordingly
2019-11-14 11:30:21 +01:00