1016 Commits

Author SHA1 Message Date
Nyall Dawson
4778498c94 Fix SC2034 warnings 2018-06-21 15:33:29 +10:00
Tudor Bărăscu
0b9df82268 remove redundant test 2018-06-19 14:16:01 +03:00
Tudor Bărăscu
05fad59b26 enable test for getfeatureinfo value relation widget values 2018-06-19 12:08:02 +03:00
Alessandro Pasotti
c20e441872
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
[bugfix][server] respect relations in getfeatureinfo
2018-06-18 08:06:55 +02:00
Alessandro Pasotti
9c8545722d Make setInstance private and QgsConfigCache a friend 2018-06-17 15:05:19 +02:00
Alessandro Pasotti
65c1ed2a17 Typo and SIP_SKIP 2018-06-15 09:02:47 +02:00
Nyall Dawson
76eb29daf3 Unit tests and dox for QgsRasterIterator 2018-06-15 06:39:48 +10:00
Alessandro Pasotti
a2718daff7 Add test data for gfi server relations 2018-06-14 19:01:03 +02:00
Stéphane Brunner
dab4437780
Merge pull request #7208 from arnaud-morvan/wfs_srs_multilayer
[server] Fix BBOX SRS in WFS GetFeature POST with two queries
2018-06-13 11:15:48 +02:00
arnaud.morvan@camptocamp.com
9ebb646683 [server] Fix BBOX SRS in WFS GetFeature POST with two queries
Correctly transform featureRequest.filterRect in
WFS POST GetFeature request with multiple Query elements.
2018-06-08 13:11:14 +02:00
Nyall Dawson
83d44b9fe9 Fix zonal statistics calculations when pixel size is greater than
polygon size

Fixes #17159
2018-06-08 10:13:13 +10:00
Nyall Dawson
8ddab4476a Ensure zonal stats respsects all user set no data values 2018-06-08 10:13:13 +10:00
Alessandro Pasotti
b307f39f63 Added broken qlr file for the test case 2018-06-07 09:05:16 +02:00
Nyall Dawson
05f426e061 Remove orig_ogc_fid fields from server filter tests 2018-06-01 21:00:20 +10:00
nirvn
5ab3fe4ba0 Add subsetStringChanged signal 2018-05-29 17:10:17 +07:00
rldhont
facf7a22f0
Merge pull request #7007 from arnaud-morvan/server_filter_and_bbox
[server][wfs] Apply BBOX inside And using filterRect
2018-05-28 13:07:07 +02:00
arnaud.morvan@camptocamp.com
12a7be799c [server] Apply BBOX inside And using filterRect
In case of a WFS GetFeature request,
if BBOX is not a direct child of the Filter element,
it is applyed through an intersects_bbox function in the QgsFeatureRequest filterExpression.
This is not compiled by providers like PostgreSQL, causing the whole filter to be interpreted on QGIS side.

When interpreted on QGIS side, the srsname given in the request is not handled properly as geom_from_gml return a geometry object, projection agnostic.
This result in a very long request returning no results.

This is a workaround for this performance and srs issue in the case the BBOX is direct child of an And operator,
itself at first level in Filter element.

This is a bug fix and huge optimisation for the case we have a And with a BBOX and another condition.
2018-05-28 11:25:17 +02:00
Andrea Aime
c923d5b63f Fixes #16706, categorized symbology matching lack of value is not properly encoded in SLD 2018-05-28 13:05:28 +10:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Blottiere Paul
96a0b4777c Add unit test 2018-05-17 13:17:28 +01:00
Peter Petrik
3fc99c04c1 code cleanup 2018-05-16 17:02:35 +02:00
Peter Petrik
aea3dccea7 [FEATURE] Rendering of vector data on mesh layers
Rudimentary support of rendering of vector data (e.g. velocity) on mesh map layers.
Rendering can be adjusted by QgsMeshRenderer*Settings. Only in Python
API, no GUI widgets for styling present.
2018-05-16 12:56:35 +02:00
Peter Petrik
3154102aa6 [FEATURE] Scalar/vector data in mesh data providers
Reading and processing scalar (e.g. water depth) and vector (e.g.
velocity) data from mesh data providers (e.g. MDAL)
2018-05-16 12:47:28 +02:00
Blottiere Paul
1956937793 Update getcapabilities document to fit 1.3.0 version 2018-05-15 09:07:22 +01:00
Blottiere Paul
6ea2cd63ba Add unit tests 2018-05-15 09:07:21 +01:00
Nyall Dawson
26174ea9ad Copy cached min/max value to provider test suite 2018-05-15 09:23:48 +10:00
Guilhem
42bedc4f72 Update qgsrasterfilewriter.cpp
Bad geo-referencing bug fix

