47183 Commits

Author SHA1 Message Date
matteo
9050a89af1
[processing] fix broken SAGA algorithms 2018-04-26 12:27:13 +02:00
Matthias Kuhn
f8165888e4
Merge pull request #6862 from m-kuhn/core-headers-no-qforeach
Rewrite all core header usages of Q_FOREACH
2018-04-26 11:42:52 +02:00
Nyall Dawson
c3b69900f7 Followups 2018-04-26 19:01:50 +10:00
Nyall Dawson
c78bdaebca [oracle] Some updates to Oracle provider test suite
Now the Oracle provider passes the data provider edit stress/
conformance tests without issue!
2018-04-26 19:01:50 +10:00
Nyall Dawson
bbd335ab1b [oracle] Fix incorrect feature count after adding features to layers 2018-04-26 19:01:50 +10:00
Nyall Dawson
3a3b0fe56d [oracle] Fix handling of NULL values when add features to provider
Fixes NULL attribute values are incorrectly converted to empty
strings or 0 numeric values instead of NULL.
2018-04-26 19:01:50 +10:00
Matthias Kuhn
f5099db8d4 Fix doxygen warning 2018-04-26 10:54:17 +02:00
Matthias Kuhn
d0240e82c9 Also remove Q_FOREACH from all gui headers 2018-04-26 10:02:58 +02:00
Matthias Kuhn
2d5ec75acf Rewrite all core header usages of Q_FOREACH 2018-04-26 09:59:22 +02:00
Nyall Dawson
201f10806a Fix doxygen warnings 2018-04-26 17:28:59 +12:00
Nyall Dawson
d8c36233e8 Remove some more redundant include directories 2018-04-26 17:28:59 +12:00
Nyall Dawson
3f6e411edb Remove some redundant geos includes 2018-04-26 17:28:59 +12:00
Nyall Dawson
d5626d9236 Remove geos include from qgsgeometry.h
Avoids the need to include geos from some build targets
2018-04-26 17:28:59 +12:00
Matthias Kuhn
3e2694a068
Merge pull request #6848 from gacarrillor/line_intersection_with_geometry_collections
[processing] Make line intersection alg able to handle collections
2018-04-26 07:20:55 +02:00
Nyall Dawson
2d4b48287a [mdal] Fix bad header guard 2018-04-26 13:39:02 +10:00
nirvn
e875e5ed40 [FEATURE][ogr/gdal] Add UI to expose HTTP(S) and cloud datasets 2018-04-26 10:37:23 +07:00
Harrissou Sant-anna
4e175fd9f0 Use "Displacement lines" label 2018-04-26 13:13:49 +12:00
Harrissou Sant-anna
365b63233d Fix labels in Displacement Point renderer GUI 2018-04-26 13:13:49 +12:00
Matthias Kuhn
74704b60fb
Merge pull request #6855 from m-kuhn/no-print
No print() usage in processing core
2018-04-25 13:14:44 +02:00
Martin Dobias
d0130d25b2
Merge pull request #6853 from wonder-sk/overlay-alg-fixes-2
Port Difference & Sym.Diff. to C++, cleanups and tests
2018-04-25 11:58:57 +02:00
Matthias Kuhn
5910ba9631 No print() usage in processing core 2018-04-25 11:26:46 +02:00
Martin Dobias
57e5b9f1a7 difference: skip empty geometries, convert to multi-part geometries 2018-04-25 09:58:27 +02:00
Matthias Kuhn
b64a95801f
Merge pull request #6852 from daniviga/rpm-no-groups
Remove groups definition from RPM spec
2018-04-25 09:20:42 +02:00
Matthias Kuhn
ccc1ac12d5
Merge pull request #5416 from jdugge/mapTipsDelaySetting
[FEATURE] Make map tips delay configurable
2018-04-25 09:16:56 +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
Matthias Kuhn
ae53f26807
Merge pull request #6854 from daniviga/rpm-f28
Make RPM package compatible with Fedora 28
2018-04-25 08:28:25 +02:00
Daniele Viganò
1af0f4c7cb Make RPM package compatible with Fedora 28
which ships GRASS 7.4
2018-04-25 00:36:44 +02:00
gacarrillor
ac348686fe [processing] Adjust code for line intersection with collection intersections 2018-04-24 16:05:46 -05:00
Juergen E. Fischer
aae7a325bd [postgres][db2] still save username when instructed too also with authcfg
(cherry picked from commit 4ad35311037f226880ac3dd30eec0f92d119ca1c)
2018-04-24 21:56:24 +02:00
Juergen E. Fischer
41b6ae6d58 fix astyle version check
(cherry picked from commit dee284fe974560a3c9723e35123a02c7c9d30b8a)
2018-04-24 21:56:15 +02:00
Martin Dobias
d2513e0538 Port Difference & Sym.Diff. to C++, cleanups and tests 2018-04-24 20:42:13 +02:00
Daniele Viganò
011ddd31f2 Remove groups definition from RPM spec
since it has been deprecated (ref: https://fedoraproject.org/wiki/RPMGroups)
2018-04-24 19:26:06 +02:00
rldhont
120d5b1d11 [Tests][Server] Add unit test for empty contextual legend
Manually port c217cbb4dd140695af74debbe052dbefc1d21e74
2018-04-24 13:17:31 +02:00
Matthias Kuhn
11741ad460
Merge pull request #6626 from alexispolti/fix_georeferencer_crash_18227
[bugfix] Fix georeferencer crash when deleting a point through context menu #18227
2018-04-24 08:17:55 +02:00
gacarrillor
49ee8bba13 [processing] Make line intersection alg able to handle intersections of type 'geometry collection' 2018-04-23 23:27:23 -05:00
Nathan Woodrow
409ec85329
[FEATURE][needs-docs] Rework expression parser for unknown functions (#6840)
* [FEATURE][needs-docs] Rework expression parser for unknown functions

* Remove old comment

* Rename NAME and update tests

* Change COLUMN_REF to QUOTED_COLUMN_REF
2018-04-24 14:26:41 +10:00
Nyall Dawson
70b67c6150 Add some more line segment methods 2018-04-24 10:07:51 +12:00
Nyall Dawson
cd3b976d7e Add class for comparing angles to points in a clockwise fashion 2018-04-24 10:07:51 +12:00
Nyall Dawson
fa9f62fc1c Add class for comparing distance from two line segments to an origin 2018-04-24 10:07:51 +12:00
Nyall Dawson
6e6ddbba3f Add QgsRay2D class representing an infinite ray from a point in a direction 2018-04-24 10:07:51 +12:00
Nyall Dawson
8f1d1a31c9 Add reverse method to QgsLineSegment2D 2018-04-24 10:07:51 +12:00
Nyall Dawson
646b4af057 Add left of line test to QgsLineSegment2D 2018-04-24 10:07:51 +12:00
Nyall Dawson
486c3a2d6f Apply clazy optimisation to orthogonalize algorithm 2018-04-24 10:07:51 +12:00
Nyall Dawson
59c9b97651 Declare typeinfo for QgsVector to optimise use in Qt containers 2018-04-24 10:07:51 +12:00
Nyall Dawson
c6a50fe772 Add QgsLineSegment2D class, for simple 2d line segments which
consist of just a 2D start and end point
2018-04-24 10:07:51 +12:00
Nyall Dawson
01f036cf52 Add some useful QgsVector methods 2018-04-24 10:07:51 +12:00
Nyall Dawson
d5647bcbdb [FEATURE] Add wedge_buffer expression function
Returns a wedge shaped buffer originating from a point geometry,
with arguments for azimuth, buffer width (in degrees), outer radius
and inner radius.
2018-04-24 10:07:51 +12:00
Nyall Dawson
2850b308ba Add unit test for wedge buffers alg 2018-04-24 10:07:51 +12:00
Nyall Dawson
b884eb4a71 [FEATURE][processing] Native wedge buffer algorithm
This algorithm creates wedge shaped buffers from input
points.

The azimuth parameter gives the angle (in degrees) for the
middle of the wedge to point. The buffer width (in degrees)
is specified by the width parameter. Note that the
wedge will extend to half of the angular width either side
of the azimuth direction.

The outer radius of the buffer is specified via outer radius,
and optionally an inner radius can also be specified.

Supports dynamic parameters for azimuth, width, and radius.

The native output from this algorithm is CurvePolygon
geometries, but these may be automatically segmentized to
Polygons depending on the output format.
2018-04-24 10:07:51 +12:00
Nyall Dawson
e047738981 Add QgsGeometry method to create wedge shaped buffers
Creates a wedge shaped buffer using circular strings, with
parameters for azimuth, wedge width (in degrees), outer radius
and inner radius.
2018-04-24 10:07:51 +12:00