Alexander Bruy
a9441218c1
[processing] fix parameters IDs (follow up #6535 )
2018-03-08 11:10:20 +02:00
Nyall Dawson
5710709c72
Add extra hash to processing hillshade test
...
At this stage the raster processing tests just test that the
algorithm executes, and generates an output file - there's
no way to validate that the provided hashes are valid
outputs or not
2018-03-08 09:40:07 +10:00
Salvatore Larosa
29f6884a23
Fixes #18375 - fix API break
2018-03-07 23:23:47 +01:00
Nyall Dawson
678f65853a
Allow QgsVectorDataProviders to create QgsFeatureRenderers
...
Implements https://github.com/qgis/QGIS-Enhancement-Proposals/issues/111
Adds support to QgsVectorDataProvider to create vector layer renderers
using provider-specific backend information.
2018-03-07 16:28:47 +11:00
Nyall Dawson
227f706287
[processing] Add operators for parameter type flags, push warning
...
to message log for duplicate parameter registration
2018-03-07 09:45:09 +10:00
Matthias Kuhn
5d526794ab
Remove leftover file
2018-03-07 09:00:33 +11:00
Matthias Kuhn
c3a843619f
Use flags for parameter type extra info
2018-03-07 09:00:33 +11:00
Matthias Kuhn
e3dabac78a
Only add parameter when it is new
2018-03-07 09:00:33 +11:00
Matthias Kuhn
f22acb93b7
License headers
2018-03-07 09:00:33 +11:00
Matthias Kuhn
0d00491436
s/Modeller/Modeler/
2018-03-07 09:00:33 +11:00
Matthias Kuhn
569b39b257
Code and doc improvements
2018-03-07 09:00:33 +11:00
Matthias Kuhn
b5672d7a23
API documentation
2018-03-07 09:00:33 +11:00
Matthias Kuhn
eeb6f44df7
Some addition error case info
2018-03-07 09:00:33 +11:00
Matthias Kuhn
e67939b183
Fix editing models with custom params
2018-03-07 09:00:33 +11:00
Matthias Kuhn
6bad21f78a
Avoid freeze by infinite recursion
2018-03-07 09:00:33 +11:00
Matthias Kuhn
9f76c4171c
Fix parameter name rendering problem
2018-03-07 09:00:33 +11:00
Matthias Kuhn
a1fc70f88d
Improved error reporting for unknown parameters
2018-03-07 09:00:33 +11:00
Matthias Kuhn
cdef548cb8
Fix Fields Mapping parameter id
2018-03-07 09:00:33 +11:00
Matthias Kuhn
9688bc2734
Remove crap API
2018-03-07 09:00:33 +11:00
Matthias Kuhn
16e2aad293
Use translated parameter names for sorting
2018-03-07 09:00:33 +11:00
Matthias Kuhn
031aa9c0e4
Better error reporting for model exception
2018-03-07 09:00:33 +11:00
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