5418 Commits

Author SHA1 Message Date
rldhont
65f9c91e8e [Server] Fixing spelling and doc coverage 2018-08-21 14:11:50 +02:00
rldhont
9463d04d54 [Server][Feature][needs-docs] Update cache manager tests for images (tiles) 2018-08-20 11:23:51 +02:00
rldhont
385de9db00 [Server][Feature][needs-docs] Create WMTS service Tests 2018-08-20 11:23:50 +02:00
rldhont
066f84fd28 [Server][Feature][needs-docs] Using QByteArray in Cache Manager, fixing capabilities pointer and enhancing tests 2018-08-20 11:20:21 +02:00
rldhont
9bd23b5ac3 [Server][Feature][needs-docs] Server Cache can be manage by plugins
First commit to add a way to manage the QGIS Server cache with plugins.

In this commit only GetCapabilities document can be cached by plugins.
2018-08-20 11:20:21 +02:00
nirvn
3c3cc43010 [FEATURE] Add generate_series(start,stop,step) expression function
The function creates an array containing a sequence of numbers.
2018-08-20 11:56:49 +07:00
Nyall Dawson
1d62de3f1b Replace use of deprecated methods 2018-08-18 16:53:32 +10:00
Matthias Kuhn
ce87662393
Merge pull request #7612 from elpaso/bugfix-19441-rulerenderer-exp-depth
Bugfix 19441 rulerenderer exp depth
2018-08-17 14:06:28 +02:00
nirvn
3b861f22f9 Add additional decodeUri tests 2018-08-16 16:46:01 +07:00
nirvn
f4a0e743fa Implement a QgsProviderRegistry decodeUri function + test 2018-08-16 16:46:01 +07:00
Martin Dobias
f37aa8c6e3
Merge pull request #7613 from wonder-sk/mesh-gui-fixes
Mesh layer fixes and improvements
2018-08-16 09:28:19 +02:00
Nyall Dawson
4930061b21 [processing] Fix incorrect OGR warnings when loading raster layer results
Fixes #19597
2018-08-16 06:37:18 +10:00
Martin Dobias
c0f190d070 Address Nyall's point from review 2018-08-15 15:20:00 +02:00
Stéphane Brunner
21f94305c6
Merge pull request #7571 from sbrunner/groups
[server] Fix the Access control in the WMS groups
2018-08-15 07:45:13 +02:00
Nyall Dawson
c6a91dab09 [FEATURE] Use native interpolate point method instead of GEOS method
Because:
- Exactly follows curves and doesn't require segmentizing input geometry
- Also interpolates z/m values if they are present in input geometry
- Is faster
2018-08-15 14:01:59 +10:00
Nyall Dawson
a4386d6116 [FEATURE] line_substring function
Returns the portion of a line (or curve) geometry which falls
between the specified start and end distances (measured from the
beginning of the line). Z and M values are linearly interpolated
from existing values.

Fixes #15611
2018-08-15 14:01:59 +10:00
Nyall Dawson
513bcb68e4 [FEATURE] New geometry API call to return a curve substring
Returns a new curve representing a substring of a curve, from
a start distance and end distance.

If z or m values are present, the output z and m will be interpolated using
the existing vertices' z or m values.

Handles curved geometries without loss.
2018-08-15 14:01:59 +10:00
Nyall Dawson
5b0bdbd4d9 Add QgsGeometryUtils method to interpolate a point on an arc given a distance 2018-08-15 14:01:59 +10:00
Nyall Dawson
56fd4e3b16 Add QgsGeometryUtils method for interpolating point between two points, with z/m handling 2018-08-15 14:01:59 +10:00
Martin Dobias
d90729e7ae Write mesh rendering results into the report HTML file 2018-08-14 16:42:13 +02:00
Martin Dobias
9fc2e3e148 Make scalar/vector rendering settings per dataset group
Until now there was just one scalar and vector configuration
for a mesh layer. It is however most useful to have different
rendering settings for each dataset group (quantity).
2018-08-14 16:42:13 +02:00
Alessandro Pasotti
a8bc941252 [test] Add a test for QgsSQLiteExpressionCompiler 2018-08-14 16:37:09 +02:00
Martin Dobias
feddb3d3e6 Encapsulate all mesh renderer stuff in one class + fix legend updates 2018-08-14 16:36:09 +02:00
Alessandro Pasotti
3ea67af6e2 [bugfix] Create a b-tree expr when rule based renderer has more than 50 rules
Fixes #19441 Layers with 80+ rule-based symbology do not render
2018-08-14 16:33:25 +02:00
Martin Dobias
545eb9785a Generation of legend items for mesh layers 2018-08-14 16:30:09 +02:00
Martin Dobias
d093455725 Save extra datasets of mesh layers in project files
Some formats like .2dm only contain definition of mesh structure,
in order to show some data users need to add extra files with data
on that mesh. Until now the extra datasets were not persisted.
2018-08-14 16:30:09 +02:00
Nyall Dawson
3f9ea774c4 Resurrect display of interpolated z/m in identify results, and
add closest point x/y (closest point on geometry)

