39686 Commits

Author SHA1 Message Date
Matthias Kuhn
1dca3327c1 Merge pull request #4771 from m-kuhn/closest_point
Closest point
2017-06-26 11:44:12 +02:00
Martin Dobias
81653d6978 Data-defined size legend: configurable labels + few fixes
This may break projects that started to use data-defined size legend with manually defined rules.
2017-06-26 11:38:57 +02:00
mhugent
a2d00d52f9 Merge pull request #4772 from mhugent/feature_info_filter_geometry
WMS Server: Feature info with geometry filter
2017-06-26 09:26:33 +02:00
Matthias Kuhn
fd8158bca0 Minimal performance improvement 2017-06-26 08:28:16 +02:00
Matthias Kuhn
a3f14df367 Update docstrings 2017-06-26 08:21:11 +02:00
Matthias Kuhn
e7f50524b8 Make QgsLineString Z and M values NaN if unspecified 2017-06-26 08:21:11 +02:00
Matthias Kuhn
8e7e573214 Prevent division by 0 and unrequired interpolation 2017-06-26 08:21:11 +02:00
Matthias Kuhn
317fead516 Add tests for QgsGeometryUtils::closestPoint() 2017-06-26 08:21:11 +02:00
Matthias Kuhn
13775c2170 More generic closest point on line interpolation 2017-06-26 08:21:11 +02:00
Matthias Kuhn
75e5726fe4 Improve API docstrings 2017-06-26 08:21:11 +02:00
nirvn
1730bc95d1 [processing] include invalid geometries in check validity alg 2017-06-26 10:53:12 +07:00
Mathieu Pellerin
fa8b216eb6 [processing] restore import into spatialite & spatialite execute sql 2017-06-26 10:22:51 +07:00
Nyall Dawson
bfb41a1afb Merge pull request #4775 from nyalldawson/named
Allow keyword arguments for all arguments in PyQGIS bindings
2017-06-26 13:07:18 +10:00
Nyall Dawson
b88ad8e1ce Port Fix Geometry algorithm to new API 2017-06-26 12:44:26 +10:00
Nyall Dawson
ec7477cac7 Add method to retrieve all features from a QgsProcessingFeatureSource
...even when invalid geometries are present and option is set to
skip invalid or break on invalid.

Some algorithms (e.g. those which repair geometries) need a way
to retrieve all features with invalid geometries, regardless of
the user's settings.
2017-06-26 12:44:26 +10:00
Nyall Dawson
3fb1b4809d Export QgsProcessingFeatureSource to Python 2017-06-26 12:44:26 +10:00
Nyall Dawson
255fe0b076 Followup 005d0fa, fix build 2017-06-26 12:26:07 +10:00
Nyall Dawson
cc3de626c9 Followup 7ae1ee9, update name 2017-06-26 12:19:43 +10:00
Nyall Dawson
89bc84395e Update sip 2017-06-26 12:18:34 +10:00
Nyall Dawson
005d0fa3da Followup 1c1e771, fix crash 2017-06-26 12:17:30 +10:00
Nyall Dawson
ecf43d3366 Astyle all 2017-06-26 12:15:01 +10:00
Nyall Dawson
7ae1ee975d Add sourceName() method to QgsFeatureSource
Sometimes it's necessary to retrieve the name of a source...
2017-06-26 12:15:01 +10:00
Nathan Woodrow
d88d52bc6d Add script to run local tests using travis blacklist 2017-06-26 11:41:56 +10:00
Nathan Woodrow
9497f24c0a Update python requirements 2017-06-26 10:42:42 +10:00
Juergen E. Fischer
1c1e771c85 avoid forward declaration of QgsDataDefinedSizeLegend (fixes windows build) 2017-06-26 00:07:17 +02:00
Nathan Woodrow
d79b18faa9 Update gitignore 2017-06-25 20:29:10 +10:00
Nyall Dawson
2b7b0db747 Allow keyword arguments for all arguments in PyQGIS bindings
Previously this was only enabled for optional arguments (i.e.
those with default values). Enabling them for all arguments
allows for more readable PyQGIS code, and there seems no
downside given that we already have this support partly enabled.

