11061 Commits

Author SHA1 Message Date
Alessandro Pasotti
0557b394d8 Add documentation for the hostName argument 2017-10-26 18:24:35 +02:00
Alessandro Pasotti
368b0df24e [auth] Add certificate chain validation routine 2017-10-26 18:24:35 +02:00
Alessandro Pasotti
92b3b5bcbc Merge pull request #5446 from boundlessgeo/BD-2279-authmanager-singleton
[auth] Authmanager singleton API removal
2017-10-26 17:31:04 +02:00
Matthias Kuhn
d31f0940e1
Update sip 2017-10-26 12:25:50 +02:00
Nyall Dawson
034baf1b53 Merge pull request #5436 from alexbruy/processing-gdal-memory
[processing] correctly handle layers without attributes in GDAL-based geoprocessing algorithms (fix #17287)
2017-10-26 20:19:12 +11:00
Matthias Kuhn
ba75123f4f Merge pull request #5443 from m-kuhn/iteratorTimeout
[feature] Allow to specify timeout when requesting features
2017-10-26 10:55:23 +02:00
Matthias Kuhn
dc5eefb588 Merge pull request #5448 from signedav/relationshipstrength
Duplication Feature and its relating Features
2017-10-26 10:43:45 +02:00
David
3dbffb07a4 improved api doc 2017-10-26 10:28:42 +02:00
Alessandro Pasotti
bb73f0d8db [auth] Removed instance and ctor from bindings 2017-10-26 10:10:27 +02:00
Alessandro Pasotti
48984dd089 [auth] Authmanager singleton removal from API 2017-10-26 10:10:27 +02:00
Blottiere Paul
861e05b406 Merge pull request #5376 from pblottiere/dirty
[FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions
2017-10-26 07:07:14 +01:00
David
69f069a353 spelling stuff 2017-10-26 07:10:30 +02:00
Nyall Dawson
d8775fca55 Merge pull request #5398 from DelazJ/DelazJ-patch-1
[DB Manager] Set correct dialog alignment
2017-10-26 12:59:31 +11:00
Nyall Dawson
55203a0fc2 Merge pull request #5359 from nyalldawson/primitive
Rename (and make safe) QgsGeometry::geometry()
2017-10-26 11:04:34 +11:00
Nyall Dawson
93f8abecaa Merge pull request #5423 from nyalldawson/gdal_ptr
Implement scoped pointers for gdal handled objects
2017-10-26 11:02:22 +11:00
Nyall Dawson
a2f380b2bd Add missing override 2017-10-26 09:13:08 +10:00
Nyall Dawson
837c1c56eb Fix tests 2017-10-26 08:44:38 +10:00
Nyall Dawson
7455c2f912 More gdal scoped pointer types 2017-10-26 08:12:11 +10:00
Nyall Dawson
a9f8e60064 Merge pull request #5428 from lbartoletti/triangleGML
ADD GML export to QgsTriangle
2017-10-26 08:38:10 +11:00
Nyall Dawson
c50ee6d42f Update python code to new API 2017-10-26 07:06:34 +10:00
Nyall Dawson
70361063d8 Rename QgsGeometry::geometry as QgsGeometry::get()
Because feature.geometry().geometry() is confusing, and impossible
to search for in python code (e.g. is input.geometry() a QgsGeometry
or a QgsAbstractGeometry?)

But more importantantly: also add a const version
QgsGeometry::constGet(). The non-const
version is slow, since it now forces a detach to avoid corrupting
geometries (since QgsGeometry is shared, it's not safe to directly
access its primitive QgsAbstractGeometry and start messing with
it without first detaching). This is a big risk in the 2.x API
which could potentially corrupt feature geometries with unexpected
outcomes.

Update all uses to constGet where possible.
2017-10-26 07:06:34 +10:00
David
82d94aad9d Add some api documentations for new functions 2017-10-25 19:32:33 +02:00
David
f7073d0587 [FEATURE] Duplicate features including children (one level deep) when relation strength is competition - configuration for the relationsstrength in the relation GUI [needs-docs] 2017-10-25 17:04:48 +02:00
Blottiere Paul
8a4382a473 Private attributes 2017-10-25 15:29:13 +01:00
Blottiere Paul
4923a3f3e8 Rename signal in dirtied 2017-10-25 15:29:13 +01:00
Blottiere Paul
2bfb366e45 Remove duplicated protected 2017-10-25 15:29:13 +01:00
Blottiere Paul
32ff78b377 [FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions 2017-10-25 15:29:13 +01:00
lbartoletti
7922608ef3 Change the approach: returns an empty element 2017-10-25 15:01:28 +02:00
Matthias Kuhn
ad7b2d03b0 Add missing doc 2017-10-25 02:07:14 +02:00
Matthias Kuhn
49de489c09 [feature] Allow to specify timeout when requesting features
This is potentially interesting for race conditions, but whenever it is specified,
iterators will need to be carefully checked for validity and error handling needs
to be taken care of.
2017-10-25 00:53:52 +02:00
Matthias Kuhn
1fc2c3a5ce sipify does not like copydoc 2017-10-25 00:47:07 +02:00
Matthias Kuhn
e9d6e38796 Add a spinner icon to QgsFilterLineEdit 2017-10-25 00:45:54 +02:00
Etienne Trimaille
386eef2e6c new string concatenation algorithm in processing 2017-10-25 08:17:59 +11:00
Alexander Bruy
4a51c40821 [processing] correctly handle layers without attributes in GDAL-based
geoprocessing algorithms (fix #17287)
2017-10-24 15:33:49 +03:00
Alexander Bruy
04a8418a32 add tests for distance matrix algorithm 2017-10-24 15:27:23 +03:00
Alexander Bruy
c64f03d0a4 [processing] keep column names in standard distance matrix (fix #17150) 2017-10-24 15:27:22 +03:00
Sandro Mani
bb21395e3d Make QgsVScrollArea inherit QgsScrollArea 2017-10-24 09:35:28 +02:00
Sandro Mani
ea0e09b322 Merge pull request #5410 from manisandro/geomchecker
[FEATURE][Geometry checker] Support checking multiple layers at once, add new checks
2017-10-23 23:32:45 +02:00
Nyall Dawson
46a6f25d6f Merge pull request #5418 from nyalldawson/from_polyline
Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
2017-10-24 08:21:30 +11:00
lbartoletti
977ce426db [FEATURE][processing]Transect processing
Adds a C++ version of the "ststion lines" plugin as a
new processing algorithm for creating transect lines.
2017-10-24 05:42:03 +11:00
Gary Sherman
65c6974d1d Remove invalid decode statements from plugin installer 2017-10-23 09:04:37 -08:00
Sandro Mani
1f300cfa2e Add QgsVScrollArea sip bindings 2017-10-23 17:25:08 +02:00
Sandro Mani
fde740a3ba Re-add QgsGeometryEngine::combine taking a list of QgsAbstractGeometries 2017-10-23 17:25:08 +02:00
lbartoletti
0d89504ee5 ADD GML export to QgsTriangle 2017-10-23 14:29:08 +02:00
Nyall Dawson
a48c2e8fd4 Merge pull request #4947 from lbartoletti/regularShape_gui
[FEATURE][needs-docs] Add gui to draw Circle, Ellipse, Rectangle and Regular Polygon
2017-10-23 16:04:23 +11:00
Nyall Dawson
5d675720bb Optimise calculation of QgsGeometry::vertexNrFromVertexId
By moving logic to abstract geometry subclasses so that they
can trivially retrieve the vertex number, instead of relying
on the inefficient coordinateSequence method.

Has flow on speed boosts to many geometry operations like
calculation of closest points in a geometry, which will
benefit snapping related operations.
2017-10-23 08:03:22 +11:00
Nyall Dawson
2e8e72d02d Optimise determination of adjacent vertices and move to QgsAbstractGeometry
Previously the method in QgsGeometryUtils was relying on
QgsAbstractGeometry::coordinateSequence, which is an absolute
performance killer.

Instead move to optimised methods in the various abstract
geometry subclasses which rely only on trivial calculations.
2017-10-23 08:03:22 +11:00
Nyall Dawson
c4f3832af2 Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
and add new QgsGeometry::fromPolyline which uses QgsPoint

We want to encourage people not to use the QgsPointXY method, as it drops
Z/M values. So it's moved across to a different name to make way
for a new QgsGeometry::fromPolyline which uses a QgsPoint list
instead of QgsPointXY, thus keeping Z/M values intact.

Similarly, QgsPolyline now is a list of QgsPoint (keeping z/m values)
and the old 2d QgsPolyline type was renamed to QgsPolylineXY.

Making the QgsPoint method the "preferred" method and making linestrings
just as easy to create from z/m dimensioned points as 2d points is
important to push people to write code which does not discard
these important dimensions.

As a bonus, the QgsPoint methods are more efficient anyway, since
they don't require creation of a temporary list.
2017-10-22 18:10:14 +10:00
Juergen E. Fischer
f243b8448e postgres: add support for partitioned tables (implements #17302) 2017-10-21 17:39:18 +02:00
Matthias Kuhn
6428fed8a3 Merge pull request #5385 from jachym/geopackage
Put GeoPackage at first place in the menu
2017-10-21 16:33:20 +02:00