39658 Commits

Author SHA1 Message Date
Nyall Dawson
dbf21d1969 Reorder arguments in parameterAsSink to avoid requiring wkb type and crs 2017-06-27 08:33:13 +10:00
Nyall Dawson
46b4f2468c Allow storing multiple status in field script code 2017-06-27 08:33:13 +10:00
Nyall Dawson
a72eea2256 Fix auto creation of variables when running script algorithms 2017-06-27 08:33:13 +10:00
Nyall Dawson
94619d0df3 Fix incorrect layer source from widget wrapper 2017-06-27 08:33:13 +10:00
Nyall Dawson
11d35821c0 Fix setting number inputs to algorithms in modeler 2017-06-27 08:33:13 +10:00
Nyall Dawson
53e9538ad3 Restore keep n biggest parts script 2017-06-27 08:33:13 +10:00
Nyall Dawson
3bf9ea3682 Restore ability to run script algorithms 2017-06-27 08:33:13 +10:00
Nyall Dawson
df329bceab Start restoring creation of outputs from string 2017-06-27 08:33:13 +10:00
Nyall Dawson
f13920bb19 First steps in resurrecting script algorithms 2017-06-27 08:33:13 +10:00
Nyall Dawson
60f80f9355 Mark QgsProcessingModelAlgorithm as non-stable API
We want to be able to extend this in future without any
stable API contract.
2017-06-27 08:33:13 +10:00
Nyall Dawson
0a32add69e Port exporting model as python code to c++ 2017-06-27 08:33:13 +10:00
Nyall Dawson
d16f117b6c Port conversion to/from script code to c++ 2017-06-27 08:33:13 +10:00
Nyall Dawson
178a415c9f Port parameter conversion to script code to c++ 2017-06-27 08:33:13 +10:00
Nyall Dawson
23ddace9e2 Remove newlines from Fedora dependencies list in install
Prevents copy-pasting dependencies line to terminal in one shot
2017-06-27 07:38:51 +10:00
Nyall
e70f741988 Add some missing build dependencies for Fedora to install 2017-06-27 07:38:51 +10:00
Nyall Dawson
65a5669b25 Merge pull request #4727 from aaime/stroke_hairline
Fixes 16707, export of hairline results in a different visual thickness
2017-06-27 06:12:12 +10:00
Even Rouault
32dd2b68cd "[GDAL provider] Set VRT_SHARED_SOURCE=NO configuration option by default (#16507)
This will avoid crashes with VRT datasets in multi-threaded use.
2017-06-26 21:32:16 +02:00
Ilya Zverev
80bc6d2674 Update SIP file for QgsRectangle 2017-06-26 16:28:54 +02:00
Ilya Zverev
7941759d23 Rectangle moving operators 2017-06-26 16:28:54 +02:00
Nyall Dawson
6006359710 Merge pull request #4733 from aaime/categorized_function_conflict
Fixes 16712, SLD export of categorized style fails if attribute name conflicts with a built-in function name
2017-06-26 23:20:13 +10:00
Denis Rouzaud
b7d524c111 sipify server 2017-06-26 14:22:26 +02:00
Martin Dobias
9068feafc9 Mark the new delegate class as private 2017-06-26 12:24:52 +02:00
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