Matthias Kuhn
916c9c4cdb
Open heart surgery on expression context for processing sources
2017-11-24 16:09:05 +01:00
Matthias Kuhn
aaf70de71e
Add test for QgsExpressionContextScope::takeScopes
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
Matthias Kuhn
fd127ee6a4
Fix file mode
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
nirvn
a477ea3ae4
[processing] move grass & saga version number to tooltips
2017-11-24 17:16:25 +07:00
rldhont
49b23127ca
[BUGFIX][Spatialite] Setting default value in loadFields with the right index
...
Because Geomtry field is not added to fields list, the index do not respect the index in the table. It's necessary to have a realFieldIndex.
2017-11-24 10:58:07 +01:00
Alessandro Pasotti
cdca0dd17e
Merge pull request #5720 from elpaso/bugfix-17442-null-categories
...
[bugfix] Categorized style issue using numeric fields with NULL values
2017-11-24 09:25:10 +01:00
Alessandro Pasotti
29abd9d3f9
[bugfix] Categorized style issue using numeric fields with NULL values
...
Fixes #17442
2017-11-24 08:54:13 +01:00
Nyall Dawson
8b15c73d2b
Merge pull request #5680 from DelazJ/hidefields
...
[Save As] Set fields export options visible only when compatible
2017-11-24 17:51:24 +11:00
Nyall Dawson
b786ed03b2
Add a unit test
2017-11-24 16:26:41 +10:00
Nyall Dawson
6b4b9fe9e3
Fix closest vertex z/m doesn't show in identify tool for multiline
...
geometries, remove duplicate closest M value attribute
2017-11-24 16:18:33 +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
6278245949
Merge pull request #5713 from lejedi76/fix_remove_fromOldWkbType
...
[db_manager] remove fromOldWkbType (api_break) from vlayer
2017-11-24 11:03:20 +11:00
Nyall Dawson
5b66ea7674
Rename some static variables to use 's' prefix
...
To match QGIS code conventions
2017-11-24 09:35:54 +10:00
Even Rouault
e0bdd26e58
[OGR provider] When creating a new layer with createEmptyLayer(), make sure the opened datasets do not get reused
2017-11-24 09:32:46 +10:00
Nyall Dawson
0a092cc38a
[processing] Throw an exception when sinks cannot be created
...
Gives users debugging information messages on why the layers could
not be created
Also allow overwriting existing layers in geopackage outputs
2017-11-24 09:31:50 +10:00
Nyall Dawson
c04b91f4f3
Fix some memory leaks
2017-11-24 09:31:50 +10:00
Nyall Dawson
117842802a
Fix running processing tests multiple times
2017-11-24 09:31:50 +10:00
Nyall Dawson
e3198c052f
Fix ui build warnings
2017-11-24 09:31:50 +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
abcdd48580
[ogr] Fix cannot create layers for geopackage datasets when
...
the database does not yet exist
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
Nyall Dawson
59d55fc44c
[processing] Ensure correct sublayer is loaded when saving output
...
to destination with multiple sublayers
2017-11-24 09:31:50 +10:00
Nyall Dawson
f7a317be78
[processing] Fix saving outputs to non-file formats
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
Martin Dobias
a2ff3631d5
Fix tessellation of polygons that are not horizontal
...
Discovered by Nyall while working on PR #5708
Tessellation would shift coordinates because when points got reprojected
to the new base, the Z coordinates were considered zero (which worked only
when all points were on the same plane).
2017-11-23 14:09:03 +01:00
Alessandro Pasotti
d1cf7e614f
Merge pull request #5707 from elpaso/bugfix-17262-lineedit-x-button
...
[ui][bugfix] lineedit add margin for X icon
2017-11-23 11:47:08 +01:00
Nyall Dawson
5206bf0f76
[3d] Fix creation of extruded walls in vertex binding mode
...
Previously the walls always had horizontal top/bottom, but
in vertex binding mode the walls need to have different z values
at the start and end coordinate
Note that the unit test exposes a different bug in the tesselator,
which should also be fixed...
2017-11-23 11:40:52 +01:00
nirvn
134065dae5
[node editor] fix crash when editor is open and feature deleted
2017-11-23 11:39:13 +01:00
Borys Jurgiel
248bc5db03
Fix #15627 : missing plugin icons in Plugin Manager
2017-11-23 10:19:37 +01:00
Alessandro Pasotti
a7ffde6c95
[ui][bugfix] lineedit add margin for X icon
...
Fixes #17262
Needs backporting
2017-11-23 09:54:59 +01:00
Alessandro Pasotti
fe933d2de3
[ui][hidpi] Form line edit: compute icon size instead of hardcoding
2017-11-23 09:45:03 +01:00
Matthias Kuhn
e98842e3b9
Merge pull request #5699 from m-kuhn/valueRelationMultiSelect
...
Fixes for Value relation widget, multi select
2017-11-23 08:08:24 +01:00
Alessandro Pasotti
9d8a39fac0
Merge pull request #5694 from elpaso/bugfix-17518-pg-import--without-schema
...
[bugfix][postgres] Browser panel D&D a layer onto a postgresql connection tree …
2017-11-23 07:53:57 +01:00
Nyall Dawson
f8d839519f
Fix indentation
2017-11-23 15:43:17 +10:00
Mathieu Pellerin
060b3e3a54
[ArcGIS REST] fix fallback feature id value (followup to f32791e)
2017-11-23 12:27:12 +07:00
Nyall Dawson
07e4c57291
Add some unit tests for DXF export
2017-11-23 14:44:23 +10:00