4308 Commits

Author SHA1 Message Date
Giovanni Manghi
8499242b82 fix Processing OGR import into PostGIS 2015-01-21 18:52:13 +00:00
volaya
4549a389b7 Merge pull request #1680 from tmizu23/r_utils
fix Empty console Output on R under processing. refs #7643
2015-01-21 15:40:42 +01:00
volaya
678f1ab4c0 [processing] allow using upcoming saga release 2015-01-21 14:04:36 +01:00
volaya
dce7ef30fb renamed geostatistics modules in SAGA connector 2015-01-21 14:04:35 +01:00
volaya
c1f60e3876 Merge pull request #1843 from radosuav/processing_sublayers
[Processing] Add support for input rasters with sublayers.
2015-01-21 12:53:58 +01:00
Matthias Kuhn
8f6b0145e5 SIP update: QgsVectorLayer::applyNamedStyle, errorMsg is /Out/ 2015-01-21 12:45:49 +01:00
volaya
bebd71c8b4 Merge pull request #1844 from gioman/fix_saga_rastercalc
fix different issues in SAGA grid calculator module and add a couple of useful options
2015-01-21 12:37:38 +01:00
Nyall Dawson
670ad7b809 Add gaussian blur image operation 2015-01-21 20:02:42 +11:00
Nyall Dawson
be2d6d1a70 New QgsImageOperation class for operations that modify QImages
Contains framework for multithreaded operations on QImages, and
numerous operations such as grayscale, hue/saturation, brightness/
contrast modification, flip, blur, distance transform, alpha
modification and color overlays.
2015-01-21 18:58:10 +11:00
Nyall Dawson
6a080bada1 Add some missing type conversions to python bindings 2015-01-21 11:04:38 +11:00
Giovanni Manghi
a95e28fb0a fix different issues in SAGA grid calculator module and add a couple of useful options 2015-01-20 20:56:46 +00:00
mhugent
a2a82d2fe5 Merge pull request #1830 from manisandro/transaction
[FEATURE] Transactional editing for postgres layers
2015-01-20 17:22:55 +01:00
Martin Dobias
cae4eb3383 [FEATURE] New snapping API with improved indexing (QEP 13)
Merge branch 'snapping-improved'
2015-01-20 21:21:14 +07:00
Martin Dobias
dbe830b0bb Point locator: Use just one R-tree for indexing instead of three R-trees
The maintenance of three R-trees was too complicated, using a lot of memory
and the performance benefit was questionable :)
The approach with just one R-tree leads to much simpler code

