Nyall Dawson
08a9bcba0a
Unify scale widgets API
...
Flip all scale based widgets to use scale denominators instead
of actual scales (ie 100.0 instead of 0.01 for 1:100).
This is done for consistency with the rest of the API, which
predominantly uses scale denominators. It also helps
precision loss as a result of multiple 1.0 / scale conversions
throughout the code.
Refs #15337
2017-06-09 09:11:10 +10:00
Nyall Dawson
9f71156a13
Merge pull request #4678 from nyalldawson/layer_scale
...
Swap QgsMapLayer min/max scale API definitions (unify scale api, pt 2)
2017-06-09 07:44:01 +10:00
Martin Dobias
b280c873d5
Node tool: give preference to vertex match over segment match from previous feature
2017-06-08 23:02:27 +02:00
Martin Dobias
91be49a163
Fix python tests after previous commit
2017-06-08 23:02:02 +02:00
Martin Dobias
2964c33d63
Reshape tool: use default Z value for 3D geometries
2017-06-08 21:56:21 +02:00
Martin Dobias
f5b38fedba
Node tool: add default Z value to new vertices in 3D geometries ( fixes #16240 )
2017-06-08 21:53:56 +02:00
Martin Dobias
bdd81685a1
Fix a crash when toggling a layer to editable mode
2017-06-08 15:56:56 +02:00
Martin Dobias
c340e37e88
Do not #include QtConcurrent when using map renderer jobs C++ API
...
This way C++ apps using the API do not need to add QtConcurrent to their build
2017-06-08 15:56:56 +02:00
Denis Rouzaud
866bfc3db6
sipify core symbology part 2
2017-06-08 15:16:55 +02:00
Harrissou Sant-anna
fcc06ce380
More typo fixes
2017-06-08 09:55:25 +02:00
Harrissou Sant-anna
a148a7890d
Typo fix and list ordering
2017-06-08 09:55:25 +02:00
Nyall Dawson
7651f9fb71
Merge pull request #4698 from nyalldawson/cache_test
...
Add feature source test for QgsVectorLayerCache
2017-06-08 17:39:14 +10:00
Denis Rouzaud
9e176feeac
gps fixes
2017-06-08 09:38:34 +02:00
Denis Rouzaud
e545d44c4f
sipify core gps
2017-06-08 09:38:34 +02:00
Nyall Dawson
e052933b14
Identation
2017-06-08 17:05:35 +10:00
Nyall Dawson
fbad91165c
Add feature source test for QgsVectorLayerCache
...
While it's not a QgsFeatureSource subclass (yet), it behaves
just like one so when can run the feature source conformance
test suite over it.
Fix a few minor issues identified by the test suite, and one
potential crash (requesting an invalid id from a cache iterator
crashes qgis)
2017-06-08 16:59:21 +10:00
Denis Rouzaud
ed915e75a2
sipify gui part 1
2017-06-08 08:52:02 +02:00
Denis Rouzaud
a7c9cc8133
fix merge
2017-06-08 07:31:47 +02:00
Denis Rouzaud
41ceed3d77
[sipify] fix false virtual methods
2017-06-08 07:28:36 +02:00
Nyall Dawson
0591225fbc
Don't allow selection of adding z/multigeometries when saving a vector
...
layer with geometry type set to No Geometry
2017-06-08 14:09:18 +10:00
Nyall Dawson
dbdbd1579a
Fix composer legend "Filter by Atlas Feature" does not save
...
Fix #16663
(forward port from ecb4c5a)
2017-06-08 10:35:47 +10:00
Nyall Dawson
7d9cc131e8
Merge pull request #4657 from DelazJ/patch-1
...
Typo fix: Add missing spacing
2017-06-08 10:17:10 +10:00
Nyall Dawson
1bbfd5b8c2
Merge pull request #4692 from nyalldawson/prepare
...
Make more use of prepared geometries for intersection tests
2017-06-08 07:29:09 +10:00
Nyall Dawson
648ff29304
Merge pull request #4695 from nyalldawson/buffer_test
...
Add feature source unit tests for vector layer with edits in buffer
2017-06-08 07:12:25 +10:00
Nyall Dawson
342897c6ae
Add source test for vector layer with deleted features in buffer
2017-06-08 06:42:09 +10:00
Denis Rouzaud
6606d463d3
fix enum
2017-06-07 19:43:45 +02:00
Denis Rouzaud
67b01dee0c
[sipify] fix negative value assignment
2017-06-07 16:34:45 +02:00
Denis Rouzaud
542dc85433
sipify core symbology classes
2017-06-07 16:04:30 +02:00
Denis Rouzaud
154c8f5d70
[sipify] fix body detection*
2017-06-07 16:04:30 +02:00
Nyall Dawson
3f81fc0913
Add feature source unit tests for vector layer with edits in buffer
...
Run the feature source tests over a layer with added, edited
geometries, and edited attributes unsaved in an edit buffer
Fix identified issues when iterating over these edited features
2017-06-07 22:26:11 +10:00
Even Rouault
7435d34239
[WFS provider] Recognize Geomedia layers with gmgml:LineString_Curve_MultiCurve_CompositeCurvePropertyType type as multilinestring layers ( #16675 )
2017-06-07 12:36:23 +02:00
Denis Rouzaud
9a40754fb8
sipify Qgis, QgsDxfExport
2017-06-07 12:03:22 +02:00
Denis Rouzaud
8d2f72c3df
[sipify] uniform die messages
2017-06-07 12:03:22 +02:00
Nyall Dawson
be501a0f5f
Make more use of prepared geometries for intersection tests
...
Should speed up a few operations
2017-06-07 14:08:22 +10:00
Nyall Dawson
fa9f202b05
Merge pull request #4691 from nyalldawson/validator
...
Add an explicit argument to set QgsGeometryValidator method
2017-06-07 13:12:58 +10:00
Nyall Dawson
64a86e3d6c
Add an explicit argument to set QgsGeometryValidator method
...
Previously this was always read from settings when using
QgsGeometryValidator. It's now an explicit argument
when constructing QgsGeometryValidator or calling the
static validation methods, allowing choice of internal/GEOS
validation methods.
Helps remove more QgsSettings use from core.
2017-06-07 11:36:14 +10:00
Nyall Dawson
5f1a78ddab
Update inverted polygon test mask
2017-06-07 05:46:56 +10:00
Martin Dobias
9cd3ef02ac
Use invalid CRS as default in map settings
...
I have got caught by the default set to WGS 84 when I loaded a layer
in projected CRS, set extent to layer's extent and... nothing got rendered
because map renderer was reprojecting to WGS 84.
This default is closer to the default in 2.x where reprojection is turned off.
2017-06-06 15:06:01 +02:00
Sandro Santilli
362d4f0697
Add DBManager test for service-only URI
...
Ref #16626
Also fixes runs with non-standard QGIS_PGTEST_DB env variable set
2017-06-06 14:56:40 +02:00
Nyall Dawson
de9e70e6ba
Merge pull request #4684 from nyalldawson/processing_pt3
...
Add sourceExtent method to QgsFeatureSource
2017-06-06 21:50:45 +10:00
Martin Dobias
39b5f4e5b3
Update acceptable missing doc
2017-06-06 13:16:58 +02:00
Sandro Santilli
eddf23c381
Make the check
rule use xvfb-run, drop check-no-x
...
I see no reason for anyone wanting to see popping windows during
a `make check` run. Closes #12172 .
2017-06-06 12:39:35 +02:00
Alexander Bruy
80911c6e74
Merge pull request #4675 from alexbruy/processing-help
...
[processing] improve help system
2017-06-06 13:08:22 +03:00
Martin Dobias
51e7efe218
Replace QString::null by QString() in core (deprecated since Qt 5.9)
2017-06-06 11:36:41 +02:00
Alexander Bruy
e89502f43d
fix help opening
2017-06-06 11:50:28 +03:00
Nyall Dawson
448f019e1f
Port polygon from layer extent alg to new API
2017-06-06 18:29:09 +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
38d905f694
Add a notice about service=qgis_test being used by some tests
2017-06-06 09:51:30 +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
Sandro Santilli
3738798991
Add test for DBManager's PostGIS connector and plugin
...
Only enabled when ENABLE_PGTEST is set
Includes test for dbname-less URI (#10600 and #16625 and #16626 )
The test relies on default libpq accessed database containing
one raster table, but makes no effort to create such database yet.
2017-06-06 09:51:30 +02:00