Nyall Dawson
bb63a83e04
Add missing output from package algorithm
2017-11-27 06:38:21 +11:00
Nyall Dawson
4b9986eb8c
[processing] Add a generic map layer output type
...
For occasions when an algorithm creates a map layer, but the type
is not known in advance (i.e. could be raster OR vector)
2017-11-27 06:38:21 +11:00
Nyall Dawson
a95aecafd6
Fix tests
2017-11-26 16:28:59 +10:00
Nyall Dawson
144e9a2e45
Fix handling of ogr sublayers with ':' in their name
...
Unlikely to happen, but it does occur with some layers coming
from processing models. In any case we want QGIS to be super-tolerant
of corner cases like this!
2017-11-26 12:23:32 +10:00
Nyall Dawson
7451422069
Fix package layers algorithm can't take the outputs from models
...
Fixes #17544
2017-11-26 12:01:41 +10:00
Alessandro Pasotti
72553a60a9
Merge pull request #5710 from elpaso/api-code-cleaning-int-2-enums
...
QgsVectorLayer code cleaning use enums instead of int
2017-11-24 16:16:26 +01:00
Matthias Kuhn
916c9c4cdb
Open heart surgery on expression context for processing sources
2017-11-24 16:09:05 +01:00
Matthias Kuhn
abe1a9b661
Expression context creation for processing improvements
...
Hiding away the implementation directly in QgsProcessingFeatureSource
See discussion ec97102bc6 (r152903378)
2017-11-24 16:09:05 +01:00
Etienne Trimaille
cf685f0f5f
add missing import operator ( #5724 )
2017-11-24 22:03:19 +07:00
Nyall Dawson
14531964a8
Merge pull request #5719 from nyalldawson/translate_z
...
geometries: translate Z/M
2017-11-24 22:12:11 +11:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
...
(fixes #17421 )
2017-11-24 18:04:50 +07:00
Mathieu Pellerin
c2b3ac5624
[processing] order 3rd party provider groups ( #5723 )
2017-11-24 17:58:43 +07:00
Alessandro Pasotti
7a63a07f7f
Add return cases to the docs and fully qualified enums
2017-11-24 11:53:49 +01:00
nirvn
a477ea3ae4
[processing] move grass & saga version number to tooltips
2017-11-24 17:16:25 +07:00
Nyall Dawson
b786ed03b2
Add a unit test
2017-11-24 16:26:41 +10:00
Nyall Dawson
cc29f0ee36
Fix some doxygen warnings
2017-11-24 16:25:49 +10:00
Nyall Dawson
ff900c0b05
[processing] Make translate algorithm native
...
And add option to translate z/m values
2017-11-24 16:18:13 +10:00
Nyall Dawson
3268b778ed
Sipify
2017-11-24 16:16:40 +10:00
Nyall Dawson
dd223d9b08
Allow transform methods in QgsAbstractGeometry/QgsGeometry to also
...
transform z/m values via scale/translate arguments
2017-11-24 15:34:35 +10:00
Mathieu Pellerin
1fcadb72ff
[processing] fix for import into spatialite and execute sql algorithms
2017-11-24 12:22:19 +07:00
Nyall Dawson
03ec2d8a98
Merge pull request #5702 from nyalldawson/dxf_improve
...
[dxf] Add option to export labels as text elements, instead of mtext
2017-11-24 15:58:46 +11:00
Nyall Dawson
32834e9bf1
Update indentation
2017-11-24 14:57:39 +10:00
Nyall Dawson
6ec96d6d8e
[layouts][FEATURE] Port arrow functionality to polyline item
...
Instead of a separate (badly behaved) item type for arrows, instead
add the arrowhead options to the much nicer polyline item.
There's still a dedicated toolbar action for creating arrows, but
all this does is create a polyline with the arrowhead enabled
by default.
2017-11-24 14:36:02 +10:00
Nyall Dawson
f76ed223eb
Port ui for attribute table
2017-11-24 11:05:56 +10:00
Nyall Dawson
2b5aca5518
Merge pull request #5689 from nyalldawson/gpkg_alg
...
[processing] Fixes to non flat-file exports
2017-11-24 11:54:44 +11:00
Nyall Dawson
f29eb7b19e
Port and fix unit tests
2017-11-24 10:24:36 +10:00
Nyall Dawson
f90c5003ca
Port table subclasses
2017-11-24 10:24:36 +10:00
Nyall Dawson
3a0f94389c
Port text table
2017-11-24 10:24:36 +10:00
Nyall Dawson
9cf6e0a2a2
Start porting table items
2017-11-24 10:24:36 +10:00
Nyall Dawson
a615a48b40
Make scalebars auto selected between m/km and ft/miles when newly added
...
Based on current linked map scale and linked map CRS
2017-11-24 10:24:36 +10:00
Nyall Dawson
b7ef3d3cb9
Simplify some code, cleanup UI
2017-11-24 10:24:36 +10:00
Nyall Dawson
5b1c6901a5
Port more scalebar functionality
2017-11-24 10:24:36 +10:00
Nyall Dawson
8f5e0cb126
Begin porting scalebar item
2017-11-24 10:24:36 +10:00
Nyall Dawson
604e51d390
Restore some tests
2017-11-24 10:24:36 +10:00
Nyall Dawson
2a75ad8e96
More work on layout multiframe undo/redo
2017-11-24 10:24:36 +10:00
Nyall Dawson
f04d438572
Some undo/redo fixes for multiframe items
2017-11-24 10:24:36 +10:00
Nyall Dawson
93403647c4
Update sip
2017-11-24 10:24:36 +10:00
Nyall Dawson
dddce25e13
More work on porting multiframe items
2017-11-24 10:24:35 +10:00
Nyall Dawson
aec03269b9
Sip is p****** me off, by refusing to build for unrelated reasons
...
Block a bunch of classes from Python bindings for now until sip
gets over itself
2017-11-24 10:24:35 +10:00
Nyall Dawson
f1d1e454d8
Begin port of HTML item
2017-11-24 10:24:35 +10:00
Nyall Dawson
0e71505fe8
Fix a number of multiframe methods
2017-11-24 10:24:35 +10:00
Nyall Dawson
ee45ec9772
Add page number selection to new item dialog
2017-11-24 10:24:35 +10:00
Nyall Dawson
c4c0c83ca5
Restore api for handling layout item page numbers
2017-11-24 10:24:35 +10:00
Nyall Dawson
714920ff25
Start of multiframe porting
2017-11-24 10:24:35 +10:00
Nyall Dawson
aca22663d0
[processing] Change save as spatialite option to save as GeoPackage
...
Since it's much more useful. Also add a prompt for layer name, so that
you can save the results of an algorithm into an existing geopackage
without wiping existing layers.
2017-11-24 09:31:50 +10:00
Nyall Dawson
8775aff71b
Fix error in Geometry by Expression
...
We can't depend on preparing the expression, as we may not have
enough context to do this during the algorithm preparation step
2017-11-24 09:31:50 +10:00
JD LOMENEDE
13cb8e4e0b
remove fromOldWkbType (api_break)
2017-11-24 00:21:33 +01:00
Matthias Kuhn
cd0ba918ba
Use layer context in RefactorFields algorithm
...
Fix #17533
2017-11-23 15:24:40 +01:00
Matthias Kuhn
851adb0a3d
Allow adding sources to processing expression context
2017-11-23 15:24:40 +01:00
Alexander Bruy
3a576d80b2
[processing] restore Help button functionality in modeler ( fix #17483 )
2017-11-23 16:16:08 +02:00