The consequence of this change is that when 3.0 API is frozen
the freeze must also include the naming of function arguments,
since that's effectively now part of public API.
2017-06-25 20:07:14 +10:00
Nyall Dawson
69af2f51d0 Merge pull request #4773 from DelazJ/typo
Typo fix
2017-06-25 07:09:12 +10:00
Etienne Trimaille
e8ddc48d81 review of the raster metadata viewer (#4726) 2017-06-24 22:04:53 +02:00
Harrissou Sant-anna
7a154061bc Typo fix 2017-06-24 19:25:23 +02:00
Marco Hugentobler
e7ea972c64 Indentation 2017-06-24 14:33:55 +02:00
Marco Hugentobler
ef8e58bcc2 Unit test for feature info geometry filter 2017-06-24 12:30:04 +02:00
Marco Hugentobler
77b9b1a706 Use unique_ptr 2017-06-24 10:59:07 +02:00
Nyall Dawson
471776614c Remove misleading icon from vector split algorithm
The algorithm doesn't split geometries - it seperates features
into different layers without altering the geometry
2017-06-24 14:00:49 +10:00
Nyall Dawson
fbcb97c25a Rename 'delete column' alg to 'Drop field(s)' (for consistency) 2017-06-24 14:00:42 +10:00
Nyall Dawson
e2331c913c Fix error when deleting models 2017-06-24 13:49:19 +10:00
Nyall Dawson
bb73596406 Load other providers before model provider 2017-06-24 13:49:10 +10:00
Nyall Dawson
5822ef9f46 Refresh model algorithms when providers are added
Since algorithms which models are dependent upon may now be
available, we need to rebuild them to ensure that they
will operate correctly.
2017-06-24 13:47:34 +10:00
Nyall Dawson
ab9470dada More .model -> .model3 updates 2017-06-24 13:34:14 +10:00
Nyall Dawson
5e7fbf44be Make QgsAlgorithm::setProvider() public
Turns out there's valid use cases for calling this from outside
code.
2017-06-24 13:33:44 +10:00
Nyall Dawson
b1cadb1822 Use generic algorithm icon for qgis algorithms which do not
have specific icons, instead of generic qgis icon

We consider these 'top level' algorithms, and using the
standard algorithm icon should help reflect this and
differentiate them from 3rd party algorithms.
2017-06-24 12:01:20 +10:00
Nyall Dawson
8f586ef020 Move groups from QGIS (and QGIS native) provider to top level items
in processing toolbox

Helps aid in user discoverability of these algorithms, and
indicates to users that these should generally be the
preferred algorithm choices if duplicates exist from other
providers.
2017-06-24 12:01:16 +10:00
Nyall Dawson
6efa7652ba Merge pull request #4770 from nyalldawson/proc
More processing model porting, better invalid geometry feedback
2017-06-24 10:21:12 +10:00
Nyall Dawson
d667bf595f Move iterator exception handling to c++ 2017-06-24 08:15:06 +10:00
Nyall Dawson
a8b364e2e2 Port another member to c++ 2017-06-24 07:36:46 +10:00
Nyall Dawson
3249015fe1 Fix copy/paste error 2017-06-24 07:36:36 +10:00
Nyall Dawson
ebe0ebdb9c Fix (unwanted) python exception in algorithm test 2017-06-24 07:36:30 +10:00
Nyall Dawson
8e88276ab5 Remove another member from ModelerAlgorithm 2017-06-24 07:36:25 +10:00
Nyall Dawson
10aeba2e72 Move more modelling code to c++ 2017-06-24 07:36:13 +10:00
Nyall Dawson
e7f13f5bd8 Port model help code to c++ 2017-06-24 07:36:07 +10:00