39335 Commits

Author SHA1 Message Date
Matthias Kuhn
cc877c39eb No more QgsGeometry pointers in the public API
Geometries are passed as const reference and returned by value.
This make using the API easier and reduces the risk of ownership
problems.

The overhead is minimal due to implicit sharing.

Fix https://github.com/qgis/qgis3.0_api/issues/68
2017-06-11 09:13:16 +02:00
Alexander Bruy
6896548521 Merge pull request #4705 from PedroVenancio/master
[processing] fixes GRASS 7 v.net.alloc (fix #16672)
2017-06-10 20:40:58 +03:00
Nyall Dawson
e839ab1dab Indentation 2017-06-10 19:38:33 +10:00
Nyall Dawson
326e442548 Fix crash when saving vector layer in background task 2017-06-10 18:53:01 +10:00
PedroVenancio
aedb95b1aa Fixes GRASS 7 v.net.alloc #16672 2017-06-10 09:41:05 +01:00
Nyall Dawson
30e145a202 Cleanup and unify text formatting in projection combo box 2017-06-10 18:30:27 +10:00
Juergen E. Fischer
4386be831a spelling fixes 2017-06-10 08:55:07 +02:00
Juergen E. Fischer
afc230c7a5 re-run t2tdoc 2017-06-10 08:38:12 +02:00
Juergen E. Fischer
43fac74738 include expect/unbuffer in INSTALL install list 2017-06-09 19:25:52 +02:00
Juergen E. Fischer
c21846a880 fix install (followup 532b9a14) 2017-06-09 19:23:09 +02:00
rldhont
0489839374 Merge pull request #4700 from sbrunner/service-onlineressource
[Server] WMS Fix the mandatory OnlineResource
2017-06-09 13:52:06 +02:00
Stéphane Brunner
9d9e94e6b9 Fix the mandatory OnlineResource 2017-06-09 13:32:47 +02:00
Stéphane Brunner
2346f59f56 More verbose response 2017-06-09 13:32:47 +02:00
rldhont
f80a1f54ce Merge pull request #4687 from rldhont/server-wms-dxf-writer
[Server] WMS DXF writer refactoring
2017-06-09 12:07:46 +02:00
rldhont
8df3391fc4 [Server] dxf writer refactoring 2017-06-09 10:58:28 +02:00
Denis Rouzaud
00b2d24247 sipiy gui symbology 2017-06-09 10:16:08 +02:00
Denis Rouzaud
58674146af sipify gui effects + layertree 2017-06-09 10:16:08 +02:00
Denis Rouzaud
2454e56b32 sipify gui attribute table 2017-06-09 10:16:08 +02:00
Denis Rouzaud
f5c3b8a1f8 [sipify] fix enum again 2017-06-09 10:16:08 +02:00
Denis Rouzaud
532b9a142a sipify gui part n 2017-06-09 10:16:08 +02:00
Juliusz Hoffman
f677eaf04f consider middle geometry column when retrieving default values (fixes #16685) 2017-06-09 08:15:44 +02:00
Juergen E. Fischer
6326947968 fix 8c873b14 (fixes #16624) 2017-06-09 08:00:12 +02:00
Juergen E. Fischer
5ff6b14fe9 update translation scripts 2017-06-09 08:00:11 +02:00
Nyall Dawson
d4acdac618 Merge pull request #4701 from nyalldawson/processing_pt31
[processing] allow optional feature sink parameters
2017-06-09 14:54:10 +10:00
Nyall Dawson
57a6735810 Merge pull request #4672 from nyalldawson/scale
Unify scale widgets API, pt 1
2017-06-09 14:51:39 +10:00
Nyall Dawson
a8ca3b28ae Port test to new API 2017-06-09 14:26:35 +10:00
Nyall Dawson
8c73bcbcfe [FEATURE] Port CheckValidity alg to new API
Also make outputs optional from the alg - now you can select
which outputs you need for your model!
2017-06-09 14:24:27 +10:00
Nyall Dawson
6b55300fbc If a feature sink parameter is optional and not set, don't create the sink
This adds a lot of flexibility to algorithms, as it makes output
sinks truely optional. For instance, the various "Extract by..."
algorithms could add a new optional sink for features which
'fail' the extraction criteria. This effectively allows these
algorithms to become feature 'routers', directing features onto
other parts of a model depending on whether they pass or fail
the test.

But in this situation we don't always care about these failing
features, and we don't want to force them to always be fetched
from the provider. By making the outputs truely optional,
the algorithm can tweak its logic to either fetch all features
and send them to the correct output, or only fetch
matching features from the provider in the first place (a big
speed boost).
2017-06-09 14:22:29 +10:00
Nyall Dawson
2d2dff9b4a Restore basic stats alg 2017-06-09 13:17:48 +10:00
Nyall Dawson
e413463755 [needs-docs] Use standard scale widgets and terminology for labeling
Also unify API with other scale API.

Fix #16349
2017-06-09 12:46:41 +10:00
Nyall Dawson
b2e102d2f5 Improve API docs 2017-06-09 11:56:14 +10:00
Nyall Dawson
b0c35ab4b8 Unify scale API in rule based labeling, fix GUI issues 2017-06-09 11:51:01 +10:00
Nyall Dawson
9805782bc2 Unifying rule based renderer scale API, fix scale related bugs
Fix #15512
2017-06-09 11:09:09 +10:00
Nyall Dawson
32ecbcfa21 Merge pull request #4693 from nyalldawson/request_crs
Allow specifying a destination CRS in QgsFeatureRequest
2017-06-09 10:49:02 +10:00
Nyall Dawson
37f86f5f04 Unify diagram scale API with rest of scale API 2017-06-09 10:34:34 +10:00
Nyall Dawson
1be5fbda96 More consistency across scale API
Use a real scale widget for point displacement label scale
2017-06-09 10:26:01 +10:00
Nyall Dawson
a3d919dcff Use a real scale widget in vector save as dialog 2017-06-09 09:51:55 +10:00
Nyall Dawson
e0d29e782f Update tests for new API 2017-06-09 09:42:20 +10:00
Nyall Dawson
f7bfb9ceea Fix zoom to visibile scale when min/max scale is set to 0 2017-06-09 09:36:15 +10:00
Nyall Dawson
10707b8787 Improve documentation 2017-06-09 09:14:50 +10:00
Nyall Dawson
b07726592c Flip remaining scale API from real to denominators 2017-06-09 09:12:42 +10:00
Nyall Dawson
463e722477 Clarify in doxygen what scale values represent 2017-06-09 09:12:42 +10:00
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
482ed3f25a Explicitly mention in docs that presence of destination CRS does
not affect filter expressions or virtual field values
2017-06-09 09:00:04 +10:00
Nyall Dawson
e437812a68 Return an invalid iterator if a transform exception occurs
when projecting filter rects from destination crs
2017-06-09 08:57:00 +10:00
Nyall Dawson
7d847bf34a Rename transform methods for clarity 2017-06-09 08:41:46 +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