Removed k-NN queries in the process - they were not used in QGIS code. They can be
reintroduced later, but there is not much use for them right now...
2015-01-20 18:54:07 +07:00
radosuav
82f043c28c [Processing] Add support for input rasters with sublayers. 2015-01-20 12:36:46 +01:00
volaya
b0291985ac [processing] added specific algorithm for saga 214 2015-01-20 12:34:17 +01:00
volaya
e9228b67c9 [processing] some SAGA fixes
-fixed raster export
-fixed version numbering when no saga installation is found
2015-01-20 11:41:27 +01:00
Alexander Bruy
5511c86c9f fix file permissions 2015-01-20 09:48:37 +02:00
Alexander Bruy
a81ec21564 [processing] remove help files already ported to User Guide 2015-01-20 09:45:54 +02:00
Martin Dobias
0ea6a3d15f Support different indexing strategies in QgsSnappingUtils
Huge layers will not use all the memory - at the expense of slow queries
2015-01-20 10:21:55 +07:00
Martin Dobias
54e8493bc7 QgsPointLocator: make it possible to index just a part of layer 2015-01-20 10:21:55 +07:00
Martin Dobias
f8fc8a0a31 Final removals of QgsMapCanvasSnapper 2015-01-20 10:21:55 +07:00
Martin Dobias
4b8ea28262 Add QgsSnappingUtils::snapToCurrentLayer() + utility methods in QgsTolerance
Also added missing SIP wrappers for new classes QgsPointLocator and QgsSnappingUtils
2015-01-20 10:21:55 +07:00
Martin Dobias
cd7180ec67 Added convenience method snappingUtils() to QgsMapCanvas
Map tools can use canvas.snappingUtils().snapToMap(pt) to do the snapping.
2015-01-20 10:21:54 +07:00
Martin Dobias
83770dfd9e Hook snapping utils into QGIS interface
Now the new snapping engine is ues for add feature map tool
2015-01-20 10:18:39 +07:00
Nathan Woodrow
51bb80329c Ensure users python folder is on path
Fix import of expressions if we have to make the the python\expressions
folders
2015-01-20 09:55:00 +10:00
Sandro Mani
7b31a17e44 Fix infinite loop in QgsVectorLayer::deleteSelectedFeatures if removal of feature fails 2015-01-19 15:22:20 +01:00
Sandro Mani
40ad3b0993 [FEATURE]: Transactional editing for postgres layers (other datasources possible in the future). Funded by City of Uster 2015-01-19 15:22:20 +01:00
Nyall Dawson
0cde4f103b Ensure that clear button is shown for QgsSpinBox/DoubleSpinBox
Previously the clear button might not show if the value of the
widget was set while its signals were blocked.
2015-01-19 23:23:59 +11:00
Nyall Dawson
1310b87081 Show recently used projections in QgsProjectionSelectionWidget 2015-01-19 22:57:46 +11:00
Martin Dobias
375dc32045 Make sure to update visibility presets if any layer's style name changes
Also adds signals to the QgsMapLayerStyleManager so others can watch the changes

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 18:39:03 +07:00
Martin Dobias
5266fd97ee [FEATURE] Composer map - optionally store layer styles
There is a new check box that allows the user to tell whether a map should
keep the layer styles (it will store the state when the check box is checked).
The stored layer styles keep a snapshot of each layer's configuration
instead of just keeping name of the style.

This solves issues with styles and visibility presets in composer which were
not completely compatible.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 15:18:55 +07:00
Nathan Woodrow
6166eccc84 Add spacing above function editor combo. API docs for QgsLayerDefinition 2015-01-19 16:42:30 +10:00
Nyall Dawson
f68b099bc1 Change projection selection widget to use a combo box
With options for layer CRS, project CRS and default CRS.
2015-01-19 16:11:39 +11:00
Nathan Woodrow
8944ff7a48 Add group support for QLR files
Add class for handling QLR files. Add sip bindings

Funded by Nicholas Duggan
2015-01-19 14:25:15 +10:00
Werner Macho
2011951d60 Fix some typos
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-01-18 20:47:22 +01:00
Juergen E. Fischer
6a65050faf translation string fixes 2015-01-18 00:48:08 +01:00
Alexander Bruy
fdd17517fc [processing] enable algs that require 3rd party Python modules when
possible
2015-01-17 14:57:21 +02:00
Alexander Bruy
d8a224d896 fix typos 2015-01-17 12:17:15 +02:00
Alexander Bruy
07462f5476 [processing] i18n support for SAGA provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
e1d8710d8c [processing] i18n support for TauDEM provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
321ff1b1d5 [processing] i18n support in grass, R, OTB and example providers 2015-01-17 11:24:54 +02:00
Alexander Bruy
ad758aa8db [processing] i18n for qgis provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
c5cb2f802e [processing] i18n support for lastools provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
f3f09fa500 [processing] i18n support in gdal provider 2015-01-17 11:24:54 +02:00
Juergen E. Fischer
d11cc82b3f keep rotation support state in canvas (followup 204e7104) 2015-01-16 20:30:47 +01:00
Juergen E. Fischer
93e22264c3 header install update 2015-01-16 15:49:24 +01:00
Nathan Woodrow
59162bc178 [FEATURE] Function editor for expression widget.
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.

New qgis.user module in Python.

The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
volaya
49cf93dafb [processing] Consistently show modeler dialog as modal 2015-01-16 09:21:32 +01:00
Martin Dobias
11d331dd66 Add QgsMapLayer::importNamedStyle() functions
Like this we do not need to use a temporary file to load a style
2015-01-16 14:14:41 +07:00