737 Commits

Author SHA1 Message Date
Blottiere Paul
c1657ac853 [Server] Add/update tests 2017-06-09 12:55:27 +01:00
Nyall Dawson
5f1a78ddab Update inverted polygon test mask 2017-06-07 05:46:56 +10:00
rldhont
dbedd7e190 Merge pull request #4683 from rldhont/server-string-list-exceptions
[Server] bulk enhancements: string, list and exceptions
2017-06-06 10:09:52 +02:00
Sandro Santilli
7af47c2afa Add a raster table to the test postgis setup, use it from dbmanager test 2017-06-06 09:51:30 +02:00
rldhont
4ab6a06527 [Server] Test update masks WMS_GetMap_Annotations and WMS_GetMap_Highlight 2017-06-05 19:21:34 +02:00
Nyall Dawson
b2360dfd22 Update test mask for WMS server diagrams test 2017-06-02 09:07:53 +10:00
rldhont
df9ee6f705 Merge pull request #4313 from pblottiere/cleansingleton
[Server] WMS getmap refactoring
2017-06-01 17:57:11 +02:00
Blottiere Paul
e663d192e3 Add/update tests 2017-05-30 13:37:35 +02:00
rldhont
ada8715691 [Server] Add GetStyles test 2017-05-29 12:14:46 +02:00
rldhont
e7d45a0976 [Server] Add DescribeLayer test 2017-05-26 16:59:23 +02:00
rldhont
83b3368e38 [Server] Add GetContext test 2017-05-26 15:48:03 +02:00
rldhont
6feca53278 [Server] Fix QgsServerProjectUtils readListEntry 2017-05-26 15:48:03 +02:00
Blottiere Paul
0c72d4bc2b Add unit tests 2017-05-16 13:00:38 +02:00
Alessandro Pasotti
3c4567d0af [server] More WMS tests for FILTER parameter with bool operators and UTF8
Forward port from 2.18 commit 8fd4fc60697738a986207
2017-05-06 10:45:10 +02:00
Nyall Dawson
b587282186 Merge pull request #4433 from nyalldawson/blur_buffer
[FEATURE] Allow paint effects for label buffers & backgrounds
2017-04-30 10:14:36 +10:00
Nyall Dawson
ef6c8be16f Fix import WKT of the format MultiPoint (-20 -90, -20 -88 )
Should technically be MultiPoint ((-20 -90), (-20 -88)), but
it's nice to be forgiving and accept as wide a range of WKT
formats as possible

Fix #16483
2017-04-30 08:23:49 +10:00
Nyall Dawson
0d5cbfe689 Update text renderer mask images 2017-04-28 20:13:10 +10:00
Nyall Dawson
38414b3878 Update text renderer tests 2017-04-28 19:41:43 +10:00
Nyall Dawson
fa21311e4c More robust test for numeric scale bar 2017-04-26 11:46:51 +10:00
rldhont
27a9053490 [Server] WMS GetCapabilities refactoring - Part 1
Part 1 for removing QgsWMSProjectParser from GetCapabilities
2017-04-25 14:11:36 +02:00
Alessandro Pasotti
d3453063ea [server] Tests housekeeping and improved robustness
* There is now a new common base class for QGIS Server testing
* WMS tests have been moved into their own class
* Added tests for onlineResource URL in query string
2017-04-24 14:28:52 +02:00
rldhont
cc55ae1932 Merge pull request #4344 from rldhont/server-wfs-configparser
[Server] WFS refactoring and QgsWfsProjectParser removal
2017-04-14 17:32:16 +02:00
Matthias Kuhn
e7e73bafcf Add test for postgres boolean 2017-04-10 22:47:41 +02:00
rldhont
04ed2b4dcd [Server] WFS GetCapapbilities and DescribeFeatureType refactoring
Remove QgsWFSProjectParser from GetCapabilities and DescribeFeatureType
2017-04-08 17:06:56 +02:00
Nyall Dawson
603365c386 Fix some crashes in paletted raster renderer
- handle negative color values
- don't crash when calculating unique values in bad rasters
2017-04-03 12:08:08 +10:00
Nyall Dawson
d03844d24e [FEATURE] Allow classifying paletted renderer using unique values
from a raster layer

Adds an easy way to style discrete rasters such as landuse classes
using the Paletted renderer. Just select the Paletted renderer,
pick a band, then hit the "Add Unique Values" button. The unique
pixel values will be fetched from the layer and a color assigned
to each using the currently selected color ramp.

Fix #14845