Using VRT with large coordinate system (like RGF93/CCxx) and high
resolution raster, highest resolution tiles were shifted regardingi
original raster.
It seemed that when creating the VRT file, georeferencing is
truncated while converted to text, leading to loss of precision.
2018-05-12 06:20:29 +10:00
Nyall Dawson
3d03cfba8c Update test masks 2018-05-11 17:48:45 +10:00
Denis Rouzaud
16497ee42c fix edit form test with local HTTP server 2018-05-09 11:04:29 -04:00
Denis Rouzaud
d413c8829a add UI form for testing 2018-05-09 11:01:59 -04:00
Matthias Kuhn
29489e1056
Merge pull request #6865 from PeterPetrik/qgsquick_1_canvas_merge
[FEATURE] Introduction of QGIS Quick library
2018-05-09 07:40:01 +02:00
Alessandro Pasotti
f2304c1b15
Merge pull request #6764 from tudorbarascu/featureinfo_values
server tests for GetFeatureinfo different widget values
2018-05-08 15:24:40 +02:00
Tudor Bărăscu
cdca7084c4 add GetMap DPI mask image, fixes local test 2018-05-08 16:07:53 +10:00
rldhont
280018dc5f [Oracle][Tests] Enhance Geometry creation SQL script 2018-05-05 12:24:16 +10:00
rldhont
a11db8bbe1 [Oracle][Tests] Enhance Point convertion test
Instead of using 'SDO_UTIL.FROM_WKTGEOMETRY' to generate `SDO_GEOMETRY` object
for Point, the `testdata` generate Point and MultiPoint with `SDO_POINT_TYPE`
or `SDO_ELEM_INFO_ARRAY` and `SDO_ORDINATE_ARRAY`.

With this way of creating Point and MultiPoint, we can test the way Point and
MultiPoint are converting to WKB.
2018-05-05 12:24:16 +10:00
rldhont
956d669304
Merge pull request #6867 from pblottiere/bugfix_nobbox
[server] CRS position in GetCapabilities document
2018-05-02 22:22:36 +02:00
Nyall Dawson
f4d38d4f09 Properly discard edit commands when calling QgsVectorLayer::destroyEditCommand()
Since it's not directly possible to pop the last command off
an QUndoStack (the command which is destroyed/discard by calling
this method), we add a dummy obsolete command to force this to occur.
Pushing the new command deletes the destroyed one, and since the new
command is obsolete it's automatically deleted by the undo stack.
2018-05-03 05:48:51 +10:00
Blottiere Paul
1afe0d1bb8 Add unit tests 2018-04-26 16:18:29 +01:00
Peter Petrik
b1bf9b2809 [FEATURE] Introduction of QGIS Quick library
This pull request is a subset of #6490

This adds a new library for creation of applications based on Qt Quick
framework.
It contains reusable QML / Qt Quick components based on QGIS core
library.
The initial work introduces MapCanvas

To enable compilation of the library, use WITH_QUICK=TRUE

Further documentation of the library is located in doc/qgsquick.dox

For background information see the associated QEP:
qgis/QGIS-Enhancement-Proposals#109

The initial implementation is largely based on the work of Matthias Kuhn
and Marco Bernasocchi on QField probject - kudos to them for the great
job!
2018-04-26 13:33:48 +02:00
Martin Dobias
ade216d02d
Merge pull request #6820 from PeterPetrik/QgsMeshLayer_1_mesh
[FEATURE] QgsMeshLayer part 1: Reading raw mesh
2018-04-25 09:02:24 +02:00
rldhont
120d5b1d11 [Tests][Server] Add unit test for empty contextual legend
Manually port c217cbb4dd140695af74debbe052dbefc1d21e74
2018-04-24 13:17:31 +02:00
Nyall Dawson
92a80894ac [oracle] Add read-only support for curved geometry types
Previously these geometries were silently discarded

Fixes #12675, #16809

Sponsored by Open Spatial (http://www.openspatial.com)
2018-04-24 09:10:39 +12:00
rldhont
f914762b46
Merge pull request #6793 from pblottiere/bugfix_owslib
[server][bugfix] Cleaning GetCapabilities response
2018-04-20 14:12:17 +02:00
Martin Dobias
f1a31d09f1 Use standard font for text on symbol 2018-04-19 14:23:49 +02:00
Peter Petrik
50422a1165 [FEATURE] QgsMeshLayer part 1: Reading raw mesh
Introducting MDAL, QgsMeshLayer, mesh data providers (mesh_memory, mdal)
to read and visualize raw meshes: vertices and faces. Support dragging
2dm files from browser on canvas to visualize 2dm meshes.
Support for QgsMeshLayer in Python API.
2018-04-19 10:50:33 +02:00
Martin Dobias
49b02bf562 [FEATURE] Legend: optional text on top of symbols for vector layers
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Alessandro Pasotti
5be057c90a [tests] Add some tests for 9 cells algorithms
Note: this does not test the correctness of the
algorithms but only that the filters are correctly
working.
2018-04-16 15:39:07 +02:00
Blottiere Paul
414f4fac3a Remove empty MetadataURL tag for unit tests 2018-04-13 14:36:31 +01:00
Blottiere Paul
2d340a0de2 Update unit test with symbology depending on @map variables 2018-04-13 09:50:18 +01:00
Blottiere Paul
e8ce121bc5 Add unit test to check symbol's rotation coming from a project variable 2018-04-12 14:21:53 +01:00