Add tests

Fixes #19403
2018-08-14 20:30:08 +10:00
Stéphane Brunner
24f97f0205 Fix the Access control in the WMS groups
- Reactivate the tests
- Split the tests in more then one file
- Add WMS groups tests
- Use standard test font
2018-08-14 11:31:00 +02:00
Nyall Dawson
079c9fa6b6 Expand unit test coverage 2018-08-14 10:57:44 +10:00
Matthias Kuhn
70dcc33496
Merge pull request #7456 from signedav/translation_projects
Translation of .qgs project data
2018-08-13 11:25:05 +02:00
Nyall Dawson
fa68041793 Fix some clazy/clang warnings in layout 2018-08-13 14:33:53 +10:00
Nyall Dawson
69201021d5 [layouts] Fix incorrect filename for atlas features when using
@atlas_feature

Fixes #19552
2018-08-13 11:09:13 +10:00
Martin Dobias
ad4ddb186a
Merge pull request #7582 from PeterPetrik/mesh_plots
[mesh] [feature] function to get value for the point on map
2018-08-10 15:46:27 +02:00
Peter Petrik
271bab1756 introduce DataType for mesh dataset data definition and small fixes 2018-08-10 14:40:46 +02:00
nirvn
6fcef30cc5 [expression] fix format_number() not adding group separators regression 2018-08-10 14:40:20 +07:00
Marco Hugentobler
83da5707b8 Fix QgsClipboard::retrieveFields and adapt unit test (because features without geometries are now allowed in QgsClipboard) 2018-08-10 10:01:32 +10:00
raymondnijssen
283441022f 360+ degrees wedge buffer tests 2018-08-09 06:32:31 +10:00
Alessandro Pasotti
44adfe53df [opencl] Final rebase before merge 2018-08-08 10:08:14 +02:00
Alessandro Pasotti
445d453b05 [opencl] Remove obsolete test (superceeded) 2018-08-08 09:39:55 +02:00
Alessandro Pasotti
84dd14ae95 [opencl] Rename test function for consistency 2018-08-08 09:39:52 +02:00
Alessandro Pasotti
78a45b7db4 [opencl] Small optimization in hillshade
... and more tolerant epsilon for float comparison in tests
2018-08-08 09:39:49 +02:00
Alessandro Pasotti
8f40129d09 [opencl] Increase test coverage with no-opencl image comparison 2018-08-08 09:39:46 +02:00
Alessandro Pasotti
a1a09d75e6 [opencl] Rename test function for consistency 2018-08-08 09:26:30 +02:00
Alessandro Pasotti
b89808f573 [opencl] Small optimization in hillshade
... and more tolerant epsilon for float comparison in tests
2018-08-08 09:26:30 +02:00
Alessandro Pasotti
9ff8779f97 [opencl] Increase test coverage with no-opencl image comparison 2018-08-08 09:25:34 +02:00
Alessandro Pasotti
d846804b1c [opencl] Make device configurable 2018-08-08 09:22:28 +02:00
Alessandro Pasotti
28169aae0d [opencl] Suppress warning for unused variable 2018-08-08 09:22:22 +02:00
Alessandro Pasotti
e29c7e55be [opencl] Benchmark test case 2018-08-08 09:22:17 +02:00
Alessandro Pasotti
e4228f4bfd [opencl] Add performance test 2018-08-08 09:22:02 +02:00
Alessandro Pasotti
5aa54658b4 [opencl] Pass the queue to the cl methods
Fixes some issues on intel
2018-08-08 09:20:23 +02:00