Tag Info

Hot answers tagged

2

This is related to the introduction of the OGR connection pool. [1] 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 ...


2

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()


1

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


1

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