12310 Commits

Author SHA1 Message Date
Matthias Kuhn
a337d2050b Make use of new processing parameter infrastructure 2018-03-07 09:00:33 +11:00
Matthias Kuhn
2145865a42 Metadata and modeller exposure support 2018-03-07 09:00:33 +11:00
Matthias Kuhn
ff7b831b9d Remove private implementations from python bindings 2018-03-07 09:00:33 +11:00
Matthias Kuhn
1fd74234b4 Add processing parameter type definitions 2018-03-07 09:00:33 +11:00
Matthias Kuhn
f76cb58243
Merge pull request #6536 from m-kuhn/searchWidgetRecursionTrap
Avoid freezing attribute form with recursion
2018-03-06 11:15:13 -05:00
Matthias Kuhn
e969584ad9 Avoid freezing attribute form with recursion
The search widget wrappers for relations have two issues

* They recursively load whatever relations are defined. With self-referencing this leads to 💀
  This is addressed by only loading one level of relations in search widgets.

* They would load even when hidden, leading to long load times on attribute table opening.
  We now only actually load the form on the show event
2018-03-06 09:46:44 -05:00
Etienne Trimaille
24259ae890 [dbmanager] move shortcut in the tooltip 2018-03-06 13:51:14 +01:00
Nyall Dawson
05484dceb6 [FEATURE][processing] Rotate features algorithm
Allows rotation of features by a set angle.

The rotation can occur around a preset point or the individual
feature's centroids.
2018-03-06 19:21:00 +11:00
Alexander Bruy
44895084d9
Merge pull request #6525 from nyalldawson/segmentize
[FEATURE][processing] Add "segmentize" algorithms
2018-03-06 08:27:52 +02:00
Webmaster
8a063df726 fix travis 2018-03-06 10:44:08 +07:00
nirvn
0d92f96f42 [FEATURE][processing] allow to create points on all parts in centroids alg 2018-03-06 10:44:08 +07:00
nirvn
0630b1c736 [FEATURE][processing] allow to create points on all parts in point on surface alg 2018-03-06 10:44:08 +07:00
Nyall Dawson
a30403dcbe Rename QgsProject::projectDirty to isDirtyChanged
Also show unsaved status in title bar even when project has
not been first saved
2018-03-06 11:57:51 +10:00
Nyall Dawson
5b8599e9bb Strip non-spatial and nullptrs from list when calling
QgsMapSettings::setLayers

Since neither can be rendered, we filter them from the list
of layers to be rendered in the map.
2018-03-06 07:50:26 +11:00
Blottiere Paul
7c3ab9f135
Merge pull request #6268 from pblottiere/dbmanager_stop
[FEATURE][needs-docs] dbmanager stop
2018-03-05 09:47:16 +00:00
Nyall Dawson
f2a6780973 Sipify and style 2018-03-05 19:15:06 +10:00
Alessandro Pasotti
7aa830430f
Merge pull request #6519 from elpaso/server-tempfile-fix
[bugfix][server] Fix temporary path permission issue
2018-03-05 09:12:37 +01:00
Nathan Woodrow
894c550641 Add projectDirty signal for QgsProject 2018-03-05 15:13:00 +10:00
Nyall Dawson
d79221f1a2 Docs++
[ci-skip]
2018-03-05 12:06:50 +11:00
Nyall Dawson
4232b93539 [FEATURE][processing] Add "segmentize" algorithms
Adds two new algorithms which expose QgsGeometry's methods
for segmentizing curved geometries.

"Segmentize by maximum distance":
The segmentization is performed by specifying the maximum
allowed offset distance between the original curve and the
segmentized representation.

