8191 Commits

Author SHA1 Message Date
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 #30152
2019-11-15 13:48:38 +10:00
Even Rouault
aeeb11b00d
Merge pull request #31986 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
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
Matthias Kuhn
cbe6150348
Merge pull request #32770 from m-kuhn/dxf-symbol-fixes
Make the DXF renderer ready for background threading and fix symbology
2019-11-14 09:47:22 +01:00
Matthias Kuhn
461d2edac3
Merge pull request #32784 from strk/test-outside-sourcetree
Do not assume tests are run from under source tree
2019-11-12 07:01:05 +01:00
Matthias Kuhn
b38e191010
Merge pull request #32789 from m-kuhn/hardenRuleBasedRendererTest
Harden rule based renderer test
2019-11-11 15:46:43 +01:00
Matthias Kuhn
0b9f04d11f Harden rule based renderer test
or shall I say desperately hack around issues in the hope it helps?
2019-11-11 14:50:14 +01:00
Matthias Kuhn
daf6446b8e Harden rule based renderer test
or shall I say desperately hack around issues in the hope it helps?
2019-11-11 14:49:30 +01:00
Matthias Kuhn
003c8e4a2e Use ground proofed example as test result 2019-11-11 14:03:18 +01:00
Alessandro Pasotti
ccccafff2f
Merge pull request #32739 from elpaso/server-wfs3-conformance-update
Server OAPIF: update conformance classes
2019-11-11 13:31:13 +01:00
Sandro Santilli
d682829713 Use $() instead of backticks 2019-11-11 13:14:50 +01:00
Matthias Kuhn
6a38494181 Fix tes 2019-11-11 12:32:24 +01:00
Sandro Santilli
8e077ba127 Do not assume tests are run from under source tree
Fixes #32783
2019-11-11 12:24:42 +01:00
Alessandro Pasotti
c8d352bdc8 Update test reference files 2019-11-11 09:36:49 +01:00
Nyall Dawson
f95bf854c2 [ogr] When calculating min/max value for date/datetime fields, we have
to use the older string conversion methods as OGR will always return
a string value for these aggregate queries, regardless of the original
data type
2019-11-11 17:51:49 +10:00
Nyall Dawson
900a49131b Add a bit of tolerance to graduated symbol range resolving
If a value doesn't fall exactly within a range, then try to see
if it falls just outside of any ranges (within double precision
tolerance), to correctly handle double precision values coming
from different sources.

Fixes #27420
2019-11-11 17:51:49 +10:00
Nyall Dawson
06f36ddbe6 Cleanup duplicate code and add tests for graduated range resolving 2019-11-11 17:51:49 +10:00
Matthias Kuhn
0c4d1f7e2f Reenable test and fix compiler warnings 2019-11-11 08:44:41 +01:00
Matthias Kuhn
8611a375f6 Restore scale and context 2019-11-11 08:44:41 +01:00
Matthias Kuhn
9cd9bb966e Fix potential test crash 2019-11-11 08:44:41 +01:00
Matthias Kuhn
874eb35f56 More test cleanup 2019-11-11 08:44:41 +01:00
Matthias Kuhn
a208ea9eca Improve error reporting in tests 2019-11-11 08:44:41 +01:00
Matthias Kuhn
24f9228008 Add dxf test for dashed line and actual usage of symbol definitions 2019-11-11 08:44:41 +01:00
Matthias Kuhn
6374f02e93 Decouple DXF rendering from the layers
This makes it possible to run dxf exports in a thread.
2019-11-11 08:44:41 +01:00
Sandro Santilli
ea970d9ef1 Add test for extracting candidate primary keys from geometryless view 2019-11-10 11:48:48 +01:00
Nyall Dawson
6b82917715 [processing] Refine behavior of "Use filename as layer name" option to
always avoid using temporary file names, and then set this option as
enabled by default.

Also change the setting key so that existing users will also get the new
default value.

Fixes #32591
2019-11-09 20:07:55 +10:00
Alessandro Pasotti
8edfcf1d02
Merge pull request #32736 from elpaso/server-wfs3-schema
Server OAPIF: expose XML schema for collections
2019-11-09 07:48:57 +01:00
Nyall Dawson
377848e2ad Add QgsMapLayer::isTemporary to test whether a map layer is temporary
These include memory layer provider layers, or layers physically
stored inside a user's temporary folder (e.g. /tmp)
2019-11-09 13:43:03 +10:00
Alessandro Pasotti
ce48a1a3f6 Server OAPIF: update conformance classes 2019-11-08 16:54:10 +01:00
Alessandro Pasotti
cadb7916b5 Server OAPIF: expose XML schema for collections
Also make sure links to parent paths end with /
2019-11-08 14:40:44 +01:00
Matthias Kuhn
520fe74e98 Fix includes 2019-11-08 18:13:47 +10:00
Juergen E. Fischer
3b5f3e54f6 fix windows build 2019-11-07 23:28:20 +01:00
Denis Rouzaud
5ec6a98826
Merge pull request #32705 from 3nids/fix_include
remove relative include
2019-11-07 22:09:51 +01:00
Even Rouault
4960a5b8b0
Merge pull request #32580 from jgrocha/geopackage-primary-key
Geopackage primary key available from PyQGIS
2019-11-07 21:10:48 +01:00
Denis Rouzaud
e214ea7ba6
Missing include 2019-11-07 20:37:14 +01:00
Matthias Kuhn
706c33644d
Merge pull request #32706 from m-kuhn/qgis_point_pattern_fill_fix
Fix freeze when loading point pattern fill with distance 0
2019-11-07 17:29:26 +01:00
Denis Rouzaud
1ecdeebc27 missing include libs 2019-11-07 16:42:36 +01:00
Matthias Kuhn
e5df863302
Merge pull request #32629 from m-kuhn/dxf_hali_vali
[dxf] HAlign/VAlign support for TEXT
2019-11-07 16:37:06 +01:00
Matthias Kuhn
bca724f6e2 Add point pattern fill 0 space test 2019-11-07 10:41:44 +01:00
Hugo Mercier
845894b313
[FEATURE] Selective masking (#30747)
* [FEATURE] Selective masking

Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
signedav
c1f2d439cf
Merge pull request #32665 from m-kuhn/fix_qgsfield_private_header
Fix various private header
2019-11-06 15:40:48 +00:00
Matthias Kuhn
28759b1f46 Add missing include 2019-11-06 12:08:14 +01:00