Sponsored by
- Stéphane Henriod
- Satelligence (http://satelligence.com/)
- Bird's Eye View (https://www.birdseyeviewgis.com/)
- + other anonymous backers
2017-04-03 12:08:08 +10:00
Nyall Dawson
7eb63d99dc [FEATURE] Implement saving paletted raster renderer color tables
Use the .clr/gdal file format, but add the labels on the ends of
the lines. Seems other importers like ArcMap just ignore these.
2017-04-03 12:07:50 +10:00
Nyall Dawson
a157db7627 Refactor QgsPalettedRasterRenderer to allow "gaps" in pixel values
Previously the renderer required that pixel values followed
sequential numerical order. This refactor allows values to
be skipped, so that only certain color index will be rendered.
2017-04-03 12:07:50 +10:00
Nyall Dawson
345ce734c4 [composer] Correctly draw overview frame when map item CRS differs 2017-03-25 17:58:48 +10:00
Nyall Dawson
041129d507 Fix loading composition triggers render of all composer maps
Also cleanup some more unused API methods
2017-03-21 10:32:53 +10:00
Nyall Dawson
8d01573168 Add/refine test masks for server test 2017-03-21 10:32:53 +10:00
Nyall Dawson
588a8fc9e9 Add unit test for changing appearance of style in a theme 2017-03-13 08:39:37 +10:00
Nyall Dawson
1e6bffe414 Allow setting map canvases to auto follow a map theme 2017-03-13 08:39:37 +10:00
Blottiere Paul
d10d67728a [BUGFIX] Embedded groups are empty 2017-03-12 12:50:27 +08:00
rldhont
9bb7681b86 Merge pull request #4124 from pblottiere/security
add unit tests for sql injection
2017-03-06 08:55:08 +01:00
Matthias Kuhn
56b4976225 Make test database setup more quiet 2017-03-04 16:02:57 +01:00
rldhont
98d323edb1 [Server] Remove QgsWCSProjectParser 2017-02-27 16:55:00 +01:00
Blottiere Paul
bf45c28f2e [Server] add unit tests for sql injection 2017-02-22 16:54:33 +01:00
Even Rouault
0f16eb869c [GDAL provider] Expose GDAL mask band as a pseudo alpha band.
Some TIFF formulations, for example RGB TIFF with JPEG YCbCr compression, cannot
include a regular alpha band and instead use the GDAL mask band mechanism. Such
mask bands were ignored up to now. Now expose them as if they were alpha bands.
2017-02-21 23:20:09 +01:00
mhugent
43277909cc Merge pull request #4130 from mhugent/wfs_gml_from_geometry
Take wfs gml directly from geometry
2017-02-17 10:51:10 +01:00
Matthias Kuhn
f46b25b9f3 Merge pull request #4049 from boundlessgeo/master-SldRotationFix
Tests and fix to read sld:Rotation when does not have ogc sub tags
2017-02-16 14:34:28 +01:00
Nyall Dawson
9b9d49ade9 Add unit tests for deferred layer refresh
QgsMapCanvas test is rather messy, but I can't find anyway to
avoid showing the canvas in order to get a predictable result
2017-02-13 08:27:01 +10:00
Marco Hugentobler
dedeb9cc81 Change gml test output (use xmlns instead of gml: which both is valid) 2017-02-12 16:29:45 +01:00
Nyall Dawson
61523c8124 Update label test masks following sort algorithm change
std::sort is returning a slightly different sort order when
label z order (or label cost) is equal

Given that the order in these cases is effectively arbitrary
I've updated the test masks to accept either order.
2017-02-07 14:08:02 +10:00
Nyall Dawson
11150dde3e Add additional curvepolygon with compound curve to reference geometry tests 2017-02-04 14:57:29 +10:00
Nyall Dawson
61d3147261 Merge pull request #4073 from nyalldawson/annotations
Refactor annotations, add new annotation features + some other exciting stuff
2017-01-30 21:21:01 +10:00
Nyall Dawson
1f7758a9f9 Fix failing tests 2017-01-30 20:01:09 +10:00
Nyall Dawson
10c40dcaab Fix rendering offset lines as part of fill symbol (outside of
vector layers) results in broken offset outline
2017-01-30 19:58:08 +10:00
Nyall Dawson
6bffa17cc2 Fix failing tests 2017-01-30 19:13:07 +10:00
Blottiere Paul
5c8360dba2 [server] WIP clean project parsing by using QgsProject 2017-01-30 08:21:05 +01:00