"Segmentize by maximum angle":
The segmentization is performed by specifying the maximum
allowed radius angle between vertices on the straightened
geometry (e.g the angle of the arc created from the
original arc center to consective output vertices on the
linearized geometry).
2018-03-04 21:28:42 +10:00
Nyall Dawson
6bd7600aa3 Expose segmentization parameters to QgsGeometry::convertToStraightSegment 2018-03-04 12:10:27 +10:00
Nyall Dawson
871132eae6 [processing] Port point on surface to c++ 2018-03-04 08:52:34 +11:00
Alessandro Pasotti
c614b942f3 [bugfix][server] Fix temporary path permission issue
If I don't misread the docs, if a template is given, the file
is created in the current directory instead of the temporary
directory reported by QDir::tempPath()

Furthermore it cannot be set by env TMPDIR.

This issue drove me crazy (and no exceptions and no logs!)
until when I switched the server user to root (that is
of course not what we want).

As a temporary workaround, the server can be configured to
use /tmp or another www-data writeable directory as a working
directory.

By prefixing with tempPath() the file will be created
in the system temp directory.
2018-03-03 22:15:24 +01:00
Matthias Kuhn
b84f014d9e
Merge pull request #6503 from m-kuhn/variousFixes
Various fixes
2018-03-02 17:02:38 -05:00
Matthias Kuhn
fc5073ddb0 Documentation fix 2018-03-02 12:44:02 -05:00
Denis Rouzaud
9580a88514 fix sipify test 2018-03-02 08:33:45 -09:00
Webmaster
2073562fa5 harmonize join type value (0=one-to-many, 1=one-to-one) 2018-03-02 21:01:12 +07:00
nirvn
1542b484be [FEATURE][processing] add discard non matching option to join attribute table alg 2018-03-02 21:01:12 +07:00
nirvn
55764689ed fix one-to-one, one-to-many wording 2018-03-02 21:01:12 +07:00
Blottiere Paul
e531052b28 Rename cancel() to cancelReload() and update doc accordingly 2018-03-02 10:41:07 +00:00
Blottiere Paul
1a5e03f667 Fix sip binding 2018-03-02 09:43:26 +00:00
Blottiere Paul
941aa0a650 Add a takeLayer method 2018-03-02 09:43:26 +00:00
Blottiere Paul
1ad02adfe0 Update documentation 2018-03-02 09:43:26 +00:00
Blottiere Paul
777fdebb73 Clean task once model is completed 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad91694b76 Remove unnecessary cancel subtask 2018-03-02 09:43:26 +00:00
Blottiere Paul
eef18cbe2e Remove unused code 2018-03-02 09:43:26 +00:00
Blottiere Paul
887a226115 Use python super() calls 2018-03-02 09:43:26 +00:00
Blottiere Paul
8873e9a020 Fix sip binding 2018-03-02 09:43:26 +00:00
Blottiere Paul
c2a2f33288 Rename postpone option in lazy 2018-03-02 09:43:26 +00:00
Blottiere Paul
fea66f9913 Update ui and add shortcut to cancel pending query 2018-03-02 09:43:26 +00:00
Blottiere Paul
cf53a4cb14 Add async model for gpkg 2018-03-02 09:43:26 +00:00
Blottiere Paul
f5a3e60b4e Update documentation 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad630094c1 More cleaning 2018-03-02 09:43:26 +00:00
Blottiere Paul
a948f1b84d Some clean 2018-03-02 09:43:26 +00:00
Blottiere Paul
957e92c847 Add async model for virtual layers 2018-03-02 09:43:26 +00:00
Blottiere Paul
bf7df6d2e3 Add a cancel button for Postgis and Spatialite 2018-03-02 09:43:26 +00:00
Alexander Bruy
0081f781d3
Merge pull request #6487 from alexbruy/processing-output-file
[processing] fix QgsProcessingParameterFileDestination handling in models
2018-03-02 11:23:55 +02:00
Alexander Bruy
22fea14a17 [processing] remove explicit outputs definitions 2018-03-02 10:35:56 +02:00
Alexander Bruy
df61548c82 [processing] rename algorithm to "Multi-ring buffer (constant distance)" 2018-03-02 10:00:16 +02:00
Alexander Bruy
5daa8fdb67 [processing] add test for multiring buffer algorithm 2018-03-02 10:00:16 +02:00