Hot answers tagged layers
This is related to the introduction of the OGR connection pool.  Before QGIS 2.10, a file was reopened on every single access (e.g. repaint). Since QGIS 2.10 the file handle is kept open and this means if a file is replaced the handle still points to the old file on Unix based systems. QGIS 2.10: workaround Unfortunately there is no API to nicely ...
If you pan or otherwise refresh the map it should update. This article says that you can use the following in PyQGIS: myLayer.triggerRepaint() To refresh all layers following function can be used: def refresh_layers(self): for layer in qgis.utils.iface.mapCanvas().layers(): layer.triggerRepaint()
It is not possible to do that. GP tools can be added to toolbars, menus and sub-menus but not to TOC. To do so, simply create a python addin, then create a button to open the gp tool. See here: python addin module
I recommend the Vector Bender plugin for QGIS. I tried it and it works fine and is user friendly. Depending on amount of pair of points that you define, you can either do: translations: translation from one starting to ending point (1 pair) uniform: translation, scaling and rotation (2 pairs) bending: additional deformation (3 pairs or more) You find a ...
Only top voted, non community-wiki answers of a minimum length are eligible