Nyall Dawson
c0e732b799
[processing] Add QGIS 3d provider
...
Adds a new QGIS processing provider for 3d algorithms, available
only when QGIS is built WITH_3D
Currently includes only a single algorithm for tesselating geometries,
which exposes the functionality of QgsTesselator to processing.
Like the native c++ algorithm provider, algorithms in the 3d
provider are transparently merged with the other QGIS providers
(i.e. they aren't separated into their own group)
2017-11-27 06:54:29 +11:00
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
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
ff900c0b05
[processing] Make translate algorithm native
...
And add option to translate z/m values
2017-11-24 16:18:13 +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
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
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
Alexander Bruy
03e4756d26
[processing] don't throw error if GRASS not found on Mac ( fix #17443 )
2017-11-23 16:16:08 +02:00
Alexander Bruy
6063c83edf
[processing] detect GRASS 7.4 on Mac
2017-11-23 16:16:08 +02:00
Alessandro Pasotti
def85fa202
QgsVectorLayer code cleaning use enums instead of int
...
It was one of the TODOs for QGIS 3
2017-11-23 12:09:30 +01:00
Nyall Dawson
1535ff84ff
[dxf][feature] Add option to export labels as text elements, instead of mtext
...
Sponsored by SMEC
2017-11-23 12:59:43 +10:00
Nyall Dawson
d2369425c6
Merge pull request #5650 from nyalldawson/proc_gpkg
...
[FEATURE][processing] Package layers algorithm
2017-11-23 13:59:00 +11:00
Nyall Dawson
0a18b1fdd0
Update sip
2017-11-23 11:46:52 +10:00
Nyall Dawson
e6d86bba53
[processing] Generalise modeler multi-step feedback proxy for use
...
outside of modeler
This can be useful too for individual algorithms
2017-11-23 10:01:13 +10:00
Borys Jurgiel
eeaf2d9098
Update icon path
2017-11-22 22:56:03 +01:00
Borys Jurgiel
6728e6a766
Install missing icon
2017-11-22 22:14:34 +01:00
Matthias Kuhn
7d92641700
Add QString operator to QgsExpression
2017-11-22 11:13:19 +01:00
Nyall Dawson
b058df7d1d
Merge pull request #5686 from nyalldawson/encoding
...
[processing] Don't use crappy Qt file picker dialog
2017-11-22 07:27:50 +11:00
Nyall Dawson
b97c6a8d88
Use native file picker for spatialite export option also
2017-11-22 05:26:34 +10:00
Salvatore Larosa
ea7c2af74b
[dbmanager] fixes #17476 : QGIS master: update SQL layer error if name contains uppercase chars
2017-11-21 14:42:30 +01:00
Nyall Dawson
31086d3ac5
[processing] Move destination encoding option to separate menu action
...
...instead of embedding in output destination file selector. Otherwise
Qt downgrades the file picker to the Qt basic file picker, instead of
the native OS file picker. Which is a huge downgrade and barely
functional for users.
Also remember last selected file format
2017-11-21 21:24:18 +10:00
Etienne Trimaille
373471214f
rename metadata() to htmlMetadata() in QgsRasterDataProvider
2017-11-21 11:38:50 +01:00
Nyall Dawson
f660d78017
Add a new dialog for selecting file encoding, QgsEncodingSelectionDialog
...
Can be used to prompt users for a file encoding choice
2017-11-21 20:38:07 +10:00
Matthias Kuhn
81b475d21c
Adjust version number
2017-11-21 08:32:53 +01:00
Matthias Kuhn
37b0d4c5b5
Add missing api documentation
2017-11-21 08:29:02 +01:00
Matthias Kuhn
f0a84667b8
Hide search widget tool button for aggregate search
2017-11-20 21:20:50 +01:00
Matthias Kuhn
7b45e9df33
Add missing param to docstring
2017-11-20 20:31:39 +01:00
Matthias Kuhn
456cebae96
Remove unnneeded method
2017-11-20 20:31:39 +01:00
Matthias Kuhn
ddca8b6550
SipConvertToSubClass code for QgsSearchWidgetToolButton
2017-11-20 20:31:39 +01:00
Matthias Kuhn
bdc47a48d9
Add missing doxymentation
2017-11-20 20:31:39 +01:00
Matthias Kuhn
f084fc0ac0
API documentation all over
2017-11-20 20:31:38 +01:00
Matthias Kuhn
fdd00870ee
[FEATURE] Search widget for relations using aggregates
...
For each child relations, the subform is visible.
Each attribute of the children has a tool button option to define to which
aggregate the specified value should be compared. This allows for searching
things like
* Each city where the highest building is more than 300 m
* Each sensor where the median value is lower than 50 ppm
* Each feature with a child with a missing value
* ...
2017-11-20 20:31:38 +01:00