43998 Commits

Author SHA1 Message Date
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
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
Mathieu Pellerin
060b3e3a54
[ArcGIS REST] fix fallback feature id value (followup to f32791e) 2017-11-23 12:27:12 +07:00
Mathieu Pellerin
f32791ee21
[ArcGIS REST] fix caching logic for extent filtered requests 2017-11-23 11:34:04 +07: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
fada3d9ace Add unit test for package algorithm 2017-11-23 11:27:24 +10:00
Nyall Dawson
a8eee62461 [FEATURE][processing] Package layers algorithm
Allows multiple vector layers to be collected together into a
geopackage database output

Previously all existing methods avilable in QGIS rely on adding
layers one-at-a-time, which is tedious for large numbers of layers.

Sponsored by SMEC
2017-11-23 10:01:13 +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
Martin Dobias
b288a5f5fa Set initial extent of a new 3D view to extent of the main canvas 2017-11-23 00:03:01 +01:00
Martin Dobias
d03b6f435e Fix world origin and camera position on terrain change (fixes #17514)
This makes "zoom full" in 3D view working again after modification of terrain generator.
Also we update the camera position so it looks at the same spot as it was before.
2017-11-23 00:03:01 +01: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
Alessandro Pasotti
94a1e68a25 [bugfix][wms] Fix GetFeatureInfo
Fixes #17498 WMS GetFeatureInfo requests not working

Use the right variable instead of an
unitialized one ( followup b119744 )
2017-11-22 18:51:55 +01:00
Matthias Kuhn
b448826d5b
Fix reading of multi selection ValueRelation widgets 2017-11-22 17:50:50 +01:00
Matthias Kuhn
59cf9f329c
Avoid recursion in ValueRelation widget
Fix #17521
2017-11-22 17:50:49 +01:00
Alessandro Pasotti
9f56878d88 [bugfix] Add some more logic to get the schema name if empty 2017-11-22 17:22:14 +01:00
Vincent Mora
087087f3b2
Merge pull request #5696 from elpaso/bugfix-17517-singlebandgrey-crash
[bugfix] Crash on raster layer render change from python

Everything looks good to me, thanks @elpaso
2017-11-22 16:45:04 +01:00
Matthias Kuhn
ade6b60955
Merge pull request #5688 from m-kuhn/fix17496
Relation reference widget: apply conditional styles
2017-11-22 15:58:19 +01:00
Richard Duivenvoorde
880af67627 add inforce to spelling.dat 2017-11-22 10:42:47 -04:00
Richard Duivenvoorde
83386fb1c8 typo: inforced->enforced 2017-11-22 10:42:47 -04:00
Blottiere Paul
aef1b9abd7
Merge pull request #5693 from pblottiere/wms_flaky2
[server] Enable all WMS tests (GetMap, GetPrint, GetLegendGraphics)
2017-11-22 14:39:31 +00:00
Alessandro Pasotti
98d2dcbf7a [bugfix] Crash on raster layer render change from python
Fixes #17517

Requires backporting
2017-11-22 15:18:08 +01:00