1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-31 00:03:42 -04:00

7213 Commits

Author SHA1 Message Date
Nyall Dawson
4472820ead More reference images and masks for layout attribute table tests 2019-04-01 16:11:31 +10:00
Nyall Dawson
824ba076da More reference images and masks for 3d tests 2019-04-01 16:11:31 +10:00
Nyall Dawson
2d3e9e156f
Update testqgsvectorfilewriter.cpp 2019-04-01 08:51:04 +10:00
Alessandro Pasotti
013bdf9405 Fix wrong field length in file writer
fixes 
2019-03-31 20:51:21 +02:00
lbartoletti
59c00b8823 add tests 2019-03-30 11:03:01 +10:00
Blottiere Paul
9ae06a52bf Fix test 2019-03-29 14:59:38 +01:00
Blottiere Paul
fd4ac20ea8 Update tests 2019-03-29 14:15:42 +01:00
Blottiere Paul
0fe739d987 Update unit tests 2019-03-29 12:12:59 +01:00
Blottiere Paul
cac591c3b7 Add unit tests 2019-03-28 11:34:50 +01:00
Blottiere Paul
c5817cb413 Add unit tests 2019-03-28 11:32:51 +01:00
Blottiere Paul
d7f12ea5b4
Merge pull request from pblottiere/server_context_3
[server] Add a WMS render context
2019-03-28 09:13:20 +01:00
Alessandro Pasotti
5b5cc50b9e
Merge pull request from elpaso/bugfix-badlayers-storage
Bugfix badlayers storage
2019-03-28 08:14:53 +01:00
Denis Rouzaud
631c7016db
scope enum for QgsProcessing::LayerHint () 2019-03-27 17:23:36 -05:00
lbartoletti
155e0eb507 [needs-docs] Fixes intersection on (multi)linestring/polygon Z, M and ZM. Fixes 2019-03-27 22:14:40 +01:00
Denis Rouzaud
7fb752e0ff
[TRAVIS] run flaky test when label is defined ()
to declare a test as flaky:

* for cpp, use

```
if ( !QgsTest::runFlakyTests() )
    QSKIP( "This test is disabled on Travis CI environment" );
```

* for Python, you can use `RUN_FLAKY_TEST` environment variable
2019-03-27 09:45:34 -05:00
Blottiere Paul
b702c30eb7 Update dxf unit tests 2019-03-27 15:00:38 +01:00
Blottiere Paul
365e01a1a0 Remove invalid layer in test 2019-03-27 14:59:06 +01:00
Blottiere Paul
51ab846d8e
Merge pull request from signedav/getlegendgraphics_HEIGHTWIDTH
SRCHEIGHT/SRCWIDTH for GetLegendGraphic request
2019-03-27 14:27:27 +01:00
David Signer
6722ad5917 fallback possibility if HEIGHT is used on GetLegendGraphics for maps as well 2019-03-27 11:53:54 +01:00
David Signer
e1847725e4 use of SRCHEIGHT SRCWIDTH intead of HEIGHT WIDTH 2019-03-27 11:53:54 +01:00
Nyall Dawson
8daf4baef9 Followup https://github.com/OSGeo/proj.4/pull/1337
Add remaining mapping of old QGIS ellipsoid codes to PROJ db codes
2019-03-27 12:53:15 +10:00
Nyall Dawson
163f046945 Avoid loss of precision when reading ellipsoids from proj 2019-03-27 12:53:15 +10:00
Nyall Dawson
583f3d3472 Update/add new ellipsoid unit tests for proj 6 2019-03-27 12:53:15 +10:00
Denis Rouzaud
f000956e86
Merge pull request from 3nids/maplayertype_enum
create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
2019-03-26 10:28:34 -05:00
Nyall Dawson
4f9d0029ad Add test mask images 2019-03-26 18:17:12 +10:00
Nyall Dawson
e5b87474d4 Test improvements
- Use standard test font, larger font size to minimize cross platform
rendering differences
- Create a local test report for debugging
2019-03-26 18:17:12 +10:00
Nyall Dawson
c282e95d1c Fix segfault on exit 2019-03-26 18:17:12 +10:00
henrik
584290c507 Fixed turned of testss 2019-03-26 18:17:12 +10:00
henrik
5c38ba3941 Decoupled tests by removing shared self-variables. 2019-03-26 18:17:12 +10:00
henrik
4b90afdb9e Spelling 2019-03-26 18:17:12 +10:00
henrik
cf63e00500 Added tests for PointDisplacementRenderer labels. 2019-03-26 18:17:12 +10:00
henrik
e8584c0cf4 Added tests for pointdisplacementlabels 2019-03-26 18:17:12 +10:00
henrik
6fb06738ec [FEATURE] [needs-docs] Point Displacement label distance factor
Adds label distance factor spinbox to Point Displacement symbology
window. Calculates label distance based on the current symbology
diagonal instead of a general maximum diagonal.

