39427 Commits

Author SHA1 Message Date
Denis Rouzaud
7aec4d1a5f follow up 8333b71034a5018642ccfac0d9ddc7bffda508d4 QgsSnappingUtils sipify 2017-06-15 07:45:21 +02:00
Denis Rouzaud
83c440448b [sipify] allow exception to required _EXPORT macros 2017-06-15 07:39:16 +02:00
Nyall Dawson
585e9ed76e Spelling fix 'grometry'->'geometry' 2017-06-15 09:29:49 +10:00
Juergen E. Fischer
a2ad980d9b fix windows build 2017-06-14 13:15:47 +02:00
Juergen E. Fischer
8333b71034 Remove unused SnapToMapMode in QgsSnappingUtils 2017-06-14 13:15:47 +02:00
Nyall Dawson
f5f0a299c2 [processing] Port transform alg to c++ 2017-06-14 20:54:30 +10:00
Matthias Kuhn
501081f863 Remove unrequired SIP_SKIP 2017-06-14 07:37:31 +02:00
Matthias Kuhn
37a306e3f2 Fix tests 2017-06-14 07:37:31 +02:00
Matthias Kuhn
21dae496a9 Fix geometry tests for NaN 2017-06-14 07:37:31 +02:00
Matthias Kuhn
7f17498caf Use NaN for missing Z and M coordinates in QgsPoint 2017-06-14 07:37:31 +02:00
Matthias Kuhn
96cf4b7026 Projecting a 2D point with inclination assumes 0 for Z 2017-06-14 07:37:31 +02:00
Matthias Kuhn
41892d3ecf Fix point test 2017-06-14 07:37:31 +02:00
Matthias Kuhn
bd82ca316b Compare Z and M values in QgsPoint::operator== only when required 2017-06-14 07:37:31 +02:00
Matthias Kuhn
1808dc9c95 More intuitive QgsPoint python constructors
In python, the wkb type of a QgsPoint will by default be determined from
the provided parameters, where Z and M will be added as required if the
wkbType is Undefined.

    QgsPoint(x, y, z=nan, m=nan, wkbType=QgsWkbTypes.Undefined)

Thanks to the python API support of named parameters, it's also
straightforward to specify z, m and wkbType in any desired combination.

On the other hand, on C++ side it's often preferable to use

    QgsPoint(QgsWkbTypes::WkbType wkbType, double x, double y, double z, double m);

due to the lack of named parameters which make it harder to specify a
specific type and the advantage of typesafety that makes it possible to
verload the first constructor with this one.
2017-06-14 07:37:31 +02:00
Matthias Kuhn
4db671e83b Fix sip bindings for QgsPoint 2017-06-14 07:37:31 +02:00
Matthias Kuhn
7e487190e8 Add an easy to use Z/M default value constructor to QgsPoint 2017-06-14 07:37:31 +02:00
Matthias Kuhn
4eae0872ab Fix QgsPoint(XY) sip bindings 2017-06-14 07:37:31 +02:00
Denis Rouzaud
e957224c14 fix class declaration 2017-06-13 18:31:00 +02:00
Denis Rouzaud
5a8ed1d4d9 sipify QgsRange as template 2017-06-13 18:31:00 +02:00
Juergen E. Fischer
9a6235dba7 vector file writer fixes:
* don't apply un-overridden default options
* DGN: don't export attributes and fix layername to "elements"

(cherry picked from commit 7634b0b759bc0cedba28f9e9199d6a81a498ec5a)
2017-06-13 16:45:59 +02:00
Juergen E. Fischer
8d35a42b47 fix windows build 2017-06-13 15:03:33 +02:00
Denis Rouzaud
abe48bf466 move acceptable missing doc to code_layout tests path 2017-06-13 13:32:17 +02:00
Denis Rouzaud
eb397607cf fixes failing sipify test 2017-06-13 10:50:23 +02:00
Denis Rouzaud
5a5dc31f01 [sipify] fix again template inheritance 2017-06-13 10:41:58 +02:00
Nyall Dawson
a3b64e2541 Merge pull request #4721 from nyalldawson/processing_pt31
[processing] Restore batch mode
2017-06-13 18:19:30 +10:00
Denis Rouzaud
b6e75be493 remove precise ppa
doxygen has sufficient minimum version in trusty
2017-06-13 09:39:16 +02:00
Juergen E. Fischer
da0d9238dd fix 5ff6b14f (followup 00f8eff0) 2017-06-13 08:03:21 +02:00
Denis Rouzaud
9dd60e4a77 followup 82bd08c187daa66cf5dbd11e34d9c90b9e4cfd30
removed debugging stuff
2017-06-13 07:58:28 +02:00
Denis Rouzaud
82bd08c187 [sipify] fixes to template based inheritance
* fix space-formatting issue
* avoid double include of the same header
2017-06-13 07:53:21 +02:00
Nyall Dawson
54124bd0aa Restore batch algorithm mode following new processing API 2017-06-13 12:32:30 +10:00
Nyall Dawson
020537ac7e Add string output type 2017-06-13 12:32:17 +10:00
Nyall Dawson
b45e572500 Add QgsProcessingParameterFolderOuput 2017-06-13 10:58:53 +10:00
Nyall Dawson
be45c2fdbb Catch errors while running algs 2017-06-13 10:26:35 +10:00
Nyall Dawson
df73a0f4fc Remove outdated TODO 2017-06-13 10:26:35 +10:00
Nyall Dawson
b461adda15 Fix crash when searching in options dialog (fix #16644) 2017-06-13 08:41:22 +10:00
Martin Dobias
a8999639c7 API cleanup for legend support in renderers 2017-06-13 00:07:00 +02:00
Denis Rouzaud
b3bd45b052 fix snapping in move feature tool 2017-06-12 21:23:32 +02:00
Denis Rouzaud
e6f423b4c5 install QgsGeometryRubberBand header 2017-06-12 18:31:13 +02:00
Alexander Bruy
e850c82cb0 Merge pull request #4604 from boundlessgeo/postgis_merge_features_port3_fix#15741
Fix Postgis Merge selected features regression (fix #15741)
2017-06-12 19:07:39 +03:00
Luigi Pirelli
ac1a579b42 adapted to the return value as QgsGeometry() 2017-06-12 17:38:26 +02:00
Luigi Pirelli
e5e887f66a more QgsPointXY 2017-06-12 16:12:36 +02:00
Alexander Bruy
22b7498cf8 more QgsPoint -> QgsPointXY fixes 2017-06-12 16:09:25 +02:00
Luigi Pirelli
44c6560221 typo 2017-06-12 16:09:25 +02:00
Luigi Pirelli
008cc79d9f added check if no gemetry is available 2017-06-12 16:09:25 +02:00
Luigi Pirelli
fdd5a50cb5 avoid control on all geometries if one fail 2017-06-12 16:09:25 +02:00
Luigi Pirelli
87116abd72 fix Postgis Merge selected features regression: port 3.0 fixes #15741 2017-06-12 16:09:25 +02:00
Nyall Dawson
1be9997dd3 Fix some memory leaks in tests 2017-06-12 20:25:18 +10:00
Denis Rouzaud
82cfc31870 avoid python signature overloads to handle NaN default values 2017-06-12 11:35:16 +02:00
Denis Rouzaud
2eb3e64803 [sipify] properly handle python signatures 2017-06-12 11:35:16 +02:00
rldhont
faa7c750bc Merge pull request #4699 from pblottiere/getlegendgraphic
[Server] WMS GetLegendGraphics refactoring
2017-06-12 09:40:57 +02:00