Replaces the hard coded distance "symbolDiagonal/2.0" with
"symbolDiagonal*mLabelDistanceFactor", where mLabelDistanceFactor is set
to the spinbox value.

 It's an old feature request (Point displacement labels adjustable
offsets "https://issues.qgis.org/issues/5945").
2019-03-26 18:17:12 +10:00
Alessandro Pasotti
e75308e700 Add test case for the layer store when re-adding a fixed layer 2019-03-25 15:03:46 +01:00
Blottiere Paul
5704f70d94 Add getDxf test 2019-03-25 09:28:03 +01:00
Blottiere Paul
240f1fe7b6 Add cpp test for server modules 2019-03-25 09:28:03 +01:00
Matthias Kuhn
9327834322
Merge pull request from lbartoletti/bugfix_21390_pointZ_snapping
Fix Z snapping for point.
2019-03-25 07:31:01 +01:00
Denis Rouzaud
375a0aa253 create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
the enum is moved out of the class
this will allow forward declaration more easily since the enum is not nested in the class
2019-03-24 21:40:33 -05:00
Nyall Dawson
236cb085b8 Unit tests for QgsDatumTransformDialog 2019-03-22 15:38:11 +10:00
AlisterH
da6a3786e2 Add missing bracket to formula generated by data defined override
Refs 
2019-03-22 09:38:45 +10:00
lbartoletti
0cb0e387c2 Fix Z snapping for point. Point was always returned as a XY Point. Fixes 2019-03-21 16:52:36 +01:00
rldhont
59e5a68df7
Merge pull request from rldhont/fix-server-getfeatureinfo-withfilter-withoutcrs
[Bugfix][Server] In WMS GetFeatureInfo CRS param not mandatory when FILTER param
2019-03-21 14:32:06 +01:00
Blottiere Paul
226e3d420d
Merge pull request from rldhont/forwardport-9418-on-master
Forwardport  on master
2019-03-21 09:46:15 +01:00
Blottiere Paul
e9067834eb
Merge pull request from pblottiere/legend_json
Add json format for legend
2019-03-21 09:17:42 +01:00
rldhont
4d70a4e28e [Server] Add unit test for WFS GetFeature with BBOX param without EPSG 2019-03-21 09:05:45 +01:00
Matthias Kuhn
efc7e87fb9
Merge pull request from uclaros/fix_reshape_bug
Quick fix for a bug in QgsGeos::reshapeLine that causes QGIS to crash…
2019-03-21 08:48:40 +01:00
Nyall Dawson
acdb368024 [processing] Allow QgsGeometry values for point parameter values
The centroid of the geometry is used for the point parameter value.
This makes it easier to write expressions for the value of point
parameters, since all the QGIS expression functions for working
with geometry types return QgsGeometry value themselves (e.g.
make_point, centroid, ...). In this case it's much nicer to
allow expression values like `make_point(3,4)` within a precalculated
expression based value in a Processing model.
2019-03-21 15:25:54 +10:00
Martin Dobias
f85d494303
Merge pull request from wonder-sk/online-3d-terrain
[3d] Add option to use terrain data from online service
2019-03-20 13:48:27 +01:00
rldhont
638650a5a2
Merge pull request from rldhont/fix-server-getprint-jpg
[Server] JPEG output for WMS GetPrint request has gone
2019-03-20 10:37:45 +01:00
Blottiere Paul
2aeac0d321 Update tests 2019-03-20 09:33:23 +00:00